What Euler did in his seventeen blind years
E10 · timeobserver137 video blog edition Authors: Escher (intro/closing/retrospective) + Abel (math sections) + Gauss/Socrates (peer review) Video: E10 The Seventeen Blind Years | 18:10
§Preface: in my own words
This piece is the final installment of the Euler series. My original intention in making the Euler series was to make good on that pure curiosity and thirst for knowledge I had when I was young. I said in E01 that the shock Euler gave me, and the interest in mathematics he gave me, came from that book of Pólya’s, Mathematics and Plausible Reasoning; but the real source of my own interest in mathematics was the elementary geometry I learned in junior high school. Since then it has been like a pure land in my life, and whenever I meet huge upheavals in life I go back to this pure land to satisfy that pure curiosity and thirst for knowledge of my youth.
But what is different from before is that now there is AI, and with AI’s help it can greatly stir up that purity in me; I can do more exploring in less time, and I can also use it to share the joy of this exploration with others. The Euler series is the result of this exploration. I had never made videos or done editing before, nor had I studied Euler in any depth; I even half-understood some of his contributions. Once I had AI, I let them help me learn and explore together, to experience this pure happiness, and they have also helped me gradually walk out of my present low point.
As for this episode specifically: Escher helped me cut the video footage together + wrote the historical narrative sections of the blog (§0 preface / §5 the day of death / §6 cross-episode retrospective); Abel wrote all the derivations of the four sections of serious mathematics in blog §1-§4 + those Manim animations in the video; Gauss checked all the historical facts in the blog + video (E-numbers / dates / sources of quotations); Socrates checked the logical rigor of the mathematical proofs; Euler published the finished product to timeobserver137.cyou. I myself was really only pulling levers in the engine room — deciding the direction, guarding the taste, doing review with them round after round.
Honest disclosure: the text of this blog post was roughly 70% generated by AI agents, but 100% supervised by me + every paragraph reviewed — similar to the relationship between a magazine editor-in-chief and the authors. That is also how I see my collaboration with them.
Neither you reading this nor I know what the future will be like, but I believe that this innocence in my heart will not be lost as time passes, nor disappear with the changes of life; just like Euler’s interest in mathematics, it will accompany me all my life.
If you like what I am doing at the moment, you are welcome to contact me through any of the channels below:
- YouTube channel: https://www.youtube.com/@timeobserver137
- Blog: https://timeobserver137.cyou
- Email: [email protected]
Thank you, too, for reading this far. All the best.
Symbol Preamble (notational conventions)
To save repetition below, the mathematical symbols used throughout this blog post are listed here. Where a section has local extensions, they are declared at the start of that section.
Number sets
denotes the finite field of order (when is prime, this is ).
Vector and scalar conventions
- Vectors: bold lowercase, e.g. . Vectors in the geometric sense, set in bold.
- Scalars: ordinary italic, e.g. . Lengths, energies, single real numbers, etc.
- Basis vectors: denote the Cartesian unit vectors.
- Norm: denotes the Euclidean norm.
- Inner product: or .
Differential operators
Material derivative (advective): .
Number theory
- — congruence
- — greatest common divisor
- — the order of in
- — Legendre symbol (Definition §4.1)
- — Euler totient (the number of positive integers up to that are coprime to )
- — Riemann zeta function
- — Euler Gamma function
- — Euler-Mascheroni constant
Logical markers
- Definition / Lemma / Proposition / Theorem / Corollary — explicit tags
- Proof. — start of proof / (QED) — end of proof
- — if and only if / — implies
- — identically equal / — defined as
Euler-Eneström numbering
Each Euler paper is identified by an E-number (Eneström’s 1910 catalogue). Important references in this article:
- E041: Basel ζ(2) solution, written 1734-35 / published 1740
- E053: the seven bridges of Königsberg, 1735 / 1741
- E071: irrationality of e, 1737 / 1744
- E072: Euler product ∏(1-p⁻ˢ)⁻¹, 1737 / 1744
- E101-E102: Introductio in analysin infinitorum, 1748
- E187: theory of the motion of the Moon (Theoria motus lunae), 1753
- E101 (Introductio): the e^(ix) trigonometric formula, 1748
- E230 / E231: the polyhedron formula V−E+F=2 (announcement 1750 / proof 1751-58)
- E258: Euler’s fluid equations (Principia motus fluidorum, written 1753 / printed 1761)
- E309: solution of the knight’s tour (written 1758 / printed 1766, delayed by the Seven Years’ War)
- E343: Lettres à une princesse d’Allemagne (written 1760-62)
- E385: Introductio in analysin infinitorum vol. III, 1763
- E530: Recherches sur une nouvelle espèce de quarrés magiques, 1779 / printed 1782
- E552: quadratic reciprocity, written 1772 / printed 1783 (Opuscula analytica vol I)
§0.1 Preface: May 1766, the border
In May 1766, the 59-year-old Leonhard Euler was packing his bags in Berlin. The 25-year Berlin era was over; the patience between Frederick II (“the Great”) and his one-eyed geometer had run out. In his position as head of the mathematics class of the Berlin Academy, he had written a letter of recommendation, leaving the successor’s position to a young Italian who had sent him a manuscript on the calculus of variations at 19, Joseph-Louis Lagrange (born in Turin in 1736; 30 years old in 1766). Lagrange formally took over the mathematics class of the Berlin Academy in 1766. ([Calinger 2016, Chapter 18])
On the side of the Russian empress Catherine II, she was waiting for him. Since succeeding to the throne in the palace coup of 1762 she had been rebuilding the Russian academy, and Euler was the key candidate for rebuilding the mathematical foundations of the Petersburg Academy of Sciences. The carriage she sent picked up the Euler family at the Russian border. On arrival in Petersburg, the academy had prepared for him an annual salary of 3000 rubles + housing near the court + positions arranged for his children.
After Euler left, Frederick II wrote to d’Alembert to thank him for recommending the successor: « je dois à vos soins et à votre recommandation d’avoir remplacé dans mon Académie un géomètre borgne par un géomètre qui a ses deux yeux, ce qui plaira surtout fort à la classe des anatomistes » (“I owe it to your care and your recommendation that I have replaced, in my Academy, a one-eyed geometer with a geometer who has both his eyes, which will especially please the class of anatomists”). (Frederick to d’Alembert, 26 July 1766, Œuvres de Frédéric le Grand, vol. 24, p. 407. The often-repeated “The one-eyed geometer is gone; I can save some money” is a later retelling; the letter says nothing about saving money.)
But Euler’s right eye had already been blind for 28 years, since a high fever in 1738. On arrival in Petersburg, the only eye he could still use, his left, had also begun to blur. He knew very well what might happen next.
§0.2 The timeline of the blindness
The decline of Euler’s eyesight over his life falls into three stages, which must be stated separately, because they determined the changes in the way he worked:
Stage I (1738-1766): right eye blind, left eye working
In 1738 Euler went through a severe high fever in Petersburg (presumed to be typhus or a similar bacterial infection), and after the fever subsided his right eye was blind. He was 31 at the time. This one-eyed blindness lasted 28 years, during which he completed core results such as the Mechanica (E015-E016), the Introductio in analysin infinitorum (E101-E102), the fluid equations (E258), the theory of the motion of the Moon (E187, 1753), and the polyhedron formula (E230/E231). That is, the most productive 28 years of his career were completed with one eye blind.
Stage II (1766-1771): the left eye also gradually blurring, nearly totally blind
In August-September 1766, in his second month after arriving in Petersburg, Euler again had a severe high fever. After the fever subsided, his remaining left eye also gradually became blurred. For the 5 years from 1766 to 1771 he was in near-total blindness — he could barely make out outlines of light and dark, but could neither read nor write. Most of his output from this period, including the 234 letters popularizing science written for a German princess of Anhalt-Dessau (Lettres à une princesse d’Allemagne, E343), was already entirely done by dictation. ([Calinger 2016, Chapter 19])
Stage III (1771-1783): completely blind
In fact, not long after Euler arrived in Petersburg (1766), a cataract in his left eye was diagnosed. For the following 5 years he continued working in a state of near-total blindness, waiting for an operation. In September 1771, the most famous eye surgeon in Europe at the time, Baron Michael Johann Baptist de Wenzel, came to Petersburg and performed a couching (needling of the cataract) operation on Euler’s left eye. The operation itself was very successful — within a few weeks Euler’s left eye regained some sight, and he could finally read for himself again. But about a month after the operation, the wound became infected. From then on, Euler was completely blind.
For the 12 years from 1771 until his death in 1783, Euler could not write at all, nor read. He relied on three amanuenses (dictation scribes):
- Johann Albrecht Euler (eldest son, 1734-1800): chief recorder. Secretary of the Petersburg Academy from 1769.
- Nicolaus Fuss (1755-1826): came to Petersburg from Basel in 1773 on Daniel Bernoulli’s recommendation, serving as Euler’s assistant. Later married Euler’s granddaughter Albertine.
- Anders Johan Lexell (1740-1784): Swedish astronomer. Mainly took on Euler’s dictation on celestial mechanics, including the calculation of the orbit of Uranus.
Working pattern: 4-6 hours a day. In the morning, an assistant read the previous day’s manuscript aloud to Euler; Euler ran through the complete computation in his head, then dictated revisions and new content. In the evening, the assistant organized it into notes, and the next day read it aloud to Euler again.
§0.3 Output statistics
| Period | Stage of blindness | Number of papers | Share of the lifetime 866 |
|---|---|---|---|
| 1729-1738 (Petersburg I) | both eyes working | 41 | 4.7% |
| 1738-1766 (Petersburg I + Berlin) | right eye blind, left eye working | 419 | 48.4% |
| 1766-1783 (Petersburg II) | left eye nearly totally blind → completely blind | 406 | 46.9% |
Sources: Eneström’s 1910 catalogue + the Truesdell-Maltese-Bell tabulation. ([Calinger 2016, Appendix A])
Of the two most productive periods (Berlin, 25 years + Petersburg II, 17 years), in the second he could not see at all. 17 years, 400+ papers, 46.9% of his lifetime output.
This number by itself does not explain why. What we are going to walk through next is the how. In these 17 years Euler pushed forward 4 mathematical main lines at the same time:
- §1 Three-body mechanics: the Moon-Earth-Sun three-body problem + the geometry of the Lagrange points to (1751-1772, completed in a relay by Euler and Lagrange)
- §2 Number theory I: the mental verification of the Mersenne prime (1772, announced in a letter to Daniel Bernoulli)
- §3 Combinatorics: Latin squares + the 36 officers problem + a conjecture that was eventually overturned (1779, E530)
- §4 Number theory II: the conjectural form of quadratic reciprocity (1783, E552, left as an open problem; 13 years later the 19-year-old Gauss gave the first proof)
Each one requires a serious walk through the proof. Let us take them one section at a time.
Next section: §1 — From Newton’s two bodies to Lagrange’s five points — the relay of Euler 1751-1753 and Lagrange 1772
— Escher · §0 INTRO · v0 · 2026-05-26
§1 — The three-body problem + the Lagrange points -
Author of this section: Abel. Style: textbook form. Equation numbering: (1.k).
Symbol supplement for this section
In addition to the master Symbol Preamble, this section adds the following symbols:
| Symbol | Meaning |
|---|---|
| Newton’s gravitational constant | |
| masses of the three bodies (primary, secondary, test particle) | |
| position vector of in the inertial frame | |
| position of the test particle in the co-rotating frame | |
| dimensionless mass parameter | |
| angular velocity of the co-rotating frame | |
| effective potential in the co-rotating frame | |
| collinear Lagrange points | |
| equilateral Lagrange points | |
| the distance between and |
Throughout this section normalized units are used: length scaled by , mass scaled by , time scaled by — so that .
1.1. The two-body problem
We start from the integrable case completely solved by Newton in the Principia (1687).
Theorem 1.1 (Kepler–Newton). Let two point masses , under the inverse-square gravitational force
move relative to each other. Then the relative orbit lies in a fixed plane, and its trajectory is a conic section with the center of mass at one focus. For a bounded orbit, this conic is an ellipse, with eccentricity and semi-latus rectum , parametrized as
where is the true anomaly measured from perihelion.
Proof. By Newton’s second law and the law of universal gravitation, the two point masses satisfy
where , . Subtracting the two equations and rearranging, the relative position satisfies
where the reduced mass is . (1.1a) is the equation of motion of a single particle of mass in the central potential .
Define the angular momentum and differentiate with respect to time:
so is a constant vector. From and we know that always lies in the fixed plane through the origin with normal , so the orbit is a plane curve.
In this orbital plane take polar coordinates ; the velocity decomposes into the radial and the tangential , so the magnitude of the angular momentum is
Similarly one can prove conservation of energy, that is,
From (1.1b) solve for and substitute into the radial component of (1.1a). Change variables and change the independent variable : by the chain rule,
Into the radial equation of motion substitute , ; simplifying gives (the Binet equation)
Its general solution is
where are constants of integration. Take (i.e., measure from perihelion); inverting gives
that is, the standard form of a conic in polar coordinates, with the focus at the origin. The eccentricity determines the type of conic: is a circle, an ellipse, a parabola, a hyperbola. For a bounded orbit, , and working back from (1.1c) gives , so the orbit is an ellipse, that is, (1.2). (QED)
Hence the two-body problem is integrable in closed form: the orbit is completely determined by two constants plus the orientation angle, and given initial values it can be predicted forever.
Remark 1.1. In the formula , is the distance from the planet to the Sun, varying with the polar angle : when (perihelion), , the denominator is largest, and takes its minimum; when (aphelion), , the denominator is smallest, and takes its maximum. The eccentricity quantifies how far the ellipse departs from a circle: is a perfect circle, an extremely flat ellipse. The Earth’s orbit has , Halley’s comet . controls the overall size of the ellipse.
The two-body problem is therefore integrable in closed form: given initial values, the whole orbit is completely determined by two constants plus the orientation angle, and can be predicted forever.
1.2. The non-integrability of three bodies
The reason the two-body problem can be solved is that we can find enough conserved quantities to reduce the high-dimensional phase space step by step to an equation in one variable (the Binet equation of the previous section). For three or more bodies, this procedure no longer works — that is the original meaning of “the non-integrability of the three-body problem”.
What does “non-integrable” mean? For point masses moving in three-dimensional space, the positions have components in total and the velocities components in total, so the phase space is -dimensional. The conserved quantities classical physics gives us number only the following in total (called the classical integrals):
| Conserved quantity | Number | What it is |
|---|---|---|
| Total energy | total kinetic energy + total potential energy of the system is unchanged | |
| Total linear momentum | one each for the three directions | |
| Total angular momentum | one each for the three directions | |
| Center-of-mass position linear in time | equivalent to conservation of the three initial quantities |
In total independent conserved quantities. In the Liouville–Arnold framework of Hamiltonian mechanics (see Arnold 1989, Mathematical Methods of Classical Mechanics, §49), if a symplectic manifold has pairs of canonical coordinates and conserved quantities in involution (Poisson commuting), then the system is integrable. For two bodies (, phase space -dimensional, i.e. canonical pairs), the quantities above plus reduction by rotational symmetry leave enough conserved quantities in involution, reducing it to a quadrature in one variable — integrable.
For three bodies (, phase space -dimensional, i.e. canonical pairs), the quantities above, after screening for involutivity, are not enough to cover all the degrees of freedom — even after removing rotational symmetry a multidimensional problem remains, which cannot be reduced to a quadrature in one variable.
A deeper obstacle: Bruns (1887) proved that, apart from the above, the three-body problem has no additional conserved quantity of algebraic form. Poincaré (1890) further proved that there is no additional conserved quantity analytic in all the canonical coordinates. Painlevé (1898) and Sundman (1912) further pointed out that, even in certain simpler cases, the solution cannot be expressed in closed form by elementary functions, and can at most be given by an extremely slowly converging infinite series (the Sundman series, convergent but unusable in practice).
Summary in one sentence: “the non-integrability of the three-body problem” means — we cannot find enough independent conserved quantities to reduce the system of equations to something that can be solved in closed form.
Practical countermeasure — settle for second best: give up the strongest assumption, “the three bodies are dynamically equally important”. If the third mass is negligible compared with the first two — a satellite, an asteroid, a spacecraft — then its motion does not in turn affect the orbits of the first two; the first two move in ellipses (or, for simplicity, circles) as in the two-body problem, and the third only moves in the gravitational field produced by the first two. This is the restricted three-body problem. Euler studied it in 1751–53 (Theoria motus lunae), and Lagrange in 1772 (Essai sur le problème des trois corps) brought it into its modern form.

