cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A262044 Partial sum of the first n odd composite numbers.

Original entry on oeis.org

9, 24, 45, 70, 97, 130, 165, 204, 249, 298, 349, 404, 461, 524, 589, 658, 733, 810, 891, 976, 1063, 1154, 1247, 1342, 1441, 1546, 1657, 1772, 1889, 2008, 2129, 2252, 2377, 2506, 2639, 2774, 2915, 3058, 3203, 3350, 3503, 3658, 3817, 3978, 4143, 4312
Offset: 1

Views

Author

R. J. Mathar, Sep 09 2015

Keywords

Comments

Intersection with A002113 gives A058850.

Crossrefs

Cf. A058850.

Programs

  • Maple
    A262044 := proc(n)
        add(A071904(i),i=1..n) ;
    end proc:
  • Mathematica
    Accumulate[Select[Range[9,191,2],CompositeQ]] (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, Jun 09 2017 *)

Formula

a(n) = Sum_{i=1..n} A071904(i).