Showing posts with label multiple. Show all posts
Showing posts with label multiple. Show all posts

Friday, 6 November 2026

Visual Display of Numbers: Part 2

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:

  1. 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.

  2. 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.

  3. Parallel Lines = Same Prime Factor: All lines moving in the same direction (and color) represent multiplying by the exact same prime number.

  4. 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 TypePrime RecipeExampleTotal DivisorsGeometric 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)





When there are repeated factors such as with \(28341=3^2 \times 47 \times 67\), the Hasse diagram is as shown 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


A Logarithmic Divisor-Pair Chord Diagram arranges all the divisors of a number $n$ around a circle like a clock face and connects each factor pair ($d$ and $\frac{n}{d}$) with a straight line (a chord). Because the circle uses a logarithmic scale rather than a regular counting scale, every factor pair sits at the exact same vertical height on opposite sides of the circle—meaning every connecting chord is perfectly horizontal and parallel.

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:

$$\log(a \times b) = \log(a) + \log(b)$$

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:

  1. 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$$

  2. 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$).

  3. 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 CategoryExample 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.





Here is a permalink: just enter the number whose visual representation you want to look at.

Tuesday, 9 December 2025

The Cantor Ternary Set Revisited

It was back in January 2nd of 2022 (almost four years ago now) that I posted about The Cantor Ternary Set. I began the post with the following statement:

Today I turned 26572 days old and discovered that \( \dfrac{1}{26572} \) is in the Cantor set.


Infographic created using NotebookLM

In the context of the Cantor ternary set, 26572 is referred to as a \( \textbf{primitive} \) number and as such belongs to OEIS A173793. These numbers are not multiples of 3 as some of the other numbers are that belong in this set. The next such number is \( \textbf{28009} \), my diurnal age today. The initial members of this sequence are:

1, 4, 10, 13, 28, 40, 82, 91, 121, 244, 328, 364, 730, 757, 820, 949, 1036, 1093, 2188, 2362, 2812, 2920, 3280, 6562, 6643, 7381, 9490, 9841, 19684, 20440, 26248, 26572, 28009, 29524, 59050, 59293, 63973, 65620, 66124, 66430, 84253, 88573, 177148

As can be seen, after 28009, there is only one other number that I'm likely to experience in my lifetime and that is 29524. However if we include numbers in the Cantor set that are multiples of 3 then there are many more terms and these constitute OEIS A121153. Between 26572 and 29524, we have the following numbers as shown in Table 1 where the numbers (primitive and non-primitive) are shown together with their factorisations and the representation of their reciprocals in ternary format:


Table 1: permalink

For the non-primitive numbers, the factor of 3 is recurrent whereas in the primitive numbers it is absent. Here is a link to a video (uploaded to YouTube) that I got NotebookLM to create for me about the Cantor ternary set and below is the video:

Sunday, 2 November 2025

Palindromic Day 27972

Today is palindromic day 27972 and the last palindromic day of the current millenium. The next palindromic day will occur in the new millenium and will 28082, one hundred and ten days from now.

My first observation is that the digits on either side of the central 9 also add to 9 to give a 9 - 9 - 9 pattern with 9 being the arithmetical digital root as well. This is the first and last time that such a triple pattern will occur in the current millenium. It cannot occur in the next two millenia (2 8 x 8 2 and 2 9 x 9 2) because the digits on either side of the central digit add to 10 and 11 respectively. So already 27972 is rather special. 

27972 is also a member of OEIS A344422: palindromes having more divisors than all smaller palindromes. The table below lists the initial members of this sequence and it can be seen that 27972 has a record 48 divisors.

  number   factorisation        divisors

  1        1                    1
  2        2                    2
  4        2^2                  3
  6        2 * 3                4
  44       2^2 * 11             6
  66       2 * 3 * 11           8
  252      2^2 * 3^2 * 7        18
  2112     2^6 * 3 * 11         28
  2772     2^2 * 3^2 * 7 * 11   36
  6336     2^6 * 3^2 * 11       42
  27972    2^2 * 3^3 * 7 * 37   48
  48384    2^8 * 3^3 * 7        72

