OFFSET
0,8
COMMENTS
Also partitions whose minima of maximal anti-runs are not identical. An anti-run is a sequence with no adjacent equal terms. The minima of maximal anti-runs in a sequence are obtained by splitting it into maximal anti-run subsequences and taking the least term of each.
LINKS
Alois P. Heinz, Table of n, a(n) for n = 0..5000 (first 101 terms from John Tyler Rascoe)
FORMULA
G.f.: Sum_{i>0} (Sum_{j>i} ( (x^(i+(2*j)))/(1-x^i) * Product_{k>=i} (1-[k<j]*x^(2*k))/(1-x^k) )). - John Tyler Rascoe, Aug 21 2024
EXAMPLE
The a(0) = 0 through a(10) = 13 partitions:
. . . . . (221) (2211) (331) (332) (441) (442)
(2221) (3221) (3321) (3322)
(22111) (3311) (4221) (3331)
(22211) (22221) (4411)
(221111) (32211) (5221)
(33111) (32221)
(222111) (33211)
(2211111) (42211)
(222211)
(322111)
(331111)
(2221111)
(22111111)
MATHEMATICA
Table[Length[Select[IntegerPartitions[n], !SameQ@@Min/@Split[#, UnsameQ]&]], {n, 0, 30}]
- or -
Table[Length[Select[IntegerPartitions[n], !UnsameQ@@DeleteCases[#, Min@@#]&]], {n, 0, 30}]
PROG
(PARI)
A_x(N) = {my(x='x+O('x^N), f=sum(i=1, N, sum(j=i+1, N-i, ((x^(i+(2*j)))/(1-x^i))*prod(k=i+1, N-i-(2*j), if(k<j, 1-x^(2*k), 1)/(1-x^k))))); concat([0, 0, 0, 0, 0], Vec(f))}
A_x(60) \\ John Tyler Rascoe, Aug 21 2024
CROSSREFS
KEYWORD
nonn
AUTHOR
Gus Wiseman, Aug 17 2024
STATUS
approved