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!)
A152084 Primes p such that p + 2^floor(log_2(p)) is prime. 2
3, 7, 11, 31, 41, 47, 67, 73, 103, 109, 127, 149, 179, 239, 251, 307, 313, 331, 337, 397, 421, 463, 487, 521, 557, 617, 641, 659, 701, 719, 809, 887, 911, 941, 947, 971, 977, 1019, 1039, 1063, 1087, 1117, 1129, 1213, 1249, 1327, 1399, 1423, 1453, 1567, 1597 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
a(n) + 2^floor(log_2(a(n))) = A152085(n).
If a(n) is written in binary and the leftmost 1 is replaced with "10", then we would have the binary representation of A152085(n), which is a prime.
Sequence A091932 contains the related primes p where p - 2^floor(log_2(p)) = prime.
LINKS
MAPLE
filter:= n -> isprime(n) and isprime(n + 2^ilog2(n)):
select(filter, [seq(i, i=3..10000, 2)]); # Robert Israel, Mar 14 2024
CROSSREFS
Sequence in context: A318263 A213740 A267357 * A274134 A131588 A361680
KEYWORD
nonn
AUTHOR
Leroy Quet, Nov 23 2008
EXTENSIONS
Extended by Ray Chandler, Nov 26 2008
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 May 21 15:47 EDT 2024. Contains 372738 sequences. (Running on oeis4.)