Show that ## {2n \choose n}\equiv 0\pmod {p} ##?

  • Thread starter Math100
  • Start date
In summary: I think it applies here because ##p>n##Yes. In general, a∣c and b∣c does not imply ab∣c. In this case, it works. Why?This is covered by saying ##gcd(p,n!)=1## but yeah it might not be so straightforward implication. I think it applies here because ##p>n##Yes, that is correct. Since ##p>n##, ##p## cannot divide both ##n!## and ##(n+1)(n+2)\dotsb (2n)##, which means ##gcd(p,n!)=1##. Therefore, ##p## can only divide the numerator, which implies ##p|{2n \choose n}
  • #1
Math100
802
222
Homework Statement
If ## p ## is a prime satisfying ## n<p<2n ##, show that ## {2n \choose n}\equiv 0\pmod {p} ##.
Relevant Equations
None.
Proof:

Let ## n ## be a positive integer.
Then ## {2n \choose n}= \frac{(2n)!}{(n!)(n!)}= \frac{n!(n+1)(n+2)\dotsb (2n)}{(n!)(n!)}= \frac{(n+1)(n+2)\dotsb (2n)}{n!} ##.
This means ## n!\mid [(n+1)(n+2)\dotsb (2n)] ##.
Since ## n<p<2n ##, it follows that ## p\mid [(n+1)(n+2)\dotsb (2n)] ##.
Note that ## gcd(p, n!)=1 ## because ## p ## is prime.
Thus ## p\mid\frac{(n+1)(n+2)\dotsb (2n)}{n!}\implies\ p\mid{2n \choose n}\implies {2n \choose n}\equiv 0\pmod {p} ##.
Therefore, if ## p ## is a prime satisfying ## n<p<2n ##, then ## {2n \choose n}\equiv 0\pmod {p} ##.
 
  • Like
Likes Delta2
Physics news on Phys.org
  • #2
Math100 said:
Homework Statement:: If ## p ## is a prime satisfying ## n<p<2n ##, show that ## {2n \choose n}\equiv 0\pmod {p} ##.
Relevant Equations:: None.

Proof:

Let ## n ## be a positive integer.
Then ## {2n \choose n}= \frac{(2n)!}{(n!)(n!)}= \frac{n!(n+1)(n+2)\dotsb (2n)}{(n!)(n!)}= \frac{(n+1)(n+2)\dotsb (2n)}{n!} ##.
This means ## n!\mid [(n+1)(n+2)\dotsb (2n)] ##.
Since ## n<p<2n ##, it follows that ## p\mid [(n+1)(n+2)\dotsb (2n)] ##.
Note that ## gcd(p, n!)=1 ## because ## p ## is prime.
Thus ## p\mid\frac{(n+1)(n+2)\dotsb (2n)}{n!}\implies\ p\mid{2n \choose n}\implies {2n \choose n}\equiv 0\pmod {p} ##.
Therefore, if ## p ## is a prime satisfying ## n<p<2n ##, then ## {2n \choose n}\equiv 0\pmod {p} ##.
Correct. I only wonder what you needed
This means ## n!\mid [(n+1)(n+2)\dotsb (2n)] ##.
for. If you wanted to say that ##\binom{2n}{n}## is an integer, you could have just written it
Then ##\mathbb{Z}\ni {2n \choose n}= \frac{(2n)!}{(n!)(n!)}= \frac{n!(n+1)(n+2)\dotsb (2n)}{(n!)(n!)}= \frac{(n+1)(n+2)\dotsb (2n)}{n!} ##.
or
Then ## {2n \choose n}= \frac{(2n)!}{(n!)(n!)}= \frac{n!(n+1)(n+2)\dotsb (2n)}{(n!)(n!)}= \frac{(n+1)(n+2)\dotsb (2n)}{n!} \in \mathbb{Z}##.
I do not see why it is important that ##n!## divides ##(n+1)(n+2)\dotsb (2n).##
 
  • Like
Likes Math100
  • #3
fresh_42 said:
Correct. I only wonder what you needed

for. If you wanted to say that ##\binom{2n}{n}## is an integer, you have written

or

I do not see why it is important that ##n!## divides ##(n+1)(n+2)\dotsb (2n).##
Yes, that was actually my intention. To indicate that ## {2n \choose n} ## is an integer. I didn't know that we can actually express ## {2n \choose n}\in\mathbb{Z} ##.
 
  • #4
Math100 said:
Let ## n ## be a positive integer.
Then ## {2n \choose n}= \frac{(2n)!}{(n!)(n!)}= \frac{n!(n+1)(n+2)\dotsb (2n)}{(n!)(n!)}= \frac{(n+1)(n+2)\dotsb (2n)}{n!} ##.
This means ## n!\mid [(n+1)(n+2)\dotsb (2n)] ##.
Why? If you know a priori that ##\binom{2n}{n}## is an integer, then the above is unnecessary. If you want prove that it's an integer, you should also say something like "product of ##n## consecutive terms is divisible by ##n!##" (prove this separately).
Math100 said:
Note that ## gcd(p, n!)=1 ## because ## p ## is prime.
Thus ## p\mid\frac{(n+1)(n+2)\dotsb (2n)}{n!}##.
Yes. In general, ##a\mid c## and ##b\mid c## does not imply ##ab\mid c##. In this case, it works. Why?
 
Last edited:
  • Like
Likes Delta2
  • #5
Math100 said:
Homework Statement:: If ## p ## is a prime satisfying ## n<p<2n ##, show that ## {2n \choose n}\equiv 0\pmod {p} ##.
Relevant Equations:: None.

Note that gcd(p,n!)=1 because p is prime.
you should add that the prime p is ##p>n## because without that you might had the case that ##gcd(p,n!)=p##
 
  • #6
nuuskur said:
Yes. In general, a∣c and b∣c does not imply ab∣c. In this case, it works. Why?
This is covered by saying ##gcd(p,n!)=1## but yeah it might not be so straightforward implication.
 
  • Like
Likes nuuskur

FAQ: Show that ## {2n \choose n}\equiv 0\pmod {p} ##?

What does the notation {2n \choose n} mean?

The notation {2n \choose n} represents the binomial coefficient, which is the number of ways to choose n objects from a set of 2n objects. It is also known as "n choose k".

What does it mean to be congruent modulo p?

Being congruent modulo p means that two numbers have the same remainder when divided by p. In other words, if a and b are congruent modulo p, then a and b leave the same remainder when divided by p.

How do you prove that {2n \choose n} is congruent to 0 modulo p?

To prove that {2n \choose n} is congruent to 0 modulo p, you can use the Lucas' Theorem or the Wilson's Theorem. Both theorems involve using properties of prime numbers to show that the binomial coefficient is divisible by p.

Why is it important to show that {2n \choose n} is congruent to 0 modulo p?

It is important to show that {2n \choose n} is congruent to 0 modulo p because it helps in determining the divisibility of the binomial coefficient by the prime number p. This can be useful in many mathematical and scientific applications, such as in number theory and combinatorics.

Can you provide an example of using this congruence in a real-world scenario?

One example of using this congruence in a real-world scenario is in cryptography. The RSA algorithm, which is widely used in secure communication, involves finding two large prime numbers and using their product as a public key. The security of this algorithm relies on the fact that it is difficult to factorize a large number into its prime factors. The congruence {2n \choose n} \equiv 0 (mod p) can be used to check if a number is prime or not, and therefore, can aid in the generation of secure prime numbers for the RSA algorithm.

Similar threads

Back
Top