Ch 1.4.7 – Of the Extraction of the Roots of Polygonal Numbers

Summary: Applies the quadratic formula to the inverse problem of polygonal numbers — given a polygonal number, find its root (side) — and derives root-formulas and integrality conditions for each polygonal class up to the general -gon.

Sources: chapter-1.4.7

Last updated: 2026-05-03


Setup

In ch1.3.5-polygonal-numbers Euler established the formula for the -th -gonal number:

Finding given amounts to solving a quadratic equation, which is why the topic reappears here (source: chapter-1.4.7, §657).

Polygonal formulas as quadratics

PolygonFormula Quadratic for
Triangle ()
Square ()
Pentagon ()
Hexagon ()
Heptagon ()
Octagon ()

Root formulas and integrality conditions

Applying completing-the-square to each case:

PolygonRoot formulaIntegrality condition
Triangle must be a perfect square
Square must be a perfect square
Pentagon must be a perfect square
Hexagon must be a perfect square
Heptagon must be a perfect square
Octagon must be a perfect square

(source: chapter-1.4.7, §659–667)

Key observation: the triangular and hexagonal conditions are identical ( is a square), confirming that every hexagonal number is also a triangular number — though the roots differ.

Triangular numbers: the property

Multiplying any triangular number by 8 and adding 1 always produces a perfect square (§660):

Triangle
19
325
649
1081
15121

If is not a perfect square, is not a triangular number and its triangular root is irrational.

General -gon root (§668)

For a given -gonal number with root :

Example (24-gonal number 3009, ):