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!)
A166164 a(n) = the smallest possible prime > a(n-1) made by inserting either a 0 or a 1 anywhere in the binary representation of a(n-1) (including possibly between any two leading 0's), then converting to decimal. 0

%I #8 Mar 11 2014 01:32:48

%S 1,2,5,11,19,37,73,137,277,557,1069,2137,4273,8369,16561,33073,66161,

%T 132329,263401,527081,1054169,2108339,4216691,8433011,16865971,

%U 33732019

%N a(n) = the smallest possible prime > a(n-1) made by inserting either a 0 or a 1 anywhere in the binary representation of a(n-1) (including possibly between any two leading 0's), then converting to decimal.

%C The inserted digit may be placed, as well as between any digits, right of the rightmost digit, or a 1 may be placed immediately left of any leading 0's.

%C a(27) = 65968107468505192152242522685229502033787240020483956153252490\

%C 3503527999807863686024497941134175331717238367370748503061959398874592\

%C 271022920051340614621089313532682448159459685902093924475936809535464\

%C 12545446337066250896988785882981446324703857058278879865390917524907\

%C 4364170238829997179022525377421093119702908610362229669327436225777\

%C 731291601229157675929540214418887097583964999928849713363588381081308\

%C 8918320563

%K base,nonn

%O 1,2

%A _Leroy Quet_, Oct 08 2009

%E Definition slightly improved by _Leroy Quet_, Oct 15 2009

%E a(9)-a(26) from _Ray Chandler_, Oct 18 2009

%E Corrected comment and removed erroneous comment by _Sean A. Irvine_, Mar 01 2010

%E a(27) from _Sean A. Irvine_, Mar 01 2010

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 18 23:41 EDT 2024. Contains 375284 sequences. (Running on oeis4.)