vEnhance's avatar
#number theory Page 1 of 1

Jul 11, 2025

🖉 A stupid "real-life" application of quadratic reciprocity

The application

During this year’s MOP, we used the following procedure to divide some of our students into two classes:

Let p=7075374838595186541578161p = 7075374838595186541578161 be prime. Take the letters in your name as it appears on the roster, convert them with A1Z26 and take the sum of cubes to get a number ss. For example, EVANCHEN corresponds to s=53+223++143=16926s = 5^3 + 22^3 + \dots + 14^3 = 16926. Then you’re in Red 1 (room A155) if ss is a quadratic residue modulo pp, and Red 2 (room A133) otherwise.

The students were understandably a bit confused why the prime was chosen. It turned out to be a prank: if you ran the calculation on the 30-ish students in this class, it was …

Read more...

Jun 12, 2017

🖉 Positive Definite Quadratic Forms

I’m reading through Primes of the Form $x^2+ny^2$, by David Cox (link; it’s good!). Here are the high-level notes I took on the first chapter, which is about the theory of quadratic forms.

(Meta point re blog: I’m probably going to start posting more and more of these more high-level notes/sketches on this blog on topics that I’ve been just learning. Up til now I’ve been mostly only posting things that I understand well and for which I have a very polished exposition. But the perfect is the enemy of the good here; given that I’m taking these notes for my own sake, I may as well share them to help others.)

1. Overview

Definition 1. For us a quadratic form is a polynomial Q=Q(x,y)=ax2+bxy+cy2Q = Q(x …

Read more...

Jul 31, 2016

🖉 Vinogradov's Three-Prime Theorem (with Sammy Luo and Ryan Alweiss)

This was my final paper for 18.099, seminar in discrete analysis, jointly with Sammy Luo and Ryan Alweiss.

We prove that every sufficiently large odd integer can be written as the sum of three primes, conditioned on a strong form of the prime number theorem.

1. Introduction

In this paper, we prove the following result:

Theorem 1 (Vinogradov)

Every sufficiently large odd integer NN is the sum of three prime numbers.

In fact, the following result is also true, called the “weak Goldbach conjecture”.

Theorem 2 (Weak Goldbach conjecture)

Every odd integer N7N \ge 7 is the sum of three prime numbers.

The proof of Vinogradov’s theorem becomes significantly simpler if one assumes the generalized Riemann hypothesis; this allows one to use a strong form of the prime number theorem (Theorem 9). This conditional proof was given by Hardy and Littlewood in …

Read more...

Jun 15, 2016

🖉 Miller-Rabin (for MIT 18.434)

This is a transcript of a talk I gave as part of MIT’s 18.434 class, the “Seminar in Theoretical Computer Science” as part of MIT’s communication requirement. (Insert snarky comment about MIT’s CI-* requirements here.) It probably would have made a nice math circle talk for high schoolers but I felt somewhat awkward having to present it to a bunch of students who were clearly older than me.

1. Preliminaries

1.1. Modular arithmetic

In middle school you might have encountered questions such as

Exercise 1. What is 32016(mod10)3^{2016} \pmod{10}?

You could answer such questions by listing out 3n3^n for small nn and then finding a pattern, in this case of period 44. However, for large moduli this “brute-force” approach can be time-consuming.

Fortunately, it …

Read more...

May 03, 2016

🖉 Artin Reciprocity

I will tell you a story about the Reciprocity Law. After my thesis, I had the idea to define LL-series for non-abelian extensions. But for them to agree with the LL-series for abelian extensions, a certain isomorphism had to be true. I could show it implied all the standard reciprocity laws. So I called it the General Reciprocity Law and tried to prove it but couldn’t, even after many tries. Then I showed it to the other number theorists, but they all laughed at it, and I remember Hasse in particular telling me it couldn’t possibly be true.

Still, I kept at it, but nothing I tried worked. Not a week went by — for three years! — that I did not try to prove the Reciprocity Law. It was discouraging, and meanwhile I turned to other things. Then one afternoon I had nothing …

Read more...

Sep 05, 2015

🖉 Some Notes on Valuations

There are some notes on valuations from the first lecture of Math 223a at Harvard.

1. Valuations

Let kk be a field.

Definition 1. A valuation :kR0\left\lvert - \right\rvert : k \rightarrow \mathbb R_{\ge 0} is a function obeying the axioms

  • α=0    α=0\left\lvert \alpha \right\rvert = 0 \iff \alpha = 0.
  • αβ=αβ\left\lvert \alpha\beta \right\rvert = \left\lvert \alpha \right\rvert \left\lvert \beta \right\rvert.
  • Most importantly: there should exist a real constant CC, such that 1+α<C\left\lvert 1+\alpha \right\rvert < C whenever α1\left\lvert \alpha \right\rvert \le 1.

The third property is the interesting one. Note in particular it can be rewritten as a+b<Cmax{a,b …

Read more...

Oct 19, 2014

🖉 Why do roots come in conjugate pairs?

This is an expanded version of an answer I gave to a question that came up while I was assisting the 2014-2015 WOOT class. It struck me as an unusually good way to motivate higher math using stuff that people notice in high school but for some reason decide to not think about.

In high school precalculus, you’ll often be asked to find the roots of some polynomial with integer coefficients. For instance, x3x2x15=(x3)(x2+2x+5)x^3 - x^2 - x - 15 = (x-3)(x^2+2x+5) has roots 33, 1+2i1+2i, 12i-1-2i. Or as another example, x33x22x+2=(x+1)(x24x+2 …

Read more...
#number theory Page 1 of 1