Skip to content

Hints for Selected Problems

Write the two integers as

Hints for Problem Set 1. Foundations

1. Sum of Two Even Integers

Write the two integers as

a=2m,b=2n. a=2m,\qquad b=2n.

Then factor 22 from a+ba+b.

2. Product of Two Odd Integers

Write

a=2m+1,b=2n+1. a=2m+1,\qquad b=2n+1.

Expand abab, then show it has the form 2k+12k+1.

3. If n2n^2 Is Even, Then nn Is Even

Use proof by contrapositive.

Assume nn is odd. Then write

n=2k+1. n=2k+1.

Show that n2n^2 is odd.

4. Sum of the First nn Integers

Use induction.

Base case:

n=1. n=1.

For the inductive step, add n+1n+1 to both sides of

1+2++n=n(n+1)2. 1+2+\cdots+n=\frac{n(n+1)}{2}.

5. Sum of Squares

Use induction.

Assume

12+22++n2=n(n+1)(2n+1)6. 1^2+2^2+\cdots+n^2=\frac{n(n+1)(2n+1)}{6}.

Then add (n+1)2(n+1)^2 and simplify until the expression becomes

(n+1)(n+2)(2n+3)6. \frac{(n+1)(n+2)(2n+3)}{6}.

6. Prime Divisor

Use strong induction.

If nn is prime, it divides itself. If nn is composite, write

n=ab n=ab

with

1<a<n. 1<a<n.

Then apply the induction hypothesis to aa.

7. Infinitely Many Primes

Assume there are finitely many primes

p1,,pk. p_1,\ldots,p_k.

Consider

N=p1p2pk+1. N=p_1p_2\cdots p_k+1.

No listed prime divides NN. Now use the fact that every integer greater than 11 has a prime divisor.

8. Transitivity of Divisibility

Use the definitions:

ab    b=ak, a\mid b \implies b=ak, bc    c=b. b\mid c \implies c=b\ell.

Substitute.

9. Linear Combination Property

Use

b=am,c=an. b=am,\qquad c=an.

Then compute

bx+cy. bx+cy.

10. GCD Identity

Show that the common divisors of a,ba,b are exactly the common divisors of b,abb,a-b.

Hints for Problem Set 2. Divisibility and Euclidean Algorithm

1. Compute gcd(252,198)\gcd(252,198)

Apply repeated division:

252=198+54, 252=198+54, 198=354+36, 198=3\cdot54+36,

and continue until the remainder is 00.

2. Bézout Coefficients

Work backward through the Euclidean algorithm.

Express the final nonzero remainder as an integer combination of 252252 and 198198.

3. Bézout Identity

Prove that each remainder in the Euclidean algorithm is an integer combination of the original two numbers.

The last nonzero remainder is the gcd.

4. Euclid’s Lemma

Use Bézout’s identity.

If gcd(p,a)=1\gcd(p,a)=1, then

px+ay=1. px+ay=1.

Multiply by bb.

5. Uniqueness of Prime Factorization

Suppose

p1pr=q1qs. p_1\cdots p_r=q_1\cdots q_s.

Use Euclid’s lemma to show that p1p_1 equals one of the qiq_i. Cancel and continue.

6. Factorization of 50405040

Break it into familiar factors:

5040=50410. 5040=504\cdot10.

Then factor 504504 and 1010.

7. GCD from Prime Factorizations

Use the minimum exponent of each prime appearing in both numbers.

8. LCM from Prime Factorizations

Use the maximum exponent of each prime appearing in either number.

9. GCD-LCM Formula

Compare prime exponents.

For each prime pp, the exponent in the gcd plus the exponent in the lcm equals the exponent in ab|ab|.

10. Coprime Divisibility

Use Bézout:

ax+by=1. ax+by=1.

Multiply by cc, then use abca\mid bc.

Hints for Problem Set 3. Congruences

1. Equivalence Relation

Check reflexivity, symmetry, and transitivity directly from

ab(modn)    n(ab). a\equiv b\pmod n \iff n\mid(a-b).

2. Solve 3x7(mod11)3x\equiv7\pmod{11}

Find the inverse of 33 modulo 1111. Then multiply both sides by it.

3. Solve 12x8(mod20)12x\equiv8\pmod{20}

First compute

d=gcd(12,20). d=\gcd(12,20).

A solution exists only if d8d\mid8. Then divide the congruence by dd.

4. Inverse of 1717 Modulo 4343

Use the extended Euclidean algorithm to solve

17x+43y=1. 17x+43y=1.

Then xx is the inverse modulo 4343.

5. Invertibility Criterion

If aa has inverse bb, then

ab1(modn). ab\equiv1\pmod n.

Translate this into a Bézout identity. Conversely, use Bézout to construct an inverse.

6. Chinese Remainder System

