OFFSET
0,41
LINKS
Andrew Howroyd, Table of n, a(n) for n = 0..1325 (rows 0..50)
EXAMPLE
Triangle begins:
1;
1, 1;
0, 0, 0;
0, 0, 0, 0;
0, 0, 0, 0, 0;
0, 0, 0, 0, 0, 0;
0, 0, 0, 0, 0, 0, 0;
0, 0, 0, 0, 0, 0, 0, 0;
0, 0, 0, 0, 64, 0, 0, 0, 0;
0, 0, 0, 81, 81, 81, 81, 0, 0, 0;
0, 0, 0, 100, 200, 200, 200, 100, 0, 0, 0;
...
T(8,6) = binomial(8,4) - binomial(8,4) mod 8^2 = 70 - 6 = 64.
MATHEMATICA
Flatten[Table[Table[Binomial[n, j]-Mod[Binomial[n, j], n^2], {j, 0, n}], {n, 1, 20}], 1]
PROG
(PARI) T(n, k) = my(x=binomial(n, k)); x - if(n, x % n^2) \\ Andrew Howroyd, Dec 12 2024
CROSSREFS
KEYWORD
AUTHOR
Labos Elemer, Jun 02 2004
STATUS
approved