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.

A088856 Primes p such that cyclotomic(p,p-1) is prime.

Original entry on oeis.org

2, 3, 7, 127, 8599
Offset: 1

Views

Author

T. D. Noe, Nov 23 2003

Keywords

Comments

Some of the larger entries may only correspond to probable primes.
For p > 2, these are numbers p such that ((p-1)^p - 1)/(p-2) is prime. - Thomas Ordowski, Sep 02 2021

Crossrefs

Programs

  • Mathematica
    lst={}; Do[p=Prime[n]; If[PrimeQ[Cyclotomic[p, p-1]], AppendTo[lst, p]], {n, 400}]; lst
  • PARI
    isok(p) = isprime(p) && isprime(polcyclo(p, p-1)); \\ Michel Marcus, Sep 02 2021

Formula

a(n) = A101753(n) + 1. - Thomas Ordowski, Sep 02 2021