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.

Showing 1-2 of 2 results.

A070525 Numbers n such that n-th cyclotomic polynomial evaluated at phi(n) is a prime number.

Original entry on oeis.org

2, 3, 4, 6, 7, 8, 12, 18, 21, 30, 45, 48, 70, 120, 127, 153, 182, 204, 212, 282, 318, 322, 910, 1167, 1177, 1342, 1680, 1963, 2670, 4398, 4655, 8088, 8599, 8808, 19680
Offset: 1

Views

Author

Labos Elemer, May 02 2002

Keywords

Comments

These are probable primes for n > 910. No others for n <= 10000. The prime values of n are 2, 3, 7, 127 and 8599 (A088856). - T. D. Noe, Nov 23 2003
All terms <= 2670, except 1963, have been certified prime with PARI's ECPP. There are no other terms <= 25000. - Lucas A. Brown, Jan 08 2021

Examples

			n=7: Phi(7)=6, Cyclotomic(7,6)=1+6+36+216+1296+7776+46656=55987 is prime.
		

Crossrefs

Programs

  • Mathematica
    Do[s=Cyclotomic[n, EulerPhi[n]]; If[PrimeQ[s], Print[n]], {n, 1, 400}]
  • PARI
    isok(n) = isprime(polcyclo(n, eulerphi(n))); \\ Michel Marcus, Sep 01 2019

Extensions

More terms from T. D. Noe, Nov 23 2003
a(35) by Lucas A. Brown, Jan 08 2021

A101753 Numbers m such that Sum_{k=0..m} m^k is prime.

Original entry on oeis.org

1, 2, 6, 126, 8598
Offset: 1

Views

Author

Mark Hudson (mrmarkhudson(AT)hotmail.com), Dec 15 2004

Keywords

Comments

Value of sum for m = 126 has been checked to be probably prime with the isprime functions of PARI and Maple V. Also checked with ECM - see link.
Note that m+1 must be prime and hence a(n) = A088856(n) - 1. Another way to compute the number is (m^(m + 1) - 1)/(m - 1). - T. D. Noe, Dec 15 2004
Value of sum for m = 126 has been certified prime with Primo. - Ryan Propper, Jul 11 2005

Examples

			The number 6 is in this sequence because 6^0 + 6^1 + 6^2 + 6^3 + 6^4 + 6^5 + 6^6 = (6^7 - 1)/5 = 55987 is prime.
		

Crossrefs

Cf. A031973.
Cf. A088856 (primes p such that cyclotomic(p,p-1) is prime).

Formula

a(n) = A088856(n) - 1.

Extensions

One more term from T. D. Noe, Dec 15 2004
Edited by Thomas Ordowski, Sep 02 2021
Showing 1-2 of 2 results.