This site is supported by donations to The OEIS Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A161569 Sum of first n nonprimes minus their indices. 0
 0, 2, 5, 9, 13, 17, 22, 28, 34, 40, 47, 55, 63, 71, 80, 89, 98, 107, 116, 126, 137, 148, 159, 170, 181, 193, 205, 217, 230, 244, 258, 272, 287, 302, 317, 332, 347, 363, 379, 395, 411, 427, 444, 462, 480, 498, 516, 534, 553, 572, 591, 611, 632 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,2 COMMENTS The sum of first n nonprimes is in A051349. Partial sums of A073425. [From Jaroslav Krizek, Jun 27 2009] LINKS FORMULA a(n) = A051349(n)-n*(n+1)/2. a(n) = a(n-1)+A018252(n)-n, a(1) = 0. - from Klaus Brockhaus, Dec 16 2010 EXAMPLE a(1) = 1-1 = 0; a(2) = 0+4-2 = 2, a(3) = 2+6-3 = 5; a(4) = 5+8-4 = 9. CROSSREFS Cf. A073425, A051349, A018252, A112997. Sequence in context: A050877 A063203 A130244 * A263086 A182814 A055025 Adjacent sequences:  A161566 A161567 A161568 * A161570 A161571 A161572 KEYWORD nonn,easy AUTHOR Juri-Stepan Gerasimov, Jun 14 2009 STATUS approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

Last modified May 24 09:41 EDT 2019. Contains 323529 sequences. (Running on oeis4.)