We have seen that if
is a prime then
divides all the binomial coefficients
,
.
Because of this and the binomial theorem,
we have
This fact was first discovered by Pierre Fermat 1.5, though he apparently gave no proof. This theorem was stated without proof by Fermat in a letter dated 1640. Leibnitz proved this in 1683 in an unpublished manuscript and Euler, in 1736, published the first proof.
(a) Use the division algorithm (Theorem 1.2.7)
to find the remainder of
modulo
,
where
.
(b) Use the division algorithm (Theorem 1.2.7)
to find the remainder of
modulo
,
where
.
(a)
,
(b)
,
(c)
.
(a)
,
(b)
if and only if
,
(c)
if and only if
is not equivalent to
.