First combine the congruences modulo 33 and 55, then combine the result with the congruence modulo 77.

7. CRT for Two Moduli

Use Bézout:

mx+ny=1. mx+ny=1.

Construct a solution from the two congruences using the coefficients x,yx,y.

8. Compute 2100(mod13)2^{100}\pmod{13}

Use Fermat’s little theorem:

2121(mod13). 2^{12}\equiv1\pmod{13}.

Reduce 100100 modulo 1212.

9. Fermat’s Little Theorem

If pap\nmid a, multiplication by aa permutes the nonzero residue classes modulo pp.

Multiply all classes and cancel.

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

Since

gcd(7,40)=1, \gcd(7,40)=1,

use Euler’s theorem. Compute φ(40)\varphi(40), then reduce 222222 modulo φ(40)\varphi(40).

Hints for Problem Set 4. Arithmetic Functions

1. Compute φ(n)\varphi(n)

Count integers 1kn1\le k\le n with

gcd(k,n)=1. \gcd(k,n)=1.

For larger nn, use the prime factorization formula.

2. Totient of a Prime Power

The numbers not coprime to pkp^k are exactly the multiples of pp.

Count them.

3. Multiplicativity of φ\varphi

Use the Chinese remainder theorem:

Z/mnZZ/mZ×Z/nZ \mathbb{Z}/mn\mathbb{Z} \cong \mathbb{Z}/m\mathbb{Z}\times\mathbb{Z}/n\mathbb{Z}

when gcd(m,n)=1\gcd(m,n)=1.

4. Compute μ(n)\mu(n)

Check whether nn is squarefree. If it is, count the number of distinct prime factors.

5. Sum of Möbius Function over Divisors

Use the prime factorization of nn. The divisor sum becomes

(11)k (1-1)^k

when n>1n>1.

6. Möbius Inversion

Start with

g(n)=dnf(d). g(n)=\sum_{d\mid n}f(d).

Compute

dnμ(d)g(n/d) \sum_{d\mid n}\mu(d)g(n/d)

and interchange the order of summation.

7. Sum of φ(d)\varphi(d) over Divisors of 6060

Use the theorem

dnφ(d)=n. \sum_{d\mid n}\varphi(d)=n.

Alternatively, list all divisors and compute directly.

8. Prove dnφ(d)=n\sum_{d\mid n}\varphi(d)=n

Partition the integers

1,2,,n 1,2,\ldots,n

according to the value of gcd(k,n)\gcd(k,n).

9. Multiplicativity of τ(n)\tau(n)

Use prime factorizations and the Chinese remainder structure of divisors for coprime factors.

10. Formula for τ(n)\tau(n)

If

n=p1a1prar, n=p_1^{a_1}\cdots p_r^{a_r},

then each divisor chooses an exponent between 00 and aia_i for each prime pip_i.

Hints for Problem Set 5. Diophantine Equations

1. Linear Equation

Compute

gcd(35,21). \gcd(35,21).

The equation has integer solutions exactly when this gcd divides 1414.

2. Solve 15x+28y=115x+28y=1

Use the extended Euclidean algorithm.

3. Primitive Pythagorean Triples

Use

x2+y2=z2. x^2+y^2=z^2.

Assume one leg is even. Factor

z2y2=x2 z^2-y^2=x^2

as

(zy)(z+y)=x2. (z-y)(z+y)=x^2.

4. Hypotenuse Less Than 5050

Use the standard parametrization:

a=m2n2,b=2mn,c=m2+n2. a=m^2-n^2,\quad b=2mn,\quad c=m^2+n^2.

Require gcd(m,n)=1\gcd(m,n)=1 and opposite parity.

5. Pell Equation

Use continued fractions of 2\sqrt{2}, or use the recurrence generated by

3+22. 3+2\sqrt{2}.

6. No Solution to x23(mod4)x^2\equiv3\pmod4

List squares modulo 44.

7. Prime Dividing a Sum of Squares

Assume

px2+y2 p\mid x^2+y^2

and pyp\nmid y. Then

(xy1)21(modp). (xy^{-1})^2\equiv -1\pmod p.

Use the fact that 1-1 is not a quadratic residue when p3(mod4)p\equiv3\pmod4.

8. Solve x2y2=45x^2-y^2=45

Factor:

(xy)(x+y)=45. (x-y)(x+y)=45.

Analyze factor pairs with the same parity.

9. No Positive Solutions to x2=2y2x^2=2y^2

Use infinite descent or the parity argument from irrationality of 2\sqrt{2}.

10. Rational Points on the Unit Circle

Draw a line through (1,0)(-1,0) with rational slope tt. Intersect it with

x2+y2=1. x^2+y^2=1.

Solve for x,yx,y in terms of tt.

