A115747 Numbers n such that phi(n) + sigma(n) = 5/2*n.
18, 20, 88, 368, 1504, 24448, 98048, 5238976, 25161728, 2730992944, 33995232256, 412316336128, 1391737114624, 7732492570624
Offset: 1
Examples
25161728 is in the sequence because phi(25161728) + sigma(25161728) = 12578816 + 50325504 = 5/2*25161728.
Crossrefs
Cf. A002235.
Programs
-
Mathematica
Do[If[DivisorSigma[1,n]+EulerPhi[n]==5/2*n,Print[n]],{n,200000000}]
-
PARI
isok(n) = eulerphi(n) + sigma(n) == 5*n/2; \\ Michel Marcus, Jul 14 2015
Extensions
a(10)-a(12) from Donovan Johnson, Feb 29 2012
a(13) from Donovan Johnson, Apr 04 2012
a(14) from Giovanni Resta, Jul 13 2015
Comments