login
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
OFFSET
10,1
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
Sequence in context: A020510 A291521 A324309 * A178405 A162903 A216589
KEYWORD
nonn,base
AUTHOR
Nathan Fox, Mar 08 2016
STATUS
approved