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.

A221140 Second-order spt function.

Original entry on oeis.org

0, 1, 5, 15, 35, 75, 140, 259, 435, 735, 1155, 1841, 2765, 4200, 6125, 8975, 12731, 18179, 25235, 35180, 48055, 65681, 88299, 118895, 157690, 209230, 274510, 359779, 466970, 605740, 778860, 1000462, 1276044, 1624845, 2056355, 2598855, 3265851, 4097763, 5117350
Offset: 1

Views

Author

N. J. A. Sloane, Jan 02 2013

Keywords

Crossrefs

Programs

  • Mathematica
    om[2, p_List] := Module[{pu, m, f}, pu = Union[p]; m = Length[pu]; f[j_] := Count[p, pu[[j]]]; Binomial[f[1] + 1, 3] + f[1] Sum[Binomial[f[j] + 1, 2], {j, 2, m}]];
    spt[2, n_] := Sum[om[2, p], {p, IntegerPartitions[n]}];
    Table[spt[2, n], {n, 1, 29}] (* Jean-François Alcover, Mar 30 2020 *)

Extensions

More terms from Jean-François Alcover, Mar 30 2020