login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A346981
a(n) = A152474(n,n).
3
1, 0, 0, 1, 41, 842, 20520, 477479, 12482191, 344597977, 10325683780, 329996493091, 11307950123833, 411428962250775, 15890609817681079, 648195555340597125, 27864181100124570327, 1258096888119566215689, 59531788666265363070393, 2944807922604446013781174
OFFSET
0,5
LINKS
FORMULA
a(n) = A152474(n,n).
MAPLE
f:= proc(n) option remember; `if`(n<2, 1, f(n-1)*(q^n-1)/(q-1)) end:
b:= proc(n, i) option remember; simplify(`if`(n=0, 1, `if`(i<1, 0,
add(b(n-i*j, i-1)/f(i)^j/j!, j=0..n/i))))
end:
a:= n-> coeff(simplify(n!*f(n)*b(n$2)), q, n):
seq(a(n), n=0..19);
MATHEMATICA
f[n_] := f[n] = If[n < 2, 1, f[n - 1]*(q^n - 1)/(q - 1)];
b[n_, i_] := b[n, i] = If[n == 0, 1, If[i < 1, 0,
Sum[b[n - i*j, i - 1]/f[i]^j/j!, {j, 0, n/i}]]];
a[n_] := SeriesCoefficient[n!*f[n]*b[n, n], {q, 0, n}];
Table[a[n], {n, 0, 19}] (* Jean-François Alcover, Apr 07 2022, after Alois P. Heinz *)
CROSSREFS
Main diagonal of A152474.
Cf. A346980.
Sequence in context: A125551 A087856 A010957 * A299332 A161662 A162178
KEYWORD
nonn
AUTHOR
Alois P. Heinz, Aug 09 2021
STATUS
approved