Showing posts with label totient. Show all posts
Showing posts with label totient. Show all posts

Wednesday, 19 August 2026

Super Sphenic Numbers

The number associated with my diurnal age today (28262) is what might be termed a "super sphenic number" as I'll explain in this post. Firstly however, its factorisation:$$28262=2 \times 13 \times 1087$$If we reverse its digits, we get the number 26282 and this number is also sphenic:$$26282 = 2 \times 17 \times 773$$Let's now concatenate the factors of 28262 in ascending order. This gives us the number 2131087 which is also sphenic:$$2131087 = 7 \times 167 \times 1823$$28262 has a sum of digits of 20 and if we add this to the original number we get the palindromic number 28282 which is also sphenic:$$28262+20=28282 = 2 \times 79 \times 179$$The number has a product of digits of 384 and if we subtract this from the original number we get 27878 which is sphenic:$$28262 - 384 = 27878 = 2 \times 53 \times 263$$If we consider only the internal digits of 28262, we get the number 826 which is also sphenic:$$2\, 826 \, 2 \rightarrow826=2 \times 7 \times 59$$When a sphenic number is considered as a sphenic brick then it has an associated number in the form of the brick's surface area. In the case of 28262, this associated surface area is 32662 square units and this number too is sphenic:$$32662 = 2 \times 7 \times 2333$$28262 has a sum of proper divisors that is also sphenic:$$ \sigma(28262) - 28262 =17434 = 2 \times 23 \times 379 $$The number has a sum of prime factors (1102) that is sphenic:$$2 +13+1087=1102 = 2 \times 19 \times 29$$28262 has a totient of 13032 which is not sphenic but its cototient (number - totient) of 15230 is:$$28262 - 13032 = 15230 = 2 \times 5 \times 1523$$So we can see that 28262 may well be termed a super sphenic number because of the above associations.

Friday, 7 August 2026

Sums of Digits

The number associated with my diurnal age today, 28248, has the property that its digits raised to the fourth power are equal to its totient.$$ \begin{align} 2^4 + 8^4 + 2^4 + 4^4 + 8^4 &= 8480 \\ \phi(28248) &= 8480 \end{align}$$This qualifies it for membership in OEIS A269669:


A269669
numbers whose Euler totient function is equal to the sum of some fixed power of their digits.

The numbers in this sequence are few and far between, with 28248 being the last in the range up to 40000. The initial members are 1, 2, 20, 40, 228, 352, 712, 813, 835, 2079, 4020, 28248. Take 20 as another example:$$ \begin{align} 2^3 + 0^3 &= 8 \\ \phi(20) &= 8 \end{align}$$As part of my daily number analysis, I consider:

  • the sum of the digits of a number
  • the sum of the digits squared of a number
  • the sum of the digits cubed of a number
If all three sums are prime, then I make a note of it. I consider higher powers of the digits in the context of narcissistic numbers where a narcissistic number is defined as a \(k\)-digit nonnegative number equal to the sum of the \(k\)-th powers of its digits. An example is of such a number is 9474 where:$$9474=9^4+4^4+7^4+4^4$$D-powerful numbers are similar but are defined as integers that can be expressed as a sum of positive powers of their digits. An example is 994 where:$$994=9^3+9^1+4^4$$OEIS A269669 relates such sums to a number's totient which I hadn't thought of doing before. This idea can be extended to other number properties of a number and I've included a list of such properties as output from my daily number analysis. The example below is for 28248 where the equality between its totient and the sum of its digits raised to the fourth power can be clearly seen.

  Daily Number                      28248
  Sum of Divisors                   77760
  Sum of Proper Divisors            49512
  Totient                           8480
  Sum of DISTINCT prime factors     123
  Sum of Unitary Divisors           46656
  Sum of Digits                     24
  Sum of Digits Squared             152
  Sum of Digits Cubed               1104
  Sum of Digits to Fourth Power     8480
  Sum of Digits to Fifth Power      66624
  Product of Digits                 1024
  Gray Code                         22900
  Binary Complement                 4519
  Arithmetic Derivative             54620
  Determinant of Circulant Matrix   11904

