login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A216146
Smallest prime factor of 3*(2n+1)^(2n+1) + 2.
2
5, 83, 9377, 2470631, 97, 5, 29, 13, 306503, 23173, 5, 7, 7, 11, 12517, 5, 13, 61, 17, 71, 5, 53, 1531477446517, 97, 101, 5, 11, 1999, 53, 11, 5, 67153, 7, 7, 13499, 5, 13, 28201
OFFSET
0,1
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
Cf. A160360.
Sequence in context: A054953 A215172 A301811 * A111834 A271219 A359110
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