Showing posts with label sum of divisors. Show all posts
Showing posts with label sum of divisors. Show all posts

Wednesday, 14 October 2026

The Antisigma Function Revisited

The day after my birthday this year I made a post titled The Antisigma Function. This function returns the sum of the non-divisors of a number and is given by the formula:$$ \text{antisigma}(n)=\frac{n(n+1)}{2}-\sigma(n)$$I noticed today that the number associated with my diurnal age today (28318) has an antisigma value given by:$$ \begin{align} \text{antisigma}(28318) &= 28318 \times 28319/2-\sigma(28318)\\ &=400968721-42480\\ &=400926241 \end{align}$$This antisigma value is almost a multiple of 28318 since:$$ 400926241\!  \! \! \mod 28318 =28315$$This got me wondering whether there are numbers whose antisigma values are multiples of itself. I asked Gemini to investigate and it came to the conclusion that there are no composite integers up to 40,000 (and likely no integers at all) that satisfy this condition. End of story, right. Actually, no. Using the program that Gemini provided I found the following numbers that satisfy (permalink).

--- Results for Composite Integers 1 to 40000 ---
Table:
Composite Integer (n)     | Antisigma Value     
------------------------------------------------
24                        | 240                 
4320                      | 9318240             
4680                      | 10937160            
26208                     | 343351008            
 
Comma-separated list of the integers:
24, 4320, 4680, 26208 

Gemini had to admit its error. So never trust anything Gemini tells you straight up. I then asked if these were the only numbers and it turns out there are infinitely many more. Here is the explanation that Gemini provided:

For an integer $n$ to divide its antisigma value perfectly, the antisigma expression modulo $n$ must equal 0:
$$\frac{n(n+1)}{2} - \sigma(n) \equiv 0 \pmod n$$

For any even number $n$, the formula for the sum of all integers up to $n$ expands to:

$$\frac{n(n+1)}{2} = \frac{n^2}{2} + \frac{n}{2} = n\left(\frac{n}{2}\right) + \frac{n}{2}$$

When this triangle number sum is divided by $n$, it consistently leaves a remainder of $\frac{n}{2}$. For the entire antisigma value to be perfectly divisible by $n$, the divisor sum $\sigma(n)$ must also leave a remainder of $\frac{n}{2}$ to exactly cancel out the first remainder. Algebraically, this requires:

$$\sigma(n) = kn + \frac{n}{2}$$

Dividing both sides by $n$ reveals the core ratio:

$$\frac{\sigma(n)}{n} = k + 0.5$$

Numbers whose abundancy index (the sum of their divisors divided by the number itself) equals a half-integer (such as 1.5, 2.5, or 3.5) belong to a specific mathematical class known as hemiperfect numbers.

The Online Encyclopedia of Integer Sequences catalogs these half-integral abundancy numbers under OEIS A159907. The first five terms in this sequence are 2, 24, 4320, 4680, and 26208.

The sequence does not end there. It continues into much larger integers that satisfy the exact same divisibility condition:

  • 8,910,720
  • 17,428,320
  • 20,427,264
  • 91,963,648
  • 197,064,960

Because there is a massive mathematical "desert" spanning from 26,208 all the way to 8.9 million, a programmatic search capped at a 40,000 limit naturally halts after finding 26,208. Therefore, 24, 4320, 4680, and 26208 are not the only composite integers that divide their antisigma values evenly; they are simply the first four composite entries in a much larger, ongoing sequence.

************************

I wrote about hemiperfect numbers in a post titled Hemiperfect Numbers on the 3rd of January 2021.

Sunday, 12 July 2026

28224: An Interesting Number

28224 has 194 entries in the OEIS which is extraordinarily high for a five digit number. In this post I'll be discussing some of this number's most interesting properties but not all of them. There are just too many. It's prime factorisation is:$$28224=2^6 \times 3^2 \times 7^2$$FIRST INTERESTING PROPERTY

