|
|
A270036
|
|
a(n) is the smallest b for which the base-b representation of n contains a digit greater than 9.
|
|
1
|
|
|
11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 11, 12, 12, 13, 13, 14, 14, 15, 15, 16, 16, 11, 17, 12, 12, 13, 13, 13, 14, 14, 14, 15, 11, 15, 16, 12, 12, 17, 13, 13, 13, 14, 14, 11, 14, 15, 15, 12, 12, 16, 16, 13, 13, 13, 11, 14, 14, 14, 14
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
10,1
|
|
LINKS
|
|
|
MATHEMATICA
|
Table[SelectFirst[Range[11, 10^3], Total@ Drop[Most[DigitCount[n, #]], 9] > 0 &], {n, 10, 120}] (* Michael De Vlieger, Mar 10 2016, Version 10 *)
|
|
PROG
|
(PARI) a(n) = my(b=10); while(vecmax(digits(n, b)) < 10, b++); b; \\ Michel Marcus, Mar 10 2016
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|