A191409 Primes of the form n*(n-1)^n-(n-1)*n^(n-1)-1.
5, 131, 54869, 863585783, 174960197237646244878763893842845824429634127969
Offset: 1
Keywords
Examples
a(1)=5 (=3*2^3-2*3^2-1), a(2)=131 (=4*3^4-3*4^3-1), a(3)=54869 (=6*5^6-5*6^5-1), a(4)=863585783 (=9*8^9-8*9^8-1).
Crossrefs
Cf. A191699 (associated n).
Programs
-
Mathematica
Select[Table[n(n-1)^n-(n-1)n^(n-1)-1,{n,200}],PrimeQ] (* Harvey P. Dale, Jun 19 2011 *)
Comments