Numbers that are perfect squares are quite rare in the range up to 40000. There are only 200 of them and 28224, my diurnal age today, is one of them. It has the property that:$$28224=168^2$$The number of days between my experience of them is a little less than a year. There is a gap of exactly 365 days between \(183^2\) and \(182^2\) since:$$ \begin{align} 183^2-182^2 &= (183 + 182)(183-182) \\ &=365 \times 1 \\ &=365 \end{align}$$I'll be \(33124\) or \(182^2\) days when I'm over \(90\) years old so I may not get to experience the transition from this square to the next.

28224 is also a Loeschian number since it is equal to \(72^2+ 72 \times 120 + 120^2\).

28224 also has a product of digits (256) that is a perfect square since \(256=16^2\).

SECOND INTERESTING PROPERTY

Numbers that are the sum of two positive cubes are relatively rare in the range up to 40000. In fact, there are only 378 numbers in the range up to 40000 and 28224 is one of them because:$$28224=22^3 + 26^3$$These numbers form OEIS A004999.

THIRD INTERESTING NUMBER

Energetic numbers are numbers that can be broken into two or more substrings and expressed as a sum of (possibly different) positive powers of those substrings. They form OEIS  A055480. 28224 is one such number because:$$28224=28^3 + 2^{11} + 2^7 + 4^6$$I discuss this category of numbers in my blog post Energetic Numbers.

FOURTH INTERESTING NUMBER

Friedman numbers are positive integers which can be written in some non-trivial way using its own digits, together with the symbols + – × / ^ ( ) and concatenation. 28224 is one such number because:$$28224 = (2 + 82)^2 × 4$$It is said to be a "nice" Friedman number because the digits are in the same order as the number. These numbers are listed on my blog post Narcissistic, D-Powerfull and Friedman Numbers.

FIFTH INTERESTING NUMBER

28224 has the property that certain of its factors (not necessarily prime) can be arranged to form a palindrome. Specifically:$$2 \times 2 \times 2 \times 882 \times 2 \times 2 = 22288222$$I've written about these sorts of numbers in a post titled Why Is 313131 An Interesting Number?

SIXTH INTERESTING PROPERTY

28224 is a concatenation of powers of 2 since:$$28224= 2^1 \; || \; 2^3 \; || \; 2^1 \; || \; 2^1 \; || \; 2^2$$I've written about numbers that can be formed in this way in a blog post titled Nothing New Under The Sun. It is also a concatenation of multiples of 7 since:$$28224= (7 \times 4) \, || \, (7 \times 32)$$I posted about these sorts of concatenations in my blog post More Numbers as Concatenations.

SEVENTH INTERESTING PROPERTY

28224 is a member of OEIS A253824 where$$ \text{numbers } m = s \, || \, t \text{ such that } m = \sigma(s) \times \sigma(t)$$where || represents concatenation. In the case of 28224 we have:$$ \begin{align} 28224 &= 28 \, || \, 224 \\ &= \sigma(28) \times \sigma(224) \\ &= 56 \times 504 \\ &=28224 \end{align}$$28224 is only the third such number in the range up to 40000. The two earlier numbers are 540 and 2352.

EIGHTH INTERESTING PROPERTY

28224 has a digit sum of 18 and when this is added to the number the result is 28242 which has the same digits as 28224 but in a slightly different order. This property makes it a member of OEIS A246420.

 
 A246420

Numbers \(n\) such that \(n\)  + digit sum of \(n\) is a permutation of the decimal digits of \(n\) .


Saturday, 6 June 2026

Perfect Powers

Firstly a reminder. What is a perfect power?

A perfect power is a positive integer that can be expressed as an integer power of another positive integer. More formally, \(n\) is a perfect power if there exist natural numbers \(m > 1\), and \(k > 1\) such that \(m^k = n\). In this case, \(n\) may be called a perfect \(k\)-th power. If \(k = 2\) or \(k = 3\), then \(n\) is called a perfect square or perfect cube, respectively. Sometimes 1 is also considered a perfect power (\(1^k = 1\) for any \(k\)).
Today I turned 28188 days old and one of the interesting properties of this number, apart from the digit 8 appearing three times, is that its sum of digits (SOD) and product of digits (POD) are both perfect powers. This is because:$$ \begin{align} \text{SOD}(28188) &= 27 = 3^3\\ \text{POD}(28188) &= 1024 = 2^{10 }\end{align}$$This got me thinking as to how many positive integers in the range up to 40000 have this property. Well, it turns out that there are 217 and here they are (permalink):

