OFFSET
1,1
COMMENTS
2 generated by (p = 2, q = 3), 5(3, 2), 233(3, 5), 337(7, 2), 12161(23, 3), 50647(37, 3), 300757(67, 3), 1594297(3, 13), ...
LINKS
Charles R Greathouse IV, Table of n, a(n) for n = 1..65
EXAMPLE
2 = 2^3 - 2*3.
PROG
(PARI) is(n)=forprime(q=2, log(n)\log(2)+2, if(isprimepower(n+2*q)==q, return(isprime(n)))); 0 \\ Charles R Greathouse IV, Oct 22 2014
CROSSREFS
KEYWORD
nonn
AUTHOR
Juri-Stepan Gerasimov, Oct 22 2014
EXTENSIONS
a(9)-a(32) from Charles R Greathouse IV, Oct 22 2014
STATUS
approved