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!)
A064401 Numbers n such that n! - prime(n) is prime. 7
4, 5, 7, 12, 14, 15, 16, 17, 18, 20, 30, 37, 39, 49, 52, 66, 86, 162, 165, 202, 235, 250, 366, 419, 1169, 1311, 1916, 3032, 3211, 3335, 4650, 6199, 7762 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
a(34) > 12500. - Giovanni Resta, Mar 16 2014
LINKS
MATHEMATICA
Do[ If[ PrimeQ[ n! - Prime[ n ] ], Print[ n ] ], {n, 1, 600} ]
Select[Range[2000], PrimeQ[#! - Prime[#]] &] (* Vincenzo Librandi, Mar 05 2015 *)
PROG
(Magma) [n: n in [1..200] | IsPrime(Factorial(n)- NthPrime(n))]; // Vincenzo Librandi, Mar 05 2015
CROSSREFS
Cf. A064278.
Sequence in context: A216536 A051658 A047491 * A079337 A160934 A032390
KEYWORD
nonn,more,hard
AUTHOR
Robert G. Wilson v, Sep 28 2001
EXTENSIONS
Three more terms from Farideh Firoozbakht, Feb 28 2004
a(28)-a(33) from Giovanni Resta, Mar 16 2014
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 14:32 EDT 2024. Contains 371960 sequences. (Running on oeis4.)