%I #5 Jul 14 2012 11:32:19
%S 3,5,7,71,151,157
%N Primes p such that (p^p-p!)/p is prime.
%C In spite of the given PARI code, it has been checked that the given terms are indeed primes, not just probable primes.
%o (PARI) forprime( p=1,9999, ispseudoprime(p^(p-1)-(p-1)!) & print1(p","))
%K hard,more,nonn
%O 1,1
%A _M. F. Hasler_, Mar 18 2008
%E Edited by _T. D. Noe_, Oct 30 2008
|