OFFSET
1,11
LINKS
David A. Corneth, Table of n, a(n) for n = 1..10000 (first 2000 terms from Robert Price)
FORMULA
G.f.: x^8*Product_{j>=1} (1+x^j)/(1+x^8). - Emeric Deutsch, Apr 17 2006
EXAMPLE
a(11)=2 because in the 12 (=A000009(11)) partitions of 11 into distinct parts, namely [11], [10,1], [9,2], [8,3], [8,2,1], [7,4], [7,3,1], [6,5], [6,4,1], [6,3,2], [5,4,2] and [5,3,2,1], altogether we have two parts equal to 8.
MAPLE
g:=x^8*product(1+x^j, j=1..60)/(1+x^8): gser:=series(g, x=0, 57): seq(coeff(gser, x, n), n=1..54); # Emeric Deutsch, Apr 17 2006
MATHEMATICA
Table[Count[Flatten@Select[IntegerPartitions[n], DeleteDuplicates[#] == # &], 8], {n, 54}] (* Robert Price, Jun 13 2020 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved