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”).

A066977
a(n) = gcd(prime(n^2) + 1, prime(n) + 1).
1
3, 4, 6, 2, 2, 2, 6, 4, 12, 2, 2, 2, 2, 2, 12, 54, 20, 2, 2, 6, 2, 2, 12, 18, 2, 6, 8, 4, 2, 2, 2, 22, 2, 2, 2, 4, 2, 2, 24, 6, 36, 2, 2, 2, 6, 2, 4, 2, 4, 2, 18, 120, 2, 6, 2, 6, 6, 8, 2, 2, 2, 14, 2, 6, 2, 2, 4, 2, 6, 2, 6, 72, 2, 2, 2, 24, 10, 2, 6, 10, 84, 2, 6, 2, 22, 6, 2, 2, 2, 4, 6, 16
OFFSET
1,1
LINKS
PROG
(PARI) a(n) = { gcd(prime(n^2) + 1, prime(n) + 1) } \\ Harry J. Smith, Apr 12 2010
CROSSREFS
Sequence in context: A246859 A122601 A125776 * A007551 A161012 A065446
KEYWORD
nonn
AUTHOR
Benoit Cloitre, Jan 26 2002
STATUS
approved