OFFSET
1,10
EXAMPLE
Triangle begins:
0
0 1
0 0 1
0 0 0 2
0 0 0 0 1
0 0 0 0 1 1
0 0 0 0 0 0 1
0 0 0 0 0 2 0 1
0 0 0 0 0 1 0 0 1
0 0 0 0 0 0 1 0 0 1
0 0 0 0 0 0 0 0 0 0 1
0 0 0 0 0 0 2 1 0 0 0 1
0 0 0 0 0 0 0 0 0 0 0 0 1
0 0 0 0 0 0 0 0 1 0 0 0 0 1
0 0 0 0 0 0 0 1 0 0 0 0 0 0 1
0 0 0 0 0 0 0 3 0 1 0 0 0 0 0 1
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1
0 0 0 0 0 0 0 1 1 0 1 0 0 0 0 0 0 1
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1
0 0 0 0 0 0 0 0 2 0 0 1 0 0 0 0 0 0 0 1
Row 12 {0,0,0,0,0,0,2,1,0,0,0,1} corresponds to the factorizations:
. . . . . . (3*4) (2*6) . . . (12)
(2*2*3)
MATHEMATICA
facs[n_]:=If[n<=1, {{}}, Join@@Table[Map[Prepend[#, d]&, Select[facs[n/d], Min@@#>=d&]], {d, Rest[Divisors[n]]}]];
Table[Length[Select[facs[n], Total[#]==k&]], {n, 20}, {k, n}]
CROSSREFS
KEYWORD
nonn,tabl
AUTHOR
Gus Wiseman, Oct 22 2018
STATUS
approved