login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

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