login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A073443 Numbers n such that n! - n - 1 is prime. 1
3, 4, 10, 12, 346 (list; graph; refs; listen; history; internal format)
OFFSET

1,1

COMMENTS

Clearly n <> 2 (mod 3). For n>3, n!-n, n!-n+1, ..., n!-3, n!-2 is a sequence of n-1 consecutive composite numbers. Additional terms are greater than 2000.

MATHEMATICA

Select[Range[3, 346], PrimeQ[#! - # - 1] &] (* Arkadiusz Wesolowski, Jan 04 2012 *)

PROG

(PARI) for(n=3, 2000, if(isprime(n!-n-1), print1(n, ", ")))

CROSSREFS

Cf. A073444 (corresponding primes), A002982 (n!-1 is prime), A073308 (n!+n+1 is prime).

Sequence in context: A101506 A092434 A031367 * A092119 A143372 A035594

Adjacent sequences:  A073440 A073441 A073442 * A073444 A073445 A073446

KEYWORD

nonn

AUTHOR

Rick L. Shepherd (rshepherd2(AT)hotmail.com), Jul 31 2002

EXTENSIONS

Offset corrected by Arkadiusz Wesolowski, Jan 04 2012

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 17 12:23 EST 2012. Contains 206011 sequences.