A099499 Primes of the form A007925(n)=n^(n+1)-(n+1)^n.
17, 162287, 2486784401, 83695120256591, 84721522804414816904952398305908708011513455440403306207160333176150520399
Offset: 1
Keywords
Examples
a(2)=162287 because A007925(A072179(2))=6^7-7^6=162287 is prime.
Crossrefs
Programs
-
Magma
[a: n in [0..50] | IsPrime(a) where a is n^(n+1)-(n+1)^n ]; // Vincenzo Librandi, Jul 18 2012
-
Mathematica
Select[Table[n^(n+1)-(n+1)^n,{n,0,1000}],PrimeQ] (* Vincenzo Librandi, Jul 18 2012 *)
Comments