login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A093522 Numbers n such that n^n-(n-1)^2 is prime. 0
2, 3, 5, 21, 75 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

Next term, if it exists, is greater than 9000. - Ryan Propper, May 17 2006

LINKS

Table of n, a(n) for n=1..5.

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: A113650 A259376 A060321 * A093499 A013639 A047995

Adjacent sequences:  A093519 A093520 A093521 * A093523 A093524 A093525

KEYWORD

more,nonn

AUTHOR

Jason Earls, May 23 2004

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified November 18 19:59 EST 2019. Contains 329288 sequences. (Running on oeis4.)