login
A085682
Numbers k such that k^k - (k-1)^k is prime.
3
2, 3, 7, 43, 79, 463, 1277
OFFSET
1,1
COMMENTS
Each term of the sequence must be prime.
EXAMPLE
7 is in the sequence because 7^7 - 6^7 = 543607 is prime.
PROG
(PARI) isok(k) = ispseudoprime(k^k - (k-1)^k); \\ Jinyuan Wang, Mar 19 2020
CROSSREFS
KEYWORD
nonn,more
AUTHOR
Farideh Firoozbakht, Jul 17 2003
STATUS
approved