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!)
A091020 Numbers n such that in binary representation n is a substring of the n-th prime. 3
1, 5, 6, 15, 31, 32, 34, 39, 49, 50, 81, 82, 1052, 1799, 2119, 2573, 3378, 3447, 52225, 61870, 95752, 186157, 213547, 644695, 750550, 1414920, 2034869, 3768375, 4189897, 24628414, 50359121, 74288549, 87706569, 87706570 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
A007088(a(n)) is a substring of A004676(a(n)).
The terms of A221860 \ {2,3} form a subsequence of this sequence.
LINKS
Giovanni Resta, Table of n, a(n) for n = 1..62 (terms < 10^12)
Re: 2^k - prime(p) or prime(p) - 2^k ?, SeqFan mailing list, Apr 10 2013
FORMULA
a(n) = A049084(A091021(n)), A000040(a(n)) = A091021(n).
EXAMPLE
A000040(50) = 229: 50->110010, 229->11100101 = 1'110010'1, therefore 50 is a term.
prime(4189897) = 100001111111110111011001001[2] = 2^26 + 4189897. Apart from p=2 and p=3, this is the only prime below primepi(10^8) such that prime(p)-p = 2^k. See A221860 for further examples. - M. F. Hasler, Apr 10 2013
CROSSREFS
Sequence in context: A241307 A185876 A356496 * A019070 A019071 A028285
KEYWORD
nonn,base
AUTHOR
Reinhard Zumkeller, Dec 14 2003
EXTENSIONS
a(22)-a(34) from Donovan Johnson, May 08 2012
STATUS
approved

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 April 17 20:27 EDT 2024. Contains 371767 sequences. (Running on oeis4.)