OFFSET
1,2
EXAMPLE
2*8 + 1 = 17 is prime, so 8 is a term.
PROG
(PARI) lista(nn) = {vec = vector(nn, i, i); pp = select(i->((ispower(i) || (i==1)) && isprime(2*i+1)), vec); for (i = 1, #pp, print1(pp[i], ", ")); } \\ Michel Marcus, Oct 02 2013
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Zak Seidov, Oct 11 2002
EXTENSIONS
More terms from Michel Marcus, Oct 02 2013
STATUS
approved