The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A079649 Numbers n such that n! + n^2 + n + 1 is prime. 1
 0, 3, 5, 17, 24, 314 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,2 LINKS EXAMPLE 1!+1^2+1+1 = 1+1+1+1 = 4, which is not prime. 2!+2^2+2+1 = 2+4+2+1 = 8, which is not prime. 3!+3^2+3+1 = 6+9+3+1 = 19, which is prime, so a(1)=3. MATHEMATICA For[i = 1, i < 1000, If[PrimeQ[Factorial[i] + i^2 + i + 1] == True, Print[i]]; i++ ] CROSSREFS Sequence in context: A025106 A333199 A203193 * A255401 A263811 A323194 Adjacent sequences:  A079646 A079647 A079648 * A079650 A079651 A079652 KEYWORD nonn AUTHOR Neil Fernandez, Jan 22 2003 STATUS approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

Last modified June 23 18:45 EDT 2021. Contains 345402 sequences. (Running on oeis4.)