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!)
 A162603 Primes of the form n^n - n! + 1. 3
 3, 233, 9996371201, 11111919647266817 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,1 COMMENTS The next term is too large to include. 2^2-2!+1=4-2+1=3, 4^4-4!+1=256-24+1=233,.. The next term, a(5), has 527 digits and derives from n=224. - Harvey P. Dale, Jun 03 2014 LINKS MATHEMATICA f[n_]:=n^n-n!+1; lst={}; Do[p=f[n]; If[PrimeQ[p], AppendTo[lst, p]], {n, 2*5!}]; lst Select[Table[n^n-n!+1, {n, 30}], PrimeQ] (* Harvey P. Dale, Jun 03 2014 *) CROSSREFS Sequence in context: A159807 A065580 A072320 * A252585 A339751 A053970 Adjacent sequences:  A162600 A162601 A162602 * A162604 A162605 A162606 KEYWORD nonn AUTHOR Vladimir Joseph Stephan Orlovsky, Jul 07 2009 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 22 11:17 EDT 2021. Contains 345375 sequences. (Running on oeis4.)