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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A096985 Numbers n such that n*n! - NextPrime[n] is prime. 1
3, 5, 8, 10, 12, 13, 23, 26, 30, 33, 38, 114, 162, 219, 265, 268, 277, 344, 463, 651, 877, 1128, 2466, 2594 (list; graph; refs; listen; history; internal format)
OFFSET

1,1

COMMENTS

The corresponding next prime has more than 6239 digits.

EXAMPLE

8 is in the sequence because 8*8! - 11 is prime.

MATHEMATICA

<< NumberTheory`NumberTheoryFunctions`; v={}; Do[If[PrimeQ [n*n!-NextPrime[n]], v=Append[v, n]; Print[v]], {n, 2150}]

CROSSREFS

Cf. A096986, A090704, A049433.

Sequence in context: A189377 A073608 A155945 * A206909 A138829 A003265

Adjacent sequences:  A096982 A096983 A096984 * A096986 A096987 A096988

KEYWORD

more,nonn

AUTHOR

Farideh Firoozbakht (mymontain(AT)yahoo.com), Jul 31 2004

EXTENSIONS

More terms from Ryan Propper (rpropper(AT)cs.stanford.edu), Jan 01 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 17 13:28 EST 2012. Contains 206031 sequences.