Skip to content

Problem Sets

1. Prove that the sum of two even integers is even.

Problem Set 1. Foundations

  1. Prove that the sum of two even integers is even.

  2. Prove that the product of two odd integers is odd.

  3. Prove that if n2n^2 is even, then nn is even.

  4. Prove by induction that

1+2++n=n(n+1)2. 1+2+\cdots+n=\frac{n(n+1)}{2}.
  1. Prove by induction that
12+22++n2=n(n+1)(2n+1)6. 1^2+2^2+\cdots+n^2=\frac{n(n+1)(2n+1)}{6}.
  1. Prove that every integer n2n\ge2 has a prime divisor.

  2. Prove that there are infinitely many primes.

  3. Show that if aba\mid b and bcb\mid c, then aca\mid c.

  4. Show that if aba\mid b and aca\mid c, then

abx+cy a\mid bx+cy

for all integers x,yx,y.

  1. Prove that gcd(a,b)=gcd(b,ab)\gcd(a,b)=\gcd(b,a-b).

Problem Set 2. Divisibility and Euclidean Algorithm

  1. Use the Euclidean algorithm to compute
gcd(252,198). \gcd(252,198).
  1. Find integers x,yx,y such that
252x+198y=gcd(252,198). 252x+198y=\gcd(252,198).
  1. Prove Bézout’s identity using the Euclidean algorithm.

  2. Prove Euclid’s lemma: if pp is prime and pabp\mid ab, then pap\mid a or pbp\mid b.

  3. Prove the uniqueness part of the fundamental theorem of arithmetic.

  4. Find the prime factorization of

5040. 5040.
  1. Compute
gcd(840,1008) \gcd(840,1008)

from prime factorizations.

  1. Compute
lcm(840,1008). \operatorname{lcm}(840,1008).
  1. Prove that
gcd(a,b)lcm(a,b)=ab. \gcd(a,b)\operatorname{lcm}(a,b)=|ab|.
  1. Show that if gcd(a,b)=1\gcd(a,b)=1 and abca\mid bc, then aca\mid c.

Problem Set 3. Congruences

  1. Prove that congruence modulo nn is an equivalence relation.

  2. Solve

3x7(mod11). 3x\equiv 7\pmod{11}.
  1. Solve
12x8(mod20). 12x\equiv 8\pmod{20}.
  1. Find the inverse of 1717 modulo 4343.

  2. Prove that aa has an inverse modulo nn if and only if

gcd(a,n)=1. \gcd(a,n)=1.
  1. Solve the system
x2(mod3), x\equiv 2\pmod 3, x3(mod5), x\equiv 3\pmod 5, x2(mod7). x\equiv 2\pmod 7.
  1. Prove the Chinese remainder theorem for two coprime moduli.

  2. Compute

2100(mod13). 2^{100}\pmod{13}.
  1. Prove Fermat’s little theorem.

  2. Use Euler’s theorem to compute

7222(mod40). 7^{222}\pmod{40}.

Problem Set 4. Arithmetic Functions

  1. Compute φ(n)\varphi(n) for
n=12,18,36,100. n=12,18,36,100.
  1. Prove that if pp is prime, then
φ(pk)=pkpk1. \varphi(p^k)=p^k-p^{k-1}.
  1. Prove that φ\varphi is multiplicative.

  2. Compute μ(n)\mu(n) for 1n201\le n\le 20.

  3. Prove that

