login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A043539 Number of distinct base-12 digits of n. 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, 1, 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, 1, 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, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,12
LINKS
FORMULA
From Michael De Vlieger, Aug 14 2017: (Start)
a(11) = 1 since 11 in base 12 is written with a single digit.
a(13) = 1 since 13 in base 12 is written "11".
a(14) = 2 since 14 in base 12 is written "12".
a(146) is the first appearance of 3 in this sequence, since it is written "102" in base 12.
(End)
MATHEMATICA
Table[Length[Select[DigitCount[n, 12], #>0&]], {n, 100}] (* Vincenzo Librandi, Aug 13 2017 *)
PROG
(PARI) a(n) = #Set(digits(n, 12)); \\ Michel Marcus, Aug 13 2017
CROSSREFS
Sequence in context: A043538 A297780 A043564 * A297781 A043565 A043540
KEYWORD
nonn,base
AUTHOR
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 25 06:14 EDT 2024. Contains 371964 sequences. (Running on oeis4.)