4, 8, 9, 18, 22, 44, 81, 88, 144, 224, 242, 333, 414, 422, 441, 448, 484, 844, 999, 1124, 1133, 1142, 1177, 1214, 1224, 1241, 1242, 1313, 1331, 1339, 1393, 1412, 1421, 1422, 1555, 1717, 1771, 1888, 1933, 2114, 2124, 2141, 2142, 2214, 2222, 2241, 2248, 2284, 2411, 2412, 2421, 2428, 2482, 2824, 2842, 3113, 3131, 3139, 3193, 3311, 3319, 3391, 3913, 3931, 4112, 4121, 4122, 4211, 4212, 4221, 4228, 4282, 4444, 4822, 5155, 5515, 5551, 7117, 7171, 7711, 8188, 8224, 8242, 8422, 8818, 8881, 8888, 9133, 9313, 9331, 11114, 11124, 11133, 11141, 11142, 11214, 11222, 11241, 11248, 11284, 11313, 11331, 11411, 11412, 11421, 11428, 11482, 11824, 11842, 12114, 12122, 12141, 12148, 12184, 12212, 12221, 12222, 12411, 12418, 12481, 12814, 12841, 12888, 13113, 13131, 13311, 13399, 13939, 13993, 14111, 14112, 14121, 14128, 14182, 14211, 14218, 14281, 14488, 14812, 14821, 14848, 14884, 18124, 18142, 18214, 18241, 18288, 18412, 18421, 18448, 18484, 18828, 18844, 18882, 19339, 19393, 19933, 21114, 21122, 21141, 21148, 21184, 21212, 21221, 21222, 21411, 21418, 21481, 21814, 21841, 21888, 22112, 22121, 22122, 22211, 22212, 22221, 22228, 22282, 22444, 22822, 24111, 24118, 24181, 24244, 24424, 24442, 24811, 28114, 28141, 28188, 28222, 28411, 28818, 28881, 31113, 31131, 31311, 31399, 31939, 31993, 33111, 33199, 33399, 33919, 33939, 33991, 33993, 39139, 39193, 39319, 39339, 39391, 39393, 39913, 39931, 39933

What about numbers whose sums of divisors are perfect powers? In the range up to 40000, there are only 18 and they are (permalink):

3, 7, 21, 31, 81, 93, 127, 217, 381, 400, 651, 889, 2667, 3937, 8191, 11811, 24573, 27559

Take 21 with divisors of 1, 3, 7 and 21 as an example:$$ \sigma(21)=32=2^5$$What about numbers whose totients are perfect powers? Let's recall that:
The totient of a number, denoted by the Euler's totient function \(\phi(n)\), is the count of positive integers less than or equal to \(n\) that are coprime (relatively prime) to \(n\). Two numbers are coprime if their only common factor is 1.
Numbers of this sort are more frequent with there being 119 in the range up to 40000. They are (permalink):

5, 8, 10, 12, 15, 16, 17, 20, 24, 30, 32, 34, 40, 48, 51, 60, 64, 68, 80, 85, 96, 102, 120, 128, 136, 160, 170, 192, 204, 240, 255, 256, 257, 272, 320, 340, 384, 408, 480, 510, 512, 514, 544, 640, 680, 768, 771, 816, 960, 1020, 1024, 1028, 1088, 1280, 1285, 1360, 1536, 1542, 1632, 1920, 2040, 2048, 2056, 2176, 2560, 2570, 2720, 3072, 3084, 3264, 3840, 3855, 4080, 4096, 4112, 4352, 4369, 5120, 5140, 5440, 6144, 6168, 6528, 7680, 7710, 8160, 8192, 8224, 8704, 8738, 10240, 10280, 10880, 12288, 12336, 13056, 13107, 15360, 15420, 16320, 16384, 16448, 17408, 17476, 20480, 20560, 21760, 21845, 24576, 24672, 26112, 26214, 30720, 30840, 32640, 32768, 32896, 34816, 34952

