login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

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