In January of 2025, I created a post titled Building Block Numbers about a very small set of positive integers that can be used to construct all other positive integers. These numbers form OEIS A086424:
A086424 Numbers needed to generate all other natural numbers, only allowing multiplication and addition. Each number can be used only once.
Take my diurnal age today: 28020. Using these building blocks we can represent the number as (permalink):$$28020=(4 \times (171 + (2 \times (11 + 3406))))$$Let's compare this to its represention using products of primes:$$28020=2 \times 2 \times 3 \times 5 \times 467$$At first the difference in economy isn't apparent. Both methods require five numbers. With the first method we cannot repeat any of the numbers but with the second we can. The economy becomes apparent however, when we consider that up to but not including 243374, we only need ten building blocks (1, 2, 4, 11, 25, 64, 171, 569, 3406 and 27697) for every number in the range from 1 to 243373. It is only when we reach 243374 that an additional building block is required. By contrast there are 21494 primes in the same range and each of them is unique and can't be built out of smaller primes.
I got Gemini's NotebookLM to create an infographic and a video about these building blocks:
Infographic created by NotebookLM based on this blog post
The thing about these building blocks is that are independent of the number base being used. Table 1 shows the comparison of the base 10 with bases of 2, 8 and 16.
I've incorporated this way of building a number into the SageMath algorithm that I use to analyse the number associated with my diurnal age. However, as I thought about the code that Gemini had generated I remembered that there would often be more ways than one to represent a number and I realised that Gemini was serving up the first combination of building blocks that it came across. I then got Gemini to modify its code to display all possible solutions. For 28020, this turned out to be a staggering 796 solution. Many of these however, involved multiplication by 1. I asked Gemini to exclude these and the number fell to 166. Many of these involved the unnecessary use of brackets. After removing these, the final number came down to 16.
Looking at these solutions it can be seen that they are ordered by number of terms used, fewer to more numerous. The first two solutions require only five building blocks and thus of course are to be preferred.
I want to start a series of posts that highlight special numbers. Mostly I'll be drawing on material from earlier posts where a number was mentioned but perhaps not given the prominence that it deserved. Today's number is 45162 and it's unique in the number range from one to one million. Why?
\(45162\)
The reason is by no means obvious but it has to do with the catcatenation of its prime factors which are:
\(2 \times 3^2 \times 13 \times 193\)
When we concatenate these prime factors, we get the following number:
\(23313193\)
This number happens to be a prime. In itself, this doesn't make 45162 very special, let alone unique. About 13.7% of numbers in the range up to one million have the property that, when their prime factors are concatenated in order from lowest to highest, the resulting concatenated number is prime. Such a prime is called the home prime of that number and thus 23313193 is the home prime of 45162.
What makes 45162 unique is that it is the start of a chain of eight consecutive numbers that all have this property as shown in Figure 1:
Figure 1
Quite remarkable and it's no wonder that this octet is the only one in the range up to one million. Interestingly, none of the home primes associated with this octet of numbers contains the digit 8. I first mentioned these numbers in a post titled One Step Away on January 31st 2022. 45162 is given prominence because it starts off the sequence.