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!)
A152539 Partial sum of A146538. 2
6, 18, 36, 58, 82, 112, 144, 180, 222, 268, 316, 368, 422, 482, 544, 610, 682, 756, 834, 916, 1000, 1088, 1178, 1270, 1366, 1468, 1576, 1688, 1802, 1918, 2036, 2156, 2278, 2404, 2534, 2666, 2804, 2944, 3086, 3230, 3380 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
MATHEMATICA
Accumulate[Select[2*Range[150], !PrimeQ[#+3]&]] (* Harvey P. Dale, Jun 04 2016 *)
PROG
(PARI) lista(nn) = {ps = 0; forstep (n=2, nn, 2, if (! isprime(n+3), ps += n; print1(ps, ", ")); ); } \\ Michel Marcus, Jun 04 2013
CROSSREFS
Cf. A146538.
Sequence in context: A358843 A328586 A172522 * A069958 A028896 A295026
KEYWORD
easy,nonn
AUTHOR
Giovanni Teofilatto, Dec 07 2008
EXTENSIONS
More terms from Michel Marcus, Jun 04 2013
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 23 05:35 EDT 2024. Contains 371906 sequences. (Running on oeis4.)