login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A137999 Primes p such that (p^p-p!)/p is prime. 0

%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

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 25 01:35 EDT 2024. Contains 371964 sequences. (Running on oeis4.)