OFFSET
0,2
FORMULA
MATHEMATICA
Table[Prime[2^(n + 1)] - Prime[2^n], {n, 0, 40}]
#[[2]]-#[[1]]&/@Partition[Prime[2^Range[0, 30]], 2, 1] (* Harvey P. Dale, Feb 21 2015 *)
PROG
(PARI) a(n) = prime(2^(n + 1)) - prime(2^n); \\ Michel Marcus, Nov 15 2020
CROSSREFS
KEYWORD
nonn
AUTHOR
Marvin Ray Burns, Dec 09 2007
EXTENSIONS
a(29)-a(31) from Jinyuan Wang, Nov 14 2020
STATUS
approved