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.

A308610 Numbers k such that Sum_{j=1..k} composite(j)^composite(j) is prime, where composite(j) is the j-th composite number.

Original entry on oeis.org

7, 194, 219
Offset: 1

Views

Author

Metin Sariyar, Aug 23 2019

Keywords

Comments

If it exists, a(4) > 25800.

Examples

			7 is a term because for the first 7 composites, 4^4 + 6^6 + 8^8 + 9^9 + 10^10 + 12^12 + 14^14 = 11120933330250889 is prime.
		

Crossrefs

Programs

  • Mathematica
    f[ n_Integer ] := Block[ {k = n + PrimePi[ n ] + 1}, While[ k - PrimePi[ k ] - 1 != n, k++ ]; k ]; s = 0; Do[ s = s + f[n]^f[n]; If[ PrimeQ[ s ], Print[ n ] ], {n, 1, 1000} ]
Showing 1-1 of 1 results.