login
A111179
a(n) = Sum_{k=1..n} prime(k)!, where prime(k) is k-th prime.
1
2, 8, 128, 5168, 39921968, 6266942768, 355693695038768, 122000794103870768, 25852138739679080510768, 8841762019591840694222696510768, 8231680416197514658419785576510768, 13763753099458025462513494240000687976510768
OFFSET
1,1
EXAMPLE
2, 3, 5 and 7 are the first 4 primes. So a(4) = 2! + 3! + 5! + 7! = 2 +6 +120 +5040 = 5168.
MATHEMATICA
Table[ Sum[ Prime[i]!, {i, n}], {n, 12}] (* Robert G. Wilson v, Oct 28 2005 *)
PROG
(PARI) a(n)=sum(k=1, n, prime(k)!) \\ Lambert Klasen (lambert.klasen(AT)gmx.net), Oct 28 2005
CROSSREFS
Cf. A039716.
Sequence in context: A114977 A011822 A307124 * A178173 A058891 A274171
KEYWORD
easy,nonn
AUTHOR
Leroy Quet, Oct 22 2005
EXTENSIONS
More terms from Lambert Klasen (lambert.klasen(AT)gmx.net) and Robert G. Wilson v, Oct 28 2005
STATUS
approved