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!)
A213677 Numbers n such that n and n + 12 are prime and there is a power of two in the interval (n, n+12). 1
5, 7, 11, 29, 31, 59, 61, 127, 251, 509, 1019, 1021, 262139, 1048571, 2147483647 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
It is a conjecture that this is a finite sequence. A search was conducted out to 2^1500.
LINKS
PROG
(Magma)
//Program finds primes separated by an even number (called gap) which
//have a power of two between them. Program starts with the smallest
//power of two above gap. Primes less than this starting point can be
//checked by inspection.
gap:=12;
start:=Ilog2(gap)+1;
for i:= start to 1000 do
powerof2:=2^i;
for k:=powerof2-gap+1 to powerof2-1 by 2 do
if (IsPrime(k) and IsPrime(k+gap)) then k;
end if;
end for;
end for;
CROSSREFS
Sequence in context: A106330 A057247 A157437 * A330775 A340750 A031134
KEYWORD
nonn
AUTHOR
Brad Clardy, Mar 04 2013
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 13 21:51 EDT 2024. Contains 372523 sequences. (Running on oeis4.)