Let's take 20 as an example. The numbers that are coprime to 20 are 1, 3, 7, 9, 11, 13, 17, 19 and so we have we have a count of 8:$$ \phi(20)=8=2^3$$Next, let's consider the sum of the anti-divisors of a number. First let's recall what an antidivisor is using Gemini to explain in very clear terms:

An anti-divisor is a number that fails to divide a target integer by the largest possible margin. While a regular divisor divides a number evenly with no remainder, an anti-divisor leaves the most unbiased, centered remainder possible. [1, 2, 3]
The concept was first formalized by mathematician Jon Perry. [1]
Mathematical Rules
An integer \(d\) (where \(1 < d < n\)) is an anti-divisor of \(n\) if it satisfies one of the following rules: [1, 2]
    • For even values of \(d\): The number \(d\) divides \(2n\) evenly. Mathematically, we have:$$n \bmod d = \dfrac{d}{2}$$
    • For odd values of \(d\): The number \(d\) divides \(2n - 1\) or \(2n + 1\) evenly. Mathematically we have  [1, 2]:$$n \bmod d = \dfrac{d-1}{2}  \text{ or } n \bmod d = \dfrac{d+1}{2}$$
Visual Example: Anti-divisors of 20
To find the anti-divisors of \(20\), you look for numbers between \(2\) and \(19\) that fail to divide \(20\), but cleanly divide \(40\) (twice \(20\)) or \(39\)/\(41\). [1]
    • 3 is an odd anti-divisor because \(3 \times 13 = 39\), leaving a gap of \(1\) (since \(\frac{3-1}{2} = 1\), and \(20 \bmod 3 = 2\)).
    • 8 is an even anti-divisor because \(8 \times 5 = 40\). It divides \(2 \times 20\) perfectly.
    • 13 is an odd anti-divisor because \(13 \times 3 = 39\). [1]
Key Facts
    • The number 1 is never an anti-divisor, as it evenly divides all integers.
    • The number 2 has no anti-divisors.
    • Prime numbers have a limited number of anti-divisors based heavily on multiples of \(2n\). [1, 2, 3]
For a complete look at integer sequences and properties, you can explore the The Anti-Divisor - OEIS catalog. [1]

There are 20 numbers in the range up to 40000 that satisfy and these are (permalink):

6, 8, 9, 14, 36, 89, 96, 221, 541, 576, 740, 778, 1854, 2114, 2571, 10277, 13631, 16160, 16389, 39428

Let's take 39428 as an example. The antidivisors of this number are:

3, 5, 7, 8, 15, 21, 35, 105, 751, 2253, 3755, 5257, 11265, 15771, 26285

The sum of these anti-divisors is \(65536 = 2^{16}\) and so it is perfect power.

Further investigation could target:

  • the sum of the proper divisors
  • the sum of the non-divisors
  • the determinant of the circulant matrix
  • the arithmetic derivative

Thursday, 7 August 2025

Totient and Sigma Graphs Revisited

Not long ago, in March of 2025, I made a blog post titled Totient Function: Jagged Versus Rounded Local Minima about a special feature in the graph of the totient function. I termed this special feature the "rounded local minimum" as opposed to the more "jagged local minimum". I was reminded of this graphical curiousity because today the number associated with my diurnal age, 27885, marks such a rounded local minimum or "2-nadirs" as the OEIS puts it. Such numbers belong to OEIS A076773 : 


  A076773: 2-nadirs of \( \phi\): numbers \(k\) such that:

 \( \phi(k-2) > \phi(k-1) > \phi(k) < \phi(k+1) < \phi(k+2)\).


Figure 1 shows a graph of the numbers and the totients in the region of 27885:


Figure 1

