Wednesday, 21 August 2024
More Hidden Beast Numbers
Monday, 19 August 2024
Up and Down the Mountain
The number (27532) associated with my diurnal age today has an interesting aliquot sequence consisting of 210 steps that reaches a maximum value of 210998991785527991104 before beginning its descent to 1 and then 0. Here is the sequence:
27532, 20656, 19396, 17256, 25944, 43176, 80664, 121056, 224688, 378448, 494512, 495504, 1012336, 1181968, 1182960, 2995344, 6599280, 14542224, 25693296, 43014360, 90683160, 185451240, 425275800, 940708200, 1975489080, 4299600360, 9787608600, 30598377960, 62464790040, 124929580440, 322138579560, 782543654040, 1590997194600, 3789466067640, 8612422885320, 17245450814520, 34491361043400, 72967727801400, 156608347258440, 511373352229560, 1193233352540040, 3238776242618040, 7557144566112360, 17008403414134680, 43343078672652120, 98245289952891720, 225485753448117420, 499595022460258740, 1016220356878620060, 2146302511659329220, 4365805465306640340, 8912079582213674700, 19057572060429045492, 30451944343316954508, 46523803857845347256, 43522269061507054024, 41538397982866392056, 39514226617193027944, 34588280875055182556, 26164545907884419524, 19879736397904788476, 15278939116317231844, 13034324430483320084, 9787165489989868000, 14259900118915247504, 13373492843095311856, 12537649540401854896, 11754756084394941888, 20702681104040261952, 35918311240577926848, 63312611494171175232, 104258325352849123008, 210998991785527991104, 207702132538879116370, 169624609562080576430, 135726953604303765970, 148468761008721086318, 131290689970046993554, 93931702661206931822, 67094073456072645490, 63039859860977978510, 66642137567319577426, 33622680034706422574, 20453938384323035986, 10514105806833405614, 5257053195212561074, 2628558999616292174, 1319289459782004154, 678859735840149446, 432198199089642970, 372584654387623790, 423185411483397010, 447367434996734126, 335199506688516274, 241133173013919566, 129392986488928594, 69210234498425006, 49442455265686354, 31628275705499822, 17569420012749490, 15482802556130510, 12912073075113586, 8615431262813582, 4307715631406794, 2182074293639066, 1091037352376614, 545519846484554, 272807528144026, 136403764072016, 172028060840272, 246230032928432, 322698987259984, 302536923800196, 440536222376284, 330402166782220, 469768933828340, 521929534249180, 574124185108340, 632252256474700, 811995150775220, 893194665852784, 856062512768896, 913869490270304, 885311068699420, 1142969402332388, 857227051749298, 428613525874652, 321536752958884, 279499971575516, 235369388238244, 208212125817436, 207269989503284, 155452492127470, 125699432957330, 100559546365882, 50279927860454, 25488855451066, 20776630073990, 21985463380090, 25902201396614, 14856456204922, 7434249373850, 7457427003070, 7186247839538, 4160459275582, 2399770256450, 2707938109054, 1364410976426, 711333048214, 360723394754, 183945042814, 115353159818, 74577627382, 39307973018, 20226433030, 16181146442, 8167141114, 5307725702, 2873228938, 1532896886, 800767234, 435474206, 217915858, 109021742, 58683250, 51172262, 26101738, 16062650, 15625798, 8569082, 5026822, 2524250, 2417830, 1934282, 1381654, 746954, 459706, 282938, 144250, 126254, 63130, 53510, 42826, 39254, 22786, 11396, 14140, 20132, 20188, 21308, 21364, 22526, 16114, 11534, 6226, 3998, 2002, 2030, 2290, 1850, 1684, 1270, 1034, 694, 350, 394, 200, 265, 59, 1, 0
Figure 1 shows these values plotted on a logarithmic vertical scale that necessarily ends in 1 not 0 because we are working with logarithms. The sequence is embedded in the graph.
![]() |
Figure 1: permalink (not annotated) |
![]() |
Figure 2: permalink |
- Aliquot Sequences on 20th December 2017
- Aliquot Sequences Revisited on 21st June 2021
- Periodic Unitary Aliquot Sequences on 30th September 2023
- The Lehmer Five on 17th May 2024
- Infinite, Aperiodic Aiquot Sequences on 15th August 2023
Sunday, 18 August 2024
Prime Squared Semi-Magic Squares
I've made numerous posts about magic squares of one form or another and even posted about magic cubes and magic polygons. On 17th May 2021, I posted about Prime Semi-Magic Squares and today's post is also about semi-magic squares and primes, except that in this post I'll be looking at the squares of primes. Remember that a semi-magic square only needs to have its rows and columns adding to a constant, not its diagonals.
The number associated with my diurnal age today is 27531 and it has a property that qualifies it for membership is OEIS A269344:
A269344 | Magic sums of 3 X 3 semimagic squares composed of squares of primes. |
![]() |
Figure 1: source |
Now 27531 can be expressed as a sum of three primes squared in 16 different ways. See Figure 2.
![]() |
Figure 2: permalink |
![]() |
Figure 3: source |
Now 26859 can be expressed as a sum of three primes squared in 18 different ways. See Figure 4.
![]() |
Figure 4: permalink |
Thursday, 15 August 2024
Inverse Home Primes
It was only after visiting https://factordb.com, that I noticed there was an option for calculating inverse home primes in various bases. This is the site that enabled me to view the aliquot sequence for 27528 up to 2338 steps which I reported on in my previous post titled Infinite, Aperiodic Aliquot Sequences. The concept of inverse home primes is quite simple really and involves the catcatenation of the prime factors of a number from highest to lowest rather than from lowest to highest as is the case for home primes. I made a post recently titled Numbers With Elusive Home Primes.
Let's illustrate the difference between home primes and inverse home primes using 875 as an example.
HOME PRIME
\(875 = 5^3 \times 7\)
\(5557 = 5557\) this is step 1
The number of steps required is to reach home prime is 1 : [875, 5557]
INVERSE HOME PRIME
The number of steps required is to reach an inverse home prime is 8 :\(875 = 5^3 \times 7\)
\(7555 = 5 \times 1511\) this is step 1
\(15115 = 5 \times 3023\) this is step 2
\(30235 = 5 \times 6047\) this is step 3
\(60475 = 5^2 \times 41 \times 59\) this is step 4
\(594155 = 5 \times 118831\) this is step 5
\(1188315 = 3^2 \times 5 \times 26407\) this is step 6
\(26407533 = 3 \times 8802511\) this is step 7
\(88025113 = 11 \times 8002283\) this is step 8
\(800228311 = 800228311\) this is step 9
[7555, 15115, 30235, 60475, 594155, 1188315, 26407533, 88025113, 800228311]
... what a big difference the order makes when concatenating the factors of a number ...
However, it turns out that inverse home primes are far more "elusive" than the familiar home primes. This is not surprising. Any even number will have the digit 2 as its smallest factor which means that it will be the LAST digit of the newly concatenated number and thus even again. This means that any even number CANNOT have an inverse home prime because of this endless cycle.
Similarly a number ending in the digit 5 is likely to have this digit as the LAST digit of the newly concatenated number and thus it will not be prime but divisible by 5 again. I say "likely" because numbers ending in 5 can escape an endless cycle once 3 becomes a factor. We see this in the example of 875 shown above. Numbers ending in 1, 3, 7 and 9 are likely to fare much better in finding their inverse home primes than numbers ending in 5 and for numbers ending in 0, 2, 4, 6 and 8 inverse home primes are simply not possible.
The question arises however, as to whether even numbers can enter a cycle during the concatentation process. Take a number as simple as 22. After 47 steps, we have a 127 digit number:
494775798475134788874946695481884739784434386126997999116887215921268574642953570240011863034391409057404851408757947611917322
So cycles seem unlikely. There's nothing about inverse home primes on the Internet except for the site mentioned earlier. However, it's interesting to realise what a big difference the order makes when concatenating the factors of a number. I've incorporated the calculation of inverse home primes into my multipurpose algorithm just to explore them in greater depth.
Infinite, Aperiodic Aliquot Sequences
I've written about Aliquot Sequences in previous posts:
- Aliquot Sequences on 20th December 2017
- Aliquot Sequences Revisited on 21st June 2021
- The Lehmer Five on 17th May 2024
infinite, aperiodic aliquot sequence
Monday, 12 August 2024
Numbers With Elusive Home Primes
I was surprised to find that the number associated with my diurnal age today, 27525, is a number for which a home prime is not able to be ascertained. See Figure 1 where the algorithm applied to this number quits after 50 concatenations fail to generate a prime.
![]() |
Figure 1: permalink |
Sunday, 11 August 2024
Determinants of Circulant Matrices
I noticed that the number associated with my diurnal age today has a circulant matrix with a determinant that is a pronic number. The number in question is 27514. This is its circulant matrix. Forgive the formatting as I just copied it from the SageMathCell output.
What about numbers with circulant matrices that have determinants with digits that are permutations of the number's digits? There are 130 numbers that satisfy this criterion. They are (permalink):






