OFFSET
1,4
COMMENTS
Sum_{k=1..n} T(n,k) = A063524(n).
FORMULA
T(n,k) = A023900(n/k)*phi(k) if k divides n, T(n,k) = 0 otherwise (n >= 1, 1 <= k <= n).
EXAMPLE
{
{1}, = 1
{-1, 1}, = 0
{-2, 0, 2}, = 0
{-1, -1, 0, 2}, = 0
{-4, 0, 0, 0, 4}, = 0
{2, -2, -2, 0, 0, 2}, = 0
{-6, 0, 0, 0, 0, 0, 6}, = 0
{-1, -1, 0, -2, 0, 0, 0, 4}, = 0
{-2, 0, -4, 0, 0, 0, 0, 0, 6}, = 0
{4, -4, 0, 0, -4, 0, 0, 0, 0, 4}, = 0
{-10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10}, = 0
{2, 2, -2, -4, 0, -2, 0, 0, 0, 0, 0, 4} = 0
}
MATHEMATICA
nn = 12; g[n_] := DivisorSum[n, MoebiusMu[#] # &]; Flatten[Table[Table[If[Mod[n, k] == 0, g[n/k]*EulerPhi[k], 0], {k, 1, n}], {n, 1, nn}]]
CROSSREFS
KEYWORD
sign,tabl
AUTHOR
Mats Granvik, Oct 12 2023
STATUS
approved