OFFSET
0,17
COMMENTS
Row sums are 1, 2, 2, 4, 0, 12, -6, 12, 2, 24, -26,...
FORMULA
T(n,m) = T(n,n-m).
EXAMPLE
1;
1, 1;
1, 0, 1;
1, 1, 1, 1;
1, -1, 0, -1, 1;
1, 3, 2, 2, 3, 1;
1, -3, 0, -2, 0, -3, 1;
1, 3, 0, 2, 2, 0, 3, 1;
1, -1, 2, -2, 2, -2, 2, -1, 1;
1, 3, 2, 4, 2, 2, 4, 2, 3, 1;
1, -5, -2, -4, 0, -6, 0, -4, -2, -5, 1;
MAPLE
A178086 := proc(n, m)
-numtheory[phi](n+1)+numtheory[phi](m+1)+numtheory[phi](n-m+1)
end proc;
seq(seq(A178086(n, m), m=0..n), n=0..10) ; # R. J. Mathar, Feb 12 2013
MATHEMATICA
T[n_, m_, q_] := 1 - EulerPhi[n + q] + (EulerPhi[m + q] + EulerPhi[n - m + q]) - EulerPhi[q];
Table[Flatten[Table[Table[T[n, m, q], {m, 0, n}], {n, 0, 10}]], {q, 0, 10}]
PROG
(PARI) T(n, m)=-eulerphi(n+1)+eulerphi(m+1)+eulerphi(n-m+1) \\ Charles R Greathouse IV, Feb 12 2013
CROSSREFS
KEYWORD
AUTHOR
Roger L. Bagula, May 19 2010
STATUS
approved