OFFSET
1,1
COMMENTS
EXAMPLE
For k = 135 = 3^3 * 5, tau(k) = 4 * 2 = 2^3, phi(k) = 2 * 3^2 * 4 = 2^3 * 3^2 , sigma(k) = 2^4 * 3 * 5, lcm(k, tau(k)) + lcm(k, phi(k)) = 2^3 * 3^3 * 5 + 2^3 * 3^3 * 5 = 2^4 * 3^3 * 5 and lcm(k, sigma(k)) = lcm(3^3 * 5, 2^4 * 3 * 5) = 2^4 * 3^3 * 5.
MATHEMATICA
aQ[n_] := CompositeQ[n] && LCM[n, EulerPhi[n]] + LCM[n, DivisorSigma[0, n]] == LCM[n, DivisorSigma[1, n]]; Select[Range[3*10^6], aQ] (* Amiram Eldar, Oct 23 2019 *)
PROG
(Magma) [k: k in [1..6000000]| not IsPrime(k) and Lcm(k, NumberOfDivisors(k))+Lcm(k, EulerPhi(k)) eq Lcm(k, SumOfDivisors(k))];
(PARI) isok(k) = !isprime(k) && (lcm(k, numdiv(k)) + lcm(k, eulerphi(k)) == lcm(k, sigma(k))); \\ Michel Marcus, Oct 24 2019
CROSSREFS
KEYWORD
nonn
AUTHOR
Marius A. Burtea, Oct 23 2019
STATUS
approved