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.

A070527 Numbers k such that cyclotomic(k, 2^k) is a prime number.

Original entry on oeis.org

2, 3, 4, 7, 40, 59, 140
Offset: 1

Views

Author

Labos Elemer, May 02 2002

Keywords

Comments

No other terms below 300. - Max Alekseyev, May 29 2009
No other terms below 760. - Lucas A. Brown, Dec 16 2020

Examples

			4 is a term because cyclotomic(4,16) = 1 + 16^2 = 257 is prime.
		

Crossrefs

Programs

  • Mathematica
    Do[s=Cyclotomic[n, 2^n]; If[PrimeQ[s], Print[n]], {n, 1, 1000}]
    Select[Range[150],PrimeQ[Cyclotomic[#,2^#]]&] (* Harvey P. Dale, Aug 12 2023 *)
  • PARI
    isok(k) = isprime(polcyclo(k, 2^k)); \\ Michel Marcus, Dec 17 2020

Extensions

One more term from Max Alekseyev, May 29 2009