|
|
A058912
|
|
Numbers k such that k^k + k - 1 is prime.
|
|
6
|
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
Except for the first term all terms are of the form 3k or 3k+1. - Farideh Firoozbakht, Oct 18 2006
|
|
LINKS
|
|
|
EXAMPLE
|
3 is a term because 3^3 + 3 - 1 = 29.
|
|
MATHEMATICA
|
Do[ If[ PrimeQ[ n^n + n - 1], Print[n]], {n, 1, 750} ]
|
|
PROG
|
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,more,hard
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|