Math 2.0

Number theory Congruences Theorem

Lucas's theorem

Builds on Congruence modulo nPrime number

Statement

Let pp be a prime number, and let mm and nn be natural numbers with base-pp digits m=∑i=0kmipim = \sum_{i=0}^{k} m_i p^i and n=∑i=0knipin = \sum_{i=0}^{k} n_i p^i, where 0≤mi,ni<p0 \le m_i, n_i < p. Then (mn)≡∏i=0k(mini)(modp),\binom{m}{n} \equiv \prod_{i=0}^{k} \binom{m_i}{n_i} \pmod p, with the convention (ab)=0\binom{a}{b} = 0 when b>ab > a.

Remarks

A consequence: p∣(mn)p \mid \binom{m}{n} if and only if ni>min_i > m_i for some digit ii. For example, with p=3p = 3: 10=101310 = 101_3 and 4=01134 = 011_3. The theorem gives (104)≡(10)(01)(11)=0(mod3)\binom{10}{4} \equiv \binom{1}{0} \binom{0}{1} \binom{1}{1} = 0 \pmod 3, and indeed (104)=210\binom{10}{4} = 210. For p=2p = 2, the binomial coefficient (mn)\binom{m}{n} is odd if and only if mm has a binary digit 11 at each place where nn has one.

History

Édouard Lucas published the theorem in 1878.

Reading path

To understand this page from the ground up, read these 4 pages in order. The foundations come first.

Show the path as a graph
Each page uses the pages above it. The colour of the bar on a box shows how strong the evidence is, and the box also gives it as text. The list has the same pages.
  • no evidence level
  1. Divisibility definition
  2. Congruence modulo n definition
  3. Prime number definition
  4. Lucas's theorem statement

Further reading

  1. Web https://en.wikipedia.org/wiki/Lucas%27s_theorem, Statement
About this page
Tag0RY4GGMEQG
URIm2://0RY4GGMEQG
Kindstatement, theorem
WritingW1 stated
MSC11B65
StatusThis copy of the site has no build data. Run m2 status 0RY4GGMEQG.
UsesCongruence modulo n, Prime number
Same as

Markdown · JSON · Edit on GitHub

What this page needs for W2

  • edge about out: the concepts that the statement is about (0 of 1)
  • edge proves in: at least one proof node (0 of 1)
  • edge instance_of or illustrates in: one example that shows the statement at work (0 of 1)
  • explanation L2 (0 of 1)

The writing levels say how complete the text of a page is. They do not measure its truth.

What links here

No page links to this page yet.