OFFSET
1,3
LINKS
Seiichi Manyama, Antidiagonals n = 1..25, flattened
EXAMPLE
In case of (n,k) = (3,2):
| 1 2 3
--+--------
1 | 1, 2, 3
2 | 2, 4, 6
3 | 3, 6, 9
Distinct products are 1,2,3,4,6,9. So A(3,2) = 1+2+3+4+6+9 = 25.
Square array begins:
1, 1, 1, 1, 1, 1, ...
3, 7, 15, 31, 63, 127, ...
6, 25, 90, 301, 966, 3025, ...
10, 61, 310, 1441, 6370, 27301, ...
15, 136, 990, 6391, 38325, 218926, ...
21, 244, 2220, 17731, 130851, 916714, ...
28, 440, 5300, 54831, 514668, 4519390, ...
36, 680, 9660, 116991, 1280916, 13092430, ...
45, 1022, 17130, 242091, 3070935, 36184072, ...
55, 1472, 28670, 467391, 6807045, 91765822, ...
MATHEMATICA
A[n_, k_] := Module[{b, bb}, bb = Array[b, k]; Table[Times @@ bb, Evaluate[Sequence @@ ({#, n}& /@ bb)]] // Flatten // Union // Total];
Table[A[n-k+1, k], {n, 1, 10}, {k, n, 1, -1}] // Flatten (* Jean-François Alcover, Nov 25 2020 *)
CROSSREFS
Main diagonal gives A321164.
Cf. A322967.
Row 3 gives A000392(n+4). - Fred Daniel Kline, Jan 11 2019
KEYWORD
nonn,tabl
AUTHOR
Seiichi Manyama, Jan 10 2019
STATUS
approved