OFFSET
0,4
LINKS
Charles R Greathouse IV, Table of n, a(n) for n = 0..10000
PROG
(PARI) a(n)=my(s); forsquarefree(k=1, n, s += moebius(k)*eulerphi(k)); s \\ Charles R Greathouse IV, Jan 07 2018
(PARI) first(n)=my(v=vector(n), s); forsquarefree(k=1, n, v[k[1]] = s+=moebius(k)*eulerphi(k)); for(k=4, n, if(v[k]==0, v[k]=v[k-1])); concat(0, v) \\ Charles R Greathouse IV, Jan 07 2018
CROSSREFS
KEYWORD
sign
AUTHOR
N. J. A. Sloane, Apr 12 2000
STATUS
approved