|
Search: id:A122166
|
|
|
| A122166 |
|
Numbers n such that 1 + Sum k^k (k=1..n) is prime. |
|
+0 2
|
| |
|
|
OFFSET
|
1,2
|
|
|
COMMENT
|
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,...}.
|
|
MATHEMATICA
|
s=1; Do[s=s+k^k; If[PrimeQ[s], Print[{k, s}]], {k, 1, 500}]
|
|
CROSSREFS
|
Cf. A073825, A001923.
Sequence in context: A044239 A044620 A120534 this_sequence A044303 A044684 A044384
Adjacent sequences: A122163 A122164 A122165 this_sequence A122167 A122168 A122169
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
Alexander Adamchuk (alex(AT)kolmogorov.com), Aug 23 2006
|
|
|
Search completed in 0.002 seconds
|