OFFSET
0,3
COMMENTS
All terms are odd.
LINKS
Alois P. Heinz, Table of n, a(n) for n = 0..57
FORMULA
a(n) = Sum_{i=0..n-1} A048004(n^2-1,i) for i > 0.
EXAMPLE
a(2) = 5: 22, 211, 121, 112, 1111.
MAPLE
b:= proc(n, k) option remember; `if`(n=0, 1,
add(b(n-d, k), d=1..min(n, k)))
end:
a:= n-> b(n^2, n):
seq(a(n), n=0..15);
MATHEMATICA
b[n_, k_] := b[n, k] = If[n == 0, 1, Sum[b[n - d, k], {d, 1, Min[n, k]}]];
a[n_] := b[n^2, n];
Table[a[n], {n, 0, 15}] (* Jean-François Alcover, Oct 31 2022, after Alois P. Heinz *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Alois P. Heinz, Feb 20 2020
STATUS
approved