The Abundancy Index and Feebly Amicable Numbers
Abstract
This research explores the sum of divisors - - and the abundancy index given by the function . We give a generalization of amicable pairs - feebly amicable pairs (also known as harmonious pairs), that is such that . We first give some groundwork in introductory number theory, then the goal of the paper is to determine if all numbers are feebly amicable with at least one other number by using known results about the abundancy index. We establish that not all numbers are feebly amicable with at least one other number. We generate data using the R programming language and give some questions and conjectures.
Keywords Abundancy index, amicable numbers, feebly amicable numbers, harmonious numbers, sum of divisors
2010 MSC Classification: 11A99
1 Introduction
The sum of divisor function, , for a positive integer , is the sum of all the positive divisors including itself. Looking at the ratio of the sum of divisor function and the number itself, , or the abundancy index, we look into its relation to concepts such as perfect numbers, abundant numbers, deficient numbers, and amicable numbers. Through understanding these relations, we will define the concept of feebly amicable numbers also known as harmonious numbers in [1]. This is a generalization of an amicable number with weakened conditions so that the sum of divisors of the two do not need to be equal.
Formally, these are two numbers and such that . Examples of the first twenty feebly amicable pairs are given for illustration of this concept.
We use the R programming language to produce some abundancy indices and then a list of feebly amicable numbers. This data allows us to ask some questions about feebly amicable numbers that are unknown about amicable numbers.
Our main new results are Theorem 8.1 and Corollary 8.2 which give conditions for when a number can be feebly amicable with another and consequently amicable. The final section has some questions and conjectures that might be of interest to the reader or for future work.
2 History
The implications of this research are derived from the historical mathematical workings of famous figures, most notably Euclid, Euler, and Mersenne. Euclid further advanced our understanding of prime numbers by providing the Euclidean algorithm and showing that there are infinitely many prime numbers. Euclid also completed one of the only proofs involving perfect numbers: if is prime, then is perfect. Euler continued the idea of perfect numbers by proving that every even perfect number can be expressed in Euclid’s form. This research also makes use of Marin Mersenne’s work on primes, and a Mersenne prime is of the form . [2]
3 Preliminary Definitions
We give some some preliminary definitions that we will rely upon throughout. We are working here with the positive integers (natural numbers). It should also be noted that it is possible to extend all this theory to the negative integers.
Firstly, a divisor is a number that divides into another number without a remainder.Then, a prime is a number that has only the divisors and itself. Particular prime numbers used in this paper are Mersenne primes which are prime numbers of the form , where is also prime.
Given a natural number , we can define the canonical representation of to be where the are the distinct prime divisors of and their multiplicities.
Two number are coprime (alternatively relatively prime) if they share only as a divisor.
Then and importantly to this paper, the sum of divisor function for a positive integer is defined as the sum of all its divisors (including itself).
From this, we can categorize natural numbers according to:
-
•
is called perfect if .
-
•
is called abundant if .
-
•
is called deficient if .
This paper generalizes the definition of amicable numbers. To be precise, amicable numbers are two numbers related in such a way that the sum of the proper divisors of each are equal and also equal to the sum of the numbers. That is, , are amicable if .
Part of this paper is an investigation of the abundancy index of a number. It is defined by and, in some sense, measures how divisible a number is.
Multiply-perfect numbers are numbers such that their abundancy index is an integer. Note that perfect numbers by definition have abundancy index .
Finally, two numbers in are friendly if they have the same abundancy index. That is, . More generally, friendly numbers form friendly clubs if they all have the same abundancy index.
4 Preliminary Results
We now present some preliminary results that give some illustration of the theory and that will be used throughout the rest of the paper. Good references for these and more foundational theory are [3] and [4]. However, there are many good texts on introductory number theory.
Proposition 4.1.
If , are distinct primes then . That is, the multiplicative property can be applied where when .
Proof.
First let and be primes, then:
∎
The above Proposition 4.1 yields the multiplicative property of the sum of divisors function. That is, if and are coprime, then .
This leads to the following which is Theorem 2.24 of [3]:
Theorem 4.2.
If where for each is the canonical representation of , then
.
Proof.
We first establish that:
This follows as:
Then by applying Proposition 4.1 inductively, the result follows. ∎
We make here a number of remarks regarding values of the abundancy index and how it relates to perfect, abundant, deficient, and friendly numbers.
Remark 1.
The codomain of the abundancy index, , is .
We will see later that this codomain is not in fact the range, that is, there are values in that are not abundnacy indices.
Remark 2.
When , then is perfect. When , then is deficient. And when , then is abundant. Additionally, all perfect numbers in this case are friendly to one another. That is ; .
We give a proof of the Euclid-Euler Theorem to illustrate the theory:
Theorem 4.3.
An even number is perfect if and only if it has the form , where is prime.
Proof.
Let be prime. Then, by the multiplicative property, the sum of divisors of is equal to
Hence, since the sum of the divisors of is twice itself, is perfect.
For the converse, let be an even perfect number, where is odd. For to be a perfect number, the sum of its divisors must be twice its value. So,
by the multiplicative property of .
The factor must divide . So is a divisor of . Now,
where is the sum of the other divisors. Thus, for this equality to be true, there must be no other divisors, so must be 0. Hence, must be 1, and must be a prime of the form . Therefore, an even number is perfect if and only if it has the form , where is prime. ∎
We also give the following proposition that we will utilize later on:
Proposition 4.4.
If is prime, then if and only if .
Proof.
We first show that if is prime and , then . So we have for some where does not divide and . Then suppose for contradiction that .
Then , but also, . By the multiplicative property of and Theorem 4.2, . So, .
We continue the calculation with .
Hence, , which gives, , and finally, .
Because and we must have that . So, by contradiction, .
For the converse if , then if is prime, as we must have:
.
∎
5 R code
In order to explore the values of both the sum of divisors function and the abundancy index, we used some code in the R programming language [5] to generate the first 100,000 values of the sum of divisor function and abundancy indices. The following is some code that describes the algorithm:
sod <- function(x) %This defines the sum of divisors function% {s<-0 for(i in 1:x){if(x%%i==0){s<-s+i}} %This loops through the values 1 through x to see which are factors and adds them to the sum if they are% return(s)} sigma<-c(1:100000) %This defines a vector of length 100,000% for(i in 1:100000){sigma[i]<-sod(i)} %This gives a vector of the first 100,000 values of the sum of divisors% abun<-c(1:100000) %This again defines a vector of length 100,000% for(i in 1:100000){abun[i]<-sigma[i]/i} %This gives a vector of the first 100,000 values of the abundancy index%
Figure 1 shows a histogram to reflect the data.
By our code we calculated the fraction of abundant numbers in the first numbers to be . This is not within the range given by [6], but it is close. In that paper, they compute that is such that
Here is the number of abundant numbers less than .
We suggest that computing larger numbers of abundancy indices would give an estimate within the proven bounds. In any case, the histogram illustrates how there are roughly three times more deficient numbers than abundant numbers.
6 Range of the Abundancy Index
From our data, does not appear as an abundancy index of any less than . First, we prove that does not appear for any natural number, and then, we show a generalization for finding more numbers not in the range.
Lemma 6.1.
for any natural number .
Proof.
Suppose to the contrary. So and for some . Thus, for some nonnegative integer and odd integer . So then , which by the multiplicative property of , .
This leads to:
Therefore, . ∎
This can be generalized to Theorem 1 from [7]:
Theorem 6.2.
If is coprime to , and , then is not the abundancy index of any integer.
Proof.
Assume . Then , so , hence because . But because implies , with equality only if , , contradicting the assumption . ∎
We can see that not all rational numbers greater than are in the range, but we ask the question: is the range dense in rationals greater than 1? Recall that if , we say that is dense in if for any two numbers in there exists an element of in between them.
Theorem 6.3.
(Theorem 5 in [8]) The set is dense in .
We give the proofs from [7] of the following results for exposition:
Lemma 6.4.
Let be a positive integer. If is prime with , then among any consecutive integers, there is at least one integer coprime with .
Proof.
Let be any set of consecutive integers. If there is at most one multiple of in . But contains at least two integers coprime with , one of which is coprime with and, therefore, also . ∎
Theorem 6.5.
(Theorem 2 in [7]) The complement of in is dense in .
Proof.
Choose any real , and any . We will exhibit a rational in the interval , and that is not an abundancy ratio. By Theorem 6.3, choose so that the abundancy index is in the interval . For every prime , we have:
.
If we also require , then , we have:
.
By the Lemma 6.4, we know that is coprime with for some with . For such , we also have:
because . Therefore, by Theorem 6.2, is not an abundancy index. So, then:
.
If , we have , thus . All the inequalities are satisfied if , and so:
.
This gives, that is not an abundancy index, within of . ∎
7 Feebly Amicable Numbers
We now proceed to generalize the definition of amicable numbers. We do so by recognizing the following result:
Proposition 7.1.
If two numbers , are amicable, then .
Proof.
Let and be amicable numbers. Then and so hence .
Thus, if and are amicable numbers, then . ∎
This allows us to formulate the following definition:
Feebly amicable numbers are pairs , such that
Alternatively, we can define in terms of the abundancy index :
In words, two numbers are feebly amicable if the reciprocals of their abundancy indices sum to 1. Note that feebly amicable pairs are referred to as harmonious pairs in [1].
Remark 3.
We note that pairs of perfect numbers are not amicable (no two perfect numbers have the same sum of divisors). However, they are feebly amicable, and the Venn diagram in Figure 2 illustrates the containment shown in Proposition 7.1.
We also note that amicable pairs have been extended to amicable triples which are three numbers , , and such that , and therefore the following is true as well: .
If amicable pairs and triples have been defined such as they have been above, then amicable k-tuples are numbers such that
Given these definitions we can also generalize to feebly amicable triples. These are three numbers , , and such that
and feebly amicable k-tuples as numbers such that
Remark 4.
All members of a friendly club have the same abundancy index. It is possible to talk of feebly amicable clubs. As if are feebly amicable then are feebly amicable for any in the same friendly club as .
8 New Results
We now ask the following question: are all integers feebly amicable with some other integer? To see that this is not true, we establish the following:
Theorem 8.1.
Let and be such that is coprime with and . If some has abundancy index , then is not feebly amicable with any other integer.
Proof.
Suppose that . Since we already know , then we can substitute in and get:
.
.
However, there is no such abundancy index as , by Theorem 6.2. Thus, proving the theorem. ∎
To see that this is not vacuous note that we have seen that is not an abundancy index, yet the abundancy index of is known to be as it is a multiply perfect number of order 5. See OEIS A007539 [9].
A natural corollary of this theorem is the following:
Corollary 8.2.
If is coprime with , , and has abundancy index , then is not amicable with any other integer.
This follows directly from the fact that amicable pairs are feebly amicable pairs. Hence, in particular has no amicable pair.
Proposition 4.4 showed that the only number with abundancy index was where was prime. The question arises, is feebly amicable with any number? Naturally, such a number would need abundancy index . That is, -perfect. We state this as a result:
Proposition 8.3.
For prime, is feebly amicable with if and only if is -perfect.
It is unknown if there are any coprime amicable pairs [10]. Hence a natural question is whether there are any coprime feebly amicable pairs. The data reveals that there are none less than but that the first coprime feebly amicable pair is and . There are another four pairs before .
9 Examples
We now generate the first 20 feebly amicable pairs that are not amicable or pairs of perfect numbers. To do so, we implemented the following code:
for(i in 1:100000){for(j in 1:i){if(1/abun[i]+1/abun[j]==1){print(i) print(j)}}}
These pairs are consistent with those listed in [9] in A253534 and A253535.
12 | 4 |
---|---|
30 | 14 |
40 | 10 |
44 | 20 |
56 | 8 |
84 | 15 |
96 | 26 |
117 | 60 |
120 | 2 |
135 | 42 |
140 | 14 |
182 | 66 |
184 | 88 |
190 | 102 |
198 | 45 |
224 | 10 |
234 | 4 |
248 | 174 |
252 | 153 |
260 | 164 |
10 Questions and Conjectures
This section considers some questions and conjectures that we have encountered in the course of writing this paper.
Question 1 Are there infinitely many coprime feebly amicable pairs?
Given the regularity of coprime pairs of feebly amicable pairs, we conjecture that there are an infinite number.
In [11], Paul Erdős proved that the asymptotic density of amicable integers relative to the positive integers was . That is, the ratio of the number of amicable numbers less than with tends to zero as tends to infinity. This gives rise to the question:
Question 2 What is the density of feebly amicable numbers relative to the positive integers?
Given the number of feebly amicable numbers in the first integers is , then in the next , and in the third , it appears that the density is decreasing and so the asymptotic density is at least less than . Indeed, [1] gives an upper bound and confirms that the asymptotic density is .
The sum of amicable numbers conjecture [12] states that as the largest number in an amicable pair approaches infinity, the percentage of the sums of the amicable pairs divisible by ten approaches . We therefore ask the question:
Question 3 As the larger number in a feebly amicable pair approaches infinity, does the percentage of the sums of the pairs divisible by ten approach ?
Our data tells us that in the first numbers there are 11 feebly amicable pairs that sum to a multiple of 10. There are then 8 in the next and 4 between and . As a sequence of fractions of the number of feebly amicable pairs this is: . This does not give us any noticeable trend and once again much higher values would be required to make a strong conjecture other than to say it does not appear that the percentage tends towards 100 as in the amicable case. Computing further is certainly possible, but it becomes much more computationally expensive to compute sum of divisors and hence abundancy indices. [13] provides an algorithm to compute in time, but our code was much more crude.
References
- [1] Mark Kozek, Florian Luca, Paul Pollack, and Carl Pomerance. Harmonious pairs. International Journal of Number Theory, 11(05):1633–1651, 2015.
- [2] John Stillwell and J Stillwell. Mathematics and its History, volume 3. Springer, 1989.
- [3] Calvin T Long. Elementary introduction to number theory. Prentice Hall, 1987.
- [4] Underwood Dudley. Elementary number theory. Courier Corporation, 2012.
- [5] R Core Team. R: A Language and Environment for Statistical Computing. R Foundation for Statistical Computing, Vienna, Austria, 2017.
- [6] Mitsuo Kobayashi. On the density of abundant numbers. Dartmouth College, 2010.
- [7] Paul A Weiner. The abundancy ratio, a measure of perfection. Mathematics Magazine, 73(4):307–310, 2000.
- [8] Richard Laatsch. Measuring the abundancy of integers. Mathematics Magazine, 59(2):84–92, 1986.
- [9] OEIS Foundation Inc. (2021). The on-line encyclopedia of integer sequences. http://oeis.org/A007539.
- [10] M. García, J. M. Pedersen, H. J. J. Te Riele, Mariano García, Jan Munch Pedersen, and Herman Te Riele. Amicable pairs, a survey. 2003.
- [11] Paul Erdős. On amicable numbers. Publicationes Mathematicae Debrecen, 4:108–111, 1955.
- [12] Richard Guy. Unsolved problems in number theory, volume 1. Springer Science & Business Media, 2004.
- [13] Richard Sladkey. A successive approximation algorithm for computing the divisor summatory function, 2012.