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!)
A036780 Primes of the form n + Sum_{i=1..n} i!. 0
2, 5, 37, 4037923 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Indices that give primes: 1, 2, 4, 10. - Michel Marcus, Jan 06 2014
a(5) corresponds to index 1006 and has 2586 decimal digits. - Giovanni Resta, Jan 06 2014
a(6) corresponds to index 8180 and has 28457 decimal digits. - Charles R Greathouse IV, Jan 08 2014
LINKS
MATHEMATICA
With[{nn=40}, Select[Total/@Thread[{Range[nn], Accumulate[Range[ nn]!]}], PrimeQ]] (* Harvey P. Dale, Feb 18 2018 *)
PROG
(PARI) lista(nn) = { for (n=1, nn, if (isprime(p = sum(i=1, n, i!) + n), print1(p, ", ")); ); } \\ Michel Marcus, Jan 06 2014
CROSSREFS
Cf. A036782.
Sequence in context: A084436 A210482 A053609 * A051501 A221681 A347070
KEYWORD
nonn
AUTHOR
EXTENSIONS
Definition corrected by Michel Marcus, Jan 06 2014
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 19 19:02 EDT 2024. Contains 371798 sequences. (Running on oeis4.)