OFFSET
0,5
LINKS
Andrew Howroyd, Table of n, a(n) for n = 0..1000
FORMULA
G.f.: P(x)*(1 - x^2)*(1 - x^3)/(1 - x^5) where P(x) is the g.f. of A000041. - Andrew Howroyd, Jan 01 2025
EXAMPLE
a(6) counts these 5 partitions: 6, 51, 411, 321, 111111.
MATHEMATICA
z = 60; f[n_] := f[n] = IntegerPartitions[n]; t1 = Table[Count[f[n], p_ /; Count[p, 2] < Count[p, 3]], {n, 0, z}] (* A240063 *)
t2 = Table[Count[f[n], p_ /; Count[p, 2] <= Count[p, 3]], {n, 0, z}] (* A240063(n+3) *)
t3 = Table[Count[f[n], p_ /; Count[p, 2] == Count[p, 3]], {n, 0, z}] (* A240064 *)
t4 = Table[Count[f[n], p_ /; Count[p, 2] > Count[p, 3]], {n, 0, z}] (* A240065 *)
t5 = Table[Count[f[n], p_ /; Count[p, 2] >= Count[p, 3]], {n, 0, z}] (* A240065(n+2) *)
PROG
(PARI) seq(n) = Vec((1-x^2)*(1-x^3)/((1-x^5)*eta(x + O(x*x^n)))) \\ Andrew Howroyd, Jan 01 2025
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, Mar 31 2014
STATUS
approved