|
|
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
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
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
|
|
LINKS
|
|
|
MAPLE
|
convert(convert(n, base, 16), set) ;
nops(%) ;
|
|
MATHEMATICA
|
Table[Length[Union[IntegerDigits[n, 16]]], {n, 90}] (* Harvey P. Dale, Jul 23 2013 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|