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.

A015812 Composite numbers k such that phi(k) + 2 | sigma(k).

Original entry on oeis.org

6, 10, 14, 22, 24, 26, 27, 28, 34, 38, 40, 45, 46, 54, 58, 62, 74, 82, 86, 90, 94, 106, 118, 122, 132, 134, 142, 146, 158, 166, 178, 184, 194, 202, 206, 214, 218, 226, 254, 260, 262, 274, 278, 298, 302, 314, 326, 334, 346, 358, 362, 374, 382, 386, 394, 398
Offset: 1

Views

Author

Keywords

Programs

  • Mathematica
    Select[Range[1000], Divisible[DivisorSigma[1, #], EulerPhi[#] + 2] && ! PrimeQ[#] &] (* David Nacin, Mar 01 2012 *)
  • PARI
    is(n)=!isprime(n) && sigma(n)%(eulerphi(n)+2)==0 \\ Charles R Greathouse IV, Sep 25 2012