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.

A097940 Sum of smallest parts (counted with multiplicity) of all compositions of n.

Original entry on oeis.org

1, 4, 8, 20, 37, 86, 173, 372, 788, 1680, 3550, 7554, 15994, 33820, 71374, 150376, 316151, 663474, 1389760, 2906116, 6066899, 12645608, 26318870, 54700044, 113536171, 235363832, 487342781, 1007969620, 2082597193, 4298660754, 8864505305, 18263797648, 37597869188
Offset: 1

Views

Author

Vladeta Jovovic, Sep 05 2004

Keywords

Crossrefs

Programs

  • Mathematica
    Drop[ CoefficientList[ Series[(1 - x)^2*Sum[k*x^k/(1 - x - x^k)^2, {k, 50}], {x, 0, 30}], x], 1] (* Robert G. Wilson v, Sep 08 2004 *)

Formula

G.f.: (1-x)^2 * Sum_{k>=1} k*x^k/(1-x-x^k)^2.
a(n) ~ n * 2^(n-3). - Vaclav Kotesovec, Sep 05 2014
a(n) = Sum_{k=1..n} A308630(n,k). - R. J. Mathar, Jun 12 2019

Extensions

More terms from Robert G. Wilson v, Sep 08 2004