OFFSET
0,8
FORMULA
EXAMPLE
The table T(n, k) begins
0 0 0 0 0 0 0 0 ...
0 1 2 3 4 5 6 7 ...
0 2 4 6 8 1 3 5 ...
0 3 6 9 3 6 9 3 ...
0 4 8 3 7 2 6 10 ...
0 5 1 6 2 7 3 8 ...
0 6 3 9 6 3 9 6 ...
0 7 5 3 10 8 6 13 ...
...
MATHEMATICA
T[n_, k_]:=Total[IntegerDigits[n*k]]; Table[T[n-k, k], {n, 0, 12}, {k, 0, n}]//Flatten
PROG
(PARI) T(n, k) = sumdigits(n*k);
CROSSREFS
KEYWORD
AUTHOR
Stefano Spezia, Jul 12 2020
STATUS
approved