27972 is also a member of OEIS A020485: least positive palindromic multiple of \(n\), or 0 if none exists. Here are the multiples for the initial values of \(n\).

  count   n       multiple
  1       1       1
  2       2       1
  3       3       1
  4       4       1
  5       5       1
  6       6       1
  7       7       1
  8       8       1
  9       9       1
  10      0       0
  11      11      1
  12      252     21
  13      494     38
  14      252     18
  15      525     35
  16      272     17
  17      272     16
  18      252     14
  19      171     9
  20      0       0
  21      252     12
  22      22      1
  23      161     7
  24      696     29
  25      525     21
  26      494     19
  27      999     37
  28      252     9
  29      232     8
  30      0       0
  31      434     14
  32      2112    66
  33      33      1
  34      272     8
  35      525     15
  36      252     7
  37      111     3
  38      494     13
  39      585     15
  40      0       0
  41      656     16
  42      252     6
  43      989     23
  44      44      1
  45      585     13
  46      414     9
  47      141     3
  48      2112    44
  49      343     7
  50      0       0
  51      969     19
  52      676     13
  53      212     4
  54      27972   518
  55      55      1
  56      616     11
  57      171     3
  58      232     4
  59      767     13
  60      0       0
  61      26962   442

27972 requires 13 steps to reach the palindrome 4964444694 under the Reverse and Add algorithm. 

27972 is a decagonal or ten-sided number and is the 84th decagonal number and the second non-trivial palindromic decagonal number after 232. See Figure 1 where 232 is shown but not 27972.


Figure 1: source

27972 is a member of OEIS A356854: palindromes that can be written in more than one way as the sum of two distinct palindromic primes. In the case of 27972 we have:

10501 + 17471 = 27972
11311 + 16661 = 27972
11411 + 16561 = 27972
12421 + 15551 = 27972

Sunday, 4 May 2025

Another Weird Day

It's been 560 days since my last \( \textbf{weird} \) day. Today I turned \( \textbf{27790} \) days old and once again it's weird. I've written about this type of number before in blog posts titled Weird Numbers on August 4th 2019 and also in an earlier post titled Zumkellar Numbers, Half Zumkellar Numbers and Pseudoperfect Numbers on November 22nd 2018.

Most abundant numbers are pseudoperfect meaning that a subset of their proper divisors can be chosen so that their sum is equal to the number. If the sum of all the proper divisors of a number equals the number itself, then the number is said to be perfect. The first few perfect numbers are 6, 28, 496, 8128 and 33550336. An example of an abundant number that is pseudoperfect is 24 with proper divisors of 1, 2, 3, 4, 6, 8 and 12. Adding these gives 36 so the number is clearly abundant. However, if we add the proper divisors without including 12, we reach 24 and so the number is pseudoperfect.

There are two types of weird numbers: primitive and non-primitive. A non-primitive weird number is a number that is a multiple of a weird number. The primitive weird numbers up to 40000 are 70, 836, 4030, 5830, 7192, 7912, 9272, 10792 and 17272. Here is a list of all weird numbers (primitive and non-primitive) up to 40000:

70, 836, 4030, 5830, 7192, 7912, 9272, 10430, 10570, 10792, 10990, 11410, 11690, 12110, 12530, 12670, 13370, 13510, 13790, 13930, 14770, 15610, 15890, 16030, 16310, 16730, 16870, 17272, 17570, 17990, 18410, 18830, 18970, 19390, 19670, 19810, 20510, 21490, 21770, 21910, 22190, 23170, 23590, 24290, 24430, 24710, 25130, 25690, 26110, 26530, 26810, 27230, 27790, 28070, 28630, 29330, 29470, 30170, 30310, 30730, 31010, 31430, 31990, 32270, 32410, 32690, 33530, 34090, 34370, 34930, 35210, 35630, 36470, 36610, 37870, 38290, 38990, 39410, 39830, 39970

All the numbers above with the exception of the primitive weird numbers in red are multiples of 70. Any weird number multiplied by a prime number that is greater than the sum of the divisors of the numbers is itself weird. Thus 70 has a sum of divisors of 144 and the first prime above this is 149. 70 x 149 produces the weird number 10430.

