The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A344718 Divide the positive integers into subsets of lengths given by successive primes. a(n) is the sum of primes contained in the n-th subset. 2
2, 8, 7, 41, 42, 138, 143, 331, 348, 660, 864, 1444, 1322, 2349, 1824, 3195, 4122, 4696, 4264, 7184, 8038, 8259, 9988, 10972, 15151, 15446, 16954, 18322, 19994, 26001, 27985, 28426, 32541, 38963, 41797, 51790, 40074, 64140, 59403, 60066, 63732, 66980, 99172, 82152 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
EXAMPLE
a(1) = 2 because the first subset is [1,2] (length = 2) and the sum of primes contained in it is 2.
a(2) = 8 because the second subset is [3,4,5] (length = 3) and the sum of primes contained in it is 3 + 5 = 8.
a(3) = 7 because the third subset is [6,7,8,9,10] (length = 5) and the sum of primes contained in it is 7.
a(4) = 41 because the fourth subset is [11,12,13,14,15,16,17] (length = 7) and the sum of primes contained in it is 11 + 13 + 17 = 41.
MATHEMATICA
nterms=50; list = TakeList[Range[Sum[Prime[i], {i, nterms}]], Prime[Range[nterms]]]; Map[Total[Select[#, PrimeQ]]&, list]
CROSSREFS
Sequence in context: A203145 A303498 A166539 * A075429 A344692 A256166
KEYWORD
nonn
AUTHOR
Paolo Xausa, May 27 2021
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 June 18 11:09 EDT 2024. Contains 373481 sequences. (Running on oeis4.)