OFFSET
1,2
LINKS
Daniel Starodubtsev, Table of n, a(n) for n = 1..1000
FORMULA
MAPLE
seq(4^i-prevprime(4^i), i=1..100);
MATHEMATICA
#-NextPrime[#, -1]&/@(4^Range[80]) (* Harvey P. Dale, Dec 13 2016 *)
PROG
(PARI) a(n) = 4^n - precprime(4^n); \\ Michel Marcus, Sep 01 2019
CROSSREFS
KEYWORD
nonn
AUTHOR
James Kilfiger (mapdn(AT)csv.warwick.ac.uk)
STATUS
approved