A122166 Numbers n such that 1 + Sum k^k (k=1..n) is prime.
1, 52, 124, 431
Offset: 1
Keywords
Programs
-
Mathematica
s=1; Do[s=s+k^k;If[PrimeQ[s],Print[{k,s}]],{k,1,500}]
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.
Comments