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!)
A151894 Numbers n such that n! + second prime after n! is prime. 3

%I #5 May 31 2013 12:41:40

%S 2,3,5,6,7,8,11,17,42,66,76,93,139,157

%N Numbers n such that n! + second prime after n! is prime.

%C Because numbers of the form: (n! + prime) are divisible by all primes <= n that mean that first prime number can have form n! + next prime after n! and no primes of the form n! + k for k > 1 and k < next prime after n!

%t a = {}; Do[If[PrimeQ[n! + NextPrime[n!,2]], AppendTo[a, n]], {n, 1, 200]; a (*Artur Jasinski*)

%Y Cf. A002981, A151892, A151893, A151903.

%K nonn

%O 1,1

%A _Artur Jasinski_, Apr 12 2008

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 19 03:05 EDT 2024. Contains 371782 sequences. (Running on oeis4.)