If we search for numbers whose arithmetic derivative is equal to the sum of some fixed power of their digits, we don't find many. In the case of \(n=2\), we only have 581, 8549 and 16999 with sums of digits squared and arithmetic derivatives of 90,186 and 280 respectively in the range up to 40000. For \(n=3\) we only have 142, 6127 and 12643 with sums of digits cubed and arithmetic derivatives of 73, 568 and 316 respectively. For higher powers, nothing in the range up to 40000. Here is the permalink.$$ \begin{align} 581 &\rightarrow 5^2+8^2+1^2 = 90 \text{ = arithmetic derivative of 581} \\ 8549 &\rightarrow 8^2+5^2+4^2+9^2 = 186 \text{ = arithmetic derivative of 8549} \\ 16999 &\rightarrow 1^2+6^2+9^2+9^2+9^2 = 280 \text{ = arithmetic derivative of 16999} \\ 142 &\rightarrow 1^2+4^3+2^3 = 73 \text{ = arithmetic derivative of 142} \\ 6127 &\rightarrow 6^3+1^3+2^3+7^3 = 568 \text{ = arithmetic derivative of 6127} \\ 12643 &\rightarrow 1^3+2^3+6^3+4^3+3^3 =316 \text{ = arithmetic derivative of 12643} \end{align}$$

Saturday, 4 April 2026

The Antisigma Function

The \( \textbf{antisigma}\) function returns the sum of the proper non-divisors of \(n\). I hadn't heard of it before but came across reference to it when researching properties of the number 77. Let's designate this function as a(\(n\)) and use 15 as an example to illustrate how it works. The proper divisors of 15 are 1, 3 and 5. This means that 2, 4, 6, 7, 8, 9, 10, 11, 12, 13 and 14 are non-divisors and they total 96. Thus:$$a(15)=96$$A quicker way to calculate the sum of proper non-divisors is to use the following formula that makes use of the sum of the terms of an arithmetic sequence:$$ \begin{align} \text{a}(n) &= \frac{n(n+1)}{2} - \sigma(n) \\ \text{a}(15) &= \frac{15 \times 16}{ 2} - 24 \\ &=140-24\\&=96 \end{align} $$I had to be reminded as to the formula for the sum of the terms of an arithmetic progression with starting term \(a\) and common difference \(d\). The sum \( \text{S}_n \) of the first \(n\) terms is given by:$$ \begin{align} \text{S}_n &= \frac{n}{2}(2a+(n-1)d) \\ &= \frac{n (n+1)}{2} \text{ for }a=1 \text{ and } d=1 \end{align}$$The antisigma function differs from Euler's totient function that counts the number of integers up to a given number \(n\) that are coprime to \(n\). In the case of 15, we have:$$ \begin{align} \phi(15) &= 15 \times (1-\frac{1}{3}) \times (1-\frac{1}{5}) \\ &= 15 \times \frac{2}{3} \times \frac{4}{5} \\ &=8 \end{align}$$The eight numbers that are coprime to 15 are 1, 2, 4, 7, 8, 11, 13 and 14. 

The antisigma function relates to the non-divisors of a number and these differ from its antidivisors. The antidivisors of 15 are 2, 6 and 10. See blog More on Anti-divisors.

The OEIS includes various sequences relating to antisigma function. First and foremost there is OEIS A024816:


A024816: antisigma(\(n\)) which is the sum of the numbers less than \(n\) that do not divide \(n\).

This sequence begins:

0, 0, 2, 3, 9, 9, 20, 21, 32, 37, 54, 50, 77, 81, 96, 105, 135, 132, 170, 168, 199, 217, 252, 240, 294, 309, 338, 350, 405, 393, 464, 465, 513, 541, 582, 575, 665, 681, 724, 730, 819, 807, 902, 906, 957, 1009, 1080, 1052, 1168, 1182, 1254, 1280, 1377, 1365

Then there is OEIS A200981:


A200981: numbers \(k\) such that the sum of non-divisors of \(k\) is prime.

