%I #14 Nov 01 2018 21:36:44
%S 2,4,30,94,113,162,296,3243
%N Numbers k such that k^k*k! - 1 is prime.
%C a(1)-a(8) have been proved to correspond to primes. No other terms less than 10000. - _Robert Price_, May 19 2012
%e 4 is in the sequence because 4!*4^4 - 1 = 6143 is prime.
%t Do[If[PrimeQ[n^n*n!-1], Print[n]], {n, 700}]
%Y Cf. A002981, A002982.
%K more,hard,nonn
%O 1,1
%A _Farideh Firoozbakht_, Jul 14 2003
%E a(8) = 3243 from _Robert Price_, May 19 2012