OFFSET
1,1
LINKS
T. D. Noe, Table of n, a(n) for n = 1..1000
EXAMPLE
For n = 4, we have prime(10) - prime(6) = 2^4.
For n = 5, we have prime(9) - prime(4) = 2^4.
MATHEMATICA
Table[k = 1; While[!IntegerQ[Log[2, Prime[n+k] - Prime[k]]], k++]; Prime[k], {n, 100}]
CROSSREFS
KEYWORD
nonn
AUTHOR
T. D. Noe, Apr 23 2012
STATUS
approved