L-system basics
| a |
| abc |
| abcacb |
| abcacbabcbac |
| abcacbabcbacabcacbacabcb |
| abcacbabcbacabcacbacabcbabcacbabcbacabcbabcacbac |
Square (ordinary repetition)
A square is a non-empty string (word) of the form uu.
Abelian Square (permutation repetition)
A string uv,
where u and v are non-empty strings,
is an abelian square if s[u] = s[v].
Example: uv = abacdbadac
Created by Mathematica (February 18, 2004)