OFFSET
1,1
COMMENTS
No more primes. Starting with a(14) = (1! + ... + 43!)/3 the sum always has a factor of 47.
FORMULA
EXAMPLE
prime(0)! = 1! = 1; prime(1)! = 2! = 2.
a(1) = (1! + 2! + 3!)/3 = 9/3 = 3.
a(2) = (1! + 2! + 3! + 5!)/3 = 129/3 = 43.
a(3) = (1! + 2! + 3! + 5! + 7!)/3 = 5169/3 = 1723.
a(4) = (1! + 2! + 3! + 5! + 7! + 11!)/3 = 39921969/3 = 13307323.
MATHEMATICA
f[n_] := (1 + Plus @@ ((Prime@ Range@ n)!))/3; Select[f /@ Range@ 43, PrimeQ@# &] (* Robert G. Wilson v, Apr 30 2009 *)
CROSSREFS
KEYWORD
fini,full,nonn
AUTHOR
Jonathan Vos Post, Feb 07 2006
STATUS
approved