OFFSET
0,2
LINKS
Max A. Alekseyev. On the number of two-dimensional threshold functions. SIAM J. Disc. Math. 24(4), 2010, pp. 1617-1631. doi:10.1137/090750184
MATHEMATICA
V[m_, n_] := Sum[If[GCD[i, j] == 1, (m-i+1)(n-j+1), 0], {i, m}, {j, n}];
T[m_, n_] := 2(2m n + m + n + 2 V[m, n]);
Table[T[m-n, n], {m, 0, 10}, {n, 0, m}] // Flatten (* Jean-François Alcover, Oct 08 2018 *)
CROSSREFS
KEYWORD
nonn,tabl
AUTHOR
N. J. A. Sloane, Feb 24 2006
STATUS
approved