Hints for Problem Set 6. Quadratic Residues

1. Residues Modulo 1111

Compute

02,12,,102(mod11). 0^2,1^2,\ldots,10^2\pmod{11}.

Use symmetry:

a2(a)2(mod11). a^2\equiv(-a)^2\pmod{11}.

2. Legendre Symbols

Use direct residue lists or Euler’s criterion.

3. Euler’s Criterion

Work in the cyclic group

(Z/pZ)×. (\mathbb{Z}/p\mathbb{Z})^\times.

Squares are exactly the even powers of a generator.

4. Compute (37101)\left(\frac{37}{101}\right)

Apply quadratic reciprocity, then reduce the numerator modulo the denominator.

5. Solve x210(mod13)x^2\equiv10\pmod{13}

Compute the Legendre symbol

(1013) \left(\frac{10}{13}\right)

or list the squares modulo 1313.

6. First Supplementary Law

Use Euler’s criterion:

(1p)(1)(p1)/2(modp). \left(\frac{-1}{p}\right)\equiv (-1)^{(p-1)/2}\pmod p.

Since both sides are ±1\pm1, the congruence determines equality.

7. Second Supplementary Law

Count signs in Gauss’s lemma for multiplication by 22 modulo pp.

8. Jacobi Symbol Warning

Find a composite modulus nn and an integer aa such that

(an)=1 \left(\frac{a}{n}\right)=1

but aa is not a square modulo nn.

Try n=15n=15.

9. Compute (10019907)\left(\frac{1001}{9907}\right)

Factor

1001=71113. 1001=7\cdot 11\cdot 13.

Use multiplicativity and quadratic reciprocity.

10. Solve x21(mod35)x^2\equiv1\pmod{35}

Use the Chinese remainder theorem:

x21(mod5),x21(mod7). x^2\equiv1\pmod5,\qquad x^2\equiv1\pmod7.

Each has two solutions. Combine them.

Hints for Problem Set 7. Analytic Number Theory

1. Harmonic Series

Group terms:

12+(13+14)+(15++18)+. \frac12+\left(\frac13+\frac14\right)+\left(\frac15+\cdots+\frac18\right)+\cdots.

Each block is at least 1/21/2.

2. Divergence of p1/p\sum_p 1/p

Use Euler’s product and compare with the harmonic series.

Taking logarithms is the standard route.

3. Absolute Convergence of Euler Product

For Re(s)>1\operatorname{Re}(s)>1, compare

pps \sum_p p^{-s}

with

n=1nRe(s). \sum_{n=1}^{\infty} n^{-\operatorname{Re}(s)}.

4. Euler Product Formula

Start from unique factorization. Expand

p(1+ps+p2s+). \prod_p(1+p^{-s}+p^{-2s}+\cdots).

5. Abel Summation

Write a sum involving anf(n)a_n f(n) in terms of the partial sums

A(x)=nxan. A(x)=\sum_{n\le x}a_n.

Then imitate integration by parts.

6. Estimate nxlogn\sum_{n\le x}\log n

This is

log(x!). \log(\lfloor x\rfloor!).

Use comparison with the integral

1xlogtdt. \int_1^x \log t\,dt.

7. Show ϑ(x)ψ(x)\vartheta(x)\le\psi(x)

Use definitions:

ϑ(x)=pxlogp, \vartheta(x)=\sum_{p\le x}\log p, ψ(x)=pkxlogp. \psi(x)=\sum_{p^k\le x}\log p.

The second sum includes all terms in the first.

8. PNT Forms

Use:

π(x)xlogx, \pi(x)\sim \frac{x}{\log x}, ϑ(x)x, \vartheta(x)\sim x, ψ(x)x. \psi(x)\sim x.

Then explain why these are equivalent with some work.

9. Orthogonality of Characters

Use the fact that characters are homomorphisms on the finite abelian group

(Z/qZ)×. (\mathbb{Z}/q\mathbb{Z})^\times.

Nontrivial characters sum to 00.

10. Nonvanishing of L(1,χ)L(1,\chi)

In Dirichlet’s proof, the logarithmic contribution from primes in arithmetic progressions is isolated using characters.

If L(1,χ)0L(1,\chi)\ne0, unwanted cancellation does not destroy the main term.

Hints for Problem Set 8. Algebraic Number Theory

1. 2\sqrt2 Is an Algebraic Integer

It satisfies the monic polynomial

x22=0. x^2-2=0.

2. 12\frac12 Is Not an Algebraic Integer

Use the rational root theorem: the only rational algebraic integers are ordinary integers.

3. Minimal Polynomial of 2+3\sqrt2+\sqrt3

Let

x=2+3. x=\sqrt2+\sqrt3.

Then

x2=5+26. x^2=5+2\sqrt6.

Isolate 6\sqrt6, square again, and simplify.

