Problem Sets
1. Prove that the sum of two even integers is even.
Problem Set 1. Foundations
-
Prove that the sum of two even integers is even.
-
Prove that the product of two odd integers is odd.
-
Prove that if $n^2$ is even, then $n$ is even.
-
Prove by induction that
$$ 1+2+\cdots+n=\frac{n(n+1)}{2}. $$
- Prove by induction that
$$ 1^2+2^2+\cdots+n^2=\frac{n(n+1)(2n+1)}{6}. $$
-
Prove that every integer $n\ge2$ has a prime divisor.
-
Prove that there are infinitely many primes.
-
Show that if $a\mid b$ and $b\mid c$, then $a\mid c$.
-
Show that if $a\mid b$ and $a\mid c$, then
$$ a\mid bx+cy $$
for all integers $x,y$.
- Prove that $\gcd(a,b)=\gcd(b,a-b)$.
Problem Set 2. Divisibility and Euclidean Algorithm
- Use the Euclidean algorithm to compute
$$ \gcd(252,198). $$
- Find integers $x,y$ such that
$$ 252x+198y=\gcd(252,198). $$
-
Prove Bézout’s identity using the Euclidean algorithm.
-
Prove Euclid’s lemma: if $p$ is prime and $p\mid ab$, then $p\mid a$ or $p\mid b$.
-
Prove the uniqueness part of the fundamental theorem of arithmetic.
-
Find the prime factorization of
$$ 5040. $$
- Compute
$$ \gcd(840,1008) $$
from prime factorizations.
- Compute
$$ \operatorname{lcm}(840,1008). $$
- Prove that
$$ \gcd(a,b)\operatorname{lcm}(a,b)=|ab|. $$
- Show that if $\gcd(a,b)=1$ and $a\mid bc$, then $a\mid c$.
Problem Set 3. Congruences
-
Prove that congruence modulo $n$ is an equivalence relation.
-
Solve
$$ 3x\equiv 7\pmod{11}. $$
- Solve
$$ 12x\equiv 8\pmod{20}. $$
-
Find the inverse of $17$ modulo $43$.
-
Prove that $a$ has an inverse modulo $n$ if and only if
$$ \gcd(a,n)=1. $$
- Solve the system
$$ x\equiv 2\pmod 3, $$
$$ x\equiv 3\pmod 5, $$
$$ x\equiv 2\pmod 7. $$
-
Prove the Chinese remainder theorem for two coprime moduli.
-
Compute
$$ 2^{100}\pmod{13}. $$
-
Prove Fermat’s little theorem.
-
Use Euler’s theorem to compute
$$ 7^{222}\pmod{40}. $$
Problem Set 4. Arithmetic Functions
- Compute $\varphi(n)$ for
$$ n=12,18,36,100. $$
- Prove that if $p$ is prime, then
$$ \varphi(p^k)=p^k-p^{k-1}. $$
-
Prove that $\varphi$ is multiplicative.
-
Compute $\mu(n)$ for $1\le n\le 20$.
-
Prove that
$$ \sum_{d\mid n}\mu(d)= \begin{cases} 1 & n=1,\ 0 & n>1. \end{cases} $$
-
Prove the Möbius inversion formula.
-
Compute
$$ \sum_{d\mid 60}\varphi(d). $$
- Prove that
$$ \sum_{d\mid n}\varphi(d)=n. $$
-
Show that the divisor-counting function $\tau(n)$ is multiplicative.
-
Find a formula for $\tau(n)$ from the prime factorization of $n$.
Problem Set 5. Diophantine Equations
- Determine whether
$$ 35x+21y=14 $$
has integer solutions. If so, find all of them.
- Solve
$$ 15x+28y=1. $$
-
Classify all primitive Pythagorean triples.
-
Find all primitive Pythagorean triples with hypotenuse less than $50$.
-
Solve
$$ x^2-2y^2=1 $$
for the first five positive solutions.
- Prove that no integer solution exists for
$$ x^2\equiv 3\pmod 4. $$
-
Prove that if $p\equiv 3\pmod 4$, then $p$ cannot divide a sum of two squares unless it divides both terms.
-
Find all integer solutions to
$$ x^2-y^2=45. $$
- Prove that there are no positive integers $x,y$ such that
$$ x^2=2y^2. $$
- Find all rational points on
$$ x^2+y^2=1. $$
Problem Set 6. Quadratic Residues
-
List all quadratic residues modulo $11$.
-
Compute
$$ \left(\frac{2}{7}\right),\quad \left(\frac{3}{11}\right),\quad \left(\frac{5}{13}\right). $$
-
Prove Euler’s criterion.
-
Use quadratic reciprocity to compute
$$ \left(\frac{37}{101}\right). $$
- Determine whether
$$ x^2\equiv 10\pmod{13} $$
has a solution.
- Prove the first supplementary law:
$$ \left(\frac{-1}{p}\right)=(-1)^{(p-1)/2}. $$
-
Prove the second supplementary law for $\left(\frac{2}{p}\right)$.
-
Show that the Jacobi symbol being $1$ does not imply solvability.
-
Compute
$$ \left(\frac{1001}{9907}\right). $$
- Find all solutions of
$$ x^2\equiv 1\pmod{35}. $$
Problem Set 7. Analytic Number Theory
-
Prove that the harmonic series diverges.
-
Prove that
$$ \sum_p \frac1p $$
diverges.
-
Show that the Euler product for $\zeta(s)$ converges absolutely when $\operatorname{Re}(s)>1$.
-
Derive the Euler product formula
$$ \zeta(s)=\prod_p(1-p^{-s})^{-1}. $$
-
Prove Abel summation.
-
Estimate
$$ \sum_{n\le x}\log n. $$
- Show that
$$ \vartheta(x)\le \psi(x). $$
-
State the prime number theorem in terms of $\pi(x)$, $\vartheta(x)$, and $\psi(x)$.
-
Prove the orthogonality relations for Dirichlet characters modulo $q$.
-
Explain why nonvanishing of $L(1,\chi)$ is central to Dirichlet’s theorem.
Problem Set 8. Algebraic Number Theory
-
Prove that $\sqrt{2}$ is an algebraic integer.
-
Show that
$$ \frac12 $$
is not an algebraic integer.
- Find the minimal polynomial of
$$ \sqrt{2}+\sqrt{3}. $$
- Compute the norm and trace of
$$ a+b\sqrt{d} $$
over $\mathbb{Q}$.
-
Determine the units in $\mathbb{Z}[i]$.
-
Factor
$$ 5 $$
in $\mathbb{Z}[i]$.
-
Show that $\mathbb{Z}[\sqrt{-5}]$ does not have unique factorization.
-
Define a Dedekind domain and give an example.
-
Prove that every nonzero ideal in $\mathbb{Z}$ is principal.
-
Explain how ideals restore unique factorization in rings of integers.
Problem Set 9. Elliptic Curves and Modular Forms
- Check whether
$$ y^2=x^3-4x $$
is nonsingular.
- Find the rational points with small integer coordinates on
$$ y^2=x^3+x+1. $$
-
Derive the chord-and-tangent group law geometrically.
-
Compute $P+Q$ for two given points on a Weierstrass curve.
-
Count points on
$$ y^2=x^3+x+1 $$
over $\mathbb{F}_5$.
-
State Hasse’s bound.
-
Define a modular form of weight $k$.
-
Explain the difference between modular forms and cusp forms.
-
Define a Hecke operator.
-
State the modularity theorem for elliptic curves over $\mathbb{Q}$.
Problem Set 10. Computational and Cryptographic Number Theory
-
Implement the Euclidean algorithm.
-
Implement the extended Euclidean algorithm.
-
Implement fast modular exponentiation.
-
Use Miller-Rabin to test whether a given large integer is probably prime.
-
Factor a small composite using Pollard rho.
-
Generate two RSA primes and compute public and private exponents.
-
Prove correctness of RSA encryption and decryption.
-
Implement arithmetic in $\mathbb{F}_p$.
-
Implement point addition on an elliptic curve over $\mathbb{F}_p$.
-
Explain why integer factorization and discrete logarithms are central to public-key cryptography.