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!)
A068000 (n! + 1) == 0 ( mod prime(n) ). 2
1, 2, 5, 18, 63 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
MATHEMATICA
Do[ If[ Mod[n! + 1, Prime[n]] == 0, Print[n]], {n, 1, 10000} ]
PROG
(PARI) for(X=10001, 33333, if( (X!+1)%prime(X)==0, print(X)))
CROSSREFS
Sequence in context: A321099 A241894 A148427 * A148428 A266833 A148429
KEYWORD
nonn,hard
AUTHOR
Robert G. Wilson v, Feb 08 2002
EXTENSIONS
There are no other terms below 33333. Is 63 the last term? - Hauke Worpel (hw1(AT)email.com), May 24 2003
There are no other terms below 534000. - Rick L. Shepherd, May 26 2003
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 24 11:49 EDT 2024. Contains 371936 sequences. (Running on oeis4.)