OFFSET
0,11
LINKS
John Tyler Rascoe, Table of n, a(n) for n = 0..500
FORMULA
G.f.: Sum_{i>0} (B(i+1,i,x) - B(i,i,x)) where B(a,c,x) = Product_{j=1..c} (x^j - x^(a*j))/(1 - x^j). - John Tyler Rascoe, Mar 25 2025
EXAMPLE
The a(n) partitions for n = 1, 2, 10, 13, 14, 19, 20, 21:
1 . 32221 332221 333221 4333321 43333211 43333221
322111 333211 3322211 43322221 44322221 433332111
3322111 3332111 433321111 433222211 443222211
4321111 443221111 443321111 444321111
543211111 4332221111 4332222111
4322221111 4333221111
4432221111
5432211111
MATHEMATICA
Table[Length[Select[IntegerPartitions[n], Max@@#==Max@@Length/@Split[#]==Length[Union[#]]&]], {n, 0, 30}]
PROG
(PARI)
A_x(N) = {if(N<1, [0], my(x='x+O('x^(N+1))); concat([0], Vec(sum(i=1, N, prod(j=1, i, (x^j-x^((i+1)*j))/(1-x^j)) - prod(j=1, i, (x^j-x^(i*j))/(1-x^j))))))}
A_x(60) \\ John Tyler Rascoe, Mar 25 2025
CROSSREFS
KEYWORD
nonn
AUTHOR
Gus Wiseman, Mar 24 2025
STATUS
approved
