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!)
A089678 Numbers n such that n^n + n! + n^2 + 1 is prime. 0
2, 3, 5, 1608 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
The prime corresponding to a(4) is a 5156-digit prime.
LINKS
MATHEMATICA
v={}; Do[If[PrimeQ[n^n + n! + n*n + n/n], v=Append[v, n]; Print[v]], {n, 3250}]
PROG
(PARI) is(n)=ispseudoprime(n^n+n!+n^2+1) \\ Charles R Greathouse IV, Jun 13 2017
CROSSREFS
Sequence in context: A046474 A056146 A115835 * A072712 A046476 A263429
KEYWORD
nonn
AUTHOR
Farideh Firoozbakht, Jan 06 2004
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 April 23 23:26 EDT 2024. Contains 371917 sequences. (Running on oeis4.)