OFFSET
0,9
LINKS
Seiichi Manyama, Antidiagonals n = 0..139, flattened
David Applegate, Marc LeBrun and N. J. A. Sloane, Carryless Arithmetic (I): The Mod 10 Version.
EXAMPLE
4 * 4 = 16, so T(4,2) = 6. 6 * 4 = 24, so T(4,3) = 4.
Square array begins:
1, 0, 0, 0, 0, 0, 0, 0, ...
1, 1, 1, 1, 1, 1, 1, 1, ...
1, 2, 4, 8, 6, 2, 4, 8, ...
1, 3, 9, 7, 1, 3, 9, 7, ...
1, 4, 6, 4, 6, 4, 6, 4, ...
1, 5, 5, 5, 5, 5, 5, 5, ...
1, 6, 6, 6, 6, 6, 6, 6, ...
1, 7, 9, 3, 1, 7, 9, 3, ...
PROG
(PARI) T(n, k) = fromdigits(Vec(Pol(digits(n))^k)%10);
KEYWORD
AUTHOR
Seiichi Manyama, Mar 10 2023
STATUS
approved