3, 4, 10, 21, 34, 46, 58, 70, 85, 93, 118, 129, 130, 144, 178, 201, 226, 237, 262, 298, 310, 322, 324, 325, 333, 334, 346, 382, 406, 418, 430, 466, 478, 502, 513, 514, 517, 549, 598, 622, 633, 634, 657, 658, 669, 706, 730, 742, 813, 826, 837, 838, 865, 922, 982, 985

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

Saturday, 29 March 2025

Totient Function: Jagged Versus Rounded Local Minima

If we plot the totients of the natural numbers against the values of the numbers themselves then we typically find an UP-DOWN or DOWN-UP alternation depending on where you start. Figure 1 shows such a plot for numbers in the range between 40 and 60.


Figure 1

Occasionally however, we see a different pattern. Figure 2 shows the totients of numbers plotted against the numbers themselves in the range between 300 and 330.


Figure 2: permalink

Looking at the graph in Figure 2 we see that from 313 to 317 we have an DOWN-DOWN-UP-UP pattern, clearly visible as a rounded rather than a local UP-DOWN-UP minimum. The value of the local minimum is the totient of 315. So where else do these rounded local minima occur. We are looking for numbers \(n\) such that:$$ \phi(n-2)>\phi(n-1)>\phi(n) < \phi(n+1)<\phi(n+2)$$where \( \phi \) represents the totient function. In the case of 315 we have:$$ \begin{align} &\phi(313)>\phi(314)>\phi(315) < \phi(316)<\phi(317) \\ &312 >156>144<156<316 \end{align}$$where it can be seen that 313 and 317 are prime numbers. So where else do these local rounded minima occur in the range from 3 up to 40000? It turns out that there are 238 such minima with 315 being the first (permalink).

315, 525, 735, 1155, 1365, 1575, 1755, 1785, 1815, 1995, 2145, 2415, 2475, 2805, 3045, 3315, 3465, 3885, 4095, 4125, 4305, 4515, 4725, 4935, 5115, 5145, 5355, 5775, 6045, 6195, 6405, 6435, 6615, 6825, 7035, 7095, 7245, 7395, 7455, 7605, 7665, 8085, 8265, 8505, 8715, 8745, 8925, 9135, 9345, 9405, 9555, 9735, 9765, 9975, 10185, 10395, 10455, 10545, 10815, 10965, 11055, 11235, 11385, 11445, 11655, 11865, 12075, 12285, 12495, 12675, 12705, 12915, 13125, 13335, 13545, 13695, 13965, 14025, 14175, 14355, 14385, 14595, 14805, 14835, 15015, 15045, 15225, 15405, 15435, 15645, 15675, 15855, 16005, 16065, 16275, 16335, 16485, 16695, 16905, 17085, 17325, 17355, 17745, 17955, 18135, 18165, 18375, 18585, 18645, 18795, 18975, 19215, 19425, 19635, 19665, 20055, 20265, 20295, 20475, 20625, 20685, 20865, 20895, 21105, 21255, 21315, 21525, 21945, 22365, 22425, 22575, 22605, 22785, 22995, 23205, 23265, 23415, 23595, 23625, 23655, 23835, 23985, 24225, 24255, 24675, 24885, 24915, 25095, 25245, 25305, 25515, 25575, 25725, 25905, 25935, 26145, 26325, 26565, 26775, 26985, 27027, 27195, 27615, 27825, 27885, 28035, 28215, 28245, 28275, 28455, 28665, 28815, 28875, 29055, 29295, 29505, 29865, 29925, 30195, 30345, 30555, 30723, 30765, 30975, 31185, 31365, 31395, 31605, 31815, 32025, 32175, 32235, 32445, 32655, 32835, 32895, 33033, 33075, 33345, 33495, 33705, 33735, 33915, 34125, 34155, 34335, 34485, 34515, 34545, 34755, 34965, 35175, 35385, 35805, 36225, 36435, 36465, 36645, 36795, 36855, 37065, 37275, 37455, 37485, 37695, 37905, 38115, 38535, 38745, 38775, 38955, 39165, 39195, 39375, 39435, 39585, 39765, 39795

These numbers constitute 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).

