A215189 Array t(n,k) of the family ((n+k)/gcd(n+k,4))*(n/gcd(n,4)), read by antidiagonals.
0, 1, 0, 1, 1, 0, 9, 3, 3, 0, 1, 3, 1, 1, 0, 25, 5, 15, 5, 5, 0, 9, 15, 3, 9, 3, 3, 0, 49, 21, 35, 7, 21, 7, 7, 0, 4, 14, 6, 10, 2, 6, 2, 2, 0, 81, 18, 63, 27, 45, 9, 27, 9, 9, 0, 25, 45, 10, 35, 15, 25, 5, 15, 5, 5, 0, 121, 55, 99, 22, 77, 33, 55, 11, 33, 11, 11, 0, 9, 33, 15, 27, 6, 21, 9, 15, 3, 9, 3, 3, 0
Offset: 0
Examples
Array begins: 0, 0, 0, 0, 0, 0, 0, ... 1, 1, 3, 1, 5, 3, 7, ... 1, 3, 1, 5, 3, 7, 2, ... 9, 3, 15, 9, 21, 6, 27, ... 1, 5, 3, 7, 2, 9, 5, ... 25, 15, 35, 10, 45, 25, 55, ... 9, 21, 6, 27, 15, 33, 9, ... 49, 14, 63, 35, 77, 21, 91, ... ... Triangle begins: 0; 1, 0; 1, 1, 0; 9, 3, 3, 0; 1, 3, 1, 1, 0; 25, 5, 15, 5, 5, 0; 9, 15, 3, 9, 3, 3, 0; 49, 21, 35, 7, 21, 7, 7, 0; 4, 14, 6, 10, 2, 6, 2, 2, 0; 81, 18, 63, 27, 45, 9, 27, 9, 9, 0; 25, 45, 10, 35, 15, 25, 5, 15, 5, 5, 0; 121, 55, 99, 22, 77, 33, 55, 11, 33, 11, 11, 0; 9, 33, 15, 27, 6, 21, 9, 15, 3, 9, 3, 3, 0; ...
Links
- G. C. Greubel, Antidiagonals n=0..100 of triangle, flattened
Programs
-
Magma
/* As triangle: */ [[(n-k)/GCD(n-k, 4)*n/GCD(n, 4): k in [0..n]]: n in [0..12]]; // Bruno Berselli, Jun 13 2013
-
Mathematica
t[n_, k_] := (n+k)/GCD[n+k, 4]*n/GCD[n, 4]; Table[t[n-k, k], {n, 0, 12}, {k, 0, n}] // Flatten
Formula
t(n,k) = ((n+k)/gcd(n+k,4))*(n/gcd(n,4)).
Comments