statement theorem
Lucas's theorem
Statement
Let be a prime number, and let and be natural numbers with base- digits and , where . Then with the convention when .
Remarks
A consequence: if and only if for some digit . For example, with : and . The theorem gives , and indeed . For , the binomial coefficient is odd if and only if has a binary digit at each place where has one.
History
Édouard Lucas published the theorem in 1878.
Explanations
L1 human
To find a binomial coefficient modulo a prime , write both numbers in base . Then compute small binomial coefficients digit by digit and multiply them. This explains the pattern of odd numbers in Pascal's triangle, which looks like the Sierpiński triangle.
What this node needs for W1
- an inventory row: the row of the inventory that the node accounts for (0 of 1)
The writing levels say how complete the text of a node is. They do not measure its truth.
What this needs
To read this node, read these 4 nodes in this order. The foundations come first, and the list ends with this node.
- no evidence level
- Divisibility definition
- Congruence modulo n definition
- Prime number definition
- Lucas's theorem statement
Sources
What links here
No node links to this node yet.