This site is supported by donations to The OEIS 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: A024862 A025106 A203193 * A024867 A025111 A032619 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 | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .