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

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
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 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
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

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | 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 April 24 17:51 EDT 2024. Contains 371962 sequences. (Running on oeis4.)