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

Table of n, a(n) for n=1..5.

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

Cf. A000040, A004664, A119448.

Sequence in context: A227777 A037843 A102604 * A265776 A163157 A260819

Adjacent sequences:  A119659 A119660 A119661 * A119663 A119664 A119665

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 May 22 09:50 EDT 2022. Contains 353949 sequences. (Running on oeis4.)