

A101462


Smallest k such that 2^kprime(n) is prime.


0



2, 3, 3, 39, 4, 4, 6, 5, 6, 5, 7, 11, 6, 29, 6, 6, 6, 6, 7, 10, 9, 9, 8, 8, 7, 26, 9, 8, 7, 10, 47, 14, 10, 9, 12, 31, 15, 9, 8, 8, 12, 9, 14, 21, 10, 9, 25, 261, 8, 9, 8, 8, 9, 8, 14, 10, 16, 9, 15, 10, 9, 12, 11, 14, 9, 12, 9, 791, 10, 9, 16, 20, 15, 9, 11, 10, 16, 15, 26, 9, 12, 11, 10
(list;
graph;
refs;
listen;
history;
text;
internal format)



OFFSET

1,1


COMMENTS

Conjecture: sequence is defined for all n. First unproved n: 286 Prime(286)=1871, up to date, tested up to k=40959, none 2^kPrime(286) is prime.
Primo was used for testing large primes.


LINKS

Table of n, a(n) for n=1..83.
Lei Zhou, Between 2^n and primes.


EXAMPLE

Prime(1)=2, 2^22 = 2 is prime
Prime(2)=3, 2^33 = 5 is prime
...
Prime(68)=337, 2^791337 is prime.


MATHEMATICA

f[n_] := Block[{p = Prime@ n}, k = Ceiling@ Log2@ p; While[! PrimeQ[2^k  p], k++]; k]; Array[f, 83]


CROSSREFS

Cf. A094076.
Sequence in context: A319354 A100650 A096502 * A242786 A214219 A323340
Adjacent sequences: A101459 A101460 A101461 * A101463 A101464 A101465


KEYWORD

nonn


AUTHOR

Lei Zhou, Jan 20 2005


STATUS

approved



