Diophantine Equations Involving the Euler Totient Function
J.C. Saunders

TL;DR
This paper investigates Diophantine equations that involve the Euler totient function and various numerical sequences such as factorials, powers, and Fibonacci numbers, aiming to find solutions or establish properties.
Contribution
It introduces new results on the solvability and properties of Diophantine equations involving the Euler totient function and common sequences.
Findings
Identified specific solutions for certain equations.
Established new bounds and properties related to these equations.
Extended previous results to broader classes of sequences.
Abstract
We deal with various Diophantine equations involving the Euler totient function and various sequences of numbers, including factorials, powers, and Fibonacci sequences.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAnalytic Number Theory Research · Advanced Mathematical Theories and Applications · Advanced Mathematical Identities
Diophantine Equations Involving the Euler Totient Function111Research of J.C. Saunders was supported by an Azrieli International Postdoctoral Fellowship
J.C. Saunders
Department of Mathematics, Ben Gurion University of the Negev, Be’er Sheva, Israel 8410501
Abstract
We deal with various Diophantine equations involving the Euler totient function and various sequences of numbers, including factorials, powers, and Fibonacci sequences.
Keywords: Diophantine equations; Euler totient function; integer sequences; Fibonacci sequences
\marginsize
1in1in1in1in
1 Introduction
There has been much study on diophantine equations involving factorials and powers. Some examples of such equations are:
-
and [6].
-
, where satisfies a linear recurrence of order with constant coefficients [13].
-
, where is the Fibonacci sequence [4].
-
, where is the -bonacci sequence, given by for , , and for [3].
-
[5].
-
[8].
-
, where [2].
-
[10].
-
, where is the Lucas sequence [10].
For several of the equations above, it was proved that the number of solutions is at most finite, and in some cases that all solutions can be effectively found. Others, for example the equation , do have infinitely many solutions.
Our starting point in this paper is Luca and Stănică’s results [10]. It is natural to ask for which polynomials , the diophantine equation has only finitely many solutions. Here we answer this question when is a monomial, i.e., for some , , and explicitly give all of the solutions to this equation. We also generalise Luca and Stănică’s results to certain Lucas sequences of the first and second kinds, defined as follows.
Definition 1**.**
Let . A Lucas sequence of the first kind is defined by , , and for all . Likewise, define the sequence by , , and , which is a Lucas sequence of the second kind.
We prove that the Euler function, evaluated at the th term of Lucas sequences, where is prime, is a factorial only finitely often, and give bounds on such primes . Also, for three specific sequences, we give all of the solutions as to when the Euler function evaluated at the terms is of the form .
In Section , we state these results, and in Section give their proofs.
2 The Main Results
Our first two results involve factorials, monomials, and Euler’s totient function.
Theorem 1**.**
Fix with and . Then there are only finitely many solutions to , and these solutions satisfy . In particular, all of the integer solutions to , where , are , , , , , , , , and .
In the “other direction”, we can prove the following.
Theorem 2**.**
Fix with and . Then there are only finitely many solutions to , and these solutions satisfy . In particular, all of the integer solutions to , where and , are , , , , , , , and .
Remark 1**.**
While Theorem states that the equation has only finitely many integer solutions for , Erdős [9, p. 144] observed that the equation does have many solutions when . Indeed, Ford, et al. [8] observed that there exists such that, for all sufficiently large , the number of solutions to is at least .
The remaining results generalise Luca’s and Stănică’s results [10].
Theorem 3**.**
Let with being prime and . Let be a Lucas sequence of the first kind. Then there are at most finitely many primes for which is a factorial. Moreover, such primes are bounded above by
[TABLE]
The bounds in Theorem 3 approach as , and/or approach , but only grow polynomially fast in terms of , and .
For any specific values of and , finding all of the solutions to the equation , where is a Lucas sequence of the second kind, is non-trivial, since there are potentially infinitely many solutions. For three pairs of specific values of and , however, we prove that this equation only has finitely many solutions and explicitly list all of them.
Theorem 4**.**
*Let be a Lucas sequence of the second kind. The only solutions to are:
- For , :*
[TABLE]
2) For , :
[TABLE]
3) For :
[TABLE]
3 Proofs
Proposition 1**.**
Let with and and let be a prime such that . If , then . Conversely, if , , then and , or .
Proof.
Suppose . Then . Thus, , so that . Thus, so that .
Conversely, suppose and . We have so that . Since , we have . Thus, we must have that there exists a prime, say , such that and so that . Let be the greatest prime at most . Then so that . Then . Either or there exists a prime such that . Consider the latter case. Then we have and . Thus, so that . Hence, , and so . But then , contradicting our choice of . Thus, the former case must hold, and we have . Using the same reasoning, we can deduce that the highest prime dividing is . Observe that . We can therefore deduce that for all if and only if where are all the primes dividing that are greater than , and . Thus, for all if and only if . Observe that and that . Thus, must contain all of the positive multiples of up to . We must therefore have that for some , which can only hold if . So contains all of the positive even numbers less than and . Thus, , or . ∎
For the next proposition, we require the following definition.
Definition 2**.**
A number is a powerful number if does not have a prime factor to the power in its prime factorisation.
Proposition 2**.**
Let satisfy and suppose that and are both powerful numbers. Then .
Proof.
Let denote the largest prime factor dividing . For both powerful with implies that with their exponents in the factorisation of and being equal. The result then follows by induction on the number of prime factors of . ∎
Lemma 1**.**
If with , , and , then all of the primes in the interval are congruent to .
Proof.
Let be prime. By Proposition 1, we have . Thus, for some . Thus, . Notice that . We can therefore deduce that there exists a prime such that . Notice that , and so, by Proposition 1, . But since we must therefore have that . Since , we have . Thus, . ∎
We also have the following result of Rosser and Schoenfield [12, p. 72].
Lemma 2** (Rosser, Schoenfield).**
Let be the Euler-Mascheroni constant
[TABLE]
Then for all , we have
[TABLE]
except when , in which case
[TABLE]
We use the following notation for the number of primes up to in a congruence class in the proofs of Theorems 1 and 2:
Notation 1**.**
For two coprime positive integers and and positive real number , let denote the number of primes up to that are congruent to .
Proof of Theorem 1.
Suppose that where and . We divide into two cases.
Case 1**.**
**
Suppose that . Let be the largest prime at most . By Bertrand’s Postulate, and so . Also since . By Proposition 1, we can see that and so . But then so that , a contradiction.
Case 2**.**
**
Suppose that . Then, by Lemma 1, all of the primes in the interval are congruent to . Bennett, et al. [1] showed that for , we have
[TABLE]
Therefore, for , we have
[TABLE]
Thus, . Also, a quick check will confirm that for there eixsts a prime in the interval that is congruent to , contradicting all possibilities.
In both cases we have . Thus, by Lemma 2, there are only finitely many solutions to . We find all of these solutions in the case . We divide into several cases.
Case 1**.**
,
Since , both and are coprime to . Therefore, . Let be the largest prime at most . By Bertrand’s Postulate, and so . By Proposition 1, we can see that and so . But then , a contradiction.
Case 2**.**
, , , .
In these cases, and so all of the primes in the interval are congruent to . Thus, . Also, a quick check will confirm that for , and there exists a prime in the interval that is congruent to , contradicting all possibilities.
Case 3**.**
, .
By Proposition 1, . Suppose that . Then . Also, and is the only prime up to that is congruent to . Thus, or . But , a contradiction since is odd.
Case 4**.**
, .
All of these cases are exhausted in the same way as the case of , but with a possibly different prime replacing for each one to derive that if and , then the parity of and differ, contradicting the specific case being considered. For the cases the prime is , for cases , the prime is , for the case , the prime is , and for the case , the prime is .
Case 5**.**
, .
Proposition 2 gives the only solutions for these values of as stated in Theorem .
∎
Proof of Theorem 2.
Suppose that where and . Suppose that . Bennett, et al. [1] showed that for , we have
[TABLE]
We can therefore derive that there exists a prime that is congruent to . Then , and so since . Thus, . Since , we have . But then . Therefore, there exists a prime such that . Since , we have that , and so . Since , we therefore have that . But since , we have , a contradiction. In finding all of these solutions for , it is therefore only necessary, by sole computation, to verify that for all of the solutions are as stated in the theorem. ∎
Notation 2**.**
Lucas [lucas] proved that for any prime not dividing we have that there exists such that if and only if . Such a is called the index of appearance of . Denote the index of appearance of a prime by .
Lucas [lucas] also proved the following.
Lemma 3** (Lucas).**
If , then . Let be a prime other than with . If is a quadratic residue , then . If is not a quadratic residue , then . Let and . Then
[TABLE]
Proof of Theorem 3.
Let . Suppose that . Then so either or there exists a prime such that . In the former case, we thus have and so . Thus, assume the latter case. Since and is prime, we have by quadratic reciprocity that is a quadratic residue . By Lemma 3, we thus have that . We must have that and so . Thus, so that . By Lemma 3, we have
[TABLE]
Since , we have .
Now assume that and . Thus, . We can work out that and so . Thus,
[TABLE]
The right-hand side of the above inequality can be bounded with Lemma 2 and the result can be deduced. ∎
Note 1**.**
For the rest of the paper, let .
We now list some properties of the sequences and that are well-known. We use the following notation for the highest power of a prime dividing in stating these properties and in the proof of Proposition 3:
Notation 3**.**
Let denote the highest power of dividing .
For the 8 facts that follow is any natural number. Facts S.1 through S.5 can be found in [11]. S.6 and S.7 follows routinely from S.1 through S.5. S.8 follows routinely from the other facts together with Lemma from [14].
- S.1
where and 2. S.2
. 3. S.3
. In particular, . 4. S.4
. 5. S.5
Let be odd. Then . 6. S.6
Let and be odd. We have . 7. S.7
8. S.8
Let if or if . implies .
In the proof of Proposition 3 we use the following notation for the Legendre symbol:
Notation 4**.**
Let denote the Legendre symbol of with respect to the prime .
Proposition 3**.**
Let and be prime and let if or if . Suppose that for some and where and is odd. Then and at least one of the following conditions hold:
1)
2) is a power of
3) there exists a prime dividing and for all such primes , there exist primes such that for some for all with , but for all . Moreover, let be the smallest . Then .
Proof.
Let where is odd. First, we derive that . Suppose that . We can deduce by S.4 that . Hence, has a prime factor . Reducing S.3 modulo , we obtain . Since , we have . By Lemma 3, we thus have . Since , we have by S.2. Using S.3, we get . Thus, . By Lemma 3, we thus have . By S.5, . So and so for some integers . Since , . Thus, so that . Depending on the partity of , we have and so .
Now let where is not divisible by or . Assume that and . Notice that , which is even. Thus, by S.3 and S.4, we have that is also even. Thus, and so there exists a prime factor of such that . By S.7, . By S.2 and S.3, we have and . Also, by S.3, we have and so . Thus, . By S.2, we have . Modulo , we can derive that . Since , we have . By Lemma 3, we thus have and so . By S.5, we have . So and so for some nonnegative integers and . Since , . Thus, so that . But and so , which cannot happen. Thus, either or . Thus, if there is no prime greater than dividing , then or is a power of .
Assume that is a prime factor of . By S.5, has the same property that its Euler function is divisible only by primes which are at most . By Carmichael’s Theorem, there exists a prime dividing such that does not divide for all so that . By S.2, we have and so . Notice that since , we have by S.2. Also, notice that and so is odd. If , then by S.3, we have , which when reduced modulo , gives us . If , then and , a contradiction. Thus, . By Lemma 3, we have , therefore , which is a contradiction because . This shows that the only potential solutions when occur when is a power of . Assume now that . By Lemma 3, we have , which when reduced modulo gives us . If , then we obtain from which again we can deduce that by Lemma 3. Hence, , which is a contradiction for . Thus, we may assume that for all prime factors of . Thus, for each such , we have and . By Lemma 3, we have so that for some even integer . Suppose that . Then . By S.3, we have . From and , we can derive that or . Hence, and . Thus, , , and . But by S.2, we have , a contradiction. Hence, . Since is odd and not divisible by , we can deduce that is squarefree since its Euler function is divisible only by primes which are at most . Thus, we get that
[TABLE]
where for . We may assume that . By S.6, we have that
[TABLE]
We know that at least one of and is divisible by . Pick the value such that S.8 holds. Then by S.8, we have
[TABLE]
Also, we have and so the first inequality implies
[TABLE]
Thus, we have . Assume that . Then either or . Since , we can therefore derive that or . Since , we obtain
[TABLE]
If , then we have
[TABLE]
which implies that . On the other hand, if , we have
[TABLE]
which again implies that . Thus, we have our result. ∎
Proof of Theorem 4.
Let . Let . We have is prime. We can check that for the only solutions are as stated. Also, we can verify that and so is the highest power of that gives a solution. By Proposition 3, we may assume that has a prime factor among , and , but that this prime factor does not divide where with or and is prime. Suppose . We can verify that and so or . But then , a contradiction. Now suppose that . We can deduce that and so we have and so . We can verify that , but so that . But , a contradiction. Finally, assume that . We can deduce that and so we have and so . We can verify that . But and so again we get a contradiction. Thus, all of the solutions are as stated.
Let . We have is prime. We can check that for the only solutions are as stated. Also, we can verify that and so is the highest power of that gives a solution. By Proposition 3, we may assume that has a prime factor among , and , but that this prime factor does not divide where with or and is prime. Suppose . We can verify that . But implies , which cannot happen because . Now suppose that . We can deduce that and so we have and so . We can verify that , but so that . But , a contradiction. Next, assume that . We can deduce that and so we have and so . Suppose that . Then , which implies that , which is false. Thus, . But , a contradiction. If or we can deduce that and so we have , which is not possible since . If , then we can deduce that and so we have . Thus, , or . We therefore have six choices for : . But checking each of these, we deduce that , a contradiction. Thus, all of the solutions are as stated.
Let . We have is prime. We can check that for the only solutions are as stated. Also, we can verify that and so is the highest power of that gives a solution. By Proposition 3, we may assume that has a prime factor among , and , but that this prime factor does not divide where with or and is prime. Suppose . By a congruence argument, we can deduce that must be odd, contradicting or . Now suppose that . We can deduce that and so we have and so . We can verify that , but so that . But , a contradiction. Finally, assume that . We can deduce that and so we have , which is not possible since and so again we get a contradiction. Thus, all of the solutions are as stated. ∎
4 Acknowledgements
The author would like to thank Dr. Daniel Berend and Dr. Florian Luca for their suggestions with this paper and the Azrieli Foundation for the award of an Azrieli International Postdoctoral Fellowship, which made this research possible.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] Michael A. Bennett et al. Explicit bounds for primes in arithmetic progressions, 2018.
- 2[2] Daniel Berend and Jørgen Harmse. On polynomial-factorial diophantine equations. Transactions of the American Mathematical Society , 358:1741–1779, 2006.
- 3[3] Jhon J. Bravo and Florian Luca. Powers of two in generalized Fibonacci sequences. Revista Colombiana de Matemáticas , 46:67–79, 2012.
- 4[4] Yann Bugeaud et al. Fibonacci numbers at most one away from a perfect power. Elemente der Mathematik , 63:65–75, 2008.
- 5[5] Mohamed Taoufiq Damir et al. Members of Lucas sequences whose Euler function is a power of 2. Fibonacci Quarterly , 52:3–9, 2014.
- 6[6] P. Erdős and R. Obláth. Uber diophantische gleichungen der form n ! = x p ± y p 𝑛 plus-or-minus superscript 𝑥 𝑝 superscript 𝑦 𝑝 n!=x^{p}\pm y^{p} und n ! ± m ! = x p plus-or-minus 𝑛 𝑚 superscript 𝑥 𝑝 n!\pm m!=x^{p} . Acta Szeged , 8:241–255, 1937.
- 7[7] Kevin Ford. The distribution of totients. The Ramanujan Journal , 2:67–151, 1998.
- 8[8] Kevin Ford, Florian Luca, and Carl Pomerance. Common values of the arithmetic function ϕ italic-ϕ \phi and σ 𝜎 \sigma . Bulletin of the London Mathematical Society , 42:478–488, 2010.
