OFFSET
0,4
EXAMPLE
The first 4 columns and first 6 rows (excluding t(5,3)) of the table are:
1, 1, 2, 3
1, 3, 4, 5
2, 4, 4, 10
3, 5, 10, 5
3, 8, 4, 19
5, 5, 17,
The number of these terms which are coprime to (5+3) is 14 (the odd terms).
So t(5, 3) = 14.
MATHEMATICA
t[0, 0] = 1; t[m_, n_] := t[m, n] = Block[{c = 0}, Do[ Do[ If[k == m && j == n, Continue[]]; If[GCD[t[k, j], m + n] == 1, c++ ]; , {j, 0, n}]; , {k, 0, m}]; c]; Flatten[Table[t[d - i, i], {d, 0, 12}, {i, 0, d}]] (* Ray Chandler, Nov 11 2006 *)
CROSSREFS
KEYWORD
nonn,tabl
AUTHOR
Leroy Quet, Nov 04 2006
EXTENSIONS
Extended by Ray Chandler, Nov 11 2006
STATUS
approved