login
A088952
Numbers that are squarefree words in ternary representation.
3
0, 1, 2, 3, 5, 6, 7, 10, 11, 15, 16, 19, 20, 21, 23, 32, 33, 34, 46, 47, 48, 57, 59, 61, 64, 65, 69, 96, 97, 100, 102, 104, 138, 140, 142, 145, 146, 173, 177, 178, 183, 185, 194, 195, 196, 208, 209, 289, 290, 291, 300, 302, 307, 312, 416, 421, 426, 428, 437, 438
OFFSET
1,3
COMMENTS
A088950(a(n)) = 0.
LINKS
Eric Weisstein's World of Mathematics, Squarefree Word
MATHEMATICA
Select[Range[0, 500], MatchQ[IntegerDigits[#, 3], Except[{___, x__, x__, ___}]] &] (* Vladimir Reshetnikov, May 17 2016 *)
PROG
(PARI) See Links section.
CROSSREFS
Sequence in context: A032892 A031941 A043089 * A303541 A293523 A032851
KEYWORD
nonn,base
AUTHOR
Reinhard Zumkeller, Oct 25 2003
STATUS
approved