There are no rounded local maxima in the range up to one million.

Do we find these types of rounded local minima for other functions like the sigma function? 

We do indeed, although in the case of the sigma function there are only two numbers in the range up to 40000 and they are 17254 and 27754 (the first two members of the sequence OEIS A076774: permalink). 

However, rounded local maxima are far more common in the sigma function. In the range up to 40000, there are 267 numbers and they are (permalink):

315, 405, 525, 693, 765, 945, 1125, 1155, 1395, 1575, 1755, 1785, 1845, 1995, 2205, 2475, 2565, 2805, 2835, 3003, 3045, 3285, 3315, 3465, 3645, 3675, 3885, 4095, 4125, 4275, 4347, 4455, 4515, 4725, 4995, 5115, 5355, 5445, 5733, 5775, 5805, 6045, 6195, 6237, 6405, 6435, 6615, 6825, 6885, 7035, 7155, 7245, 7605, 7875, 7995, 8085, 8325, 8415, 8505, 8715, 8775, 8925, 9075, 9135, 9315, 9405, 9555, 9675, 9765, 9975, 10125, 10395, 10773, 11205, 11235, 11385, 11445, 11475, 11655, 12045, 12075, 12285, 12555, 12675, 12705, 12915, 13005, 13125, 13275, 13365, 13545, 13725, 13923, 13965, 14025, 14175, 14355, 14595, 14685, 14805, 15015, 15075, 15435, 15525, 15645, 15675, 15795, 16005, 16065, 16245, 16275, 16335, 16443, 16695, 16875, 16905, 16965, 17325, 17595, 17685, 17745, 17955, 18135, 18315, 18375, 18585, 18765, 18795, 19005, 19035, 19215, 19305, 19575, 19635, 19845, 20475, 20685, 20925, 21105, 21285, 21315, 21483, 21525, 21675, 21945, 22005, 22155, 22275, 22365, 22605, 22869, 22995, 23085, 23205, 23355, 23595, 23625, 23835, 23925, 24045, 24255, 24453, 24525, 24675, 24885, 24915, 25155, 25245, 25515, 25725, 25875, 25935, 26325, 26505, 26565, 26775, 27027, 27195, 27225, 27405, 27531, 27885, 28035, 28125, 28215, 28245, 28275, 28413, 28485, 28665, 28875, 28917, 29295, 29325, 29475, 29835, 29925, 30135, 30195, 30345, 30555, 30723, 30765, 31005, 31185, 31365, 31395, 31515, 31605, 31815, 32025, 32175, 32235, 32445, 32805, 32835, 33075, 33165, 33285, 33345, 33495, 33915, 34125, 34155, 34485, 34515, 34755, 34875, 34965, 35175, 35235, 35325, 35595, 35805, 35955, 36045, 36075, 36135, 36225, 36435, 36645, 36675, 36795, 36855, 37107, 37125, 37275, 37395, 37485, 37845, 38115, 38205, 38475, 38493, 38745, 38955, 39015, 39123, 39165, 39195, 39375, 39435, 39525, 39585, 39627, 39765, 39795

Let's take 405 as an example. It's position at the apex of a rounded local maximum is shown in Figure 3.


Figure 3: permalink

The above numbers constitute OEIS A323380:


A323380
   Odd n such that sigma(n) > sigma(n+1) and sigma(n) > sigma(n-1), sigma = A000203.


Overall, these variations on the UP-DOWN or DOWN-UP alternation are an interesting topic to investigate and one that I'd not considered before. 

Thursday, 9 January 2025

Aliquant Parts

I came across a mathematical term today that I hadn't heard of before. The term is "aliquant" defined as follows by contrasting it to similar sounding "aliquot" (source):

Webster defines 'aliquot' as something that contained an exact number of times in something else or to divide into equal parts.

Notice the word "equal". An example being 5 is an aliquot part of 15.

The term 'aliquant', however, is slightly different. Defined as being a part of a number or quantity, but not dividing it without leaving a remainder. An example being 5 is an aliquant part of 16. 