In relation to the sigma or sum of divisors function, 27885 exhibits what might be called a "local rounded maximum" as opposed to a "jagged local maximum". These I also discuss in my Totient Function: Jagged Versus Rounded Local Minima blog. Figure 2 shows the situation.


Figure 2
Such numbers constitute OEIS A323380:


A323380
   Odd \(k\) such that \( \sigma(k) > \sigma(k+1) \) and \( \sigma(k) > \sigma(k-1) \)

This turns out to be the same as A076773 with "sigma" replacing "phi" and "zenith" replacing "nadir":

  2-zeniths of \( \sigma\): numbers \(k\) such that:

 \( \sigma(k-2) > \sigma(k-1) > \sigma(k) < \sigma (k+1) < \sigma(k+2)\).


In the previously mentioned blog, I listed the numbers in OEIS A076773 and A323380 up to 40000 but I didn't realise at the time how many numbers these two sequences had in common. Here are the numbers that belong in both sequences (up to 40000):

315, 525, 1155, 1575, 1755, 1785, 1995, 2475, 2805, 3045, 3315, 3465, 3885, 4095, 4125, 4515, 4725, 5115, 5355, 5775, 6045, 6195, 6405, 6435, 6615, 6825, 7035, 7245, 7605, 8085, 8505, 8715, 8925, 9135, 9405, 9555, 9765, 9975, 10395, 11235, 11385, 11445, 11655, 12075, 12285, 12675, 12705, 12915, 13125, 13545, 13965, 14025, 14175, 14355, 14595, 14805, 15015, 15435, 15645, 15675, 16005, 16065, 16275, 16335, 16695, 16905, 17325, 17745, 17955, 18135, 18375, 18585, 18795, 19215, 19635, 20475, 20685, 21105, 21315, 21525, 21945, 22365, 22605, 22995, 23205, 23595, 23625, 23835, 24255, 24675, 24885, 24915, 25245, 25515, 25725, 25935, 26325, 26565, 26775, 27027, 27195, 27885, 28035, 28215, 28245, 28275, 28665, 28875, 29295, 29925, 30195, 30345, 30555, 30723, 30765, 31185, 31365, 31395, 31605, 31815, 32025, 32175, 32235, 32445, 32835, 33075, 33345, 33495, 33915, 34125, 34155, 34485, 34515, 34755, 34965, 35175, 35805, 36225, 36435, 36645, 36795, 36855, 37275, 37485, 38115, 38745, 38955, 39165, 39195, 39375, 39435, 39585, 39765, 39795

There are 238 totients and 267 sigmas with 154 in common (permalink).

Sunday, 22 June 2025

Sum of Divisors Meets the Totient

The number associated with my diurnal age today, \(\textbf{27838}\), has an interesting property that is not so obvious until we look at its sum of divisors and its totient:$$ \begin{align}  \sigma(27838) &= 43200 \\ &= 2^6 \times 3^3 \times 5^2 \\ &\rightarrow 2,3,5 \text{ as distinct prime factors}\\ \phi(27838) &= 13440 \\&= 2^7 \times 3 \times 5 \times 7 \\ &\rightarrow 2,3,5,7 \text{ as distinct prime factors} \end{align}$$For both the sum of divisors and the totient, the prime factors are consecutive. This got me thinking as to how many numbers enjoy this property in the range up to 40000. I wasn't requiring that the smallest factor be 2 for both the sum of divisors and the totient but this is certainly the case at least in the range under consideration. 

In developing my algorithm (permalink), I naturally only considered composite numbers but I also required the sum of divisors and the totient to be composite as well. It turns out that there are 785 such numbers with the smallest being 14:$$ \begin{align}  \sigma(14) &= 24 \\ &= 2^3 \times 3 \\ &\rightarrow 2,3 \text{ as distinct prime factors}\\ \phi(14) &= 6 \\&= 2 \times 3  \\ &\rightarrow 2,3 \text{ as distinct prime factors} \end{align}$$Table 1 shows the numbers between 27838 and 30000.


Table 1: permalink

