login
A043543
Number of distinct base-16 digits of n.
2
1, 1, 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, 2, 2, 2, 1, 2, 2, 2, 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, 2, 2, 2, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 2, 2, 2, 2, 2
OFFSET
1,16
COMMENTS
The first 1, 2, 3, 4,.. occur at n = 1, 16 (10_16), 258 (102_16), 4131 (1023_16), 66100 (10234_16), 1057605 (102345_16). Obviously numbers >16 appear never, so this list of records is finite. - R. J. Mathar, Jul 08 2023
MAPLE
A043543 := proc(n)
convert(convert(n, base, 16), set) ;
nops(%) ;
end proc: # R. J. Mathar, Jul 08 2023
MATHEMATICA
Table[Length[Union[IntegerDigits[n, 16]]], {n, 90}] (* Harvey P. Dale, Jul 23 2013 *)
CROSSREFS
Differs from A297784.
Sequence in context: A043567 A297784 A043568 * A237684 A130634 A274828
KEYWORD
nonn,base
STATUS
approved