The term occurred in the following context:


 
A098743: number of partitions of \(n\) into aliquant parts (i.e., parts that do not divide \(n\)). 

The initial members of the sequence are:

1, 0, 0, 0, 0, 1, 0, 3, 1, 3, 3, 13, 1, 23, 10, 11, 9, 65, 8, 104, 14, 56, 66, 252, 10, 245, 147, 206, 77, 846, 35, 1237, 166, 649, 634, 1078, 60, 3659, 1244, 1850, 236, 7244, 299, 10086, 1228, 1858, 4421, 19195, 243, 17660, 3244, 12268, 4039, 48341, 1819, 27675

The last member shown above, 27675, is my diurnal age today and corresponds to \(n=55\). To find the aliquant parts, simply remove the divisors of the number. For example, 55 has divisors of 1, 5, 11 and 55 and so the number of aliquant parts is 51. The list is as follows:

2, 3, 4, 6, 7, 8, 9, 10, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54

Note that these are different to the numbers that contribute to the total of the totient of a number, where the numbers are coprime. The totient for 55 is 40, made up of the following numbers.

1, 2, 3, 4, 6, 7, 8, 9, 12, 13, 14, 16, 17, 18, 19, 21, 23, 24, 26, 27, 28, 29, 31, 32, 34, 36, 37, 38, 39, 41, 42, 43, 46, 47, 48, 49, 51, 52, 53, 54

Saturday, 16 November 2024

An Interesting Intersection

I've never encountered an intersection of the arithmetic derivative and the totient function before until looking at one of the properties associated with the number 27620, my diurnal age yesterday. This number has an interesting property that qualifies it for membership in OEIS A352332:


A352332
: numbers \(k\) for which \(k = \phi(k') + \phi(k'') \), where \( \phi \) is the Euler totient function (A000010), \(k'\) is the arithmetic derivative of \(k\) (A003415) and \(k''\) is the second arithmetic derivative of \(k\) (A068346).

Let's look at 27620 and its arithmetic derivatives (denoted by ' and '') and their totients (denoted by \( \phi \) ). Firstly:$$ \begin{align} 27620 &= 2^2 \times 5 \times 1381\\  (27620)' &=33164 \\(27620)'' &= (33164)'\\ &=33168 \\ \phi(33164) &= 16580 \\ \phi(33168) &= 11040 \\ 27620 &= 16580 + 11040 \end{align} $$Up to 40000, the members of this sequence are 4, 260, 294, 740, 1460, 3140, 3860, 5540, 8420, 10820, 15140, 19940, 21860, 24020, 24260, 27620 and 37460 (permalink). Clearly, numbers satisfying these criteria are few and far between.

This got me thinking about whether there were any numbers that satisfied the criterion that they were simply the sum of their first and second arithmetic derivatives, ignoring the totient function. There are only three numbers in the range up to 100,000 that satisfy. They are 6, 42, 15590 and 47058. Here is the breakdown:$$ \begin{align} 6 &= 5 + 1\\42 &= 41 + 1\\15590 &= 10923 + 466\\47058 &= 47057 + 1 \end{align}$$It can be noted that in all but 15590, the first derivative yields a prime and thus the second derivative is 1.

What if, instead of the totient, we use the sum of the divisors (\(\sigma\)) of the number? In the range up to 100,000, no numbers satisfy but if we use the sum of the PROPER divisors, then a single number qualifies and that is 50 (permalink). Let's look more closely:$$ \begin{align} 50 &= 2 \times 5^2 \\ (50)' &= 45 \\ \sigma(45) -45&= 78 - 45 \\ &=33\\(50)'' &=(45)'\\ &=39\\ \sigma(39)-39 &= 56-39\\ &= 17 \\50 &= 33 +17 \end{align} $$It should be noted that numbers like 50, 15590 and 27620 with the specific properties that have been mentioned in this post retain these properties in bases other than 10. In other words, the properties are base independent.

Sunday, 29 September 2024

Properties of Concatenated Numbers

Let's split a number in two parts and then consider the relationship that these two parts bear to the number of which both are a part. Now I've done this before as described in a post titled Energetic Numbers. In THAT post, I looked at numbers that belong to OEIS  A055480:


 A055480