Here is the full list of the 146 numbers between 27838 and 40000 (permalink):

27838, 27956, 28126, 28215, 28258, 28329, 28340, 28424, 28458, 28614, 28728, 28768, 28782, 28809, 28826, 28985, 29029, 29222, 29260, 29295, 29337, 29393, 29512, 29640, 29667, 29678, 29835, 29848, 30039, 30184, 30240, 30264, 30305, 30381, 30504, 30566, 30760, 30780, 30814, 30888, 30914, 30943, 30956, 30996, 31008, 31027, 31160, 31174, 31283, 31331, 31392, 31416, 31465, 31496, 31529, 31806, 31816, 32103, 32130, 32131, 32298, 32376, 32395, 32589, 32604, 32718, 32802, 32984, 33015, 33176, 33292, 33345, 33383, 33440, 33480, 33495, 33497, 33528, 33572, 33592, 33836, 33885, 33915, 34008, 34162, 34276, 34293, 34317, 34440, 34452, 34573, 34580, 34605, 34782, 34884, 35061, 35074, 35112, 35340, 35343, 35424, 35464, 35530, 35752, 35805, 35910, 35948, 35960, 36366, 36423, 36666, 36828, 36859, 36860, 36890, 36920, 37060, 37128, 37417, 37638, 37719, 37730, 37758, 37772, 37961, 38038, 38152, 38285, 38340, 38368, 38408, 38610, 38745, 38760, 38874, 39032, 39121, 39219, 39270, 39370, 39458, 39501, 39520, 39556, 39576, 39729

If we consider the sum of the \( \textbf{proper} \) divisors of a number together with the totient, we find that only 104 numbers qualify in the range from 1 up to 40000. These are (permalink):

42, 78, 90, 93, 135, 198, 216, 219, 259, 270, 273, 360, 364, 403, 438, 679, 723, 738, 793, 988, 1080, 1299, 1333, 1446, 1683, 1722, 1793, 1818, 1924, 2009, 2044, 2263, 2295, 2623, 2743, 2754, 2970, 3135, 3157, 3162, 3258, 3420, 3589, 3796, 3960, 4284, 4320, 4440, 4453, 4564, 4905, 5187, 5824, 5983, 5995, 6893, 6918, 7320, 7373, 7380, 7392, 7783, 7980, 8928, 8987, 9504, 9720, 9943, 10864, 10920, 11023, 11538, 11653, 11904, 14233, 15613, 15813, 16764, 17593, 18019, 20202, 22625, 24199, 24339, 24613, 25275, 25324, 25792, 27133, 28243, 28564, 30240, 30303, 30623, 31408, 31992, 32283, 32284, 34300, 34393, 34933, 36421, 36720, 39283

Not all the prime factors of the sum of proper divisors begin with 2 as can be seen in Table 2 that shows the details for numbers between 28000 and 40000:


Table 2: permalink

Tuesday, 11 February 2025

Primorials and the Sigma Function

I noticed that the sum of divisors (64680) of the number (27708) that represents my diurnal age today has the following factorisation:$$64680 = 2^3 \times 3 \times 5 \times 7^2 \times 11$$These prime factors, ignoring multiplicity, represent the factorisation of a primorial, in this case the primorial 2310:$$2310 = 2 \times 3 \times 5 \times 7 \times 11$$This got me wondering what other numbers in the range up to 40000 have a sum of divisors whose prime factors, again without multiplicity, form the primorial 2310. It turns out that there are 267 such numbers. They are (permalink):

