The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

Thanks to everyone who made a donation during our annual appeal!
To see the list of donors, or make a donation, see the OEIS Foundation home page.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A101747 Numbers n such that ((0!)^2+(1!)^2+(2!)^2+...+(n!)^2)/6 is prime. 1
 3, 4, 5, 6, 7, 19, 40, 56, 93 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,1 COMMENTS Let S(n)=sum_{i=0,..n-1} (i!)^2. Note that 6 divides S(n) for n>1. For prime p=20879, p divides S(p-1). Hence p divides S(n) for all n >= p-1 and all prime values of S(n)/6 are for n < p-1. These n yield provable primes for n <= 93. No other n < 4000. No other n < 8000. [From T. D. Noe, Jul 31 2008] LINKS MATHEMATICA f2=1; s=2; Do[f2=f2*n*n; s=s+f2; If[PrimeQ[s/6], Print[{n, s/6}]], {n, 2, 100}] CROSSREFS Cf. A061062 (S(n)), A100288 (primes of the form S(n)-1), A100289 (n such that S(n)-1 is prime), A101746 (primes of the form S(n)/6). Sequence in context: A072599 A095138 A026475 * A134338 A084919 A153100 Adjacent sequences:  A101744 A101745 A101746 * A101748 A101749 A101750 KEYWORD fini,nonn AUTHOR T. D. Noe, Dec 18 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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

Last modified January 19 09:28 EST 2020. Contains 331048 sequences. (Running on oeis4.)