Prime Between n n and n ! n!

Between 3 3 and 3 ! 3! , there is 5 5 , which a prime.

Between 4 4 and 4 ! 4! , there is 5 5 , which a prime.

Between 5 5 and 5 ! 5! , there is 7 7 , which is a prime.

True or False ?

For every positive integer n 3 n \geq 3 , there is always at least one prime p p with n < p < n ! n<p<n! .

False True

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

6 solutions

Matthew Hughes
Jan 8, 2018

This statement is True . This can be solved two different ways:

a) Consider a number x x between 1 1 and n + 1 n+1 . This number must divide n ! n! , since n ! n! is the product of all numbers between 1 1 and n + 1 n+1 . However, this number x x cannot divide n ! 1 n! - 1 since there will be a remainder left over when dividing by any number between 1 1 and n + 1 n+1 . This can either mean that n ! 1 n! - 1 is prime, or there is some number, which is prime, that is greater than or equal to n + 1 n+1 that divides n ! 1 n! - 1 . In either case, we have found a prime p p and showed that this statement is true!

b) One can use Bertrand's Theorem , which states that for n > 1 n>1 , there is always a prime p p between n n and 2 n 2n . This can be remembered by the rhyme: "Bertrand said it and I'll say it again, there's always a prime between n and 2n." (other variants of this rhyme exist too). Notice that n ! = n ( n 1 ) ( n 2 ) ( 2 ) ( 1 ) n!=n(n-1)(n-2)\cdots(2)(1) , so n ! 2 n n! \geq 2n for n 3 n \geq 3 , therefore there is always at least one prime p p between n n and n ! n! .

Can you come up with a general forumla for the number of primes between n and n !

For example:

Between 2 and 2 ! there are no primes.

Between 3 and 3 ! there is 1 prime numbers -> 5

Between 4 and 4 ! there are 5,7,11,13,17,19,23 -> 7 prime numbers...

So how many primes are between n and n! in terms of n ?

Vijay Simha - 3 years, 5 months ago
Vijay Simha
Jan 11, 2018

Can you come up with a general forumla for the number of primes between n and n !

For example:

Between 2 and 2 ! there are no primes.

Between 3 and 3 ! there is 1 prime number -> 5

Between 4 and 4 ! there are 5,7,11,13,17,19,23 -> 7 prime numbers...

So how many primes are between n and n! in terms of n ?

No, We can't.

Digvijay Singh - 3 years, 5 months ago

Since for large n n , n ! n n! \gg n , we can apply the prime number theorem to approximate the number of primes less than or equal to n ! n! , this will be a little bit too much since we're also counting primes less than n n , but it won't change the result significantly.

π ( n ! ) n ln ( n ) \pi(n!) \sim \frac n {\ln(n)}

or

π ( n ! ) 2 n ! d t ln t \pi(n!) \sim \int_2^{n!} \frac {\mathrm{d}t} {\ln t} .

Henry U - 2 years, 7 months ago
Edwin Gray
Aug 25, 2018

By Bertrand'e postulate, there is always a prime between n and 2n if n > 3. Ed Gray

Abhinav Sinha
Feb 15, 2018

Consider a number x x

x = n ! 1 x=n! -1

Consider any prime divisor p p of x x .

Then p p does not divide n ! n!

Hence p > n p > n

Also n ! 1 p n!-1 \geq p

Hence n ! > p > n n!>p>n

Proved.....

Piero Sarti
Jan 25, 2018

Let P ( n ) P(n) equal the greatest prime number less than or equal to n n and let S n = { 2 , 3 , 5 , 7 P ( n ) } S_n = \{2, 3, 5, 7 \cdots P(n)\} . Note that since S n S_n is essentially a set containing all the prime numbers less than or equal to n n , if we take the product of all the elements in S n S_n and add 1 1 it follows that the result is not divisible by any of the numbers in S n S_n and therefore this result is either prime itself or is the product of other primes which are not contained in S n S_n or in other words it is the product of primes greater than n n . Since for any n > 3 , S n + 1 < n ! n > 3, \prod{S_n} + 1< n! it must mean that n < p < n ! n< p < n! , where p p is a prime, is True \boxed{\text{True}} .

Even though this reasoning does not work for 3 3 we can easily work out that there is a prime number between 3 3 and 3 ! 3! .

Akeel Howell
Jan 17, 2018

The prime number theorem states that for sufficiently large N N , the distribution of prime numbers less than or equal to N N is approximately N ln N \dfrac{N}{\ln{N}} . Since this is less than N N for all N 3 N \geq 3 , it is clear that the next prime number will be less than 2 N 2N . As such, for N 3 N \geq 3 , there is always at least 1 1 prime number between N N and N ! N! .

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...