A055940 Counterbalanced numbers: Composite numbers k such that phi(k)/(sigma(k)-k) is an integer.
133, 403, 583, 713, 817, 2077, 2623, 2923, 4453, 4717, 5311, 5773, 7093, 7747, 9313, 11023, 11581, 11653, 12877, 14353, 15553, 19303, 20803, 21409, 21733, 21971, 24307, 31169, 35033, 39283, 39337, 43873, 46297, 46357, 50573, 50879, 53863
Offset: 1
Keywords
Examples
k = 133 = 7*19: phi(133)=108, sigma(133)-133 = 1+7+19 = 27, q = 4.
Links
- Donovan Johnson, Table of n, a(n) for n = 1..10000
- William D. Banks and Florian Luca, When the sum of aliquots divides the totient, Proceedings of the Edinburgh Mathematical Society, Vol. 50, No. 3 (2007), pp. 563-569.
- Douglas E. Iannucci, On the Equation sigma(n) = n + phi(n), Journal of Integer Sequences, Vol. 20 (2017), Article 17.6.2.
Programs
-
Mathematica
Do[s=EulerPhi[n]/(DivisorSigma[1, n]-n); If[ !PrimeQ[n]&&IntegerQ[s], Print[n]], {n, 2, 1000000}] Select[Range[54000],CompositeQ[#]&&IntegerQ[EulerPhi[#]/(DivisorSigma[ 1,#]-#)]&] (* Harvey P. Dale, Nov 16 2021 *)
-
PARI
is(n)=!isprime(n) && n>1 && eulerphi(n)%(sigma(n)-n)==0 \\ Charles R Greathouse IV, Jan 02 2014
Comments