OFFSET
1,1
LINKS
FORMULA
a(n) = mu(n) + -1^(1+abs(mu(n))), where mu(n) = A008683(n). - Antti Karttunen, Jul 26 2017
MATHEMATICA
ms[n_]:=MoebiusMu[n]+If[SquareFreeQ[n], 1, -1]; Array[ms, 100] (* Harvey P. Dale, Feb 22 2013 *)
PROG
(Scheme) (define (A076544 n) (+ (A008683 n) (expt -1 (+ 1 (abs (A008683 n)))))) ;; Antti Karttunen, Jul 26 2017
CROSSREFS
KEYWORD
easy,sign
AUTHOR
Zak Seidov, Oct 19 2002
STATUS
approved