OFFSET
1,4
LINKS
Jean-François Alcover, Table of n, a(n) for n = 1..50
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[3, p_List] := Module[{pu, m, f}, pu = Union[p]; m = Length[pu]; f[j_] := Count[p, pu[[j]]]; Binomial[f[1] + 2, 5] + Binomial[f[1] + 1, 3] Sum[ Binomial[f[j] + 1, 2], {j, 2, m}] + f[1] Sum[Binomial[f[j] + 2, 4], {j, 2, m}] + f[1] Sum[Binomial[f[j] + 1, 2] Binomial[f[k] + 1, 2], {j, 2, m}, {k, j + 1, m}]];
spt[3, n_] := Sum[om[3, p], {p, IntegerPartitions[n]}];
Table[spt[3, 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