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.

A067612 Numbers n such that sigma(n) = 3*phi(sigma(n)).

Original entry on oeis.org

5, 6, 10, 11, 14, 15, 17, 22, 23, 30, 33, 34, 35, 42, 46, 47, 51, 53, 55, 62, 66, 69, 70, 71, 77, 85, 94, 102, 105, 106, 107, 110, 115, 119, 138, 141, 142, 154, 155, 159, 161, 165, 170, 186, 187, 191, 210, 213, 214, 230, 231, 235, 238, 253, 254, 255, 265, 282, 310
Offset: 1

Views

Author

Benoit Cloitre, Feb 22 2002

Keywords

Comments

From Robert Israel, Feb 26 2017: (Start)
Numbers n such that sigma(n) is in A033845.
Contains A139257. (End)

Crossrefs

Programs

  • Maple
    filter:= proc(n) local s; s:= numtheory:-sigma(n); s mod 6 = 0 and s = 2^padic:-ordp(s,2)*3^padic:-ordp(s,3) end proc:
    select(filter, [$1..10000]); # Robert Israel, Feb 26 2017
  • Mathematica
    s3pQ[n_]:=Module[{s=DivisorSigma[1,n]},s==3*EulerPhi[s]]; Select[ Range[ 400],s3pQ] (* Harvey P. Dale, May 28 2015 *)
  • PARI
    for(n=1,500,if(sigma(n)==3*eulerphi(sigma(n)),print1(n,", "))) \\ Derek Orr, Feb 26 2017
    
  • PARI
    is(n)=my(s=sigma(n)); s%3==0 && s==3*eulerphi(s) \\ Charles R Greathouse IV, Feb 27 2017