Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A119662 Primes of the form k! + k^2 + 1. 1
2, 3, 7, 41, 757 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Primes of the form A004664(k) + 1.
For k! + k^2 + 1 to be prime, k > 1, it is necessary but not sufficient for k to be even.
No more terms for k < 1150. [Vincenzo Librandi, Dec 22 2010]
LINKS
FORMULA
A000040 INTERSECTION A227546 = primes INTERSECTION {k! + k^2 + 1}.
MATHEMATICA
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 *)
PROG
(Magma) [ a: n in [0..1150] | IsPrime(a) where a is Factorial(n)+n^2+1 ]; // Vincenzo Librandi, Dec 22 2010
CROSSREFS
Sequence in context: A037843 A355129 A102604 * A265776 A163157 A260819
KEYWORD
nonn
AUTHOR
Jonathan Vos Post, Jul 28 2006
STATUS
approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified August 27 19:37 EDT 2024. Contains 375471 sequences. (Running on oeis4.)