(MAGMAMagma) [k*Binomial(n-k+1, 2): k in [0..n], n in [0..12]]; // G. C. Greubel, Sep 02 2019
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”).
(MAGMAMagma) [k*Binomial(n-k+1, 2): k in [0..n], n in [0..12]]; // G. C. Greubel, Sep 02 2019
reviewed
approved
proposed
reviewed
editing
proposed
0, 0, 0, 0, 1, 0, 0, 3, 2, 0, 0, 6, 6, 3, 0, 0, 10, 12, 9, 4, 0, 0, 15, 20, 18, 12, 5, 0, 0, 21, 30, 30, 24, 15, 6, 0, 0, 28, 42, 45, 40, 30, 18, 7, 0, 0, 36, 56, 63, 60, 50, 36, 21, 8, 0, 0, 45, 72, 84, 84, 75, 60, 42, 24, 9, 0, 0, 55, 90, 108, 112, 105, 90, 70, 48, 27, 10, 0, 0, 66
G. C. Greubel, <a href="/A062707/b062707.txt">Antidiagonals n = 0..100, flattened</a>
seq(seq(k*binomial(n-k+1, 2), k=0..n), n=0..12); # G. C. Greubel, Sep 02 2019
Table[k*Binomial[n-k+1, 2], {n, 0, 12}, {k, 0, n}]//Flatten (* G. C. Greubel, Sep 02 2019 *)
(PARI) T(n, k) = k*binomial(n-k+1, 2);
for(n=0, 12, for(k=0, n, print1(T(n, k), ", "))) \\ G. C. Greubel, Sep 02 2019
(MAGMA) [k*Binomial(n-k+1, 2): k in [0..n], n in [0..12]]; // G. C. Greubel, Sep 02 2019
(Sage) [[k*binomial(n-k+1, 2) for k in (0..n)] for n in (0..12)] # G. C. Greubel, Sep 02 2019
(GAP) Flat(List([0..12], n-> List([0..n], k-> k*Binomial(n-k+1, 2)))); # G. C. Greubel, Sep 02 2019
approved
editing
proposed
approved
editing
proposed
proposed
reviewed