login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons 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

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

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

Adjacent sequences:  A036777 A036778 A036779 * A036781 A036782 A036783

KEYWORD

nonn

AUTHOR

G. L. Honaker, Jr.

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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified September 27 21:12 EDT 2021. Contains 347698 sequences. (Running on oeis4.)