login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

A099499
Primes of the form A007925(n)=n^(n+1)-(n+1)^n.
1
17, 162287, 2486784401, 83695120256591, 84721522804414816904952398305908708011513455440403306207160333176150520399
OFFSET
1,1
COMMENTS
The next term a(6)=883^884-884^883 has 2605 decimal digits and is too large to display.
EXAMPLE
a(2)=162287 because A007925(A072179(2))=6^7-7^6=162287 is prime.
MATHEMATICA
Select[Table[n^(n+1)-(n+1)^n, {n, 0, 1000}], PrimeQ] (* Vincenzo Librandi, Jul 18 2012 *)
PROG
(Magma) [a: n in [0..50] | IsPrime(a) where a is n^(n+1)-(n+1)^n ]; // Vincenzo Librandi, Jul 18 2012
CROSSREFS
Cf. A007925 n^(n+1)-(n+1)^n, A072179 n^(n+1)-(n+1)^n is prime, A099497 n^(n+1)-(n+1)^n is a semiprime, A099498 semiprimes of the form n^(n+1)-(n+1)^n.
Sequence in context: A046884 A269442 A203677 * A051157 A177918 A297488
KEYWORD
nonn
AUTHOR
Hugo Pfoertner, Oct 19 2004
STATUS
approved