Abstract
Let \(\{U_n\}_{n \ge 0}\) and \(\{V_m\}_{m \ge 0}\) be two linear recurrence sequences. We establish an asymptotic formula for the number of integers c in the range \([-x, x]\) which can be represented as differences \( U_n - V_m\). In particular, the density of such integers is 0.
Similar content being viewed by others
1 Introduction
Pillai’s Conjecture [10] states that for any given positive integer c the Diophantine equation
has only finitely many positive integer solutions (a, b, n, m) with \(n,m\ge 2\). Pillai’s conjecture is a corollary of the abc conjecture. For \(c = 1\), it coincides with Catalan’s conjecture, which has been proved by Mihăilescu [8]. For all \(c > 1\), Pillai’s conjecture is still open.
For fixed integers a, b Pillai [10, 11] proved that for sufficiently large c there is at most one solution (n, m) with \(n, m \ge 2\) to Eq. (1). Pillai [9] also proved the following asymptotic result on the number of integers c in the range [1, x] which can be expressed in the form \(c = a^n - b^m\):
We denote by \({\mathbb {N}}\) the set of all non-negative integers.
In recent years, there have been several papers studying a generalised version of equation (1), that is
where \(\{U_n\}_{n \ge 0}\) and \(\{V_m\}_{m \ge 0}\) are linear recurrence sequences of integers.
For instance, in [6] the authors considered the case where \(\{U_n\}_{n \ge 0}\) are the Fibonacci numbers and \(\{V_m\}_{m \ge 0}\) are the powers of two. In [2] the authors considered the Tribonacci numbers and powers of two and in [4] the authors considered the Fibonacci numbers and the Tribonacci numbers. In each paper, the authors found all integers c having at least two different representations of the form \(c = U_n - V_m\) for the respective sequences.
Chim et al. [5] proved, that this is possible for general linear recurrence sequences (with a few subtle restrictions), i.e. there exists an effectively computable finite set \({\mathcal {C}}\) such that Eq. (3) has at least two distinct solutions (n, m) if and only if \(c \in {\mathcal {C}}\). This can be seen as the generalisation of Pillai’s result in [10, 11].
What has not been established properly yet, is for how many integers c there exists a solution to (3) at all. In other words, Pillai’s result (2) has not been extended yet. This is what we aim to do in this paper. In fact, we will find an asymptotic formula analogous to (2) for the number of integers \(c\in [-x,x]\) which can be represented as \(c=U_n-V_m\) for given linear recurrence sequences \(\{U_n\}_{n \ge 0}\) and \(\{V_m\}_{m \ge 0}\). Our proof is based on ideas from [5] and [12]Footnote 1 and in particular on lower bounds for linear forms in logarithms. A weaker version of this result has been proved by the third author in [12].
In order to state our result, we recall some definitions.
Let \(\{U_n\}_{n \ge 0}\) be a linear recurrence sequence of integers given by
for all \(n\ge 0\), for some given \(k\ge 1\), some given integers \(c_1,\ldots ,c_k\) with \(c_k\ne 0\) and some given integers \(U_0,\ldots ,U_{k-1}\). Then the characteristic polynomial of \(\{U_n\}_{n \ge 0}\) is defined by
where \(\alpha _1 ,\ldots ,\alpha _t\) are distinct complex numbers and \(\sigma _1,\ldots ,\sigma _t\) are positive integers whose sum is k. It is known that for any such sequence \(\{U_n\}_{n \ge 0}\) there exist poynomials \(a_1(X),\ldots ,a_t(X)\) with coefficients in \({\mathbb {Q}}(\alpha _1,\ldots ,\alpha _t)\) and degrees \(\deg a_i(X)\le \sigma _i -1\) for \(i=1,\ldots ,t\), such that the formula
holds for all \(n\ge 0\). We call \(\alpha =\alpha _1\) a dominant root, if \(|\alpha _1|>|\alpha _2|\ge \cdots \ge |\alpha _t|\) and \(a_1(X)\) is not the zero polynomial. In this case the sequence \(\{U_n\}_{n \ge 0}\) is said to satisfy the dominant root condition.
Now we state our main result.
Theorem 1
Let \(\{U_n\}_{n\ge 0}\) and \(\{V_m\}_{m\ge 0}\) be two linear recurrence sequences of integers satisfying the dominant root condition with dominant roots \(\alpha \) and \(\beta \) respectively. Suppose that \(|\alpha |>1\) and \(|\beta | >1\) and that \(\alpha \) and \(\beta \) are multiplicatively independent. Let
Then we have the asymptotic behaviour
More precisely, we have
for x large enough. The implied constants are effective.
Corollary 1
Assume the same conditions for \(\{U_n\}_{n \ge 0}\) and \(\{V_m\}_{m \ge 0}\) as in Theorem 1. Then the density of integers of the form \(U_n - V_m\) is 0.
Example 1
The Fibonacci Numbers \(\{F_n\}_{n \ge 0}\), defined by \(F_0 = 0\), \(F_1 = 1\) and \(F_{n+2} = F_n + F_{n+1}\) for \(n\ge 0\), have the dominant root \(\alpha = \frac{1+\sqrt{5}}{2}\). Therefore, by Theorem 1, the number of integers c in the range \([-x, x]\) which can be written in the form \(c = F_n - 2^m\) is asymptotically equal to
Chim et al. [5] proved for the situation of Theorem 1 that if an integer c has a representation \(c=U_n-V_m\), then in the “generic” case this representation is unique. Therefore, instead of counting integers \(c\in [-x,x]\) which are representable as \(c=U_n-V_m\), one can count the solutions (n, m) to the Diophantine inequality \(|U_n-V_m|\le x\). We will see that both ways of counting yield the same result. In fact, Theorem 1 is equivalent to the following.
Theorem 2
Let \(\{U_n\}_{n\ge 0}\) and \(\{V_m\}_{m\ge 0}\) be two linear recurrence sequences of integers satisfying the dominant root condition with dominant roots \(\alpha \) and \(\beta \) respectively. Suppose that \(|\alpha |>1\) and \(|\beta | >1\) and that \(\alpha \) and \(\beta \) are multiplicatively independent. Let
Then we have
for x large enough. The implied constants are effective.
The paper is structured as follows. In Sect. 2 we state some preliminary results, in particular results on linear forms in logarithms, heights, the result from [5] and some elementary inequalities. We also prove the equivalence of Theorems 1 and 2. In Sect. 3 we use elementary arguments to prove the lower bound for T(x). In Sect. 4 we prove the upper bound for T(x) using linear forms in logarithms. Finally, in Sect. 5 we put some further problems.
2 Preliminaries
In this section we present the tools for our proof. The most powerful one is certainly lower bounds for linear forms in logarithms. Moreover, will need some estimates for heights. Next, we state some facts on linear recurrence sequences and the result from [5], which will show the equivalence of Theorems 1 and 2. Finally, we check some simple relations between inequalities, which will be important for the proofs of the lower and the upper bound in Theorems 1 and 2.
2.1 Linear forms in logarithms and heights
Let \(\gamma \) be an algebraic number of degree \(d\ge 1\) with the minimal polynomial
where \(a_0, \ldots , a_d\) are relatively prime integers and \(\gamma _1, \ldots , \gamma _d\) are the conjugates of \(\gamma \). Then the logarithmic height of \(\gamma \) is given by
Since the first results by Baker, there have been many powerful results on lower bounds for linear forms in logarithms. In particular, in 1993 Baker and Wüstholz [1] obtained a very good explicit bound. In the following years, further improvements were made. At the present time, one of the most widely used results is due to Matveev [7]. The following theorem [3, Thm. 9.4] is a consequence of Matveev’s result.
Theorem 3
(Matveev’s theorem) Let \(\gamma _1,\ldots , \gamma _t\) be non-zero algebraic numbers in a number field \({\mathbb {K}}\) of degree D, let \(b_1,\ldots ,b_t\) be rational integers, and let
be non-zero. Then
where
and
In order to estimate the height of certain expressions, we will use the following two well known lemmas [5, Lems. 1 and 2].
Lemma 1
Let \({\mathbb {K}}\) be a number field and \(\alpha , \beta \in {\mathbb {K}}\) two multiplicatively independent algebraic numbers. Then there exists an effectively computable constant \(C_0=C_0(\alpha ,\beta ) > 0\) such that
Lemma 2
Let \({\mathbb {K}}\) be a number field and \(p, q \in {\mathbb {K}}[x]\) two arbitrary but fixed polynomials. Then there exists an effectively computable constant \(C=C(p,q)>0\) such that
2.2 Linear recurrence sequences and solutions to \(c=U_n-V_m\)
From now on, until the end of this paper, let \(\{U_n\}_{n\ge 0}\) and \(\{V_m\}_{m\ge 0}\) be two linear recurrence sequences of integers satisfying the dominant root condition with dominant roots \(\alpha \) and \(\beta \) respectively and \(|\alpha |>1\) and \(|\beta | >1\). Moreover, we assume that \(\alpha \) and \(\beta \) are multiplicatively independent. Suppose that
for all \(n,m \ge 0\). As in [5], we use the L-notation: For functions f(x), k(x) with \(k(x)>0\) for \(x>1\) we write
Then we have
for some \(1<\alpha '<|\alpha |\), \(1<\beta ' <|\beta |\) and \(a',b'>0\). Suppose that \(\deg a(X)=\sigma \) and \(\deg b(X)=\tau \). Then there exist positive constants \(C_1,C_2,C_3,C_4\) such that
for all n, m large enough.
In order to prove Theorem 1, we will actually prove Theorem 2. The following lemma shows the equivalence of the two theorems. In other words, it allows us to switch between counting integers c which have a representation \(c=U_n-V_m\) and counting solutions (n, m) of the Diophantine inequality \(|U_n - V_m|\le x\).
Lemma 3
Under the same assumptions as in Theorems 1 and 2, let
Then
The first inequality is clear because each solution (n, m) of \(|U_n-V_m|\le x\) corresponds to an integer c in \([-x,x]\) which has the representation \(c=U_n-V_m\).
For the second inequality we need the fact that “most” representations are unique. This was proved in [5]. We state the result as a lemma. Note that this is not the main result in [5], but it follows immediately from the proof.
Lemma 4
Assume the same conditions for \(\{U_n\}_{n \ge 0}\) and \(\{V_m\}_{m \ge 0}\) as in Theorems 1 and 2. Then there are effectively computable constants N and M such that if
then either \(n\le N\) or \(m \le M\).
Proof
(Proof of Lemma 3) We need to show that \(T(x)\le S(x) + O(\log x)\). Therefore, we need to bound the number of pairs (n, m) which are counted in T(x) and correspond to the same integer c as another pair. Suppose that (n, m) corresponds to an integer c which has more than one representation. Then by Lemma 4 we have \(n\le N\) or \(m\le M\). Assume without loss of generality that \(m \le M\). Then we have
Together with (4) this yields
Taking logarithms we get
But there are at most \(O(\log x)\) pairs (n, m) with \(m \le M\) and \(n\le O(\log x)\). Thus \(T(x)\le S(x) + O(\log x)\). \(\square \)
2.3 Some auxiliary inequalities
Lemma 5
Let k be a fixed positive number, \(c>1\) and d any fixed real number. Then for \(z\ge \max \{k^{(c-1)} e^d,1\}\) the inequality
implies
Proof
Inequality (6) implies \(n\le kz\) and \(\log n \le \log k + \log z\). Thus we get
\(\square \)
Lemma 6
Let k and c be positive constants. Suppose that \(n\ge N =N(k,c)\) is a large number (to be precise, we need n to satisfy \(n\ge e^{\sqrt{2}c^{-1/2}}\) and \(k^2c^2(\log n)^4 \le n\)). Suppose that
for some \(z \ge 2/k\). Then
Proof
Note that for \(r,s\ge 2\) we have \(\log (r+s)\le \log r + \log s\). By assumption, n and z are large, in particular \(c (\log n )^2\ge 2\) and \(kz\ge 2\). Thus, using the assumptions, we have
for \(n\ge N\). Thus \(\log n \le 2 \log z\) and using the assumption again we get
\(\square \)
3 Lower bound for T(x)
In this section we prove the lower bound for the number of solutions (n, m) to the Diophantine inequality \(|U_n-V_m|\le x\):
In fact, we show that if \(n\le \log x / \log |\alpha | + O(\log \log x)\) and \(m\le \log x / \log |\beta | + O(\log \log x)\), then \(|U_n-V_m|\le x\) (if x is large enough).
Suppose that
Then Lemma 5 with \(k=1/\log |\alpha |\), \(c={\sigma }/{\log |\alpha |}+1\) and \(d=(\log C_2 + \log 2)/\log |\alpha |\) yields for \(z=\log x\) large enough
Multiplying by \(\log |\alpha |\) and applying the exponential function we obtain
which together with (4) implies
Analogously, we obtain that
implies
Therefore, for all \((n,m) \in {\mathbb {N}}^2\) satisfying (7) and (8) we have
But the number of \((n,m)\in {\mathbb {N}}^2\) satisfying (7) and (8) is larger than
so for x large enough we have
4 Upper bound for T(x)
In this section we use linear forms in logarithms to prove the upper bound for the number of solutions (n, m) to the Diophantine inequality \(|U_n-V_m|\le x\):
In fact, we assume that \(|U_n-V_m|\le x\), i.e.
with \(|c|\le x\) and show that \(n\le {\log |c|}/{\log |\alpha |} + O((\log \log |c|)^2)\) and \(m\le {\log |c|}/{\log |\beta |} + O((\log \log |c|)^2)\). This immediately yields the desired bound for T(x).
Note that we can assume that n and m are large enough, i.e. \(n\ge N\) and \(m\ge M\) for some suitable N, M. This is because of the same argument as in the proof of Lemma 3: Ignoring solutions with \(n\le N\) or \(m\le M\), we only miss \(O(\log x)\) solutions, which has no impact on our result. Similarly, we may assume that c is large enough.
Recall that by (4) we have
for n large enough. On the other hand, by (5) we have
for m large enough. Combining (9), (10) and (11) we get
which implies (note that \(\log (r+s)\le \log r + \log s\) for \(r,s \ge 2\))
for some effectively computable constant \(C_5\). From now on, if we write a new constant \(C_i\), we imply that it exists and it is effectively computable. Analogously we get
Assume without loss of generality that
We rewrite Eq. (9) as
Shifting expressions, taking absolute values and estimating we obtain
where we used the fact that |b(m)| cannot be arbitrarily small if m is large enough.
If \(\varLambda = 0\), then \(\frac{a(n)}{b(m)}=\frac{\beta ^m}{\alpha ^n}\) and Lemmas 1 and 2 yield
which is only possible for small n and m.
If \(\varLambda \ne 0\), then we can apply Matveev’s theorem with \(t=3\), \(D=[{\mathbb {Q}}(\alpha ,\beta ):{\mathbb {Q}}]\) and
Moreover, we set \(B=\max \{n,m\}\) and
In order to choose \(A_1\), we use Lemma 2:
Then Matveev’s Theorem tells us that
In order to use inequality (15), we distinguish between two cases.
Case 1 \(|c|\ge \max \{\alpha '^n, \beta '^m\}\). Then (15) implies
and together with (16) this yields
which implies
By the case assumption we have \(|c|\ge \alpha '^n\), i.e. \(n\le \log |c|/\log \alpha '\), and \(|c|\ge \beta '^m\), i.e. \(m \le \log |c| / \log \beta '\). Therefore, \(\max \{n,m\} \le C_{13} \log |c|\). Thus (17) implies
Dividing by \(\log |\beta |\) we get
Moreover, by (14) we have \(n \le m \log |\beta | / \log |\alpha |\), so we also get
as required.
Case 2 \(|c|< \max \{\alpha '^n, \beta '^m\}\). By assumption (14) inequality (15) implies
Case 2a \(\max \{\alpha '^n, \beta '^m\}= \alpha '^n\), i.e. \(|c|<\alpha '^n\). Then \(\log |c| \le n \log \alpha '\) and (13) implies \(m \le C_{15} n\). Then (18) implies
Setting
we get
Combined with (16) this yields
This implies
and we get
This means that m is actually very small compared to n and therefore \(|c|\approx |\alpha |^n\), i.e. \(n \approx \log |c|/ \log |\alpha |\), which is exactly what we need. In order to formalise this argument, we go back to (9) and use inequalities (4) and (5):
Taking logarithms and noting that \(\log (r-s) \ge \log r - \log s\) for \(r\ge s+2 \ge 4\), we get
for n large enough. We rewrite this inequality as
Now Lemma 6 (with \(z=\log |c|\)) tells us that
Moreover, inserting this into (19) yields
Case 2b \(\max \{\alpha '^n, \beta '^m\}=\beta '^m\), i.e. \(|c|< \beta '^m\). This case is completely analogous to Case 2a.
Thus, in every case we obtain
Therefore, all solutions (n, m) to the Diophantine inequality \(|U_n-V_m|\le x\) have the property \(n\le {\log x}/{\log |\alpha |} + O((\log \log x)^2)\) and \(m\le {\log x}/{\log |\beta |} + O((\log \log x)^2)\). But there are at most
such solutions. Thus
This completes the proof of Theorem 2 and by Lemma 3 we have also proved Theorem 1.
5 Further problems
The key in our proof is the use of lower bounds for linear forms in logarithms. This tool only works if \(\alpha \) and \(\beta \) are algebraic. The natural question is: What happens if \(\alpha \) and/or \(\beta \) are transcendental? We pose the following problem.
Problem 1
For which multiplicatively independent complex numbers \(\alpha ,\beta \in {\mathbb {C}}\) with \(|\alpha |>1\) and \(|\beta | > 1\) do we have
In particular, is the above true for \(\alpha =\pi \) and \(\beta =e\)? Note that it is an open conjecture that \(\pi \) and e are multiplicatively independent (this is equivalent to \(\log \pi \) being irrational). In that case it would be interesting to find out whether
Of course, the same question can be asked for sequences with sums of powers. For instance, we pose the following problem.
Problem 2
Is the following true?
And finally, we ask what happens if we allow three different powers.
Problem 3
For which positive numbers \(\alpha , \beta , \gamma \), all larger than 1 and any two of them multiplicatively independent, do we have
for some \(M>0\)?
Notes
This manuscript is not intended for publication.
References
Baker, A.. R.., Wüstholz, G.: Logarithmic forms and group varieties. J. Reine Angew. Math. 442, 19–62 (1993)
Bravo, J., Luca, F., Yazan, K.: On Pillai’s problem with Tribonacci numbers and powers of 2. Bull. Korean Math. Soc. 54, 1069–1080 (2017)
Bugeaud, Y., Mignotte, M., Siksek, S.: Classical and modular approaches to exponential Diophantine equations I. Fibonacci and Lucas perfect powers. Ann. Math. 163, 969–1018 (2006)
Chim, K.C., Pink, I., Ziegler, V.: On a variant of Pillai’s problem. Int. J. Number Theory 13, 1711–1727 (2017)
Chim, K.C., Pink, I., Ziegler, V.: On a variant of Pillai’s problem II. J. Number Theory 183, 269–290 (2018)
Ddamulira, M., Luca, F., Rakotomalala, M.: On a problem of Pillai with Fibonacci numbers and powers of 2. Proc. Math. Sci. 127, 411–421 (2017)
Matveev, E.M.: An explicit lower bound for a homogeneous rational linear form in the logarithms of algebraic numbers. II. Izv. Math. 64(6), 1217–1269 (2000)
Mihăilescu, P.: Primary cyclotomic units and a proof of Catalan’s conjecture. J. Reine Angew. Math. 572, 167–195 (2004)
Pillai, S.S.: On the inequality \(0<a^x-b^y\le n\). Indian Math. Soc. 19, 1–11 (1931)
Pillai, S.S.: On \(a^x-b^y=c\). Indian Math. Soc. 2, 119–122 (1936)
Pillai, S.S.: A correction to the paper “On \(a^x-b^y=c\)’’. Indian Math. Soc. 2, 215 (1937)
Yang, D.: Integers representable as differences of linear recurrence sequences. arXiv:2006.09541 (2020)
Acknowledgements
The first author was supported by the Austrian Science Fund (FWF) under the project (SFB) F55. The second and the last author were supported by the Austrian Science Fund (FWF) under the project I4406. The third author was also supported by the Austrian Science Fund (FWF) under the project W1230.
Funding
Open access funding provided by Paris Lodron University of Salzburg.
Author information
Authors and Affiliations
Corresponding author
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/.
About this article
Cite this article
Tichy, R., Vukusic, I., Yang, D. et al. Integers representable as differences of linear recurrence sequences. Res. number theory 7, 24 (2021). https://doi.org/10.1007/s40993-021-00252-2
Received:
Accepted:
Published:
DOI: https://doi.org/10.1007/s40993-021-00252-2