Energetic numbers: numbers that can be broken into two or more substrings and expressed as a sum of (possibly different) positive powers of those substrings.

In THIS post I'll be looking at two different types of relationships. Let's consider 27573 and break it into two parts: 275 and 73. It turns out that my diurnal age today (27573) has an interesting property and it involves the totient function, commonly referred to as Euler's phi function or simply the phi function. We find that:$$ \begin{align}  \phi(27573) &= 1440 \\ \phi(275) \times \phi(73) &= 200 \times 72\\ &=1440 \end{align} $$Numbers like this belong to OEIS A147619 :


 A147619             Numbers \(n\)  = \(a \,| \, b\) such that \( \phi(n) = \phi(a) \times \phi(b) \)
                                where the symbol | represents concatenation


The initial members of this sequence are:

78, 780, 897, 918, 1179, 1365, 1776, 2574, 2598, 2967, 3168, 3762, 4758, 5775, 5796, 7800, 7875, 7917, 8217, 8970, 9180, 9576, 11790, 13650, 13662, 13875, 13896, 14391, 17760, 18564, 18858, 19812, 20097, 25740, 25935, 25974, 25980, 27573, 28776, 28779, 29670, 31680, 33165, 35919, 37620

Let's look at the breakdown for the numbers between 27573 and 37620:
  • 275 | 73  -->  27573

  •  287 | 76  -->  28776

  •  287 |  79  -->  28779

  •  29 | 670  -->   29670

  •  31 | 680  -->   31680

  •  331 | 65  -->   33165

  •  35 | 919  -->   35919

  •  37 | 620  -->   37620

A similar thing can be done with the sigma function that tallies the sum of the divisors of a number. Once again we break the number into two parts and then use the sigma function to connect those two parts to the whole. There is no OEIS function this time around but the property of the numbers being considered is as follows:


 Numbers \(n\)  = \(a \,| \, b\) such that \( \sigma(n) = \sigma(a) \times \sigma(b) \)
where the symbol | represent concatenation


The 78 numbers satisfying this condition between 27000 and 40000 are (permalink):

27175, 27298, 27418, 27445, 27500, 28018, 28195, 28750, 28798, 28978, 29038, 29058, 29098, 29278, 29395, 29398, 29500, 29875, 29875, 29950, 29950, 29980, 30498, 30775, 30788, 30989, 31750, 31795, 31918, 32595, 33175, 33238, 33298, 33725, 34189, 34555, 34557, 34795, 34975, 35338, 35395, 35578, 35585, 35670, 35818, 35975, 36178, 36238, 36350, 36398, 36426, 36775, 37138, 37241, 37678, 37750, 37798, 38247, 38370, 38518, 38570, 38638, 38750, 38826, 38856, 38877, 38940, 38975, 39118, 39425, 39478, 39500, 39754, 39805, 39898, 39976, 39980, 39992

Table 1 shows the breakdown for numbers between 27000 and 30000:


Table 1

Let's look at the first number 27175 where we break the number into 271 and 75 and we have:$$ \begin{align} \sigma(27175) &= 33728\\ \sigma(271) \times \sigma(75) &= 272 \times 124\\ &= 33728 \end{align}$$There are other possible concatenations involving more than two parts or other functions and properties of numbers so this post is merely a sample.

Thursday, 26 September 2024

Digit Permutations of Numbers


I've written about permutations of the digits of a number in many posts. For example, in my recent post titled
Determinants of Circulant Matrices (11th of August 2024) I looked at circulant matrices that have determinants with digits that are permutations of the number's digits. In this current post, I'll be looking at some new types, specifically where the digits of the number are equal to:

  • a permutation of the digits of the aliquot sum of the divisors of the number
  • a permutation of the digits of the sum of the divisors of the number
  • a permutation of the digits of the totient of the number

SUM OF PROPER DIVISORS

There are 37 numbers in the range up to 40,000 that have the same digits as the sum of their proper divisors. These numbers are listed below together with the permutation. Notice that perfect numbers remain unchanged. Permalink.