dnμ(d)={1n=1,0n>1. \sum_{d\mid n}\mu(d)= \begin{cases} 1 & n=1,\\ 0 & n>1. \end{cases}
  1. Prove the Möbius inversion formula.

  2. Compute

d60φ(d). \sum_{d\mid 60}\varphi(d).
  1. Prove that
dnφ(d)=n. \sum_{d\mid n}\varphi(d)=n.
  1. Show that the divisor-counting function τ(n)\tau(n) is multiplicative.

  2. Find a formula for τ(n)\tau(n) from the prime factorization of nn.

Problem Set 5. Diophantine Equations

  1. Determine whether
35x+21y=14 35x+21y=14

has integer solutions. If so, find all of them.

  1. Solve
15x+28y=1. 15x+28y=1.
  1. Classify all primitive Pythagorean triples.

  2. Find all primitive Pythagorean triples with hypotenuse less than 5050.

  3. Solve

x22y2=1 x^2-2y^2=1

for the first five positive solutions.

  1. Prove that no integer solution exists for
x23(mod4). x^2\equiv 3\pmod 4.
  1. Prove that if p3(mod4)p\equiv 3\pmod 4, then pp cannot divide a sum of two squares unless it divides both terms.

  2. Find all integer solutions to

x2y2=45. x^2-y^2=45.
  1. Prove that there are no positive integers x,yx,y such that
x2=2y2. x^2=2y^2.
  1. Find all rational points on
x2+y2=1. x^2+y^2=1.

Problem Set 6. Quadratic Residues

  1. List all quadratic residues modulo 1111.

  2. Compute

(27),(311),(513). \left(\frac{2}{7}\right),\quad \left(\frac{3}{11}\right),\quad \left(\frac{5}{13}\right).
  1. Prove Euler’s criterion.

  2. Use quadratic reciprocity to compute

(37101). \left(\frac{37}{101}\right).
  1. Determine whether
x210(mod13) x^2\equiv 10\pmod{13}

has a solution.

  1. Prove the first supplementary law:
(1p)=(1)(p1)/2. \left(\frac{-1}{p}\right)=(-1)^{(p-1)/2}.
  1. Prove the second supplementary law for (2p)\left(\frac{2}{p}\right).

  2. Show that the Jacobi symbol being 11 does not imply solvability.

  3. Compute

(10019907). \left(\frac{1001}{9907}\right).
  1. Find all solutions of
x21(mod35). x^2\equiv 1\pmod{35}.

Problem Set 7. Analytic Number Theory

  1. Prove that the harmonic series diverges.

  2. Prove that

p1p \sum_p \frac1p

diverges.

  1. Show that the Euler product for ζ(s)\zeta(s) converges absolutely when Re(s)>1\operatorname{Re}(s)>1.

  2. Derive the Euler product formula

ζ(s)=p(1ps)1. \zeta(s)=\prod_p(1-p^{-s})^{-1}.
  1. Prove Abel summation.

  2. Estimate

nxlogn. \sum_{n\le x}\log n.
  1. Show that
ϑ(x)ψ(x). \vartheta(x)\le \psi(x).
  1. State the prime number theorem in terms of π(x)\pi(x), ϑ(x)\vartheta(x), and ψ(x)\psi(x).

  2. Prove the orthogonality relations for Dirichlet characters modulo qq.

  3. Explain why nonvanishing of L(1,χ)L(1,\chi) is central to Dirichlet’s theorem.

Problem Set 8. Algebraic Number Theory

  1. Prove that 2\sqrt{2} is an algebraic integer.

  2. Show that

12 \frac12

is not an algebraic integer.

  1. Find the minimal polynomial of
2+3. \sqrt{2}+\sqrt{3}.
  1. Compute the norm and trace of
a+bd a+b\sqrt{d}

over Q\mathbb{Q}.

  1. Determine the units in Z[i]\mathbb{Z}[i].

  2. Factor

5 5

in Z[i]\mathbb{Z}[i].

  1. Show that Z[5]\mathbb{Z}[\sqrt{-5}] does not have unique factorization.

  2. Define a Dedekind domain and give an example.

  3. Prove that every nonzero ideal in Z\mathbb{Z} is principal.

  4. Explain how ideals restore unique factorization in rings of integers.

Problem Set 9. Elliptic Curves and Modular Forms

  1. Check whether
y2=x34x y^2=x^3-4x

is nonsingular.

  1. Find the rational points with small integer coordinates on
y2=x3+x+1. y^2=x^3+x+1.
  1. Derive the chord-and-tangent group law geometrically.

  2. Compute P+QP+Q for two given points on a Weierstrass curve.

  3. Count points on

y2=x3+x+1 y^2=x^3+x+1

over F5\mathbb{F}_5.

  1. State Hasse’s bound.

  2. Define a modular form of weight kk.

  3. Explain the difference between modular forms and cusp forms.

  4. Define a Hecke operator.

  5. State the modularity theorem for elliptic curves over Q\mathbb{Q}.

Problem Set 10. Computational and Cryptographic Number Theory

  1. Implement the Euclidean algorithm.

  2. Implement the extended Euclidean algorithm.

  3. Implement fast modular exponentiation.

  4. Use Miller-Rabin to test whether a given large integer is probably prime.

  5. Factor a small composite using Pollard rho.

  6. Generate two RSA primes and compute public and private exponents.

  7. Prove correctness of RSA encryption and decryption.

  8. Implement arithmetic in Fp\mathbb{F}_p.

  9. Implement point addition on an elliptic curve over Fp\mathbb{F}_p.

  10. Explain why integer factorization and discrete logarithms are central to public-key cryptography.