The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

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 56th year, we are closing in on 350,000 sequences, and we’ve crossed 9,700 citations (which often say “discovered thanks to the OEIS”).

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A098463 Numbers k such that A055869(k) = (k+1)^k - k^k is prime. 3
 2, 3, 5, 7, 167 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,1 COMMENTS The next term is > 5000. LINKS EXAMPLE a(2) = 3 because (3+1)^3 - 3^3 = 4^3 - 3^3 = 64 - 27 = 37 is prime. MATHEMATICA Select[Range[300], PrimeQ[(#+1)^#-#^#]&] (* Vladimir Joseph Stephan Orlovsky, Mar 03 2011*) PROG (MAGMA) [n: n in [0..190]| IsPrime((n+1)^n -n^n)]; // Vincenzo Librandi, Jun 22 2014 (PARI) isok(k) = ispseudoprime((k+1)^k - k^k); \\ Jinyuan Wang, Mar 19 2020 CROSSREFS Cf. A055869 ((n+1)^n-n^n), A085682 (k^k-(k-1)^k is prime). Sequence in context: A075048 A281021 A230046 * A064155 A230047 A230042 Adjacent sequences:  A098460 A098461 A098462 * A098464 A098465 A098466 KEYWORD nonn,hard,more AUTHOR Hugo Pfoertner, Sep 14 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.

Last modified November 30 08:19 EST 2021. Contains 349419 sequences. (Running on oeis4.)