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!)
A270037 a(n) = Smallest m >= 3 containing no zeros when represented in any base from 3 through n. 12

%I #11 Mar 10 2016 20:54:51

%S 4,5,7,7,13,13,13,13,13,13,23,23,23,23,23,23,23,23,23,23,43,43,43,43,

%T 43,43,43,43,43,43,43,43,43,43,43,43,43,43,43,43,157,157,157,157,157,

%U 157,157,157,157,157,157,157,157,157,157,157,157,157,157,157,157,157,157

%N a(n) = Smallest m >= 3 containing no zeros when represented in any base from 3 through n.

%C It remains to be determined if the sequence is finite.

%C Every known term in this sequence is in A069575, and every term in A069575 is in this sequence.

%H Nathan Fox, <a href="/A270037/b270037.txt">Table of n, a(n) for n = 3..618</a>

%t Table[SelectFirst[Range[3, 10^3], Total@ Map[Function[k, DigitCount[#, k, 0]], Range[3, n]] == 0 &], {n, 3, 80}] /. n_ /; MissingQ@ n -> Nothing (* _Michael De Vlieger_, Mar 10 2016, Version 10.2 *)

%o (PARI) isok(m, n) = {for (b=3, n, if (! vecmin(digits(m, b)), return (0));); 1;}

%o a(n) = {my(m = 3); while (! isok(m,n), m++); m;} \\ _Michel Marcus_, Mar 10 2016

%Y Cf. A069575, A270027, A270038, A216192, A270039, A270040, A270041, A270042, A270043, A270044, A270045.

%K nonn,base

%O 3,1

%A _Nathan Fox_, Mar 09 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 August 27 03:11 EDT 2024. Contains 375462 sequences. (Running on oeis4.)