OFFSET
1,3
COMMENTS
Image, under the coding sending i -> 1+floor(i/3), of the fixed point, starting with 0, of the morphism 0 -> 012, 1 -> 314, 2 -> 542, 3 -> 336, 4 -> 644, 5 -> 565, 6 -> 666. - Jeffrey Shallit, May 15 2016
LINKS
Antti Karttunen, Table of n, a(n) for n = 1..19683
MATHEMATICA
Table[Length[Union[IntegerDigits[n, 3]]], {n, 90}] (* Harvey P. Dale, May 13 2020 *)
PROG
(PARI) a(n) = #vecsort(digits(n, 3), , 8); \\ Michel Marcus, May 16 2016
CROSSREFS
KEYWORD
nonn,base
AUTHOR
STATUS
approved