Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A094076
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A094076 Smallest k such that prime(n)+2^k is prime, or -1 if no such prime exists. +0
9
0, 1, 1, 2, 1, 2, 1, 2, 3, 1, 4, 2, 1, 2, 5, 3, 1, 8, 2, 1, 4, 2, 7, 3, 2, 1, 2, 1, 2, 7, 2, 3, 1, 10, 1, 4, 4, 2, 5, 3, 1, 4, 1, 2, 1, 6, 4, 2, 1, 2, 3, 1, 4, 5, 9, 3, 1, 20, 2, 1, 6, 7, 2, 1, 2, 5, 4, 4, 1, 2, 27, 3, 4, 4, 2, 15, 3, 2, 3, 10, 1, 8, 1, 4, 2, 7, 3, 2, 1, 2, 5, 3, 2, 3, 2, 7, 5, 1, 6, 4, 4, 9, 3, 1 (list; graph; listen)
OFFSET

1,4

COMMENT

Conjecture: k > 0 for all n.

For all primes p < 1000 there exists a k such that p + 2^k is prime. However, for p = prime(321) = 2131, p + 2^k is not prime for all k < 30000. The conjecture may be in question. Similarly, I cannot find k such that p + 2^k is prime for p = 7013, 8543, 10711, 14033 for k < 20000. - Cino Hilliard (hillcino368(AT)gmail.com), Jun 27 2005

prime(80869739673507329) = 3367034409844073483, so a(80869739673507329) = -1 since 2^k + 3367034409844073483 is covered by {3, 5, 17, 257, 641, 65537, 6700417}. - Charles R Greathouse IV, Feb 08 2008

LINKS

Charles R Greathouse IV, Constructing a covering set for numbers 2^k + p

EXAMPLE

p = 773, k = 995, p + 2^k is prime.

p = 5101, k = 5760, p + 2^k is prime.

PROGRAM

(PARI) pplus2ton(n, m) = { local(k, s, p, y, flag); s=0; forprime(p=2, n, flag=1; for(k=0, m, y=p+2^k; if(ispseudoprime(y), print1(k, ", "); s++; flag=0; break) ); \ if(flag, print(p)); search for defiant primes. ); print(); print(s); } (Hilliard)

CROSSREFS

Cf. A067760.

Sequence in context: A083269 A097306 A102632 this_sequence A089611 A082067 A082061

Adjacent sequences: A094073 A094074 A094075 this_sequence A094077 A094078 A094079

KEYWORD

nonn

AUTHOR

Reinhard Zumkeller (reinhard.zumkeller(AT)lhsystems.com), Apr 29 2004

EXTENSIONS

More terms from Don Reble (djr(AT)nk.ca), May 2 2004

More terms from Cino Hilliard (hillcino368(AT)gmail.com), Jun 27 2005

More terms from Charles R Greathouse IV, Feb 08 2008

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified August 19 23:53 EDT 2008. Contains 142930 sequences.


AT&T Labs Research