The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A031147 Smallest power of 2 containing exactly n zeros. 3

%I #18 Apr 12 2020 03:22:16

%S 1,1024,4398046511104,8796093022208,604462909807314587353088,

%T 309485009821345068724781056,1267650600228229401496703205376,

%U 5070602400912917605986812821504,784637716923335095479473677900958302012794430558004314112

%N Smallest power of 2 containing exactly n zeros.

%F a(n) = 2^A031146(n). - _M. F. Hasler_, Jun 15 2018 (corrected by _Sean A. Irvine_, Apr 11 2020)

%o (PARI) A031147(n)=for(k=n, oo, #select(d->!d, digits(2^k))==n&&return(2^k)) \\ _M. F. Hasler_, Jun 15 2018

%Y Cf. A031146.

%K nonn,easy,base

%O 0,2

%A _N. J. A. Sloane_

%E More terms from _Erich Friedman_

%E a(8) added by _M. F. Hasler_, Jun 16 2018

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 May 12 20:41 EDT 2024. Contains 372494 sequences. (Running on oeis4.)