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!)
A177502 Prime numbers p such that (p-2)! + 1 is prime. 0
2, 3, 5, 13, 29, 43, 79, 401, 26953 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
EXAMPLE
a(1)=2 because (2-2)! + 1 = 0! + 1 = 1 + 1 = 2.
MATHEMATICA
aa = {}; Do[p = Prime[n]; If[PrimeQ[(p - 2)! + 1], AppendTo[aa, p]], {n, 1, 10000}]; aa (* Artur Jasinski, May 19 2010 *)
CROSSREFS
Sequence in context: A173718 A281316 A329241 * A072536 A087592 A248526
KEYWORD
nonn,more
AUTHOR
Artur Jasinski, May 10 2010
EXTENSIONS
New term added by Artur Jasinski, May 19 2010
STATUS
approved

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 16 00:00 EDT 2024. Contains 371696 sequences. (Running on oeis4.)