OFFSET
1,3
LINKS
Seiichi Manyama, Antidiagonals n = 1..140, flattened
FORMULA
T(n,k) ~ (3/Pi^2) * c(k) * n^2, where c(k) = A078615(k)/A322360(k) is the multiplicative function defined by c(p^e) = p^2/(p^2-1). - Amiram Eldar, May 09 2024
EXAMPLE
Square array T(n,k) begins:
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, ...
2, 3, 2, 3, 2, 3, 2, 3, 2, 3, ...
4, 5, 5, 5, 4, 6, 4, 5, 5, 5, ...
6, 9, 7, 9, 6, 10, 6, 9, 7, 9, ...
10, 13, 11, 13, 11, 14, 10, 13, 11, 14, ...
12, 17, 14, 17, 13, 20, 12, 17, 14, 18, ...
18, 23, 20, 23, 19, 26, 19, 23, 20, 24, ...
MATHEMATICA
T[n_, k_] := Sum[EulerPhi[k*j], {j, 1, n}] / EulerPhi[k]; Table[T[k, n-k+1], {n, 1, 12}, {k, 1, n}] // Flatten (* Amiram Eldar, May 09 2024 *)
PROG
(PARI) T(n, k) = sum(j=1, n, eulerphi(k*j))/eulerphi(k);
CROSSREFS
KEYWORD
nonn,tabl
AUTHOR
Seiichi Manyama, May 07 2024
STATUS
approved