OFFSET
1,3
LINKS
Jean-François Alcover, Table of n, a(n) for n = 1..60
F. G. Garvan, Higher-order spt functions, preprint.
F. G. Garvan, Higher-order spt functions, arXiv:1008.1207 [math.NT], 2010.
F. G. Garvan, Higher-order spt functions, Adv. Math. 228 (2011), no. 1, 241-265.
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 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Jan 02 2013
EXTENSIONS
More terms from Jean-François Alcover, Mar 30 2020
STATUS
approved