Following on from my previous post, Visual Display of Numbers: Part 1, this post will deal with another two ways to visually represent numbers:
- Hasse Diagram
- Logarithmic Divisor-Pair Chord Diagram
Hasse Diagram
A Hasse divisor diagram transforms a number’s factors into a geometric shape. Instead of listing divisors in a flat row, it stacks them in vertical layers from bottom to top, showing how prime numbers multiply together to build the target number.
1. The Four Visual Rules of a Hasse Diagram
Every Hasse divisor lattice follows four rules:
Start at the Bottom, End at the Top: The number $1$ always sits at the bottom (Level 0), and the number $n$ sits at the very top.
One Step Up = Multiply by One Prime: Every upward line connects a divisor to a larger divisor obtained by multiplying by a single prime factor.
Parallel Lines = Same Prime Factor: All lines moving in the same direction (and color) represent multiplying by the exact same prime number.
Each New Prime Adds a New Dimension: When a number is made of distinct primes (no repeated primes like $2^2$ ), each new prime factor doubles the number of divisors by copying the previous shape and shifting it along a new direction:
| Number Type | Prime Recipe | Example | Total Divisors | Geometric Shape |
| Prime | $p$ | $28349$ | $2^1 = 2$ | 1D Line Segment (see below) |
| Biprime | $p \times q$ | $28339 = 17 \times 1667$ | $2^2 = 4$ | 2D Square - Diamond (see below) |
| Triprime | $p \times q \times r$ | $28338 = 2 \times 3 \times 4723$ | $2^3 = 8$ | 3D Cube (see below) |
| Tetraprime | $p \times q \times r \times s$ | $28329 = 3 \times 7 \times 19\times 71$ | $2^4 = 16$ | 4D Hypercube (Tesseract) (see below) |
![]() |
![]() |
Here is a permalink: just enter the number whose visual representation you want to look at.
2. How to Read Calculations Off the Shape
Once the shape is drawn, you can find the Greatest Common Divisor (GCD) and Least Common Multiple (LCM) of any two integers in the diagram just by following the lines:
To find the GCD of two numbers: Trace downward along the lines from both integers. The highest point where the two downward paths meet is their GCD.
To find the LCM of two numbers: Trace upward along the lines from both integers. The lowest point where the two upward paths meet is their LCM.
Factor Pairs (Opposite Corners): Any two integers sitting in exact opposite positions across the center of the shape multiply together to equal to the number.
Logarithmic Divisor-Pair Chord Diagram
Why Use a Logarithmic Scale Around the Circle
If you placed the divisors of $30$ ($\{1, 2, 3, 5, 6, 10, 15, 30\}$) on a standard ruler from $1$ to $30$, the first five divisors ($1, 2, 3, 5, 6$) would be crammed into the first $20\%$ of the line, while the last $80\%$ would be mostly empty space.
A logarithmic scale spaces numbers by multiplication instead of addition. In high school math, the logarithm rule for multiplication says:
To place each divisor $d$ around a circle from $0\%$ to $100\%$ of the way around, we compute its fractional position $t$:$$t(d) = \frac{\log(d)}{\log(n)}$$
This simple formula creates three visual properties on the circle:
Top of the Circle ($0\%$ and $100\%$): Because $\log(1) = 0$, the number $1$ always starts at the top-right ($t = 0$), and the number $n$ always ends at the top-left ($t = 1$), since: $$\dfrac{\log(n)}{\log(n)} = 1$$
Bottom of the Circle ($50\%$ — The Square Root): Halfway around the circle ($t = 0.5$) sits the exact square root $\sqrt{n}$, because $\log(\sqrt{n}) = \log(n^{0.5}) = 0.5 \log(n)$.
Every divisor smaller than $\sqrt{n}$ sits on the Right Arc ($0 \le t < 0.5$).
Every divisor larger than $\sqrt{n}$ sits on the Left Arc ($0.5 < t \le 1$).
Why Every Factor-Pair Chord Is Horizontal: If two divisors multiply to give $n$ ($d \times \frac{n}{d} = n$), their fractional positions around the circle always add up to $1$:
$$t(d) + t\left(\frac{n}{d}\right) = \frac{\log(d) + \log(n/d)}{\log(n)} = \frac{\log(n)}{\log(n)} = 1$$Because a point at distance $t$ clockwise down the right side of the circle and a point at distance $1 - t$ clockwise around to the left side are mirror images across the vertical centerline, connecting them draws a strictly horizontal chord.
2. Progression from Prime to Tetraprime
Each time you multiply a number by a new distinct prime factor, the number of divisors doubles, and the number of horizontal chords across the circle doubles as well (in the table below D stands for the number of Divisors and C stands for the number of chords):
| Number Category | Example n | D | C | What the Chord Diagram Looks Like |
| 1. Prime $p$ | $28349$ | $2$ | $1$ | Single Top Bar: Only one chord at the very top ($1 \times 28349 = 28349$). The rest of the circle is completely empty, showing $28349$ cannot be broken down further. See below. |
| 2. Biprime $p \times q$ | $28339 = 17 \times 1667$ | $4$ | $2$ | Two-Rung Ladder: A top chord ($1 \times 28339 = 28339$) and a lower chord ($17 \times 1667 = 28339$) hovering above the bottom pole ($\sqrt{28339} \approx 168.35$). See below. |
| 3. Triprime $p \times q \times r$ | $28338 = 2 \times 3 \times 4723$ | $8$ | $4$ | Four-Rung Ladder: Four horizontal chords ($1 \times 28338$, $2 \times 14169$, $3 \times 9446$, and $4763 \times 6$) descending smoothly toward $\sqrt{28338} \approx 168.3$. See below. |
| 4. Tetraprime $p \times q \times r \times s$ | $28329 = 3 \times 7 \times 19\times 71$ | $16$ | $8$ | Eight-Rung Ladder: Eight parallel horizontal chords filling the circle from $1 \times 28329$ at the top down to $133 \times 213 = 28329$ right at the bottom pole ($\sqrt{28329} \approx 168.3$). See below. |
![]() |















