login
Primes in the sequence f(n) = n! + n + 1 for n even or n! + n + 2 for n odd.
0

%I #3 Oct 01 2013 17:57:58

%S 2,5,11,29,127,727,3628811,

%T 80658175170943878571660636856403766975289505440883277824000000000053

%N Primes in the sequence f(n) = n! + n + 1 for n even or n! + n + 2 for n odd.

%o (PARI) f(n) = n!+n+n%2+1 g(m) = for(x=0,m,y=f(x);if(isprime(y),print1(y",")))

%K nonn

%O 0,1

%A _Cino Hilliard_, Apr 13 2004