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-1 of 1 results.

A239415 Numbers n such that n^7-7 is prime.

Original entry on oeis.org

60, 66, 132, 212, 242, 246, 290, 296, 312, 326, 380, 384, 446, 516, 524, 554, 654, 704, 740, 782, 834, 1026, 1086, 1142, 1154, 1172, 1182, 1214, 1424, 1430, 1464, 1482, 1494, 1500, 1524, 1604, 1682, 1686, 1752, 1794, 1796, 1844, 1854, 1940, 1952, 1980, 2000, 2010
Offset: 1

Views

Author

Derek Orr, Mar 17 2014

Keywords

Comments

Note that all the numbers in this sequence are even.

Examples

			60^7-7 = 2799359999993 is prime. Thus, 60 is a member of this sequence.
		

Crossrefs

Programs

  • Mathematica
    Select[Range[2500],PrimeQ[#^7-7]&] (* Harvey P. Dale, Dec 21 2022 *)
  • Python
    import sympy
    from sympy import isprime
    {print(n) for n in range(10**4) if isprime(n**7-7)}
Showing 1-1 of 1 results.