Animation of the co-rotating frame: the two primaries (orange Sun + gray Jupiter) are fixed on the -axis, and the whole coordinate frame rotates about the origin with angular velocity . The third, test mass moves in the combined gravitational field produced by the two primaries + the centrifugal potential. For a static illustration see fig8 (https://timeobserver137.cyou/content/images/2026/05/fig8_rotating_frame-6.png); of the five Lagrange equilibrium points, are collinear, and form equilateral triangles with the two primaries.
1.3. The restricted three-body problem in the co-rotating frame
Setup: the two primaries move in circular Keplerian orbits about their common center of mass, with separation and angular velocity
Remark 1.2 (derivation of (1.4)). A direct application of Kepler’s third law to a circular two-body orbit. For a circular motion of radius by (relative to the center of mass), the centripetal force equals the gravitational force:
The on the left is the distance from to the center of mass (the center of mass lies between , from at a fraction ). Simplifying gives , and taking the positive root gives (1.4).
The third mass moves in the gravitational field of without perturbing their orbits. Pass to the co-rotating frame (angular velocity ), in which are fixed at
where is the mass parameter, and we have normalized so that .
In the co-rotating frame, the equation of motion of contains centrifugal and Coriolis pseudo-forces (because we have changed into a non-inertial rotating frame). Write (the distance from to ), (the distance from to ). The effective potential is
The three terms are respectively: the gravitational potential of (weight , equal to ), the gravitational potential of (weight ), and the centrifugal potential induced by the co-rotating frame, (after normalization ).
Lemma 1.4 (Jacobi integral). In the co-rotating frame, the quantity

Sweep of the zero-velocity curves of the Jacobi integral — as decreases, the accessible region (green) gradually opens up from above , through , to around . The core visualization of the Hill region.
is conserved along orbits of the restricted three-body problem.
Proof. The equation of motion in the co-rotating frame (including the Coriolis term ):
Take the time derivative of , using the chain rule:
Substitute the of (1.7a):
Expand:
The first two terms cancel; in the third term is orthogonal to (a standard property of the vector cross product), so the inner product is zero. Therefore , that is, is conserved. (QED)
The physical meaning of : it corresponds to the “effective energy” in the co-rotating frame. In the inertial frame the total energy of the three bodies is not conserved (the restricted assumption forcibly nails onto circular orbits, which, compared with reality, adds an external “constraint force”), but is the only global conserved quantity left — it is the key tool for restricting the range in which the three-body equations can actually be analyzed to a surface of constant value.
The equilibrium points of the co-rotating motion are where the gradient of is zero. At such a point, at rest in the co-rotating frame, taking in (1.7a) automatically gives , that is, the test particle stays at rest — this is the physical essence of the “Lagrange equilibrium points”.
1.4. The five equilibrium points
Theorem 1.5 (existence of the five Lagrange equilibrium points). For each , the planar gradient condition has exactly five solutions:

Contour plot of the effective potential , showing the 5 critical points - (μ = 0.05) - the three collinear points lie on the -axis - the two equilateral points form equilateral triangles with , with coordinates
Remark 1.3 (explanation of the “planar gradient condition”). The condition only considers equilibrium points with (i.e., in the plane of ). The partial derivative with respect to , , is automatically zero at , so brings no additional constraint. All five Lagrange solutions lie in the orbital plane of the two primaries; in the region , , and there are no static equilibrium points.
Proof. By (1.6), the gradient in the plane is
Collinear branch (): equation (1.9) is automatically satisfied. Equation (1.8) becomes
Within each interval, after clearing denominators, this is a quintic equation in . On the three open intervals , , , examine separately.
Differentiating (1.10) directly,
holds strictly within each interval (the gravitational terms, as inverse cubes, are negative; the centrifugal contribution is ). Hence is strictly decreasing on each interval. The limits at the endpoints are respectively: - : as (the centrifugal dominates and is positive), as (the gravity from diverges, negative). - : as (the sign of gravity flips), as . - : as , as .
By strict monotonicity and the intermediate value theorem, has exactly one root in each interval. Write them , , (modern convention: between the two primaries, beyond the smaller mass, opposite the smaller mass).

Animation of the order in which the three collinear Lagrange points appear: between the Sun and Jupiter, beyond Jupiter, opposite the Sun. Each point corresponds to the unique zero of equation (1.10) in a different interval.
Triangular branch (): the square bracket in (1.9) must be zero, that is,
Combined with the symmetric constraint that (1.8) imposes on the two gravitational terms, the symmetric solution is — that is, is at equal distances from the two primaries, exactly equal to the separation of the two primaries. Substituting into (1.10b) gives ✓; substituting into (1.8) gives ✓. The two solutions are
Each of them forms an equilateral triangle with . As for the argument that this is the unique triangular solution — (1.10b) together with (1.8) gives a system of equations in , which over the positive reals can be proved to have only the one pair of roots — for the detailed proof see Szebehely 1967, Theory of Orbits, §4.4. (QED)
1.5. Linear stability — the Routh criterion
![In the Sun-Jupiter co-rotating frame, the libration orbits of 30 Trojan test particles near L_4 (μ = 0.001, t ∈ [0, 200] rotating frame units). Because μ < μ_R ≈ 0.0385, the particles undergo bounded libration near L_4 rather than escaping — a dynamical demonstration of Routh stability.](/content/images/2026/05/gif1_L4_libration-3.gif)
In the Sun-Jupiter co-rotating frame, the libration orbits of 30 Trojan test particles near (μ = 0.001, t ∈ [0, 200] rotating frame units). Because μ < μ_R ≈ 0.0385, the particles undergo bounded libration near rather than escaping — a dynamical demonstration of Routh stability.
§1.4 has found five equilibrium points. However, the mere existence of an equilibrium is not enough to guarantee that a spacecraft or celestial body can stay there — the tip of a pencil standing upside down is a mathematical equilibrium point, but any perturbation destabilizes it. So we must further examine how each equilibrium point responds to small perturbations: if the perturbation decays over time or oscillates boundedly, it is called stable; if it diverges exponentially, unstable.
Let , where is a small perturbation. Substitute into the co-rotating equation of motion (1.7a) and Taylor-expand at (the zeroth-order term vanishes, since is an equilibrium point), keeping up to linear terms, to get
where is the Hessian matrix of restricted to the plane, evaluated at . Since (1.12) is a system of linear second-order ordinary differential equations with constant coefficients, substituting the exponential trial solution gives the characteristic equation
where are evaluated at . (1.13) is a biquadratic equation in , with roots in all; the equilibrium point is stable against linear perturbations if and only if all have non-positive real parts (the perturbation oscillates or decays, and does not diverge exponentially). By the biquadratic structure of (1.13), this condition is equivalent to both roots in being negative real numbers.
Collinear : direct computation (Charlier 1899) gives and at each collinear equilibrium point, so the determinant . Equation (1.13) is biquadratic in with a negative constant term; the two values of have opposite signs, so there is a positive real . The collinear Lagrange points are linearly unstable for all .
Equilateral : we compute the components of the Hessian at . Taking second derivatives of (1.6):
Substitute the coordinates of , , and the equilateral condition ; noting , , , standard simplification gives
where the sign of , at , is taken as , and at as (because at , ). Hence
(The key algebraic identity — a direct difference-of-squares expansion.) From (normalization), in (1.13) , so
Let ; the quadratic equation has solutions
For to be purely imaginary (i.e., the perturbation oscillates and does not grow), must take two negative real roots, so (a) the discriminant (otherwise is complex and has a real part); (b) both roots are negative (by Vieta: , , automatically negative). Hence stable ⟺
Theorem 1.6 (Routh; Adams Prize essay 1872, monograph On the Stability of Motion 1877). The equilateral Lagrange points are linearly stable if and only if , where .

Visualization of the Routh stability criterion: the position of the curve relative to the threshold . The blue region is stable ( linearly stable), the red region unstable. Three sample systems are marked — Sun-Earth (, deeply stable), Sun-Jupiter (, stable), Pluto-Charon (, unstable, cannot sustain Trojans).
1.6. Worked example — the distance of the Sun-Earth
Take = the Sun (symbol ), = the Earth (symbol ). By the definition in §1.3, the mass parameter is here written concretely as to indicate that it is the “Sun-Earth coefficient”:
(Since , the denominator is approximately , so .)
The collinear equilibrium point between the Sun and the Earth satisfies (1.10) on the interval . Let be the distance of from the Earth toward the Sun (normalized, one unit = ); substitute into (1.10); on the interval , and , so , and the equation becomes
To find the dominant balance, when and the terms Taylor-expand (to first order) as follows: - . - — the dominant term in the competition between the relative magnitudes of and . - .
Combining the three terms, (1.18) becomes
Here and cancel, and cancel, leaving the gravity-gradient term (from the Taylor expansion of ) and the centrifugal position term (from, within , the ), which combine into . The dominant balance is , that is,
(The factor gravity-gradient contribution + centrifugal position contribution .) Substituting the numbers,
The Earth is from the Sun, so is located at approximately
that is, about 1.5 million kilometers from the Earth in the direction of the Sun, matching exactly the halo orbit of the SOHO mission near that point (1995 to the present).
For , a similar expansion on gives (on the side away from the Sun) — the station-keeping orbit of JWST since 2022.
For the Sun-Jupiter system, , which satisfies , so are linearly stable — and in fact each of them hosts a considerable number of Trojan asteroids: more than have been numbered and recorded (including named ones), while extrapolation from the IRAS survey estimates the total number of Jupiter Trojans larger than 1 km at more than (the “Greek camp” at and the “Trojan camp” at , named starting with Wolf’s first one, 588 Achilles, in 1906).
1.7. Modern significance
The Lagrange equilibrium points are far from an academic curiosity; they organize a whole set of programs of contemporary space science.
- JWST (NASA/ESA/CSA, launched 2021-12-25) stays in a halo orbit around the Sun-Earth , using the shading on the side away from the Sun to maintain the thermal stability of its 6.5-m primary mirror.
- SOHO (NASA/ESA, 1995 to the present) operates in a halo orbit at the Sun-Earth , continuously observing the solar disk.
- DSCOVR (NOAA, 2015 to the present) and the soon-to-launch ARIEL (ESA, 2029) likewise take or as their target.
- The STEREO-A/B twin probes (NASA, 2006 to the present) patrol the trailing and leading regions near the Sun-Earth .
- The Hilda asteroid family and the Trojan asteroid swarms at the Sun-Jupiter provide a natural laboratory for testing the criterion on geological time scales.
Routh’s criterion (1.16) explains why we can see Trojans at Jupiter, Mars, Neptune, and even the Earth — the two Earth Trojans confirmed so far, the asteroids 2010 TK (confirmed 2011) and 2020 XL (confirmed 2021), both lie at the Sun-Earth — while the Pluto–Charon system (, beyond the Routh threshold) cannot dynamically sustain Trojans, and so none have ever been observed.

Stability comparison of the saddle point (red) vs the equilibrium (green). The initial perturbations are of the same magnitude (position < 0.005 / velocity < 0.002 units), but the particles near escape within about 30 rotating-frame time units, while the particles near keep librating — a direct visualization of saddle-point instability vs equilateral stability.
The quintic equation Euler wrote down in 1751, refined by Lagrange in 1772 and with its stability determination completed by Routh in 1875, controls in 2026 the orbit of a $1-billion telescope — one of the clearest examples in mathematical physics of formal analysis, acting on a superficially simple equation, accumulating and releasing its power.
— End of §1.
§2 — The Mersenne prime
Author of this section: Abel. Style: textbook form. Equation numbering: (2.k).
Symbol supplement for this section
This section works over and over finite fields ( prime). In addition to the master Symbol Preamble, it adds:
| Symbol | Meaning |
|---|---|
| the -th Mersenne number, | |
| the multiplicative order of modulo | |
| divides | |
| and leave the same remainder when divided by |
Unless stated otherwise, both denote odd primes.
2.1. Definition and the 1644 list
Definition 2.1. For a positive integer , the -th Mersenne number is defined as
If is prime, it is called a Mersenne prime.
Proposition 2.2 (Mersenne’s first reduction). If is prime, then must be prime.
Proof. Suppose to the contrary that (). Let ; then . Use the algebraic identity (sum of a geometric series)
(substituting : right side ✓; : ✓). Substituting back :
From , is an integer greater than ; also (because ), so is a nontrivial factor of . is composite. (QED)
(Note: (2.2) is not the binomial expansion , but the geometric-series factorization of the polynomial . This is a standard algebraic identity, valid over every commutative ring.)
The converse does not hold — many primes give composite . In 1644 (Cogitata Physico-Mathematica) Marin Mersenne listed, as those for which he claimed is prime, the :
Mersenne’s list contains five errors, discovered one after another between 1903 and 1947: - and are in fact composite (Cole 1903 gave the factorization of ; Kraitchik 1922 and Lehmer 1947 gave ). - are actually prime but were left out (Pervushin 1883 / Powers 1911 / Powers 1914).
The first nontrivial entry that needs verification by hand is — a ten-digit number, a rather formidable task by trial division. In 1772, completely blind, Euler completed the verification by mental arithmetic and sent the result by letter from Petersburg to Basel to inform Daniel Bernoulli. The argument relies on three layers of sieves that progressively shrink the trial-division space.
2.2. Sieve 1 — Fermat’s little theorem
Lemma 2.3 (Fermat’s little theorem). For any prime and, with , any integer ,
Proof. The multiplicative group has order . By Lagrange’s theorem from finite group theory, the order of any element divides , so . (QED)
Definition of : for a prime and an integer coprime to , , the multiplicative order of modulo is, among those making hold, the smallest positive integer , written . For example: - Compute , , , so . - , , , , so .
Key property: if , then (that is, the order of must divide any “make become ” exponent ). We will use this property right away.
Lemma 2.4 (modulo a prime factor of , the order of ). Let be an odd prime. If is a prime factor of , then , and hence .
Proof. By hypothesis , that is, . By the key property of the multiplicative order, . Also is prime, so . If , then , that is, , which is impossible. So .
By Fermat’s little theorem (Lemma 2.3), , so . Substituting gives , that is, . (QED)
Remark 2.1. By Lemma 2.4, for , every prime factor must be of the form . For , a candidate must be of the form ; in trial division the candidate set shrinks from all primes to primes of the form , a saving of about a factor of .
Corollary 2.5 (Sieve 1 — applied to ). For , every prime factor satisfies
In trial division one only needs to consider . The unsieved trial-division space contains the primes below this bound. Sieve 1 requires (the arithmetic progression with common difference starting from ); intersected with the primes, the trial-division candidates shrink to about — already a saving of a factor of .
In fact it can be made tighter still. Lemma 2.4 can be strengthened to , using that is odd: is even, and with odd implies .
Corollary 2.6 (Sieve 1, strengthened). For , every prime factor satisfies .
This cuts the number of candidates from the previous step roughly in half again.
2.3. Sieve 2 — the quadratic reciprocity refinement
The second layer of sieve narrows the range of candidates further. The key observation: from one can deduce that ” is a quadratic residue modulo ” — that is, in there is some element whose square equals . This property lets us use the classical law of quadratic reciprocity to restrict further to a few special congruence classes.
Lemma 2.7. Let be an odd prime and a prime factor of ; then .
Proof. Let . Since is odd, is a positive integer. Compute
where we have used . Equation (2.6) shows that is, in , the square of , so is a quadratic residue. (QED)
Theorem 2.8 (the second supplementary law of quadratic reciprocity). For an odd prime ,
(The proof is deferred to §4 of this blog post, where quadratic reciprocity is treated systematically.)
Corollary 2.9 (Sieve 2, strengthened). For , every prime factor satisfies .
2.4. The combined sieve
Theorem 2.10 (Euler’s combined sieve for ). For , every prime factor satisfies simultaneously the congruences
By the Chinese remainder theorem (CRT), this is equivalent to
Proof. Combine Corollaries 2.6 and 2.9. The moduli and have , .
The Chinese remainder theorem (CRT) in brief: given two coprime moduli , the system of congruences has a unique solution modulo . Here our are not coprime (), but if agree at the common factor (here and are all odd), there is still a unique solution modulo . CRT lets us merge two restrictions, modulo and modulo respectively, into one unified restriction modulo .
The two congruence conditions, modulo () and modulo ( or ), are compatible, and together give two residue classes modulo : or . (Check: ✓, ✓.) (QED)
Estimating the number of candidates: among the residue classes modulo , all of those coprime to , we use only (namely class and class ). By Dirichlet’s theorem on the distribution of primes in arithmetic progressions, the primes are evenly distributed among the coprime residue classes. Therefore the number of primes in falling into these classes is approximately:
where is the total number of primes (by the prime number theorem ; here obtained directly from a table).
Direct enumeration (see the verification code below) gives exactly 84 candidate primes — in agreement with the heuristic estimate of above (the difference is within the random fluctuation of a small sample).

Euler 1772 — sieving the candidate factors of : 4810 → 240 → 84 candidates
2.5. Trial division by hand
What remains is the unavoidable work: divide by each surviving candidate , verifying one by one that the remainder is nonzero. The candidate list after sieving by Filter 1 + Filter 2 (in ascending order) begins with
(each entry a prime or , with upper bound ).
Remark 2.2 (Euler’s mental-arithmetic procedure). With no calculator, no pen-and-paper cross-checking, and completely blind, Euler had to complete by mental arithmetic a total of 84 divisibility tests of the 10-digit integer (namely ) by candidate divisors of at most 5 digits () (that is, deciding “whether divides exactly”). In practice it can be simplified with Fermat-style arithmetic tricks: modulo , computing step by step is far more efficient than direct division. The intermediate results were recorded on paper by the scribes (most likely Nicolaus Fuss and his son Johann Albrecht) for checking. All 84 tests took several weeks, and Euler sent the conclusion by letter from Petersburg to Basel, informing Daniel Bernoulli. Theorem 2.11 is the result obtained.
Theorem 2.11 (Euler 1772). is prime.
Proof (modern verification). The intersection of (2.9) with gives a finite set of primes . Direct computation (see the Python code below) confirms . Using each element of to trial-divide , the remainder is nonzero every time. So has no prime factor in the range , and hence no prime factor at all (other than itself), so it is prime. (QED)
# Verification of M_31 primality using Euler's filter.
from sympy import isprime, primerange
p, M31 = 31, (1 << 31) - 1 # 2_147_483_647
assert M31 == 2_147_483_647
# Candidate set: primes q <= sqrt(M_31) with q == 1 or 63 (mod 248).
limit = int(M31 ** 0.5) + 1 # 46341
candidates = [q for q in primerange(3, limit)
if q % 248 in (1, 63)]
print(f"Surviving candidates: {len(candidates)}") # 84
# Trial division.
for q in candidates:
assert M31 % q != 0, f"M_31 has a divisor: {q}"
assert isprime(M31)
print("M_31 is prime ✓")
In 2026 this code block takes only milliseconds to run; in 1772, by mental arithmetic and without pen-and-paper cross-checking (Euler had been completely blind since late 1771 — the infection after Wenzel’s cataract operation in September 1771 set in within months), this work took several weeks. The result held the record as the largest known Mersenne prime for one hundred and four years — until Édouard Lucas in 1876 verified with the recurrence method now called the Lucas–Lehmer test.
2.6. Modern significance
Mersenne primes are today a main target of distributed computational number theory.
- The Lucas–Lehmer test (1876, 1930) reduces, for an odd prime , the primality of the corresponding to a -step deterministic recurrence: , ; is prime if and only if . With fast multiplication, the cost of the test is bit-operations — far more efficient than general primality tests.
- GIMPS (the Great Internet Mersenne Prime Search, founded in 1996 by George Woltman) coordinates volunteer computing power for a distributed Lucas–Lehmer search. As of mid-2026, GIMPS has found 19 new Mersenne primes in total, the most recent being (Luke Durant via GIMPS, 2024-10-12), with decimal digits — the 52nd known Mersenne prime. The previous record holder, (Patrick Laroche, 2018-12-07, digits), held that position for nearly six years.
- The structural beauty of Mersenne primes draws interest far beyond record-chasing: they generate the even perfect numbers (Euclid, 300 BC: if is prime then is perfect; Euler 1747: every even perfect number is of this form); through the Lenstra–Pomerance–Wagstaff heuristic (Wagstaff 1983) they connect with analytic number theory; and they also appear in the choice of parameters in elliptic-curve cryptography.
The sieve Euler used in 1772 — Fermat’s little theorem plus the quadratic residue refinement — still survives in 2026 in the form of the trial-division pre-pass, sieving out candidate divisors before calling the far more expensive Lucas–Lehmer test. Euler’s pen-and-paper-plus-brain algorithm, two and a half centuries later, has become the first stage of a global distributed pipeline.
— End of §2.
§3 — Latin squares + the 36 officers problem
Author of this section: Abel. Style: textbook form. Equation numbering: (3.k).
Symbol supplement for this section
This section works over , , and the finite index set . In addition to the master Symbol Preamble, it adds:
| Symbol | Meaning |
|---|---|
| Latin square function (entries ) | |
| and are orthogonal | |
| the finite field of order ( a prime power) | |
| the nonzero elements of | |
| the maximum size of a set of mutually orthogonal Latin squares of order |
3.1. Definition and the 36 officers problem
Definition 3.1. A Latin square of order is a function such that for each row index , the restriction is a bijection; likewise, for each column index , is also a bijection.
Equivalently, an array filled with symbols, such that each symbol appears exactly once in each row and each column. Sudoku is a Latin square of order 9 plus one additional constraint: the standard Sudoku requires not only that to appear once each in every row and column (i.e., the Latin square condition), but also that the whole grid be cut into non-overlapping sub-squares, each of which also contains to once each. Sudoku grids are a proper subset of Latin squares — every Sudoku is a Latin square of order 9, but the vast majority of Latin squares of order 9 are not Sudokus. Russell-Jarvis (2005) counted distinct Sudokus, while McKay-Wanless (2005) counted Latin squares of order 9 in all — so Sudokus make up about (about one in a million) of the Latin squares of order 9.

Left: an ordinary Latin square of order 9 (no 3×3 sub-square constraint). Right: a standard Sudoku, with the 3×3 sub-squares marked by bold ochre borders — Sudoku = Latin square + an extra sub-square constraint.
Definition 3.2. Two order- Latin squares are called orthogonal, written , if the joint entry map
is a bijection. Equivalently, all ordered pairs are mutually distinct.
Remark 3.1. Regard as two grids; at the same position each of the two grids has a symbol, and together they form an ordered pair . Orthogonality means: going over the whole square, the ordered pairs cover each combination in exactly once. In the 36 officers case with , the first square is filled with regiment numbers (6 regiments), the second with ranks (6 ranks), and orthogonality is equivalent to all (regiment, rank) pairings appearing once each, which is exactly the requirement of Euler’s original problem.
Euler’s problem of 1779. Arrange 36 officers in a square so that the 6 regiments and the 6 ranks each appear once in every row and every column, and all 36 (regiment, rank) pairings are mutually distinct. In the language of Definition 3.2: find a pair of orthogonal Latin squares of order 6, . Euler conjectured that this is impossible — more generally, that for no does exist.
The problem was published in Recherches sur une nouvelle espèce de quarrés magiques (Eneström catalogue number E530), submitted to the Petersburg Academy of Sciences on March 8, 1779, when Euler was 72 and already completely blind.
3.2. The construction for prime order — the finite field recipe
Lemma 3.3 (existence of OLS pairs of prime order). Let be a prime, and define
where , and row and column indices are taken from . Then: 1. Each is a Latin square. 2. For distinct , .
Proof. (1) Fix row ; as a function of is a bijection if and only if multiplication by is a bijection on ; this follows from . The column direction is the same.
(2) Suppose to the contrary that and are not orthogonal: there exist distinct pairs satisfying
Subtracting the two coordinates,
so . Since in , , so , that is, . Substituting back gives , contradicting . (QED)
Corollary 3.4. For a prime , there exists a pair of orthogonal Latin squares of order . Moreover, the construction gives pairwise orthogonal Latin squares, which is the largest possible number (the upper bound for any is a classical result; see Bose 1938 or Dénes–Keedwell 1974 §5.2).

Visualization of Lemma 3.3 for . Left: . Middle: . Right: the superposition ; all pairs are distinct .
3.3. Generalizing to prime powers and coprime composites
The finite-field construction generalizes from prime order to prime-power order simply by replacing with . For composite with , MacNeish (1922) proved that OLS pairs can be combined: if orders and each have an OLS pair, then by the direct product an OLS pair of order also exists.
Theorem 3.5 (MacNeish 1922 — the direct-product construction). Let be the prime factorization of . Define
Then there exist pairwise orthogonal Latin squares of order . In particular, .
Proof sketch. Let . By the Chinese remainder theorem there is a bijection , that is, each corresponds to a tuple of prime-power components , .
For each prime-power order , by the generalization of Lemma 3.3 to , there exists a family of pairwise orthogonal Latin squares . Taking the minimum of the upper limits over all factors gives commonly usable parameters.
Take parameter tuples (in each tuple, each component takes a different element of ), and define the product Latin square
Let ; then there is at least some component with . By the orthogonality of each factor in Lemma 3.3, , and hence (the other components are free). So we get pairwise orthogonal Latin squares. (QED)
Corollary 3.6. If is not of the form , that is, , then , so an OLS pair of order exists.
Proof. If , the factorization contains neither a lone (the case ) nor a factor of the form with odd (that would force ). So every , and hence . (QED)
The open cases MacNeish left are exactly — that is, the singly-even orders. Euler’s conjecture extends the already proved impossibility for to all singly-even orders.
3.4. Euler’s conjecture and early verification
Theorem 3.7 ( is impossible). There is no OLS pair of order .
Proof. Up to a relabeling, there are only two Latin squares of order 2:
where is a row permutation of . For any choice of , the image of the joint map contains at most elements (rather than the full ): when , always falls on the diagonal pairs ; when , always falls on the anti-diagonal pairs . Neither is the full , so there is no OLS pair. (QED)
Euler’s conjecture (1779). For any , there is no OLS pair of order .
This conjecture stood for 178 years. The first nontrivial confirmation came from Gaston Tarry (1900) — through an exhaustive search not aided by computers, he proved that the conjecture holds for .
Theorem 3.8 (Tarry 1900). There is no OLS pair of order .
Proof sketch. Up to equivalence under row and column permutations, Tarry enumerated all Latin squares of order 6 (equivalently, reduced Latin squares of order 6). For each one, he tested by an exhaustive but finite search whether an orthogonal mate exists. No OLS pair was found. (QED)
Tarry’s 1900 proof closed the subcase . The full conjecture remained open for until the end of the 1950s.
3.5. The reversal — Bose, Shrikhande, Parker (1959–1960)

Illustration of the Bose-Shrikhande-Parker (1959-60) orthogonal Latin square pair
The breakthrough came from three closely spaced papers:
- Bose & Shrikhande (1959) used balanced incomplete block designs (BIBD) to construct an OLS pair for . This was the first counterexample among the singly-even — that is, the first time Euler’s conjecture was broken.
- Parker (1959), through a computer-aided search on the UNIVAC I, found an OLS pair for on a group-theoretic structure — this is the case of the 36 officers problem’s “next-largest sibling”, likewise against Euler.
- Bose, Shrikhande & Parker (1960) jointly published “Further results…” in the Canadian Journal of Mathematics, extending the construction to all and proving the final theorem.
These three were therefore called “Euler’s spoilers” — in about 18 months they successively overturned a conjecture that had stood for 178 years.
Theorem 3.9 (Bose–Shrikhande–Parker 1960 — the final answer). An OLS pair of order exists if and only if , that is, except for and , it exists for all positive integers .
Proof outline. For the “if” direction, three cases are discussed: when is a prime or a prime power and , Lemma 3.3 (the prime-power generalization) directly gives pairwise orthogonal Latin squares, which naturally contain an OLS pair; when is not a prime power but , from the of Corollary 3.6 and MacNeish (Theorem 3.5) we know that an OLS pair exists; when and , the BIBD-based construction of Bose–Shrikhande–Parker (Lemma 3.10) gives an OLS pair.
The “only if” direction is Theorem 3.7 () and Theorem 3.8 (). (QED)
The third part is a new deep result. We sketch its structural idea.
Lemma 3.10 (construction based on BIBDs, sketch). Let be positive integers, and suppose there exists a -balanced incomplete block design (BIBD), that is, from a -point set, a collection of -subsets (called “blocks”), , such that every pair of points falls into exactly blocks. If further parameter conditions hold (resolvability, transversal structure), then from an OLS pair of order can be constructed.
The concrete construction for uses a resolvable pseudo-design. The construction is constructive but combinatorially rather intricate; modern treatments (Lindner–Rodger 2008 §4.2; Stinson 2003 §6.4) take 6–8 pages to develop it.
3.6. Worked example — constructing an OLS pair for
Construct an OLS pair of order 5, , directly from Lemma 3.3. Take and :
Row and column indices are taken from (the entries are also in ):
The superposition takes the values
Checking the entries one by one confirms that all ordered pairs appear once each. Therefore .
# Python verification of the n=5 OLS pair construction.
n = 5
L1 = [[(i + j) % n for j in range(n)] for i in range(n)]
L2 = [[(i + 2 * j) % n for j in range(n)] for i in range(n)]
pairs = [(L1[i][j], L2[i][j]) for i in range(n) for j in range(n)]
assert len(set(pairs)) == n * n, "Not orthogonal!"
print(f"OLS pair of order {n} verified: {len(set(pairs))} distinct ordered pairs ✓")
The same recipe applies to — any prime. For use (rather than , which has no field structure); for use .
3.7. Modern significance
The combinatorics of OLS that Euler opened up eventually became the cornerstone of a large area of contemporary applied mathematics.
- Statistical design of experiments (R. A. Fisher, 1925). Fisher’s The Arrangement of Field Experiments used Latin squares to balance soil-fertility variation in agricultural trials. Rows = plots, columns = seasons, symbols = treatments; the orthogonality of two Latin squares allows two factors to be tested at the same time without confounding.
- Reed–Solomon error-correcting codes (1960). The MDS (maximum-distance-separable) property of Reed–Solomon codes is equivalent to the existence of the maximum number of pairwise orthogonal Latin squares; the Singleton bound corresponds exactly to the OLS number in Corollary 3.4.
- Cryptographic primitives. Block ciphers based on Latin squares (for example, using a Latin square multiplication table as an -box generator) provide nonlinearity and balanced distribution; many modern cryptographic constructions can be traced back to MacNeish’s direct-product technique.
- CD / DVD physical-layer error correction. The Cross-Interleaved Reed–Solomon Code (CIRC), used on optical discs since 1980, interleaves the Reed–Solomon output along an orthogonal Latin square structure, scattering burst errors evenly.
The whole arc is quite striking: Euler’s 1779 question — “can 36 officers be arranged in a square?” — has the answer “no” (Tarry 1900); his conjecture for general singly-even has the answer “yes, except for and ” (BSP 1960). The “yes” cases became the mathematical bedrock of error-correcting codes — today protecting every CD playback, every QR scan, every data return from a deep-space probe. Euler’s wrong conjecture, once precisely characterized, has in fact produced more results than many of his correct conjectures.
— End of §3.
§4 — The law of quadratic reciprocity (Quadratic Reciprocity)
Author of this section: Abel. Style: textbook form. Equation numbering: (4.k).
Symbol supplement for this section
This section works over , and the cyclotomic extension . In addition to the master Symbol Preamble, it adds:
| Symbol | Meaning |
|---|---|
| two distinct odd primes | |
| the Legendre symbol of modulo |

Legendre symbol for primes — visual symmetry pattern | | primitive -th root of unity, | | | Dirichlet character modulo ; the quadratic character | | | Gauss sum, | | | signed Legendre prime |
Throughout this section, are both odd primes and .
4.1. The Legendre symbol and Euler’s criterion
Definition 4.1. For an odd prime and an integer , the Legendre symbol is defined as
A nonzero element is called a quadratic residue (QR) modulo if there exists with ; otherwise it is called a nonresidue (NQR).
Example 4.1. Take . The squares modulo (i.e., , ) are . So (all QR); (all NQR).
The subgroup of squares has index , so exactly residues are QR and the other are NQR. The Legendre symbol is the unique nontrivial group homomorphism .
Theorem 4.2 (Euler’s criterion, 1750). For an odd prime and, with , ,
Proof. By Fermat’s little theorem (Lemma 2.3), , so , and hence .
If is a QR, then by Fermat . So agrees with .
If is an NQR: the multiplicative group is a cyclic group of order . Take a generator , and write with odd (the NQRs are exactly the odd powers of the generator). Then
Since is odd, is an odd multiple of , hence not a multiple of , so . Therefore , agreeing with . (QED)
Corollary 4.3 (multiplicativity). For an odd prime and, coprime to , ,
Proof. Both sides are . By Theorem 4.2, , so the two sides are congruent modulo ; also both sides are and , so they are equal. (QED)
4.2. The main theorem
Theorem 4.4 (the law of quadratic reciprocity). For distinct odd primes ,
Equivalently: - If or (at least one of them), then . - If and , then .
Remark 4.2. Quadratic reciprocity is the first “highly nontrivial symmetry law” in number theory: the answers to “is a square modulo ” and “is a square modulo ” almost determine each other — the sign is reversed only in the case where are both , and in all other cases they are equal. Hence, just by looking at the remainders of modulo , one side can be deduced from the other. This symmetry astonished both Euler and Gauss, because at first sight “whether is a square modulo ” depends only on the specific values of , and there seems to be no reason for it to be tied to the reverse question.
Example 4.2 (). Since , this falls into the first case of the theorem: . From and the QR set modulo , ( is not in it), ; so . Check: the QR set modulo is , and is not in it. ✓
Theorem 4.5 (supplementary laws). For an odd prime ,
Proof of (4.6). By Euler’s criterion, . Both sides are and , so the congruence is an equality. (QED)
(The proof of (4.7) relies on Gauss’s lemma — omitted here; see Hardy-Wright §6.13 or Ireland-Rosen Ch. 5.)
4.3. The historical statement and the reciprocity conjecture
As early as 1744 Euler observed the symmetric pattern of (4.5) from tables of for small primes. He stated the conjecture — including the main theorem and the two supplementary laws — in Eneström E552 (“Observationes circa divisionem quadratorum per numeros primos”), but gave no proof. The paper was written in 1772 and published in 1783 in the first volume of the Opuscula analytica, pp. 64–84 (whether that volume actually came out before or after Euler’s death on September 18, 1783, the secondary literature gives no clear answer). Legendre (1785, 1798) also attempted proofs, but each time they contained the gap of circular reasoning.
The first complete, rigorous proof was given by Carl Friedrich Gauss on April 8, 1796, at the age of 19, recorded as entry 17 of his Mathematisches Tagebuch under the heading Theorema fundamentale. Over his lifetime Gauss gave eight different proofs of reciprocity, collected in the Disquisitiones Arithmeticae (1801) §125–§146 and later papers. In print he called it the theorema fundamentale; in private correspondence he called it the aureum theorema, that is, the “golden theorem”.
The Gauss-sum method (Gauss’s third proof, around 1808) is the most concise modern presentation, and is the version we sketch in this section. It characterizes quadratic reciprocity as a consequence of the structure of the cyclotomic field .
The structure of the proof is as follows: introduce the auxiliary quantity, the Gauss sum (Definition 4.6); first prove in Lemma 4.7 that , whose value is determined by ; then in the main proof compute modulo in two ways — one using Euler’s criterion to get , the other using the Frobenius identity and a bijective permutation to get ; the two must be equal, and simplifying gives the reciprocity law. The role of the Gauss sum is to link a number-theoretic property (the Legendre symbol) with an algebraic structure (the roots of unity), so that one identity can be computed through two independent channels and compared.
4.4. The Gauss sum and its square
Definition 4.6. For an odd prime , let be the quadratic character , and let . The Gauss sum associated with is
Remark 4.3. is a primitive -th root of unity, that is, dividing the unit circle into equal parts and taking the point at phase . The sequence () is the equally spaced points distributed on the unit circle. (4.8) attaches a sign to each point (according to whether is a QR or an NQR) and then takes the vector sum. Computing this sum directly is hard, but its square (Lemma 4.7) takes an astonishingly simple form.
Example 4.3 (). The QR set modulo is , so , . From , , we get
So , consistent with Lemma 4.7.
Lemma 4.7. Define (so when , , and when , ). Then
Proof. By Definition 4.6, . Squaring expands into a double sum:
Make the substitution : since , as runs over , also runs over , so is a bijection. Also, by multiplicativity (Corollary 4.3),
where (). Substituting and exchanging the order of summation:
Consider the inner sum . If , then , every summand is , so . If , then , so is a permutation of , and (obtained from the full sum minus ).
Substituting back into (4.10):
Also, by the balance of the quadratic character, that is, modulo , quadratic residues and nonresidues number each, so
that is, . Substituting back into (4.11) gives
Finally, substituting the first supplementary law (4.6), , gives . (QED)
4.5. Proving reciprocity with the Gauss sum
Theorem 4.4 (restated). For distinct odd primes , .
Proof. By Lemma 4.7, . Raising both sides to the -th power gives
Applying Euler’s criterion (Theorem 4.2) to modulo gives
Combining (4.13) and (4.14), and multiplying both sides once more by , gives
On the other hand, expand directly. By the Frobenius identity — in any commutative ring of characteristic (such as the ring modulo ), (the coefficients of the other terms of the binomial expansion are all divisible by ) — so
From and odd we know . Also makes , so is a bijection on ; making the substitution , that is, , the summation index is rewritten as
where the second equality pulls out a factor by multiplicativity (Corollary 4.3), . From (the latter because takes values , each its own reciprocal) we get
Comparing (4.15) and (4.18), that is,
Multiplying both sides once more by , from we get
Since , , so is invertible modulo and can be cancelled, giving
Both sides are and , so the congruence modulo is an equality:
Finally, from and multiplicativity (Corollary 4.3):
Substituting the first supplementary law (4.6), , gives
Combining (4.22) and (4.24):
Multiplying both sides once more by and using gives (4.5). (QED)
4.6. Worked examples
Example 4.8 (). are both , so by Theorem 4.4 the product , and the two Legendre symbols are equal.
Direct computation: , so . The squares modulo are , and is an NQR: . By reciprocity . Check: the squares modulo are , and is not among them. ✓
Example 4.9 (). are both , so .
Computation: , so . So . Check: the squares modulo are , and is not among them. ✓
Example 4.10 (). , so .
Computation: . By multiplicativity, . By the supplementary law (4.7), , so . For , apply reciprocity: are both , so ; and , the squares modulo are only , so , whence . Combining: , and by reciprocity . Check: the squares modulo are , and is not among them. ✓
# Legendre symbol via Euler's criterion + QR verification.
def legendre(a: int, p: int) -> int:
"""Legendre symbol (a/p) for odd prime p, via Euler's criterion."""
a %= p
if a == 0:
return 0
result = pow(a, (p - 1) // 2, p)
return -1 if result == p - 1 else result
def verify_qr(p: int, q: int) -> bool:
"""Verify QR law for (odd primes p ≠ q)."""
lhs = legendre(p, q) * legendre(q, p)
rhs = (-1) ** (((p - 1) // 2) * ((q - 1) // 2))
return lhs == rhs
# Test 4.8/4.9/4.10
assert verify_qr(5, 13), "(5,13) reciprocity failed"
assert verify_qr(3, 7), "(3,7) reciprocity failed"
assert verify_qr(11, 17), "(11,17) reciprocity failed"
# Exhaustive verification for all odd-prime pairs up to 50.
from sympy import isprime
primes = [p for p in range(3, 50) if isprime(p)]
for i, p in enumerate(primes):
for q in primes[i+1:]:
assert verify_qr(p, q), f"Reciprocity failed for ({p}, {q})"
print("Quadratic reciprocity verified for all odd-prime pairs <= 50 [OK]")
4.7. Modern significance
Quadratic reciprocity is the prototype of class field theory — the most profound structural theorem of 20th-century algebraic number theory.
- Artin reciprocity (Emil Artin, 1927) generalizes Theorem 4.4 from to arbitrary algebraic number fields. The Frobenius automorphism on the ring of integers takes over the role of the Legendre symbol. Roughly speaking, Artin’s theorem says: the splitting behavior of primes in an Abelian extension is governed by congruence conditions in the base field — a direct extension of the statement ” depends on ”.
- The Langlands program (Robert Langlands, from 1967 on) regards reciprocity as the specialization to the case of a general non-Abelian reciprocity. Quadratic reciprocity becomes a special case of congruences of automorphic forms. Wiles’s 1994 proof of Fermat’s Last Theorem is in essence a Langlands-style reciprocity statement about elliptic curves.
- Cryptography: the running time of Legendre symbol algorithms is , faster than directly computing . Reciprocity allows the Jacobi symbol (the generalization to composite moduli) to be computed in by repeated quadratic reciprocity flips — the 1977 Solovay–Strassen primality test and various contemporary probabilistic primality tests are all based on this.
- Counting points on elliptic curves: the Schoof–Elkies–Atkin algorithm uses reciprocity-type congruences modulo small primes to determine — this step is the basis of choosing ECC parameters.
Euler’s conjecture of 1783 was the last work of his life in number theory; Gauss’s proof of 1796 was the first work of his life in number theory. An entry in the diary of a 19-year-old became the overall blueprint of reciprocity theorems for the following two centuries, up to the Langlands program, which in contemporary number theory is still not completely resolved as a core conjecture.
— End of §4.
§5 — The morning of September 18, 1783
§5.1 The last years: 1779-1783
By 1779 Euler was 72. He had been completely blind for 8 years, and blind in both eyes for 13 years.
His first wife, Katharina Gsell, died in Petersburg on November 19, 1773. They had been married nearly 40 years and had 13 children in all, of whom only 5 survived to adulthood. This marriage spanned the period of exile from Basel, the early part of Petersburg I, the 25 years in Berlin, and the return of Petersburg II. Katharina’s death hit Euler very hard, but he did not stop his dictation work.
In July 1776, the 68-year-old Euler remarried, to Salomea Abigail Gsell — Katharina’s half-sister, who was then 53. This marriage caused some talk in European academic circles, but Euler himself was very calm about it: a blind old man needed a companion who could look after him.
In 1779 Euler was 72. But he did not put down his pen. The Petersburg Academy’s last annual volume of 1783 still had two papers by him. Even in the last three years of his life, he was still dictating new content at the pace of 4-6 hours a day.
§5.2 March 1781: a new planet appears in the sky
On March 13, 1781, William Herschel (1738-1822), an amateur astronomer in Bath, England, using a homemade 6.2-inch reflecting telescope (7-foot focal length, Newtonian type), saw a “star” that moved, in the constellation Gemini.
Two nights later he confirmed: this was not a comet (as he had at first guessed), but a new planet. It was the first new planet of the solar system discovered by humankind in two thousand years (beyond Saturn).
The naming went back and forth several times: - Herschel at first proposed Georgium Sidus (in honor of George III) - The French astronomer Joseph Lalande proposed calling it Herschel (in honor of the discoverer) - The German astronomer Johann Elert Bode (1747-1826) proposed in 1781 renaming it Uranus (Ouranos, the sky god of Greek mythology, father of Saturn, continuing the Olympian pantheon) - In the end the name Uranus was generally accepted by the international astronomical community around 1850 (Britain’s Nautical Almanac kept using Georgium Sidus until 1850).
When news of this discovery reached Petersburg, the 73-year-old Euler immediately had his assistant Lexell start collecting observational data — he wanted to compute the orbit of this new planet.
For the next two years, computing the orbit of Uranus became one of the focal points of Euler’s work. Lexell organized the observation points (position records from Herschel + Maskelyne + other European observatories), and Euler dictated the parameters: distance (heliocentric radius), period (sidereal year), eccentricity.
This work was partly published in Euler’s Recherches sur les nouvelles inégalités de Mercure and in Lexell’s papers of 1783-84. In 1783 Lexell computed a preliminary orbital radius for Uranus of about 19 astronomical units (AU) and an orbital period of about 83 years — modern values: 19.2 AU, 84.0 years. The error is within 1%.
§5.3 September 18, 1783: that day
That morning, Euler was still working with Lexell on computing some fine-tuning parameters for a segment of Uranus’s orbit.
At noon, he played with his grandson for a while.
In the afternoon, he drank tea and lit his pipe — this was the last smoke of his life.
Later in the afternoon (the exact time was not recorded, but contemporary accounts such as Fuss’s eulogy point to 4-5 p.m.), Euler, sitting at his desk, suddenly collapsed from a cerebral hemorrhage. He lost consciousness on the spot. A few hours later, he died in his own home. 76 years and 5 months from his birthday, April 15, 1707.
He was 76 years old.
§5.4 41 days later: Paris
On October 29, 1783 (41 days after Euler’s death), Jean le Rond d’Alembert (1717-1783) died in Paris, aged 65. d’Alembert and Euler had decades of academic priority disputes (especially in three fields: the calculus of variations, the fluid equations, and the lunar three-body problem), but each regarded the other as one of the two most serious mathematicians of the century.
That generation of 18th-century mathematicians left the stage almost at the same time. Daniel Bernoulli had already died in March 1782 (aged 81). Joseph-Louis Lagrange was 47 at this time, writing his Mécanique analytique in Berlin (published 1788).
After the news of the death reached Paris, the Marquis de Condorcet (1743-1794) wrote Euler’s eulogy for the French Academy of Sciences (Académie des Sciences). It was read publicly at the Academy in January 1786. Condorcet wrote:
Il cessa de calculer et de vivre.
He ceased to calculate, and to live.
This one sentence has been quoted by later generations more than any of Euler’s own words.
§5.5 The funeral + the 1837 reburial
On September 20, 1783, the funeral was held according to the Orthodox rite. Although the Euler family were Calvinists (Reformed Christians), they had lived in Petersburg for a long time and had blended into the local religious ceremonies. The burial place was the Smolensky Lutheran Cemetery on Vasilievsky Island.
The tombstone is engraved in Latin:
LEONHARDO EULERO ACADEMIA PETROPOLITANA
“To Leonhard Euler, by the Petersburg Academy”
Short, formal, no epitaph, no mathematical symbols. Paid for by the Petersburg Academy.
In 1837, that is, 54 years after Euler’s death, his remains were moved from the Smolensky Cemetery and reburied at the Alexander Nevsky Lavra (the Alexander Nevsky Monastery) — one of the most revered Orthodox monasteries in Petersburg, and also the resting place of national-treasure figures of Russia such as Lomonosov. This reburial was presided over by the Petersburg Academy, showing that Russia already regarded Euler as part of its own mathematical tradition.
Today Euler’s grave can be seen in the Tikhvin Cemetery of the Alexander Nevsky Lavra.
§5.6 21 years later: Laplace’s remark
In 1804, Pierre-Simon Laplace (1749-1827) was lecturing to students at the École polytechnique. By then Euler had been dead for 21 years; Laplace himself was 55, one of the central figures of French mathematical physics at the time. While discussing a specific problem in analytical mechanics, he stopped and said to the students:
Lisez Euler, lisez Euler, c’est notre maître à tous.
Read Euler, read Euler, he is the teacher of us all.
The students wrote this down, and it later appeared again and again in the biographies and memoirs of Laplace, Lagrange, Gauss and others. ([Truesdell 1972, “Leonhard Euler, supreme geometer”])
This remark is not rhetoric — in fact, since the 18th century, every generation of mathematicians has borne it out. Gauss (proving quadratic reciprocity from the age of 19), Cauchy (extending Euler’s polyhedron formula to general polyhedra), Riemann (reinterpreting ), Lebesgue (rewriting Euler’s function), Noether (the symmetry version of the calculus of variations), Feynman (the Lagrangian path integral) — generation after generation of mathematicians and physicists has walked this road, and all have borne out Laplace’s remark.
§5.7 Series summary: 1707-1783

Timeline of Euler’s 76-year career + 4 cities + the 10 timeobserver137 episodes
The timeobserver137 series walked through Euler’s 76 years of life in 10 episodes:
| Episode | Period | Place | Main math |
|---|---|---|---|
| E01 | prologue | — | three things (1734 Basel / 1735 seven bridges / 1783 death) |
| E02 | 1707-1727 | Basel | early years + apprenticeship under Jakob/Johann Bernoulli |
| E03 | 1727-1741 | Petersburg I | Basel ζ(2)=π²/6 + Γ function + γ constant |
| E04 | 1735 onwards | (Petersburg) | Königsberg seven bridges → graph theory + irrationality of e + ζ(s) Euler product |
| E05 | 1738 | Petersburg | blindness stage I (right eye) — Mechanica + early ODE methods |
| E06 | 1741-1760s | Berlin (early) | calculus of variations (brachistochrone + Euler-Lagrange equation) |
| E07 | 1748 | Berlin | Introductio in analysin infinitorum + + |
| E08 | 1751-1753 | Berlin | the König affair (Maupertuis priority dispute, political pressure) |
| E09 | 1750-1766 | Berlin (final) | V−E+F=2 polyhedron formula + fluid equations + Euler angles + φ function |
| E10 | 1766-1783 | Petersburg II | the seventeen blind years (this episode): L₁-L₅ + M₃₁ + Latin squares + quadratic reciprocity |
In total: 76 years, 866 papers (Eneström’s 1910 catalogue), Opera Omnia in 80 volumes (editing began in 1911; after more than 100 years it is still unfinished, with 86 volumes published so far).
The 4 pieces of mathematics we walked through in this episode (§1-§4) are all output from after Euler went completely blind in 1766. Those 17 years, 1766-1783, account for 46.9% of his lifetime 866 papers — his most productive period was completed in a state of being completely unable to see.
The conjecture of quadratic reciprocity: when Euler left it as an open problem (1783), he could not give a proof. 13 years later, in 1796, the 19-year-old Gauss gave the first proof. The seeds Euler himself planted in his lifetime blossomed in a relay of later generations.
§5.8 Acknowledgments
The mathematically rigorous parts §1-§4 of this blog post were written by Abel; Gauss was responsible for historical fact-checking (R1+R2); Socrates was responsible for the logical rigor review (R1+R2); Escher was responsible for the §0/§5/§6 narrative + consolidation + figures. Published to timeobserver137.cyou by Euler in the role of Ghost API editor.
Next section: §6 — A cross-episode retrospective of Euler’s 19 mathematical contributions
— Escher · §5 CLOSING · v0 · 2026-05-26
§6 — A cross-episode retrospective of Euler’s 19 mathematical contributions
In the E10 finale video, we did an F-section of “lifetime contributions” — 19 mathematical results beginning with Euler’s name, arranged in 5 fields on one chalkboard, lighting up one by one along with the narration. This section is the blog-version equivalent — placing those 19 results one by one in the context of their modern significance, and at the same time marking in which episode of the timeobserver137 series each result was covered, so that readers can trace back along the line.
Each concept is laid out in the following format:
- Concept name (the form Euler wrote down) — § episode — modern significance in one sentence.
- Historical citation: Eneström number + year (Euler wrote / printed).
- Mathematical context + modern successors.
5 fields × 19 concepts. Arranged roughly by chronology, by topic within the same field.

Euler’s 19 cross-episode mathematical contributions — chalkboard summary (mirrors video F-section master)
§6.1 Number theory — 8 items
6.1.1 (the Basel problem) — E03
The form Euler wrote down (1734-35, E041):
The Basel problem was posed by Pietro Mengoli in 1644 (hoping to compute ). The two brothers Jakob and Johann Bernoulli both tried and could not solve it. Jakob admitted in the Tractatus de seriebus infinitis (1689): « Si quis inveniat nobisque communicet, quod industriam nostram elusit hactenus, magnas de nobis gratias feret » (“If anyone finds and tells us what has so far escaped our efforts, he will earn our great thanks”).
In 1734 Euler gave the first proof using the infinite product expansion of the sin x function (borrowing from Newton). It was submitted to the Petersburg Academy in 1735 and published in the Commentarii in 1740. The rigorous complex-variable methods of later generations (Cauchy / Riemann) gave a more standard proof.
Modern significance: one of the starting points of analytic number theory. In 1737 Euler generalized this result to , and then through the Euler product (§6.1.5) linked with the primes. In 1859 Riemann carried this line into complex variables, leading to the Riemann hypothesis.
6.1.2 The Gamma function — E03
The form Euler wrote down (1729-30, letters to Goldbach):
satisfies for . This is the continuous interpolation of the factorial from the discrete integers to all real numbers (later extended to the complex numbers).
Euler’s early attempt gave Gamma in an infinite product form:
Modern significance: almost all special functions are related to Gamma — the Beta function , the functional equation of the Riemann function, probability distributions (Gamma / Chi-squared / Student-t), dimensional regularization in quantum field theory, the path-integral measure.
6.1.3 — E04
Euler’s 1737 proof (E071, De fractionibus continuis dissertatio):
is irrational. The proof uses the continued fraction form:
An infinite non-repeating continued fraction corresponds to an irrational number — Euler himself proved this fact.
(Note: earlier than Euler, in 1668 James Gregory gave the series for , , but did not prove irrationality.)
Modern significance: a forerunner of the study of transcendental numbers. More than a hundred years later, Hermite in 1873 proved that is transcendental (that is, not a root of any polynomial with integer coefficients); Lindemann in 1882 used the same line of thought to prove that is also transcendental (settling the problem of “squaring the circle” along the way).
6.1.4 The Euler-Mascheroni constant — E03
Discovered by Euler in 1735:
The harmonic series diverges to infinity, but its rate of growth is exactly . The difference converges to — yet this constant itself is a mystery.
Lorenzo Mascheroni in 1790 computed this constant to 32 digits (but made a mistake in one place, later corrected by Soldner in 1809).
Modern significance: appears everywhere the behavior of near is involved — Mertens’ theorems, the prime-counting function, the Stieltjes formulas. Unsolved problem: to this day it is not known whether is rational or irrational. (Most mathematicians believe it is irrational, but it has not been proved.)
6.1.5 The Euler product — E04
Published by Euler in 1737 (E072, Variae observationes circa series infinitas):
The proof uses the fundamental theorem of arithmetic (every can be uniquely factored into a product of primes) + the geometric series .
This is the core identity of analytic number theory. It rewrites the sum of the infinitely many (an object of analysis) as the product over all primes (an object of number theory).
Modern significance: Riemann in 1859 continued to and used the Euler product to deduce: the information on the distribution of primes is hidden in the zeros of . This is the Riemann hypothesis. The same idea was later generalized to Dirichlet L-functions and Artin L-functions, leading to the Langlands program.
6.1.6 The Euler totient — E09
Studied by Euler in 1758, followed by E271 and others:
— the number of integers between 1 and that are coprime to .
Properties: - (prime) - - multiplicative: when
Euler’s theorem: if , then . (A generalization of Fermat’s little theorem.)
Modern significance: the mathematical foundation of RSA public-key cryptography. RSA encryption uses as the private key, and its security reduces to the difficulty of factoring large integers. Most TLS handshakes on the global internet are using Euler’s theorem.
6.1.7 The verification of the Mersenne prime — E10 (§2 of this episode)
See §2 of this blog post for details. In 1772 Euler verified by hand that is prime.
Modern significance: this record as the largest known Mersenne prime held for 104 years, until in 1876 Édouard Lucas verified with the cleverer Lucas-Lehmer test. Today the largest Mersenne prime is (41,024,320 digits, the 52nd known Mersenne prime, found by Luke Durant via the GIMPS project on October 12, 2024). The number-theoretic foundation of Lucas-Lehmer is what Euler wrote down in 1772.
6.1.8 Quadratic reciprocity (left as an open problem) — E10 (§4 of this episode)
See §4 of this blog post for details. Euler wrote it in 1772 and printed it in 1783 in Opuscula analytica vol I (E552, that is, in the last year of his life), explicitly stating the law of quadratic reciprocity, including the supplementary laws, but did not give a complete proof. 13 years later (1796), the 19-year-old Carl Friedrich Gauss gave the first proof. Over his lifetime Gauss gave 8 different proofs of this theorem.
Modern significance: the starting point of class field theory. Artin reciprocity (1927) generalized this quadratic form of Euler-Gauss to arbitrary finite-dimensional abelian extensions of . The Langlands program (1967-) pushed reciprocity further into the non-abelian. Elliptic-curve cryptography (ECC) is also, to some extent, an application of the idea of reciprocity.
§6.2 Graph theory + combinatorics — 3 items
6.2.1 The seven bridges of Königsberg → graph theory — E04
Euler 1735 (E053, printed 1741):
On the Pregel river in the center of Königsberg (today Kaliningrad) there were 7 bridges connecting 4 pieces of land. The question: can one, in a single walk, cross every bridge once and only once?
Euler abstracted each piece of land as a node (vertex) and each bridge as an edge, obtaining a multigraph with .
Euler’s theorem (the first theorem of graph theory): a connected multigraph has an Eulerian path (a path that passes through every edge exactly once) if and only if the number of vertices of odd degree is exactly 0 or 2.
All 4 vertices of Königsberg have odd degree (3, 3, 3, 5), so there is no Eulerian path. The answer: impossible.
Modern significance: graph theory was born from this as a branch of mathematics. Modern applications: shortest paths in road networks (Dijkstra), circuit routing, NP problems (Hamiltonian path is NP-complete vs Eulerian path is in P), social network analysis.
6.2.2 The knight’s tour — E09
Euler 1758 (E309, printed 1766, delayed due to the Seven Years’ War):
The chess knight moves in an L shape — 2+1 steps. The question: can it visit every square of an board exactly once (open tour), or return to the starting point (closed tour)?
Euler used divide-and-conquer: split the into 4 sub-boards, find local tours within each sub-board, and use a few key moves to join the local tours into a global one.
Euler gave several complete closed-tour solutions.
Modern significance: the knight’s tour is an early concrete form of the Hamiltonian path problem (only generalized by Hamilton in 1857). The Hamiltonian path in the general case is NP-complete (Karp 1972) — which means there is no known polynomial-time algorithm. Modern successors: the traveling salesman problem (TSP), chip routing, path optimization.
6.2.3 Latin squares + the 36 officers — E10 (§3 of this episode)
See §3 of this blog post for details. Euler in 1779 (E530) posed the 36 officers problem, which in modern terms is: find a pair of orthogonal Latin squares. Euler tried everything and could not find one, and conjectured: for (that is, ) none exists.
178 years later (1959-60), the three collaborators Bose / Shrikhande / Parker disproved it: the part is all wrong. Euler’s intuition was right only for and .
Modern significance: it launched the discipline of combinatorial design theory. Fisher in 1925 used Latin squares for block designs in agricultural experiments — still today a standard method of statistical experimental design. Reed-Solomon coding (the error-correction basis of CD/DVD/QR codes) also uses the algebraic structure of Latin squares.
§6.3 Complex variables + analysis — 2 items
6.3.1 — E07
Euler 1748 (E101 Introductio in analysin infinitorum vol. I, §138):
Proof: use power series (Taylor expansion). We know , , . Substitute into the expansion of , split into real and imaginary parts, and you immediately get .
This identity unifies the exponential function and the trigonometric functions — in the complex plane travels along the unit circle, and its real and imaginary parts are cos and sin respectively.
Modern significance: the mathematical foundation of the whole FFT (Fast Fourier Transform). Digital signal processing (DSP), quantum-mechanical wave functions (), AC circuit analysis (phasors), the path integral of quantum field theory — all are built on this one identity.
6.3.2 Euler’s identity — E07
Euler 1748 (E101 Introductio, a special case of §138):
Substitute into the previous identity () and move the term across.
This identity connects 5 of the most important constants in mathematics: . And it uses the three basic operations of addition + multiplication + exponentiation. So beautiful that it does not look like a mathematical result.
Modern significance: equivalent to §6.3.1, but with a different emotional impact. Called by Feynman “the most remarkable formula in mathematics”. It is the hero formula of almost every popular mathematics book.
§6.4 Calculus of variations + mechanics — 5 items
6.4.1 The brachistochrone (curve of fastest descent) — E06
Question posed by Johann Bernoulli in 1696, solved independently by Newton / Leibniz / Jakob Bernoulli / Euler:
A bead slides from point along a frictionless curve to point ; which curve makes the time of descent shortest?
The answer is the cycloid. Not a straight line, not a parabola — but a cycloid.
Bernoulli in 1696 solved it by analogy with optics (Snell’s law of refraction). Newton finished it in one night. Euler in 1744 (E065) generalized this problem, bringing out the calculus of variations as an independent branch of mathematics.
Modern significance: the calculus of variations is a basic tool of classical mechanics (Lagrangian / Hamiltonian), general relativity (the Hilbert action), and quantum field theory (the path integral).
6.4.2 The Euler-Lagrange equation — E06
Euler 1744 (E065) + Lagrange’s 1755 rewriting:
If we want to find, for the functional , the function that makes it take an extremum, , then must satisfy:
This is the fundamental equation of the calculus of variations. The brachistochrone (§6.4.1) is one concrete application of it.
Lagrange in 1755 (at 19) wrote to Euler, re-deriving this equation with a more algebraic, less geometric method. After reading it, Euler generously held back his own version from publication, letting the young Lagrange’s name come out first. Later this equation came to be called Euler-Lagrange.
Modern significance: the Lagrangian form of classical mechanics: (kinetic energy minus potential energy), with every particle coordinate satisfying Euler-Lagrange. Generalized to fields: the Lagrangian density of quantum field theory. Noether in 1915 translated the symmetries of Euler-Lagrange into conservation laws (Noether’s theorem). Almost every theory of modern physics starts from an action principle .
6.4.3 Euler’s fluid equations — E09
Euler 1753 (written) / 1761 (printed, E258, Principia motus fluidorum):
The equation of motion of an incompressible inviscid fluid:
plus the continuity equation (incompressible). Here is the velocity field, the pressure, the density, gravity.
This is the ancestral equation of fluid dynamics. Before Euler wrote it down in 1753 (printed 1761), fluids could only be discussed qualitatively. Euler treated the fluid as a continuous medium (continuum) and described it with partial differential equations.
Modern significance: adding the viscous term gives Navier-Stokes (1822). Modern uses: flow around aircraft, weather forecasting (numerical solution of Navier-Stokes), climate models, cardiovascular blood flow, rocket propulsion, ocean currents. Millennium Prize problem: the existence and smoothness of Navier-Stokes in three dimensions is unsolved to this day (2026), one of the Clay Institute’s 1-million-dollar prizes.
6.4.4 Euler angles — E09
Euler 1751-1758 (E177 + E292), complete version 1765 (E289 Theoria motus corporum solidorum):
Any three-dimensional orientation can be described by three independent angle parameters. Standard convention (3-1-3): first rotate about the -axis by , then about the new -axis by , and finally about the once-again new -axis by .
This can be written with rotation matrices:
Euler’s rotation theorem (E478, 1775): any rotation of a rigid body about a fixed point can be equivalently regarded as a single rotation about some instantaneous axis.
Modern significance: spacecraft attitude control, satellite pointing, gyroscopes, inertial navigation (INS), attitude stabilization of aircraft/missiles, robot arms (robot arm forward/inverse kinematics), virtual reality head tracking (VR headtracking), computer graphics (3D rotation in OpenGL/DirectX). The limitation of Euler angles (gimbal lock) has been replaced in modern graphics by quaternions, but quaternions too extend from the geometric foundations of Euler angles.
6.4.5 The Lagrange points - — E10 (§1 of this episode)
See §1 of this blog post for details. Euler (E327, written 1763, published 1767) found the three collinear points . Lagrange in 1772 (Paris Academy Prize) added the two equilateral-triangle points .
Modern significance: NASA’s James Webb Space Telescope is at the Earth-Sun point (1.5 million km from the Earth in the direction away from the Sun, arrived January 24, 2022). The SOHO solar observation satellite is at the point. The STEREO and DART missions use . The Sun-Jupiter actually gather 12,000+ Trojan asteroids; Lagrange in 1772 thought these two points had no physical realization, which 200 years later was proved wrong.
§6.5 Topology — 1 item (hero panel)
6.5.1 The polyhedron formula — E09
Euler 1750 (E230, letter to Goldbach of 1750-11-14):
For any convex polyhedron:
where = number of vertices, = number of edges, = number of faces.
Check: | Polyhedron | | | | | |---|---|---|---|---| | tetrahedron | 4 | 6 | 4 | 2 | | cube | 8 | 12 | 6 | 2 | | octahedron | 6 | 12 | 8 | 2 | | dodecahedron | 20 | 30 | 12 | 2 | | icosahedron | 12 | 30 | 20 | 2 |
Euler announced it in his letter to Goldbach of 1750-11-14 (E230), and in 1751 gave a draft proof by induction on edges (E231, printed 1758). Cauchy in 1813 gave a more rigorous version.
At a deeper level: the number is a topological invariant — it does not depend on the specific shape of the polyhedron, only on its “topological type”. For the sphere ; for the torus ; for a general genus- surface .
This is the first example of a topological invariant. The core idea of all of algebraic topology (Poincaré 1900, Brouwer 1911, de Rham 1931, Hodge 1941, Atiyah-Singer 1963) — “use algebraic objects to capture the invariance of geometric shape” — begins with this formula of Euler’s from 1750-58.
Modern significance: the whole discipline of topology. Applications: Calabi-Yau manifolds (string theory), Chern classes (gauge field theory), the Atiyah-Singer index theorem (differential geometry + number theory + operator algebras), persistent homology (topological data analysis, TDA).
§6.6 Summary: 30+ Euler-named concepts
The 19 we have walked through are a small part, the part with the most currency, of the mathematical results prefixed with Euler’s name. The List of things named after Leonhard Euler (collected by Wikipedia) currently has 100+ entries, including but not limited to:
- Euler equation in fluid (the one in §6.4.3 above)
- Euler’s identity (, §6.3.2)
- Euler characteristic (, §6.5.1)
- Euler angles (§6.4.4)
- Euler totient (§6.1.6)
- Euler-Lagrange equation (§6.4.2)
- Euler-Mascheroni constant (§6.1.4)
- Euler product (§6.1.5)
- Euler number
- Euler line (geometry of triangle)
- Euler’s method (numerical ODE)
- Eulerian path / circuit (graph theory)
- Euler’s substitution (integration technique)
- Euler-Maclaurin formula (series ↔ integral)
- … and many more
When people in mathematics and physics see the name “Euler” in the literature, they generally have to disambiguate it — because it might refer to 10 different results. This itself is the currency left by Euler’s 76 years / 866 papers.
From the E01 prologue to the E10 finale, the timeobserver137 series ends here.
— Escher · §6 RETROSPECTIVE · v0 · 2026-05-26