login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A137999 Primes p such that (p^p-p!)/p is prime. 0
3, 5, 7, 71, 151, 157 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

In spite of the given PARI code, it has been checked that the given terms are indeed primes, not just probable primes.

LINKS

Table of n, a(n) for n=1..6.

PROG

(PARI) forprime( p=1, 9999, ispseudoprime(p^(p-1)-(p-1)!) & print1(p", "))

CROSSREFS

Sequence in context: A117646 A064857 A065913 * A291438 A056145 A119939

Adjacent sequences:  A137996 A137997 A137998 * A138000 A138001 A138002

KEYWORD

hard,more,nonn

AUTHOR

M. F. Hasler, Mar 18 2008

EXTENSIONS

Edited by T. D. Noe, Oct 30 2008

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 16 12:30 EDT 2021. Contains 343947 sequences. (Running on oeis4.)