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.

A078893 Composite numbers k such that phi(k) - 1 is prime, where phi is Euler's totient function (A000010).

Original entry on oeis.org

8, 9, 10, 12, 14, 15, 16, 18, 20, 21, 24, 25, 26, 27, 28, 30, 33, 35, 36, 38, 39, 42, 44, 45, 49, 50, 51, 52, 54, 56, 62, 64, 65, 66, 68, 69, 70, 72, 77, 78, 80, 81, 84, 86, 90, 91, 92, 93, 95, 96, 98, 99, 102, 104, 105, 111, 112, 117, 120, 121, 122, 123, 124, 129, 130, 133
Offset: 1

Views

Author

Reinhard Zumkeller, Dec 12 2002

Keywords

Comments

A078892 with the primes removed. - Ray Chandler, May 26 2008

Crossrefs

Programs

  • Mathematica
    Select[Range[150],CompositeQ[#]&&PrimeQ[EulerPhi[#]-1]&] (* Harvey P. Dale, Dec 28 2021 *)
  • PARI
    is(n)=!isprime(n) && isprime(eulerphi(n)-1) \\ Charles R Greathouse IV, Feb 21 2013