OFFSET
0,2
FORMULA
MATHEMATICA
Table[NextPrime[3^n] - NextPrime[2^n], {n, 0, 30}] (* Vincenzo Librandi, Jan 22 2015 *)
PROG
(PARI) a(n) = nextprime(3^n+1)-nextprime(2^n+1); \\ Michel Marcus, Jan 22 2015
CROSSREFS
KEYWORD
nonn
AUTHOR
EXTENSIONS
More terms from Vincenzo Librandi, Jan 22 2015
STATUS
approved