login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 


Primes of the form ((0!)^2+(1!)^2+(2!)^2+...+(n!)^2)/6.
2

%I #7 Aug 31 2021 15:28:44

%S 7,103,2503,88903,4322503,2473107965928318342544472044975303

%N Primes of the form ((0!)^2+(1!)^2+(2!)^2+...+(n!)^2)/6.

%C 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.

%C The next term (a(7)) has 96 digits. The largest term (a(9)) has 288 digits. - _Harvey P. Dale_, Aug 31 2021

%H Harvey P. Dale, <a href="/A101746/b101746.txt">Table of n, a(n) for n = 1..9</a>

%t f2=1; s=2; Do[f2=f2*n*n; s=s+f2; If[PrimeQ[s/6], Print[{n, s/6}]], {n, 2, 100}]

%t Select[Accumulate[(Range[0,25]!)^2]/6,PrimeQ] (* _Harvey P. Dale_, Aug 31 2021 *)

%Y Cf. A061062 (S(n)), A100288 (primes of the form S(n)-1), A100289 (n such that S(n)-1 is prime), A101747 (n such that S(n)/6 is prime).

%K fini,nonn

%O 1,1

%A _T. D. Noe_, Dec 18 2004

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | 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 September 23 16:16 EDT 2024. Contains 376178 sequences. (Running on oeis4.)