OFFSET
0,1
LINKS
Factor DB, 3*(2*n+1)^(2*n+1)+2.
EXAMPLE
Indices n = 0,1,2,3 correspond to the 4 primes a(n) = 3*(2n+1)^(2n+1) + 2, and to A160360(2,3,4,5) = 1,3,5,7. The next prime is a(46), with 184 digits too large to be displayed here.
a(22)=1531477446517 is the smaller factor of the semiprime 3*45^45+2.
PROG
(PARI) forstep(n=1, 300, 2, forprime(p=1, default(primelimit), Mod(n, p)^n*3+2&next; print1(p", "); next(2)); print1(factor(3*n^n+2)[1, 1]", "))
CROSSREFS
KEYWORD
nonn
AUTHOR
M. F. Hasler, Sep 02 2012
EXTENSIONS
Comment in example and link added by M. F. Hasler, Feb 03 2014
STATUS
approved