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!)
A174519 Sum of 3 consecutive primes and of all composite numbers in-between. 2
14, 25, 56, 70, 98, 112, 140, 264, 243, 297, 396, 280, 308, 528, 689, 513, 567, 726, 490, 675, 858, 924, 1350, 1235, 700, 728, 742, 770, 2242, 2318, 1452, 1215, 1859, 1885, 1377, 2041, 1782, 1848, 2249, 1593, 2405, 2431, 1358, 1372, 3060, 5275, 3723, 1582 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
2+3+4+5=14, 3+4+5+6+7=25, 5+6+7+8+9+10+11=56, ..
LINKS
MATHEMATICA
f[n_, x_]:=n*x+x*(x+1)/2; Table[Prime[n]+f[Prime[n], Prime[n+2]-Prime[n]-1]+Prime[n+2], {n, 5!}]
sm[{a_, b_, c_}]:=(c-a+1) (a+c)/2; sm/@Partition[Prime[Range[50]], 3, 1] (* Harvey P. Dale, Mar 11 2012 *)
CROSSREFS
Sequence in context: A341171 A164403 A164398 * A079505 A039604 A199405
KEYWORD
nonn
AUTHOR
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 20 02:14 EDT 2024. Contains 371798 sequences. (Running on oeis4.)