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

A092764
Primes in the sequence f(n) = n! + n + 1 for n even or n! + n + 2 for n odd.
0
2, 5, 11, 29, 127, 727, 3628811, 80658175170943878571660636856403766975289505440883277824000000000053
OFFSET
0,1
PROG
(PARI) f(n) = n!+n+n%2+1 g(m) = for(x=0, m, y=f(x); if(isprime(y), print1(y", ")))
CROSSREFS
Sequence in context: A320171 A014211 A160911 * A237811 A264771 A176637
KEYWORD
nonn
AUTHOR
Cino Hilliard, Apr 13 2004
STATUS
approved