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.

A122166 Numbers n such that 1 + Sum k^k (k=1..n) is prime.

Original entry on oeis.org

1, 52, 124, 431
Offset: 1

Views

Author

Alexander Adamchuk, Aug 23 2006

Keywords

Comments

Primes of the form A001923[n] = Sum k^k (k=1..n) are given in A073826[n] and their indices are given in A073825[n] = {2,5,6,10,30,...}.

Crossrefs

Programs

  • Mathematica
    s=1; Do[s=s+k^k;If[PrimeQ[s],Print[{k,s}]],{k,1,500}]