A291880 Numbers n such that phi(n) - 1 | sigma(n).
3, 4, 5, 6, 8, 10, 20, 22, 40, 76, 80, 108, 160, 204, 320, 640, 1072, 1280, 2560, 4192, 5120, 10240, 20480, 40960, 49344, 81920, 163840, 327680, 655360, 1310720, 2621440, 4197376, 5242880, 10485760, 20971520, 41943040, 83886080, 167772160, 268460032, 335544320, 671088640, 1073790976, 1342177280, 2684354560, 5368709120
Offset: 1
Keywords
Examples
sigma(1072) = 2108, phi(1072) = 528 and 2108/(528 - 1) = 4.
Programs
-
Maple
with(numtheory): P:=proc(q) local n; for n from 3 to q do if type(sigma(n)/(phi(n)-1),integer) then print(n); fi; od; end: P(10^7);
-
Mathematica
Select[Range[3, 10^6], Divisible[DivisorSigma[1, #], EulerPhi[#] - 1] &] (* Michael De Vlieger, Sep 06 2017 *)
-
PARI
isok(n) = denominator(sigma(n)/(eulerphi(n)-1)) == 1; \\ Michel Marcus, Sep 06 2017
Extensions
a(34)-a(41) from Michel Marcus, Sep 15 2017
a(42)-a(45) from Michel Marcus, Sep 21 2017
Comments