OFFSET
0,6
REFERENCES
N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).
LINKS
Alois P. Heinz, Table of n, a(n) for n = 0..1000
M. O. LeVan, A triangle for partitions, Amer. Math. Monthly, 79 (1972), 507-510.
FORMULA
MATHEMATICA
a[n_?OddQ] := PartitionsP[n] - PartitionsQ[n]; a[n_?EvenQ] := PartitionsP[n] - PartitionsQ[n] - PartitionsP[n/2]; a[0] = 0; Table[a[n], {n, 0, 50}] (* Jean-François Alcover, Mar 17 2014, after Vladeta Jovovic *)
CROSSREFS
KEYWORD
nonn
AUTHOR
EXTENSIONS
More terms from David W. Wilson, May 11 2001
STATUS
approved