Skip to content
The Lumenary

Practice · Advanced undergraduate

Number theory

Number theory

Warm-upHuman

How many primitive roots are there modulo 1313?

Number theory

CoreHuman

Use quadratic reciprocity to compute the Legendre symbol (37101)\left(\frac{37}{101}\right). (Enter 11 or −1-1.)

Number theory

CoreHuman

For which moduli nn does a primitive root exist? (Select all that apply.)

Choose all that apply

Number theory

Warm-upHuman

Which of these numbers are sums of two squares of integers? (Select all that apply.)

Choose all that apply

Number theory

CoreHuman

In the proof of Euler's criterion, let gg be a primitive root modulo an odd prime pp and a=gka = g^k. Why is a(p−1)/2≡1a^{(p-1)/2} \equiv 1 exactly when kk is even?

Choose one

Number theory

CoreHuman

Compute ∑d∣60μ(d)\sum_{d \mid 60} \mu(d), where μ\mu is the Möbius function.

Number theory

StretchHuman

The fundamental solution of x2−2y2=1x^2 - 2y^2 = 1 is (3,2)(3, 2). Using composition, (x+y2)=(3+22)2(x + y\sqrt2) = (3 + 2\sqrt2)^2, find the next solution. What is its xx?

Number theory

CoreFormal

In Lean, legendreSym p a is the Legendre symbol (ap)\left(\frac{a}{p}\right). Which statement is the law of quadratic reciprocity for primes p, q (with [Fact p.Prime] [Fact q.Prime])?

Choose one

Number theory

StretchComputational

Write order(a, n) returning the multiplicative order of aa modulo nn (assume gcd⁡(a,n)=1\gcd(a, n) = 1, n≥2n \ge 2), and primitive_roots(p) returning the sorted list of primitive roots modulo a prime pp. Check that there are φ(p−1)\varphi(p - 1) of them.

Runs entirely in your browser, in an isolated worker. Nothing is sent to a server.