Binomial coefficient modulo a prime

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
1 reply · 7K views
erszega
Messages
36
Reaction score
0
A question:

Let bin(a,b) denote the binomial coefficient a! / ( b! (a - b)! ).

Is it true that

bin( 2p, p ) = 2 (mod p) if p is prime and p>=3 ?
 
on Phys.org
Yes, it's fermat's little theorem: x^p=x mod p, for p a prime, hence

(1+x)^2p = (1+x^p)^2 = 1+2x^p+x^{2p} mod p

note your requirement on p>=3 is not necessary. 4 choose 2 =6 whcih is congruent to 2 mod 2 as well.