(6, 6), (28, 28), (411, 141), (496, 496), (604, 460), (1305, 1035), (3664, 3466), (4086, 4806), (4672, 4726), (4896, 9846), (5046, 5406), (7785, 5787), (8128, 8128), (8739, 3897), (9331, 1933), (14535, 13545), (16012, 12016), (18342, 21438), (18585, 18855), (19648, 19468), (20634, 23046), (21534, 23154), (21628, 16228), (22365, 22563), (25911, 11529), (27568, 25876), (28108, 21088), (29160, 69210), (29188, 21898), (31185, 38511), (32091, 13029), (32271, 12273), (34956, 53496), (35898, 38598), (35925, 23595), (36172, 27136), (37698, 39678)

These numbers constitute OEIS A085844 and they are:

6, 28, 411, 496, 604, 1305, 3664, 4086, 4672, 4896, 5046, 7785, 8128, 8739, 9331, 14535, 16012, 18342, 18585, 19648, 20634, 21534, 21628, 22365, 25911, 27568, 28108, 29160, 29188, 31185, 32091, 32271, 34956, 35898, 35925, 36172, 37698

SUM OF DIVISORS

There are 45 numbers in the range up to 40,000 that have the same digits as the sum of their divisors including the number itself this time. These numbers are listed below together with the permutations. Permalink.

(1, 1), (69, 96), (258, 528), (270, 720), (276, 672), (609, 960), (639, 936), (2391, 3192), (2556, 6552), (2931, 3912), (3409, 3904), (3678, 7368), (3679, 3976), (4291, 4912), (5092, 9520), (6937, 7936), (8251, 8512), (10231, 11032), (12087, 18720), (12931, 13192), (15480, 51480), (16387, 18736), (20850, 52080), (22644, 62244), (22893, 32928), (24369, 32496), (26145, 52416), (26442, 62244), (27846, 78624), (28764, 78624), (29880, 98280), (29958, 59928), (30823, 33208), (31812, 81312), (32658, 65328), (34207, 34720), (34758, 75348), (34909, 39904), (36045, 65340), (36249, 49632), (36729, 67392), (36978, 73968), (36990, 99360), (38491, 39184), (38538, 83538)

These numbers constitute OEIS A115920 and they are:

1, 69, 258, 270, 276, 609, 639, 2391, 2556, 2931, 3409, 3678, 3679, 4291, 5092, 6937, 8251, 10231, 12087, 12931, 15480, 16387, 20850, 22644, 22893, 24369, 26145, 26442, 27846, 28764, 29880, 29958, 30823, 31812, 32658, 34207, 34758, 34909, 36045, 36249, 36729, 36978, 36990, 38491, 38538

TOTIENT

There are 36 numbers in the range up to 40,000 that have the same digits as their totients. These numbers are listed below together with the permutations. Permalink.

(1, 1), (21, 12), (63, 36), (291, 192), (502, 250), (2518, 1258), (2817, 1872), (2991, 1992), (4435, 3544), (5229, 2952), (5367, 3576), (5637, 3756), (6102, 2016), (6174, 1764), (6543, 4356), (6822, 2268), (7236, 2376), (7422, 2472), (8022, 2280), (8541, 5184), (8982, 2988), (17631, 11736), (18231, 11832), (18261, 12168), (20301, 13200), (20518, 10258), (20617, 20176), (21058, 10528), (22471, 21472), (22851, 15228), (25196, 12596), (25918, 12958), (27615, 12576), (29817, 19872), (34816, 16384), (35683, 33568)

These numbers constitute OEIS A115921 and all except 1 are deficient. They are:

1, 21, 63, 291, 502, 2518, 2817, 2991, 4435, 5229, 5367, 5637, 6102, 6174, 6543, 6822, 7236, 7422, 8022, 8541, 8982, 17631, 18231, 18261, 20301, 20518, 20617, 21058, 22471, 22851, 25196, 25918, 27615, 29817, 34816, 35683

Monday, 23 September 2024

More Numbers Within Numbers


