OFFSET
1,2
COMMENTS
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
EXAMPLE
31 is a term since mu(31) = -1 and mu(phi(31)) = mu(30) = -1.
7 is not a term since mu(7) = -1 and mu(phi(7)) = mu(6) = 1.
24 is not a term since mu(24) = 0 (i.e., 24 is not squarefree).
MATHEMATICA
Select[Range[1000], Abs[MoebiusMu[#] + MoebiusMu[EulerPhi[#]]] == 2 &] (* Alonso del Arte, Feb 17 2015 *)
PROG
(Sage) [n for n in [1..1006] if moebius(n)==moebius(euler_phi(n)) if moebius(n)!=0]
(PARI) for(n=1, 1006, if(abs(moebius(n) + moebius(eulerphi(n))) == 2, print1(n, ", "))) \\ Indranil Ghosh, Mar 10 2017
CROSSREFS
KEYWORD
nonn
AUTHOR
Tom Edgar, Feb 17 2015
STATUS
approved