4. Norm and Trace in Quadratic Fields

The conjugate of

a+bd a+b\sqrt d

is

abd. a-b\sqrt d.

The norm is the product. The trace is the sum.

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

Use the norm

N(a+bi)=a2+b2. N(a+bi)=a^2+b^2.

A unit must have norm 11.

6. Factor 55 in Z[i]\mathbb{Z}[i]

Use

5=12+22. 5=1^2+2^2.

Then

5=(1+2i)(12i). 5=(1+2i)(1-2i).

7. Failure of Unique Factorization

Use the classic example:

6=23=(1+5)(15). 6=2\cdot3=(1+\sqrt{-5})(1-\sqrt{-5}).

Show these factors are irreducible and not associates.

8. Dedekind Domain

Give the definition and use

OK \mathcal{O}_K

as the main example, where KK is a number field.

9. Ideals in Z\mathbb{Z}

Let I0I\ne0. Choose the least positive element nIn\in I. Use division with remainder to show

I=nZ. I=n\mathbb{Z}.

10. Ideals Restore Factorization

In a Dedekind domain, nonzero ideals factor uniquely into prime ideals, even when elements do not factor uniquely.

Hints for Problem Set 9. Elliptic Curves and Modular Forms

1. Nonsingularity

For

F(x,y)=y2x3+4x, F(x,y)=y^2-x^3+4x,

check whether

F=Fx=Fy=0 F=F_x=F_y=0

has a common solution.

2. Small Rational Points

Begin by testing small integer values of xx. Check whether

x3+x+1 x^3+x+1

is a square.

3. Group Law

A line through two points intersects a cubic in a third point. Reflect that third point across the xx-axis.

4. Compute P+QP+Q

Use the slope formula. For PQP\ne Q,

m=y2y1x2x1. m=\frac{y_2-y_1}{x_2-x_1}.

Then apply the standard Weierstrass addition formulas.

5. Count Points over F5\mathbb{F}_5

For each

xF5, x\in\mathbb{F}_5,

compute

x3+x+1 x^3+x+1

and count how many yy satisfy the equation. Add the point at infinity.

6. Hasse Bound

The bound has the form

#E(Fq)(q+1)2q. \left|\#E(\mathbb{F}_q)-(q+1)\right|\le 2\sqrt q.

7. Modular Form

State the transformation rule under

(abcd)SL2(Z). \begin{pmatrix} a & b\\ c & d \end{pmatrix} \in SL_2(\mathbb{Z}).

8. Cusp Forms

A cusp form is a modular form that vanishes at the cusps.

For qq-expansions, this usually means the constant term is 00.

9. Hecke Operator

Describe Hecke operators as linear operators acting on spaces of modular forms and encoding arithmetic symmetries.

10. Modularity Theorem

Every elliptic curve over Q\mathbb{Q} is modular: it corresponds to a modular form of weight 22 and suitable level.

Hints for Problem Set 10. Computational and Cryptographic Number Theory

1. Euclidean Algorithm

Repeatedly replace

(a,b) (a,b)

by

(b,amodb) (b,a\bmod b)

until b=0b=0.

2. Extended Euclidean Algorithm

Track coefficients x,yx,y at each step so that every remainder is represented as

ax+by. ax+by.

3. Fast Modular Exponentiation

Use the binary expansion of the exponent.

Repeatedly square the base and multiply into the result when the current bit is 11.

4. Miller-Rabin

Write

n1=2sd n-1=2^s d

with dd odd. Test random bases aa using the standard strong probable prime conditions.

5. Pollard Rho

Use a polynomial iteration such as

f(x)=x2+1(modn). f(x)=x^2+1\pmod n.

Compute

gcd(xy,n) \gcd(|x-y|,n)

where xx and yy move at different speeds.

6. RSA Key Generation

Choose primes p,qp,q, compute

N=pq, N=pq, φ(N)=(p1)(q1). \varphi(N)=(p-1)(q-1).

Choose ee coprime to φ(N)\varphi(N), then compute

de1(modφ(N)). d\equiv e^{-1}\pmod{\varphi(N)}.

7. RSA Correctness

Show that

(me)dm(modN). (m^e)^d\equiv m\pmod N.

Use

ed1(modφ(N)) ed\equiv1\pmod{\varphi(N)}

and argue modulo pp and modulo qq.

8. Arithmetic in Fp\mathbb{F}_p

Use ordinary integer arithmetic followed by reduction modulo pp. Division by a0a\ne0 means multiplication by a1a^{-1}.

9. Elliptic Curve Point Addition

Implement the formulas for point doubling and addition separately. Include the point at infinity as the identity.

10. Cryptographic Hardness

Explain that public-key cryptography relies on operations that are easy in one direction and hard to reverse without secret information.