OFFSET
1,2
LINKS
Indranil Ghosh, Rows 1..100, flattened
FORMULA
EXAMPLE
T(5,3) = 8 because phi(3)+phi(4)+phi(5) = 2+2+4 = 8.
Triangle begins:
1;
2,1;
4,3,2;
6,5,4,2;
10,9,8,6,4;
...
MATHEMATICA
T[n_, n_] := EulerPhi[n]; T[n_, k_] := Sum[EulerPhi[j], {j, k, n}];
Table[T[n, k], {n, 1, 10}, {k, 1, n}] // Flatten (* G. C. Greubel, Sep 03 2017 *)
PROG
(PARI) tabl(nn) = {for (n=1, nn, for (k=1, n, print1(sum(j=k, n, eulerphi(j)), ", "); ); print(); ); } \\ Michel Marcus, Apr 05 2015
CROSSREFS
KEYWORD
nonn,tabl
AUTHOR
Emeric Deutsch, Aug 02 2005
STATUS
approved