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.

A352393 Numbers k such that 3^k + 5^k + 7^k + 11^k + 13^k is prime.

Original entry on oeis.org

0, 2, 4, 6, 12, 14, 28, 60, 68, 2070, 7910, 10740
Offset: 1

Views

Author

Hemjyoti Nath, Jun 07 2022

Keywords

Comments

Note that k must be even.
If it exists, a(13) > 31000. - Hugo Pfoertner, Jun 08 2022

Examples

			For k=2 we obtain f(2) = 3^2 + 5^2 + 7^2 + 11^2 + 13^2 = 373 which is a prime.
		

Crossrefs

Programs

  • Mathematica
    Select[Range[0, 1000], PrimeQ[3^# + 5^# + 7^# + 11^# +13^#] &]
  • Python
    from sympy import isprime
    from itertools import count, islice
    def agen(): yield from (k for k in count(0) if isprime(3**k + 5**k + 7**k + 11**k + 13**k))
    print(list(islice(agen(), 9))) # Michael S. Branicky, Jun 07 2022

Extensions

a(11)-a(12) from Hugo Pfoertner, Jun 07 2022
Showing 1-1 of 1 results.