login
A372706
a(n) = Sum_{k=1..n} mu(n*k), where mu is the Moebius function A008683.
1
1, -1, 0, 0, 1, 0, 1, 0, 0, -1, 1, 0, 2, -3, -2, 0, 1, 0, 2, 0, -4, -3, 1, 0, 0, -4, 0, 0, 1, 6, 3, 0, -5, -5, -3, 0, 1, -5, -3, 0, 0, 9, 2, 0, 0, -6, 2, 0, 0, 0, -5, 0, 2, 0, -5, 0, -5, -5, 0, 0, 1, -7, 0, 0, -4, 12, 1, 0, -5, 10, 2, 0, 3, -8, 0, 0, -4, 14, 3, 0, 0, -8, 3, 0, -7, -8, -5, 0, 1, 0, -4, 0
OFFSET
1,13
FORMULA
If n is not squarefree, a(n) = 0.
PROG
(PARI) a(n) = sum(k=1, n, moebius(n*k));
CROSSREFS
KEYWORD
sign
AUTHOR
Seiichi Manyama, May 10 2024
STATUS
approved