In
number theory
Number theory (or arithmetic or higher arithmetic in older usage) is a branch of pure mathematics devoted primarily to the study of the integers and integer-valued functions. German mathematician Carl Friedrich Gauss (1777–1855) said, "Math ...
, Lucas's theorem expresses the
remainder
In mathematics, the remainder is the amount "left over" after performing some computation. In arithmetic, the remainder is the integer "left over" after dividing one integer by another to produce an integer quotient (integer division). In algeb ...
of division of the
binomial coefficient
In mathematics, the binomial coefficients are the positive integers that occur as coefficients in the binomial theorem. Commonly, a binomial coefficient is indexed by a pair of integers and is written \tbinom. It is the coefficient of the t ...
by a
prime number
A prime number (or a prime) is a natural number greater than 1 that is not a product of two smaller natural numbers. A natural number greater than 1 that is not prime is called a composite number. For example, 5 is prime because the only way ...
''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
__NOTOC__
François Édouard Anatole Lucas (; 4 April 1842 – 3 October 1891) was a French mathematician. Lucas is known for his study of the Fibonacci sequence. The related Lucas sequences and Lucas numbers are named after him.
Biography
Lu ...
.
Statement
For non-negative integers ''m'' and ''n'' and a prime ''p'', the following
congruence relation
In abstract algebra, a congruence relation (or simply congruence) is an equivalence relation on an algebraic structure (such as a group, ring, or vector space) that is compatible with the structure in the sense that algebraic operations done ...
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.
Consequences
* 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''.
* In particular,
is
odd if and only if the binary digits (
bit
The bit is the most basic unit of information in computing and digital communications. The name is a portmanteau of binary digit. The bit represents a logical state with one of two possible values. These values are most commonly represented a ...
s) in the
binary expansion
A binary number is a number expressed in the base-2 numeral system or binary numeral system, a method of mathematical expression which uses only two symbols: typically "0" (zero) and "1" ( one).
The base-2 numeral system is a positional notatio ...
of ''n'' are a subset of the bits of ''m''.
Variations and generalizations
*
Kummer's theorem asserts that the largest integer ''k'' such that ''p''
''k'' 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''.
* Generalizations of Lucas's theorem to the case of ''p'' being a prime power are given by Davis and Webb (1990) and Granville (1997).
* The ''q''-Lucas theorem is a generalization for the ''q''-binomial coefficients, first proved by J. Désarménien.
References
External links
*
*
*{{cite arXiv , author=R. Meštrović , title=Lucas' theorem: its generalizations, extensions and applications (1878–2014) , year=2014 , class=math.NT , eprint=1409.3820
Articles containing proofs
Theorems about prime numbers