%I #17 May 06 2022 20:26:53
%S 0,1,0,4,-2,2,-2,4,6,2,-6,8,-6,2,0,22,-10,18,-10,4,4,2,-14,8,10,0,-2,
%T 12,-20,16,-14,20,-4,2,-8,60,-18,-2,0,8,-28,20,-22,4,0,2,-30,44,-6,40,
%U -8,18,-34,14,-16,8,-4,-4,-42,32,-30,2,12,94,-24,28,-34,4,-12,24,-46,72,-36,0,20,12,-28,24,-46,28,56
%N Difference between phi(sigma(n)) and phi(n).
%H Antti Karttunen, <a href="/A353636/b353636.txt">Table of n, a(n) for n = 1..10000</a>
%H Antti Karttunen, <a href="/A353636/a353636.txt">Data supplement: n, a(n) computed for n = 1..65537</a>
%H <a href="/index/Si#SIGMAN">Index entries for sequences related to sigma(n)</a>
%F a(n) = A062401(n) - A000010(n) = A000010(A000203(n)) - A000010(n).
%F a(n) = Sum_{d|n} (A353647(d) - A007431(d)).
%t a[n_] := EulerPhi[DivisorSigma[1, n]] - EulerPhi[n]; Array[a, 100] (* _Amiram Eldar_, May 06 2022 *)
%o (PARI) A353636(n) = (eulerphi(sigma(n))-eulerphi(n));
%Y Cf. A000010, A000203, A007431, A062401, A353643, A353647.
%Y Cf. A006872 (positions of zeros), A353637 (their characteristic function).
%Y Cf. A353682 (positions of terms >= 0), A353683 (of terms > 0), A353685 (of terms <= 0), A353686 (of negative terms).
%Y Cf. also A351445.
%K sign,easy
%O 1,4
%A _Antti Karttunen_, May 04 2022
|