cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A062699 Numbers n such that sigma(n) = 2*phi(n).

Original entry on oeis.org

3, 35, 1045, 24871, 29029, 50065, 58435, 64285, 87685, 137885, 140335, 1390753, 1529983, 1739507, 2011009, 2086903, 3189625, 3281663, 3501605, 3722875, 3830827, 3852155, 6605945, 7711405, 8409305, 9815195, 11413205, 11569805, 13321295, 13932919, 16540205
Offset: 1

Views

Author

Jason Earls, Jul 11 2001

Keywords

Comments

3 is the only prime term of this sequence. There is no term of the form p^k where p is a prime and k>1. All terms are odd because if n is even then 2*phi(n)=phi(2n)<=nFarideh Firoozbakht, Apr 01 2005, Feb 24 2007

Crossrefs

Subsequence of A028983 (sigma(k) is even).

Programs

  • Mathematica
    Select[Range[10^6], DivisorSigma[1, #] == 2 * EulerPhi[#] &] (* Amiram Eldar, Dec 04 2019 *)
  • PARI
    for(n=1,500000, if(sigma(n)==eulerphi(n)*2,print(n)))
    
  • PARI
    n=0; for (m=1, 10^9, if(sigma(m)==2*eulerphi(m), write("b062699.txt", n++, " ", m); if (n==50, break)) ) \\ Harry J. Smith, Aug 09 2009
    
  • PARI
    is(n)=my(f=factor(n)); sigma(f)==2*eulerphi(f) \\ Charles R Greathouse IV, Aug 13 2015

Extensions

More terms from Labos Elemer, Nov 23 2001