login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A043540
Number of distinct base-13 digits of n.
1
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 2, 2, 2, 2, 2, 2
OFFSET
1,13
MATHEMATICA
Table[Length[Union[IntegerDigits[n, 13]]], {n, 120}] (* Harvey P. Dale, May 12 2019 *)
PROG
(PARI) vector(90, n, #vecsort(digits(n, 13), , 8)) \\ Michel Marcus, Aug 19 2015
CROSSREFS
Sequence in context: A043539 A297781 A043565 * A297782 A043566 A043541
KEYWORD
nonn,base
STATUS
approved