OFFSET
1,1
COMMENTS
LINKS
Jens Kruse Andersen, Table of n, a(n) for n = 1..1000
EXAMPLE
20 is in the sequence since phi(sigma(20)) = phi(42) = 12 = 20-phi(20).
MAPLE
with(numtheory): A246803:=n->`if`(phi(sigma(n)) = n-phi(n), n, NULL): seq(A246803(n), n=1..2000); # Wesley Ivan Hurt, Sep 30 2014
MATHEMATICA
Select[Range[1500], EulerPhi[DivisorSigma[1, #]]==#-EulerPhi[#]&]
PROG
(PARI) is(k) = {my(f = factor(k)); eulerphi(sigma(f)) == k - eulerphi(f); } \\ Amiram Eldar, Nov 10 2024
CROSSREFS
KEYWORD
nonn
AUTHOR
Jahangeer Kholdi, Sep 28 2014
STATUS
approved