login
A093522
Numbers k such that k^k - (k-1)^2 is prime.
0
2, 3, 5, 21, 75
OFFSET
1,1
COMMENTS
a(6), if it exists, is greater than 9000. - Ryan Propper, May 17 2006
a(6), if it exists, is greater than 20000. - Michael S. Branicky, Aug 11 2024
MATHEMATICA
Select[Range[80], PrimeQ[#^#-(#-1)^2]&] (* Harvey P. Dale, Aug 15 2013 *)
PROG
(PARI) is(n)=ispseudoprime(n^n-(n-1)^2) \\ Charles R Greathouse IV, Jun 13 2017
CROSSREFS
Sequence in context: A259376 A060321 A351989 * A352124 A093499 A339228
KEYWORD
more,nonn
AUTHOR
Jason Earls, May 23 2004
STATUS
approved