login
A043532
Number of distinct base-5 digits of n.
1
1, 1, 1, 1, 2, 1, 2, 2, 2, 2, 2, 1, 2, 2, 2, 2, 2, 1, 2, 2, 2, 2, 2, 1, 2, 2, 3, 3, 3, 2, 1, 2, 2, 2, 3, 2, 2, 3, 3, 3, 2, 3, 2, 3, 3, 2, 3, 3, 2, 2, 3, 2, 3, 3, 3, 2, 2, 3, 3, 2, 2, 1, 2, 2, 3, 3, 2, 2, 3, 3, 3, 2, 3, 2, 2, 3, 3, 2, 3, 3, 2, 3, 2, 3, 3, 3, 2, 2, 3, 2
OFFSET
1,5
MATHEMATICA
f[n_]:=Length[Select[DigitCount[n, 5], #!=0&]]; Array[f, 100] (* Harvey P. Dale, May 11 2011 *)
CROSSREFS
Cf. A007091.
Sequence in context: A194823 A098396 A297773 * A043557 A055027 A214574
KEYWORD
nonn,base
STATUS
approved