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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A084750 Numbers n such that n! - p is a prime, where p is the smallest prime > n. 3
4, 5, 10, 11, 12, 14, 29, 53, 81, 90, 116, 236, 323, 346, 1172, 2957 (list; graph; refs; listen; history; internal format)
OFFSET

1,1

COMMENTS

Numbers n such that n!-NextPrime[n] is prime.

If n != 3, there does not exist a prime p and a number n such that n!-NextPrime[n] < p < n!-1. - Farideh Firoozbakht (mymontain(AT)yahoo.com), Feb 26 2004

EXAMPLE

10 is in the sequence because 10!=3628800,NextPrime[10]=11 and 3628800-11 is prime.

MATHEMATICA

Do[If[PrimeQ[k!-NextPrime[k]], Print[k]], {k, 0, 1425}] (Firoozbakht)

CROSSREFS

Cf. A084749, A050299, A002982, A064401, A084751.

Sequence in context: A177711 A115945 * A092027 A199134 A131855 A102858

Adjacent sequences:  A084747 A084748 A084749 * A084751 A084752 A084753

KEYWORD

more,nonn

AUTHOR

Amarnath Murthy and Meenakshi Srikanth (amarnath_murthy(AT)yahoo.com), Jun 16 2003

EXTENSIONS

More terms from Farideh Firoozbakht (mymontain(AT)yahoo.com), Feb 26 2004

2957 from Ryan Propper (rpropper(AT)stanford.edu), Jul 09 2005

Edited by N. J. A. Sloane (njas(AT)research.att.com) at the suggestion of Ryan Propper, Jan 26 2008

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 16 13:43 EST 2012. Contains 205915 sequences.