1538, 2180, 2309, 2456, 2636, 2834, 3488, 3688, 3845, 4469, 4472, 4614, 4618, 4796, 4988, 5276, 6152, 6158, 6540, 6927, 7085, 7368, 7412, 7690, 7908, 7916, 8424, 8459, 8502, 8567, 8759, 8780, 8903, 8938, 9047, 9236, 9239, 9396, 9848, 9956, 10028, 10148, 10464, 10766, 11064, 11336, 11414, 11535, 11545, 11549, 11666, 11876, 11954, 12280, 12447, 12644, 13073, 13180, 13196, 13369, 13407, 13416, 13544, 13624, 13854, 13859, 14048, 14104, 14148, 14170, 14388, 14776, 14964, 14972, 15196, 15260, 15308, 15380, 15395, 15398, 15587, 15828, 16163, 16211, 16340, 16578, 16918, 17134, 17147, 17192, 17440, 17518, 17687, 17806, 17876, 17999, 18017, 18094, 18113, 18203, 18209, 18440, 18452, 18456, 18472, 18474, 18478, 19116, 19316, 19838, 19988, 19994, 20488, 20492, 20789, 21088, 21116, 21146, 21242, 21255, 21276, 22236, 22301, 22345, 22360, 22518, 22852, 23070, 23090, 23098, 23099, 23108, 23220, 23748, 23756, 23980, 24089, 24416, 24608, 24632, 24894, 24940, 25064, 25377, 25399, 25409, 25628, 25701, 25724, 25727, 25816, 26144, 26146, 26277, 26340, 26380, 26396, 26568, 26709, 26738, 26814, 26915, 27016, 27019, 27141, 27199, 27323, 27352, 27359, 27383, 27708, 27717, 27718, 27956, 28340, 28404, 28535, 28552, 28836, 28996, 29165, 29222, 29544, 29852, 29868, 29885, 30014, 30017, 30084, 30186, 30302, 30444, 30508, 30537, 30760, 30780, 30788, 30790, 30916, 30956, 31174, 31283, 31304, 31529, 31676, 31928, 31937, 32298, 32326, 32357, 32422, 32591, 32981, 33256, 33368, 33497, 33572, 33836, 33869, 33939, 34008, 34242, 34268, 34294, 34635, 34647, 34649, 34916, 34998, 35036, 35093, 35180, 35374, 35612, 35628, 35699, 35752, 35862, 35948, 35998, 36034, 36077, 36143, 36188, 36226, 36406, 36418, 36419, 36437, 36557, 36840, 36932, 36956, 37060, 37152, 37932, 38368, 38495, 38498, 38597, 38804, 39219, 39253, 39540, 39580, 39588, 39904

What caught my attention in this sequence of numbers was a pair of numbers that will be coming up for me in a little over a week. The numbers are 27717 and 27718. This got me to wondering if there were other such number pairs in the range up to 40000 and it turns out that there are. The other two are (23098, 23099) and (36418, 36419). See Table 1 for the details. 


Table 1

27718 also has the interesting property that its cototient has the same prime factors as 2310 since the totient is 13858 and thus the cototient is$$27718 - 13858 = 13860 = 2^2 \times 3^2 \times 5 \times 7 \times 11$$In the range up to 40000, the only numbers with this property are 4618, 9236, 18472, 18478, 23098, 27718 and 36956 (permalink). 

Anyway getting back on track, these pairs got me thinking about runs of three consecutive numbers and perhaps higher runs. I extended the range up to one million and in that range there are seven triplets of numbers whose sum of divisors consists form the factors of the primorial 2310. See Table 2.


Table 2

Looking at Table 2 it can be seen that there are two groups of quadruplets. See Table 3.


Table 3

Let's just double check the last quadrupets 692994, 692995, 692996 and 692997. See Table 4.


Table 4

So in terms of my diurnal age what's of interest is that the number pair 27717 and 27718 is coming up in a little over a week and its members share the interesting property discussed in this post. Let's move on to the primorial 210 = 2 x 3 x 5 x 7. In the range up to 40000, there are 1945 numbers with sums of divisors with prime factors (considered without multiplicity) that multiply together to give the primorial 210. I won't list them all but here is a permalink.

Restricting ourselves to the range up to 40000, we do get two groups of quintuplets. They are 20154 to 20158 and 29395 to 29399. 

Quadruplets are more numerous of course and Table 5 shows these.


Table 5: permalink

Groups of triplets are shown in Table 6.


Table 6: permalink

The pairs are too numerous to list here but this is a permalink.