login
This site is supported by donations to The OEIS Foundation.

 

Logo

Invitation: celebrating 50 years of OEIS, 250000 sequences, and Sloane's 75th, there will be a conference at DIMACS, Rutgers, Oct 9-10 2014.

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A119662 Primes of the form n! + n^2 + 1. 1

%I

%S 2,3,7,41,757

%N Primes of the form n! + n^2 + 1.

%C Primes of the form A004664(n) + 1.

%C For n! + n^2 + 1 to be prime, n>1, it is necessary but not sufficient for n to be even.

%C No more terms for n<1150. [_Vincenzo Librandi_, Dec 22 2010]

%F A000040 INTERSECTION A227546 = primes INTERSECTION {n! + n^2 + 1}.

%t lst={}; Do[s=n!+n^2;If[PrimeQ[p=s+1], AppendTo[lst, p]], {n, 0, 5!}];lst (* _Vladimir Joseph Stephan Orlovsky_, Sep 27 2008 *)

%o (MAGMA) [ a: n in [0..1150] | IsPrime(a) where a is Factorial(n)+n^2+1 ]; // Vincenzo Librandi, Dec 22 2010

%Y Cf. A000040, A004664, A119448.

%K nonn

%O 1,1

%A _Jonathan Vos Post_, Jul 28 2006

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

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

Last modified July 31 21:54 EDT 2014. Contains 245088 sequences.