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.

A239346 Numbers n such that n^9+9 is prime.

Original entry on oeis.org

2, 4, 10, 20, 40, 98, 100, 118, 122, 134, 140, 164, 190, 262, 272, 362, 400, 410, 494, 592, 602, 632, 638, 664, 830, 860, 862, 880, 938, 944, 962, 1120, 1148, 1162, 1202, 1288, 1340, 1360, 1408, 1498, 1594, 1642, 1772, 1802, 1840, 1870, 1874, 1882, 1960, 2078, 2092, 2158, 2170, 2188, 2348, 2368, 2462, 2474, 2482, 2488, 2498
Offset: 1

Views

Author

Derek Orr, Mar 16 2014

Keywords

Comments

Note that all numbers in this sequence are even.

Examples

			2^9+9 = 521 is prime. Thus, 2 is a member of this sequence.
		

Crossrefs

Programs

  • PARI
    is(n)=isprime(n^9+9) \\ Charles R Greathouse IV, Jun 06 2017
  • Python
    import sympy
    from sympy import isprime
    {print(n) for n in range(10**4) if isprime(n**9+9)}