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!)
A123376 Sum of the first s(n) primes, where s(n) is the sum of the first p(n) primes, where p(n) is the n-th prime. Note that s(n) is A022094. 0
28, 129, 1371, 7141, 68341, 163541, 624211, 1086557, 2756043, 8546951, 11791577, 28122767, 46308119, 58262037, 88870153, 158512433, 263952799, 308206649, 480993245, 635060975, 724715753, 1053143991, 1331063769, 1845563079, 2750645663, 3325653577, 3650662901, 4369224195, 4767074983, 5637335441 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
EXAMPLE
a(1)=28=2+3+5+7+11, since s(1)=5=2+3, since p(1)=2.
MAPLE
for j from 1 to 23 do s[j]:=sum(ithprime(i), i=1..ithprime(j)); od; for j from 1 to 23 do sum(ithprime(i), i=1..s[j]); od;
MATHEMATICA
With[{prs=Prime[Range[50000]]}, Table[Total[Take[prs, Total[Take[prs, prs[[n]]]]]], {n, 30}]] Harvey P. Dale, May 16 2012
CROSSREFS
Sequence in context: A044741 A318778 A184679 * A192796 A124956 A014705
KEYWORD
easy,nonn
AUTHOR
Peter C. Heinig (algorithms(AT)gmx.de), Oct 13 2006
EXTENSIONS
More terms from Robert Israel, Jul 30 2020
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 May 9 19:33 EDT 2024. Contains 372354 sequences. (Running on oeis4.)