Skip to main content
Contents Index
Dark Mode Prev Up Next
\(\newcommand{\im}{{\mathrm{im}}}
\newcommand{\given}{{\, :\,}}
\newcommand{\hanoi}{\mathrm{hanoi}}
\newcommand{\lcm}{{\mathrm{lcm}}}
\newcommand{\ID}{{\mathrm{ID}}}
\newcommand{\chr}{{\mathtt{chr}}}
\newcommand{\ord}{{\mathtt{ord}}}
\newcommand{\set}[1]{\left\lbrace #1 \right\rbrace}
\newcommand{\seq}[2]{( #1 )_{#2}}
\newcommand{\gr}[1]{\left( #1 \right)}
\newcommand{\abs}[1]{\left| #1 \right|}
\newcommand{\size}[1]{\# #1}
\newcommand{\id}[1]{\mathrm{id}_{#1}}
\newcommand{\ip}[1]{\left\langle #1 \right\rangle}
\newcommand{\floor}[1]{\left\lfloor #1\right\rfloor}
\newcommand{\ceiling}[1]{\left\lceil #1\right\rceil}
\newcommand{\indemph}[1]{{\textbf{\emph{#1}}\index{#1}}}
\renewcommand{\implies}{\to}
\renewcommand{\iff}{\leftrightarrow}
\newcommand{\lxor}{\oplus}
\newcommand{\cP}{\wp}
\newcommand{\pset}{\cP}
\newcommand{\ZZ}{\mathbb{Z}}
\newcommand{\QQ}{\mathbb{Q}}
\newcommand{\NN}{\mathbb{N}}
\newcommand{\CC}{\mathbb{C}}
\newcommand{\RR}{\mathbb{R}}
\newcommand{\barr}[1]{\overline{#1}}
\newcommand{\sage}{\textsc{Sage}}
\newcommand{\magma}{\textsc{Magma}}
\newcommand{\bob}{\text{Bob}}
\newcommand{\true}{\text{T}}
\newcommand{\false}{\text{F}}
\newcommand{\ahat}{\hat{a}}
\newcommand{\ah}{\ahat}
\newcommand{\bhat}{\hat{b}}
\newcommand{\abar}{\bar{a}}
\newcommand{\cA}{\mathcal{A}}
\newcommand{\cF}{\mathcal{F}}
\newcommand{\cW}{\mathcal{W}}
\newcommand{\todo}[1]{{\color{red} TODO: #1}}
\renewcommand{\div}{\operatorname{div}}
\newcommand{\gexp}[3]{#1^{#2 #3}}
\newcommand{\gexpp}[3]{\displaystyle\left(#1\right)^{#2 #3}}
\newcommand{\glog}[3]{\log_{#1}^{#3}#2}
\def\dbend{{!!!}}
\newcommand{\lt}{<}
\newcommand{\gt}{>}
\newcommand{\amp}{&}
\definecolor{fillinmathshade}{gray}{0.9}
\newcommand{\fillinmath}[1]{\mathchoice{\colorbox{fillinmathshade}{$\displaystyle \phantom{\,#1\,}$}}{\colorbox{fillinmathshade}{$\textstyle \phantom{\,#1\,}$}}{\colorbox{fillinmathshade}{$\scriptstyle \phantom{\,#1\,}$}}{\colorbox{fillinmathshade}{$\scriptscriptstyle\phantom{\,#1\,}$}}}
\)
Exercises 5.4.4 Exercises
1.
Give the definition for these terms. Be sure to set up any notation that is required.
inverse of an integer modulo an integer
2.
State precisely the Chinese Remainder Theorem. Be sure to set up any notation that is required.
3.
State precisely the Fermatβs little theorem and Eulerβs generalization. Be sure to set up any notation that is required.
4.
Show that
\(25\) is an inverse of
\(13\) modulo
\(36\text{.}\)
5.
Find an inverse of
\(5\) modulo
\(7\) by inspection.
6.
Use the Extended Euclidean Algorithm to find an inverse of
\(68\) modulo
\(253\text{.}\)
7.
\begin{equation*}
\left\{
{\begin{array}{l}
x \equiv 2 \pmod{3}\\
x \equiv 1 \pmod{4}\\
x \equiv 3 \pmod{5}
\end{array}}
\right\}.
\end{equation*}
8.
9.
Use Fermatβs little theorem to compute
\(3^{302} \bmod{5}\text{.}\)
10.
Find all the solutions to
\begin{equation*}
\left\{
{\begin{array}{l}
x \equiv 2 \pmod{13}\\
x \equiv 6 \pmod {15}\\
\end{array}}
\right\}.
\end{equation*}
What is the smallest positive solution?
11.
Find all the solutions to
\begin{equation*}
\left\{
{\begin{array}{l}
x \equiv 2 \pmod{7}\\
x \equiv 3 \pmod{8}\\
x \equiv 4 \pmod{5}\\
\end{array}}
\right\}.
\end{equation*}
What is the smallest positive solution?
12.
The problems below are related. Namely, a computation in one portion may be used in more than one part.
Compute
\(\gcd(2468, 357)\text{.}\)
Use the Extended Euclidean Algorithm to solve the BΓ©zout equation for \(2468\) and \(357\text{.}\) Namely, find integers \(s\) and \(t\) such that
\begin{equation*}
\gcd(2468,357) = 2468 s + 357t.
\end{equation*}
Compute an inverse of
\(357\) modulo
\(2468\text{,}\) or explain why one does not exist.
13.
Find an inverse of
\(19\) modulo
\(241\text{.}\)
14.
Show that
\(937\) is an inverse of
\(13\) modulo
\(2436\text{.}\)
15.
Solve the linear congruence
\(357 x \equiv 123 \pmod{2468}\text{.}\)
16.
I have an unknown number of Easter candies. When I arrange them in groups of
\(20\text{,}\) there are
\(3\) left over. When I arrange them in groups of
\(41\text{,}\) there are
\(26\) left over. What is the minimum number of candies that I could have?
17.
Solve the congruence
\(2x \equiv 3 \pmod{13}\) by inspection.
18.
Solve the linear congruence
\(19 x \equiv 11 \pmod{141}\text{.}\)
19.
Solve the congruence
\(201x \equiv 5 \pmod{1357}\) using modular inverses.
20.
Split up the positive integers less than
\(13\text{,}\) except
\(1\) and
\(12\) into pairs of integers such that each pair consists of integers that are inverses of each other modulo
\(13\text{.}\) Use this to show
\(12! \equiv -1 \pmod{13}\text{.}\)
21.
Suppose you collected shells on the beach with your daughter. When you arrange them in piles of
\(15\text{,}\) there are
\(13\) left over. When you arrange them in piles of
\(19\text{,}\) there are
\(6\) leftover. Use the Chinese Remainder Theorem to figure out how many shells you collected. Give the smallest positive solution.