login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A270036 a(n) is the smallest b for which the base-b representation of n contains a digit greater than 9. 1

%I #12 Jun 29 2019 01:39:58

%S 11,12,13,14,15,16,17,18,19,20,21,11,12,12,13,13,14,14,15,15,16,16,11,

%T 17,12,12,13,13,13,14,14,14,15,11,15,16,12,12,17,13,13,13,14,14,11,14,

%U 15,15,12,12,16,16,13,13,13,11,14,14,14,14

%N a(n) is the smallest b for which the base-b representation of n contains a digit greater than 9.

%H Nathan Fox, <a href="/A270036/b270036.txt">Table of n, a(n) for n = 10..10000</a>

%t Table[SelectFirst[Range[11, 10^3], Total@ Drop[Most[DigitCount[n, #]], 9] > 0 &], {n, 10, 120}] (* _Michael De Vlieger_, Mar 10 2016, Version 10 *)

%o (PARI) a(n) = my(b=10); while(vecmax(digits(n, b)) < 10, b++); b; \\ _Michel Marcus_, Mar 10 2016

%K nonn,base

%O 10,1

%A _Nathan Fox_, Mar 08 2016

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified February 26 20:11 EST 2024. Contains 370352 sequences. (Running on oeis4.)