login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

a(n) = mu(n) * H(n) where H(n) is A023022.
1

%I #28 Apr 21 2024 11:39:31

%S -1,-1,0,-2,1,-3,0,0,2,-5,0,-6,3,4,0,-8,0,-9,0,6,5,-11,0,0,6,0,0,-14,

%T -4,-15,0,10,8,12,0,-18,9,12,0,-20,-6,-21,0,0,11,-23,0,0,0,16,0,-26,0,

%U 20,0,18,14,-29,0,-30,15,0,0,24,-10,-33,0,22,-12,-35,0,-36,18,0,0,30,-12,-39,0,0,20,-41,0,32,21,28,0,-44,0,36,0,30,23,36

%N a(n) = mu(n) * H(n) where H(n) is A023022.

%H Paolo Xausa, <a href="/A062963/b062963.txt">Table of n, a(n) for n = 2..10000</a>

%F a(n) = A008683(n) * A023022(n).

%t Join[{-1}, Array[MoebiusMu[#] * EulerPhi[#]/2 &, 100, 3]] (* _Paolo Xausa_, Apr 17 2024 *)

%o (PARI) a(n) = if(n<=2, -1, eulerphi(n)/2*moebius(n)); \\ _Michel Marcus_, Apr 14 2024

%Y Cf. A008683, A023022.

%K easy,sign

%O 2,4

%A _Jason Earls_, Jul 22 2001