Lucas's theorem

In number theory, Lucas's theorem expresses the remainder of division of the binomial coefficient by a prime number p in terms of the base p expansions of the integers m and n.

Lucas's theorem first appeared in 1878 in papers by Édouard Lucas.[1]

Statement

For non-negative integers m and n and a prime p, the following congruence relation holds:

where

and

are the base p expansions of m and n respectively. This uses the convention that if m < n.

Proofs

There are several ways to prove Lucas's theorem.

Combinatorial proof 

Let M be a set with m elements, and divide it into mi cycles of length pi for the various values of i. Then each of these cycles can be rotated separately, so that a group G which is the Cartesian product of cyclic groups Cpi acts on M. It thus also acts on subsets N of size n. Since the number of elements in G is a power of p, the same is true of any of its orbits. Thus in order to compute modulo p, we only need to consider fixed points of this group action. The fixed points are those subsets N that are a union of some of the cycles. More precisely one can show by induction on k-i, that N must have exactly ni cycles of size pi. Thus the number of choices for N is exactly .

Proof based on generating functions 

This proof is due to Nathan Fine.[2]

If p is a prime and n is an integer with 1 ≤ np − 1, then the numerator of the binomial coefficient

is divisible by p but the denominator is not. Hence p divides . In terms of ordinary generating functions, this means that

Continuing by induction, we have for every nonnegative integer i that

Now let m be a nonnegative integer, and let p be a prime. Write m in base p, so that for some nonnegative integer k and integers mi with 0 ≤ mip-1. Then

where in the final product, ni is the ith digit in the base p representation of n. This proves Lucas's theorem.

Consequence

  • A binomial coefficient is divisible by a prime p if and only if at least one of the base p digits of n is greater than the corresponding digit of m.

Variations and generalizations

  • Kummer's theorem asserts that the largest integer k such that pk divides the binomial coefficient (or in other words, the valuation of the binomial coefficient with respect to the prime p) is equal to the number of carries that occur when n and m  n are added in the base p.
  • Andrew Granville has given a generalization of Lucas's theorem to the case of p being a power of prime.[3]
  • The q-Lucas theorem is a generalization for the q-binomial coefficients, first proved by J. Désarménien.[4]
gollark: If you want to kill some group you dislike, there are probably more efficient ways.
gollark: Surely if you controlled the FDA you could find something better to do with it?
gollark: Like someone said in the comments, they can just run it all the way to the heat death of the universe instantly and fix that.
gollark: I don't see why you would want that. One infinitely powerful hypercomputer can do the same as whatever amount of infinitely powerful hypercomputers in zero time.
gollark: You get... two simulations, one different, presumably?

References

  1. Fine, Nathan (1947). "Binomial coefficients modulo a prime". American Mathematical Monthly. 54: 589–592. doi:10.2307/2304500.
  2. Andrew Granville (1997). "Arithmetic Properties of Binomial Coefficients I: Binomial coefficients modulo prime powers" (PDF). Canadian Mathematical Society Conference Proceedings. 20: 253–275. MR 1483922. Archived from the original (PDF) on 2017-02-02.
  3. Désarménien, Jacques (March 1982). "Un Analogue des Congruences de Kummer pour les q-nombres d'Euler". European Journal of Combinatorics. 3 (1): 19–28. doi:10.1016/S0195-6698(82)80005-X.
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.