OFFSET
1,1
COMMENTS
Sometimes called "squarefree de Bruijn sequences" Two such sequences are distinct if they are not cyclic permutations of each other. Open: do any such ternary sequences exist for n>4 ?
EXAMPLE
a(2) = 3 because the following 3 sequences contain each length-2 substring {01,02,10,12,20,21} while avoiding any square {00,11,22} and are all distinct from each other:
010212
012021
012102
CROSSREFS
KEYWORD
hard,nonn
AUTHOR
Jim Nastos, Mar 11 2006
STATUS
approved