In 
December of 2022, I made a post titled Numbers Within Numbers and so for this post I've made the title More Numbers Within Numbers but the types of numbers considered in the former post are quite different to the ones I'll be considering in this post. The idea for this post came from a peculiarity in the number associated with my diurnal age today: 27567.

What I mean by a number within a number in this present context is simply a substring of the number viewed as a string. Here the substring being considered is "27" that is contained within the larger string "27567". Thus we see that:$$ {\Large \textbf{27} 567}$$Now let's consider the sum of digits of the number:$${\Large \textbf{27} 567 \rightarrow  2 + 7 + 5 + 6+7= \textbf{27}}$$Let's move on to the factorisation where we have:$${\Large \textbf{27} 567= \textbf{27} \times 1021}$$Now what about the totient? We find that 27567 has a totient of 18360 and$$ {\Large 18360 = 5 \times 8 \times 17 \times \textbf{27}} $$Lastly, let's find the absolute value of the determinant of the circulant matrix of 27567. It turns out to be 6777 and$$  {\Large 6777  = \textbf{27} \times 251}  $$Thus in the case of 27567, the number within a number (27) turns up:

  • in the digits of the number
  • as the sum of the digits of the number
  • in the factors of the number
  • in the factors of the totient
  • in the factors of the determinant of the circulant matrix
It can be noted that 27567 is a Harshad number since it is a multiple of its sum of digits (27), and also a Moran number because the ratio is a prime number: 1021 = 27567 / (2 + 7 + 5 + 6 + 7).

The natural question to ask then is how many numbers in the range up to 40000 have this property? It turns out that there are only 18 such numbers with details as shown in Table 1.


Table 1: permalink

So what about other numbers? Let's start with a substring "1". There are five numbers satisfying the previous criteria in the range up to 40000. See Table 2.


Table 2: permalink

For substring "2", there are four numbers satisfying the criteria. See Table 3.


Table 3: permalink

For the substring "3", there are no numbers that meet the criteria. For the substring "4", there are appropriately four numbers that satisfy. See Table 4.


Table 4: permalink

For the substring "5", there are three numbers that meet the criteria. See Table 5.


Table 5: permalink

For substrings "6" and "7", no numbers qualify but for the substring "8" there are three numbers that do. See Table 6.


Table 6: permalink

There are no numbers that satisfy for "9" but there are 23 numbers that satisfy for "10". See Table 7.


Table 7: permalink

For "11", no numbers that satisfy but for "12" there are 39 numbers that satisfy. See Table 8.


Table 8: permalink

For "13", there are two numbers that satisfy. See Table 9.


Table 9: permalink

For "14", there are three numbers that satisfy. See Table 10.


Table 10: permalink

For "15", there are 26 numbers that satisfy. See Table 11.


Table 11: permalink

For "16", there are 14 numbers that satisfy. See Table 12.


Table 12: permalink

For "17", there is only one number. See Table 13.


Table 13: permalink

For "18", there is a grand total of 69 numbers that qualify. See Table 14.


Table 14: permalink

For "19", there are no numbers that qualify but for "20" there are four. See Table 15.


Table 15: permalink

For "21", there are three numbers that qualify. See Table 16.


Table 16: permalink

For "22", there are two numbers that satisfy. See Table 17.


Table 17: permalink

For "23", there is only one number that satisfies. See Table 18.


Table 18: permalink

For "24", there are nine numbers that satisfy. See Table 19.


Table 19: permalink

For "25", there are four numbers that satisfy. See Table 20.


Table 20: permalink

For "26", there are no numbers that qualify and we've already dealt with "27". For "28", there is only one number that satisfies. See Table 21.


Table 21: permalink

That's it for particles in the range up to 40,000 as the SOD criterion makes it difficult  for the digit sum to reach these higher particles. Just to illustrate with an example. Take the particle "29". If we extend the range to one million, then instead of the zero for the range up to 40,000, we have nine numbers that satisfy the criteria. See Table 21.


Table 21: permalink

So, an interesting exercise but purely confined to the realm of recreational Mathematics. There no real reason to conflate the digit sum of a number with its factors as well as its totient and the determinant of its circulant matrix.