login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A101746 Primes of the form ((0!)^2+(1!)^2+(2!)^2+...+(n!)^2)/6. 1
7, 103, 2503, 88903, 4322503, 2473107965928318342544472044975303 (list; graph; refs; listen; history; 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.

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), A101747 (n such that S(n)/6 is prime).

Sequence in context: A032460 A188946 A177752 * A195246 A001921 A098362

Adjacent sequences:  A101743 A101744 A101745 * A101747 A101748 A101749

KEYWORD

fini,nonn

AUTHOR

T. D. Noe (noe(AT)sspectra.com), Dec 18 2004

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 15 17:46 EST 2012. Contains 205835 sequences.