Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A063959
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A063959 Sum of the primes from 1 to n!. +0
1
0, 0, 2, 10, 100, 1593, 41741, 1578242, 80294846, 5356015580, 451223209946, 46900682786541, 5891009442510166 (list; graph; listen)
OFFSET

0,3

COMMENT

Sum of prime factors (without repetition) of (n!)!.

EXAMPLE

a(4) = sum of primes <= 24. They are 2, 3, 5, 7, 11, 13, 17, 19 and 23. This sum is 100.

MATHEMATICA

NextPrim[n_] := (k = n + 1; While[ ! PrimeQ[k], k++ ]; k); s = 0; p = 1; Do[ Do[p = NextPrim[p]; s = s + p, {i, PrimePi[(n - 1)! ] + 1, PrimePi[(n)! ]}]; Print[s], {n, 1, 12} ]

Do[ Print[ Sum[ Prime[k], {k, 1, PrimePi[n! ]}]], {n, 0, 10} ]

PROGRAM

(PARI)sumprime(n, s, fac, i)=fac=factor(n); for(i=1, matsize(fac)[1], s=s+fac[i, 1]); return(s); for(n=0, 22, print(sumprime(n!!)))

CROSSREFS

Sequence in context: A124214 A098279 A099826 this_sequence A101686 A074109 A036336

Adjacent sequences: A063956 A063957 A063958 this_sequence A063960 A063961 A063962

KEYWORD

nonn

AUTHOR

Jason Earls (zevi_35711(AT)yahoo.com), Sep 03 2001

EXTENSIONS

Better description and more terms from Robert G. Wilson v (rgwv(AT)rgwv.com), Oct 04 2001

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified November 27 22:38 EST 2009. Contains 167602 sequences.


AT&T Labs Research