As can be seen, my next weird number (28070) is 280 days away and after that there is a gap of 560 days to my next weird number (28630). The gaps of course are determined by the distance between successive prime numbers. Thus:$$ \begin{align} 27790 &=70 \times 397\\28070 &=70 \times 401 \\28630 &=70 \times 409 \end{align} $$Here is a fuller list of primitive weird numbers (link):

70, 836, 4030, 5830, 7192, 7912, 9272, 10792, 17272, 45356, 73616, 83312, 91388, 113072, 243892, 254012, 338572, 343876, 388076, 519712, 539744, 555616, 682592, 786208, 1188256, 1229152, 1713592, 1901728, 2081824, 2189024, 3963968, 4128448

While this post is a little repetitive, I feel it's important to acknowledge the occurrence of weird numbers when they occur because of their rarity.

Friday, 18 October 2024

An Interesting Prime

Being born on the 3rd April 1949, my date of birth is often represented as 3 - 4 - 49. These numbers when concatenated form the prime number 3449. I was reminded of this number because of the factorisation of the number associated with my diurnal age today, 27592.$$27592 = 2^3 \times 3449 = 8 \times 3449$$So today my life can be divided into exactly eight equal parts, each of them 3449 days long which is about 9.44 years. The previous multiple$$7 \times 3449 = 24143$$occurred on May 10th 2015 when I was still working at the Shanghai Singapore International School. The next multiple$$9 \times 3449 = 31041$$ will fall on March 29th 2034, shortly before my 84th birthday (if I make it that far).

3449 forms the initial prime of a Cunningham chain of the first type with length exactly 3 and so: $$ 3449 \rightarrow 2 \times 3449 + 1 = 6889 \text{ (prime)} \\ 6889 \rightarrow 2 \times 6889 +1 = 13799 \text{ (prime)}$$Primes with this property form OEIS A059762. Another prime-related property of 3449 qualifies it for membership in OEIS A088483:


A088483
: primes \( \textit{p} \) such that \(p^2+p-1\) and \(p^2+p+1\) are twin primes.

For 3449, the twin primes are \(11899049\) and \(11899051\). 

3449 is also a home prime with a homeliness of 3 because:$$ \begin{align} 611 &= 13 \times 47 \rightarrow 1347\\ 1347 &= 3 \times 449 \rightarrow 3449 \end{align}$$Not all primes are home primes of course. Take 613 as an example of a prime that is not a home prime because it cannot be formed by the concatenation of the prime factors of any number (the prime factors need to be concatenated in ascending order).

3449 is also a member of OEIS A153116:


A153116
: primes \(p\) such that \(p^2 +12\) and \(p^2-12\) are also primes.

Here the two primes are \(11895589\) and \(11895613\). Additionally:$$ \text{period of}\frac{1}{3449}=\frac{3449-1}{8} = 431$$This property qualifies 3449 for membership of OEIS A056213:


A056213: primes \(p\) for which the period of reciprocal = \(\dfrac{p-1}{8}\).

3449 is a Sophie Germain prime because:$$2 \times 3449+1=6899 \text{ is prime}$$3449 also features in so-called "Golden Semiprimes" and this qualifies it for membership in OEIS A108544:


A108544
: primes that are factors of distinct golden semiprimes (A108540).


I posted about these types of semiprimes in Semiprime Factor Ratios way back on the 26th August 2016. In that post I said that:

A golden semiprime is a number that factors to:
  • \(p \times q\) where \(p\) and \(q\) are prime
  • \( | \,p \, \phi - q \,| <1\) where \(\phi=\dfrac{\sqrt{5}+1}{2} \)
In the case of 3449, it is the \(q\) and \(p=2131\) and the golden semiprime is:$$7349819=2131 \times 3449$$The OEIS mentions 314 sequences in which 3449 makes an appearance and I've only dealt with a few of them here. However, I see 3449 as an important number in my life and didn't want its current occurrence to pass unnoticed.