![]() |
In this paper we study a certain kind of generalized linear Diophantine problem of Frobenius. Let a1,a2,…,al be positive integers such that their greatest common divisor is one. For a nonnegative integer p, denote the p-Frobenius number by gp(a1,a2,…,al), which is the largest integer that can be represented at most p ways by a linear combination with nonnegative integer coefficients of a1,a2,…,al. When p=0, the 0-Frobenius number is the classical Frobenius number. When l=2, the p-Frobenius number is explicitly given. However, when l=3 and even larger, even in special cases, it is not easy to give the Frobenius number explicitly. It is even more difficult when p>0, and no specific example has been known. However, very recently, we have succeeded in giving explicit formulas for the case where the sequence is of triangular numbers [
Citation: Takao Komatsu, Haotian Ying. The p-Frobenius and p-Sylvester numbers for Fibonacci and Lucas triplets[J]. Mathematical Biosciences and Engineering, 2023, 20(2): 3455-3481. doi: 10.3934/mbe.2023162
[1] | Chii-Dong Ho, Gwo-Geng Lin, Thiam Leng Chew, Li-Pang Lin . Conjugated heat transfer of power-law fluids in double-pass concentric circular heat exchangers with sinusoidal wall fluxes. Mathematical Biosciences and Engineering, 2021, 18(5): 5592-5613. doi: 10.3934/mbe.2021282 |
[2] | Timothy C. Reluga, Jan Medlock, Alison Galvani . The discounted reproductive number for epidemiology. Mathematical Biosciences and Engineering, 2009, 6(2): 377-393. doi: 10.3934/mbe.2009.6.377 |
[3] | Baojun Song . Basic reinfection number and backward bifurcation. Mathematical Biosciences and Engineering, 2021, 18(6): 8064-8083. doi: 10.3934/mbe.2021400 |
[4] | Kazunori Sato . Basic reproduction number of SEIRS model on regular lattice. Mathematical Biosciences and Engineering, 2019, 16(6): 6708-6727. doi: 10.3934/mbe.2019335 |
[5] | Tom Burr, Gerardo Chowell . The reproduction number $R_t$ in structured and nonstructured populations. Mathematical Biosciences and Engineering, 2009, 6(2): 239-259. doi: 10.3934/mbe.2009.6.239 |
[6] | Qixuan Wang, Hans G. Othmer . The performance of discrete models of low reynolds number swimmers. Mathematical Biosciences and Engineering, 2015, 12(6): 1303-1320. doi: 10.3934/mbe.2015.12.1303 |
[7] | Sergio Bermudo, Robinson A. Higuita, Juan Rada . $ k $-domination and total $ k $-domination numbers in catacondensed hexagonal systems. Mathematical Biosciences and Engineering, 2022, 19(7): 7138-7155. doi: 10.3934/mbe.2022337 |
[8] | Ali Moussaoui, Pierre Auger, Christophe Lett . Optimal number of sites in multi-site fisheries with fish stock dependent migrations. Mathematical Biosciences and Engineering, 2011, 8(3): 769-783. doi: 10.3934/mbe.2011.8.769 |
[9] | Chayu Yang, Jin Wang . Computation of the basic reproduction numbers for reaction-diffusion epidemic models. Mathematical Biosciences and Engineering, 2023, 20(8): 15201-15218. doi: 10.3934/mbe.2023680 |
[10] | José Ángel Juárez Morales, Jesús Romero Valencia, Raúl Juárez Morales, Gerardo Reyna Hernández . On the offensive alliance number for the zero divisor graph of $ \mathbb{Z}_n $. Mathematical Biosciences and Engineering, 2023, 20(7): 12118-12129. doi: 10.3934/mbe.2023539 |
In this paper we study a certain kind of generalized linear Diophantine problem of Frobenius. Let a1,a2,…,al be positive integers such that their greatest common divisor is one. For a nonnegative integer p, denote the p-Frobenius number by gp(a1,a2,…,al), which is the largest integer that can be represented at most p ways by a linear combination with nonnegative integer coefficients of a1,a2,…,al. When p=0, the 0-Frobenius number is the classical Frobenius number. When l=2, the p-Frobenius number is explicitly given. However, when l=3 and even larger, even in special cases, it is not easy to give the Frobenius number explicitly. It is even more difficult when p>0, and no specific example has been known. However, very recently, we have succeeded in giving explicit formulas for the case where the sequence is of triangular numbers [
The linear Diophantine problem of Frobenius is to find the largest integer which is not expressed by a nonnegative linear combination of given positive relatively prime integers a1,a2,…,al. Such a largest integer is called the Frobenius number [3], denoted by g(A)=g(a1,a2,…,al), where A={a1,a2,…,al}. In the literature on the Frobenius problem, the Sylvester number or genus n(A)=n(a1,a2,…,al), which is the total number of integers that cannot be represented as a nonnegative linear combination of a1,a2,…,al [4].
There are many aspects to studying the Frobenius problem. For example, there are algorithmic aspects to find the values or the bounds, complexity of computations, denumerants, numerical semigroup, applications to algebraic geometry and so on (see e.g., [5,6]). Nevertheless, one of the motivations for our p-generalizations originates in the number of representations d(n;a1,a2,…,al) to a1x1+a2x2+⋯+alxl=n for a given positive integer n. This number is equal to the coefficient of xn in 1/(1−xa1)(1−xa2)⋯(1−xal) for positive integers a1,a2,…,al with gcd(a1,a2,…,al)=1 [4]. Sylvester [7] and Cayley [8] showed that d(n;a1,a2,…,al) can be expressed as the sum of a polynomial in n of degree k−1 and a periodic function of period a1a2⋯al. In [9], the explicit formula for the polynomial part is derived by using Bernoulli numbers. For two variables, a formula for d(n;a1,a2) is obtained in [10]. For three variables in the pairwise coprime case d(n;a1,a2,a3). For three variables, in [11], the periodic function part is expressed in terms of trigonometric functions, and its results have been improved in [12] by using floor functions so that three variables case can be easily worked with-in the formula.
In this paper, we are interested in one of the most general and most natural types of Frobenius numbers, which focuses on the number of representations. For a nonnegative integer p, the largest integer such that the number of expressions that can be represented by a1,a2,…,al is at most p is denoted by gp(A)=gp(a1,a2,…,al) and may be called the p-Frobenius number. That is, all integers larger than gp(A) have at least the number of representations of p+1 or more. This generalized Frobenius number gp(A) is called the p-Frobenius number [1,2], which is also called the k-Frobenius number [13] or the s-Frobenius number [14]. When p=0, g(A)=g0(A) is the original Frobenius number. One can consider the largest integer g∗p(a1,a2,…,al) that has exactly p distinct representations (see e.g., [13,14]). However, in this case, the ordering g∗0≤g∗1≤⋯ may not hold. For example, g∗17(2,5,7)=43>g∗18(2,5,7)=42. In addition, for some j, g∗j may not exist. For example, g∗22(2,5,7) does not exist because there is no positive integer whose number of representations is exactly 22. Therefore, in this paper we do not study g∗p(A) but gp(A).
Similarly to the p-Frobenius number, the p-Sylvester number or the p-genus np(A)=np(a1,a2,…,al) is defined by the cardinality of the set of integers which can be represented by a1,a2,…,al at most p ways. When p=0, n(A)=n0(A) is the original Sylvester number.
In this paper, we are interested in one of the most crucial topics, that is, to find explicit formulas of indicators, in particular, of p-Frobenius numbers and p-Sylvester numbers. In the classical case, that is, for p=0, explicit formulas of g(a1,a2) and n(a1,a2) are shown when l=2 [3,4]. However, for l≥3, g(A) cannot be given by any set of closed formulas which can be reduced to a finite set of certain polynomials [15]. For l=3, there are several useful algorithms to obtain the Frobenius number (see e.g., [16,17,18]). For the concretely given three positive integers, if the conditions are met, the Frobenius number can be completely determined by the method of case-dividing by A. Tripathi [19]. Although it is possible to find the Frobenius number by using the results in [19], it is another question whether the Frobenius number can be given by a closed explicit expression for some special triplets, and special considerations are required. Only for some special cases, explicit closed formulas have been found, including arithmetic, geometric, Mersenne, repunits and triangular (see [20,21,22] and references therein).
For p>0, if l=2, explicit formulas of gp(a1,a2) and np(a1,a2) are still given without any difficulty (see e.g., [23]). However, if l≥3, no explicit formula had been given even in a special case. However, quite recently, we have succeeded in giving explicit formulas for the case where the sequence is of triangular numbers [1] or of repunits [2] for the case where l=3.
In this paper, we give an explicit formula for the p-Frobenius number for the Fibonacci number triple (Fi,Fi+2,Fi+k) (i,k≥3). Here, the n-th Fibonacci number Fn is defined by Fn=Fn−1+Fn−2 (n≥2) with F1=1 and F0=0. Our main result (Theorem 6.1 below) is a kind of generalizations of [24,Theorem 1] when p=0. However, when p>0, the exact situation is not completely similar to the case where p=0, and the case by case discussion is necessary. As analogues, we also show explicit formulas of gp(Li,Li+2,Li+k) for Lucas numbers Ln with i,k≥3. Here, Lucas numbers Ln satisfy the recurrence relation Ln=Ln−1+Ln−2 (n≥2) with L0=2 and L1=1. By using our constructed framework, we can also find explicit formulas of the p-Sylvester numbers np(Fi,Fi+2,Fi+k) and np(Li,Li+2,Li+k). Our result (Theorem 13) can extend the result in [24,Corollary 2]. The main idea is to find the explicit structure of the elements of an Apéry set [25]. In addition, we use a complete residue system, studied initially by Selmer [26]. By using Apéry sets, we construct the first least set of the complete residue system, then the second least set of the complete residue system, and the third, and so on. As a basic framework, we use a similar structure in [2]. We can safely say that one of our theorems (Theorem 6.1 below) is a kind of generalization of [24,Theorem 1]. Nevertheless, for each nonnegative integer p, the exact situation is not completely similar, but the case by case discussion is necessary.
Without loss of generality, we assume that a1=min{a1,a2,…,al}. For each 0≤i≤a1−1, we introduce the positive integer m(p)i congruent to i modulo a1 such that the number of representations of m(p)i is bigger than or equal to p+1, and that of mi−a1 is less than or equal to p. Note that m(0)0 is defined to be 0. The set
Ap(A;p)=Ap(a1,a2,…,al;p)={m(p)0,m(p)1,…,m(p)a1−1}, |
is called the p-Apéry set of A={a1,a2,…,al} for a nonnegative integer p, which is congruent to the set
{0,1,…,a1−1}(moda1). |
When p=0, the 0-Apéry set is the original Apéry set [25].
It is hard to find any explicit formula of gp(a1,a2,…,al) when l≥3. Nevertheless, the following convenient formulas are known (see [28]). After finding the structure of m(p)j, we can obtain p-Frobenius or p-Sylvester numbers for triple (Fi,Fi+2,Fi+k).
Lemma 1. Let k, p and μ be integers with k≥2, p≥0 and μ≥1. Assume that gcd(a1,a2,…,al)=1. We have
gp(a1,a2,…,al)=max0≤j≤a1−1m(p)j−a1, | (2.1) |
np(a1,a2,…,al)=1a1a1−1∑j=0m(p)j−a1−12. | (2.2) |
Remark. When p=0, (2.1) is the formula by Brauer and Shockley [27]:
g(a1,a2,…,al)=(max1≤j≤a1−1mj)−a1, | (2.3) |
where mj=m(0)j (1≤j≤a1−1) with m0=0. When p=0, (2.2) is the formula by Selmer [26]:
n(a1,a2,…,al)=1a1a1−1∑j=1mj−a1−12. | (2.4) |
Note that m0=m(0)0=0. A more general form by using Bernoulli numbers is given in [28], as well as the concept of weighted sums [29,30].
It is necessary to find the exact situation of 0-Apéry set Ap(Fi,0), the least complete residue system, which was initially studied in [26]. Concerning Fibonacci numbers, we use the framework in [24].
Throughout this paper, for a fixed integer i, we write
Ap(Fi;p)={m(p)0,m(p)1,…,m(p)Fi−1} |
for short. Then, we shall construct the set of the least complete residue system Ap(Fi;0). That is, mj≢mh(modFi) (0≤j<h≤Fi−1), and if for a positive integer M, M≡j and M≠mj (0≤j≤Fi−1), then M>mj. Then, for the case p=1 we shall construct the second set of the least complete residue system Ap(Fi;1). That is, m(1)j≢m(1)h(modFi) (0≤j<h≤Fi−1), m(1)j≡mj(modFi) (0≤j≤Fi−1), and there does not exist an integer M such that m(1)j>M>mj and M≡j(modFi). Similarly, for p=2, we shall construct the third set of the least complete residue system Ap(Fi;2). That is, m(2)j≢m(2)h(modFi) (0≤j<h≤Fi−1), m(2)j≡m(1)j(modFi) (0≤j≤Fi−1), and there does not exist an integer M such that m(2)j>M>m(1)j and M≡j(modFi).
By using a similar frame as in [24], we first show an analogous result about Lucas triple (Li,Li+2,Li+k) when p=0. As a preparation we shall show the result when p=0, with a sketch of the proof. The results about Fibonacci numbers can be applied to get those about Lucas numbers. When p=0, by setting integers r and ℓ as Li−1=rFk+ℓ with r≥0 and 0≤ℓ≤Fk−1 and by using the identity Ln=LmFn−m+1+Lm−1Fn−m, we can get an analogous identity of the Fibonacci one in [24,Theorem 1].
Theorem 1. For integers i,k≥3 and r=⌊(Li−1)/Fk⌋, we have
g0(Li,Li+2,Li+k)={(Li−1)Li+2−Li(rFk−2+1)if r=0, or r≥1 and(Li−rFk)Li+2>Fk−2Li,(rFk−1)Li+2−Li((r−1)Fk−2+1)otherwise. |
Proof. Consider the linear representation
tx,y:=xLi+2+yLi+k=(x+yFk)Li+2−yFk−2Li(x,y≥0). |
Then, by gcd(Li,Li+2)=1, we can prove that the above table represents the least complete residue system {0,1,…,Li−1}(modLi).
![]() |
That is, we can prove that none of two elements among this set is not congruent modulo Fi, and if there exists an element congruent to any of the elements among this set, then such an element is bigger and not in this set.
When r=0, the largest element among all the tx,y's in this table is tℓ,0. When r≥1, the largest element is either tFk−1,r−1 or tℓ,r. Since tFk−1,r−1<tℓ,r is equivalent to Fk−2Li<(Li−rFk)Li+2, the result is followed by the identity (2.3). The first case is given by tℓ,r−Li, and the second is given by tFk−1,r−1−Li.
Now, let us begin to consider the case p≥1. We shall obtain the Frobenius number using Lemma 1 (2.1). For this it is necessary to know the structure of the elements of the p-Apéry set, and the structure of the elements of the p-Apéry set depends on the structure of the elements of the (p−1)-Apéry set. Therefore, in the case of p=1, the structure of the elements of the 1-Apéry set is analyzed from the structure of the elements of the 0-Apéry set, which is the original Apéry set, thereby obtaining the 1-Frobenius number. When p=1, we have the following.
Theorem 2. For i≥3, we have
g1(Fi,Fi+2,Fi+k)=(2Fi−1)Fi+2−Fi(k≥i+2), | (3.1) |
g1(Fi,Fi+2,F2i+1)=(Fi−2−1)Fi+2+F2i+1−Fi, | (3.2) |
g1(Fi,Fi+2,F2i)=(Fi−1)Fi+2+F2i−Fi. | (3.3) |
When r=⌊(Fi−1)/Fk⌋≥1, that is, k≤i−1, we have
g1(Fi,Fi+2,Fi+k)={(Fi−rFk−1)Fi+2+(r+1)Fi+k−Fiif (Fi−rFk)Fi+2≥Fk−2Fi,(Fk−1)Fi+2+rFi+k−Fiif (Fi−rFk)Fi+2<Fk−2Fi. | (3.4) |
Remark. When r≥1 and k=i−1,i−2,i−3,i−4,i−5, we have more explicit formulas.
g1(Fi,Fi+2,F2i−1)=(Fi−2−1)Fi+2+2F2i−1−Fi(i≥4),g1(Fi,Fi+2,F2i−2)=(Fi−3−1)Fi+2+3F2i−2−Fi(i≥5),g1(Fi,Fi+2,F2i−3)={(Fi−6−1)Fi+2+5F2i−3−Fi(i≥7)Fi+2+4F2i−3−Fi(=149)(i=6),g1(Fi,Fi+2,F2i−4)=(Fi−5+Fi−7−1)Fi+2+7F2i−4−Fi,g1(Fi,Fi+2,F2i−5)={(Fi−5−1)Fi+2+11F2i−5−Fi(i≥10)12F2i−5−Fi(i=9)11F2i−5−Fi(i=8). |
Proof. Put the linear representation
tx,y:=xFi+2+yFi+k=(x+yFk)Fi+2−yFk−2Fi(x,y≥0). |
For given Fi and Fk, integers r and ℓ are determined uniquely as Fi−1=rFk+ℓ with 0≤ℓ≤Fk−1.
![]() |
The second set Ap(Fi;1) can be yielded from the first set Ap(Fi;0) as follows. Assume that r≥1. Only the first line {t0,0,t1,0,…,tFk−1,0} moves to fill the last gap in the (r+1)-st line, and the rest continue to the next (r+2)-nd line. Everything else from the second line shifts up by 1 and moves to the next right block (When r=1, the new right block consists of only one line tFk,0,⋯,tFk+ℓ,0, but this does not affect the final result).
t0,1≡tFk,0,t1,1≡tFk+1,0,…,tFk−1,1≡t2Fk−1,0,t0,2≡tFk,1,t1,2≡tFk+1,1,…,tFk−1,2≡t2Fk−1,1,…t0,r−1≡tFk,r−2,t1,r−1≡tFk+1,r−2,…,tFk−1,r−1≡t2Fk−1,r−2,t0,r≡tFk,r−1,…,tℓ,r≡tFk+ℓ,r−1, |
t0,0≡tℓ+1,r,…,tFk−ℓ−2,0≡tFk−1,r, |
tFk−ℓ−1,0≡t0,r+1,…,tFk−1,0≡tℓ,r+1. |
The first group is summarized as
tx,y≡tFk+x,y−1(modFi) |
for 0≤x≤Fk−1 and 1≤y≤r−1 or 0≤x≤ℓ and y=r. This congruence is valid because
tx,y=(x+yFk)Fi+2−yFk−2Fi≡(Fk+x+(y−1)Fk)Fi+2−(y−1)Fk−2Fi=tFk+x,y−1(modFi). |
The second group is valid because for 0≤x≤Fk−ℓ−2,
tx,0=xFi+2≡(ℓ+1+x+rFk)Fi+2−rFk−2Fi=tℓ+1+x,r(modFi). |
The third group is valid because for 0≤x≤ℓ,
tFk−ℓ−1+x,0=(Fk−ℓ−1+x)Fi+2≡(x+(r+1)Fk)Fi+2−(r+1)Fk−2Fi=tx,r+1(modFi). |
![]() |
Assume that r=0. The first set Ap(Fi;0) consists of only the first line. If 2ℓ+1≥Fk, then the second set Ap(Fi;1) can be yielded by moving to fill the last gap in the line, the rest continuing to the next line.
t0,0≡tℓ+1,0,…,tFk−ℓ−2,0≡tFk−1,0,tFk−ℓ−1,0≡t0,1,…,tℓ,0≡t2ℓ+1−Fk,1(modFi). |
They are valid because for 0≤j≤Fk−ℓ−2,
tj,0=jFi+2≡(Fi+j)Fi+2=(ℓ+1−j)Fi+2=tℓ+1−j,0(modFi), |
and for 0≤j≤2ℓ+1−Fk,
tFk−ℓ−1+j,0=(Fk−ℓ−1+j)Fi+2≡(j+Fk)Fi+2−Fk−2Fi=tj,1(modFi). |
![]() |
If 2ℓ+1≤Fk−1, then the second set Ap(Fi;1) can be yielded by moving to fill the last gap in the line only.
t0,0≡tℓ+1,0,…,tℓ,0≡t2ℓ+1,0(modFi). |
They are valid because for 0≤j≤ℓ,
tj,0=jFi+2≡(Fi+j)Fi+2=(ℓ+j+1)Fi+2=tℓ+j+1,0(modFi). |
Next, we shall decide the maximal element in the second set Ap(Fi;1) (and also in the first set Ap(Fi;0)).
Case 1 (1) Assume that r=0 and 2ℓ+1≤Fk−1. The second condition is equivalent to 2Fi≤Fk, which is equivalent to i≤k−2. The largest element in the second set Ap(Fi;1), which is congruent to {0,1,…,Fi−1}(modFi), is given by t2ℓ+1,0=(2Fi−1)Fi+2.
Case 1 (2) Assume that r=0 and 2ℓ+1≥Fk. The second condition is equivalent to 2Fi−1≥Fk, which is equivalent to i≥k−1≥3. In this case there are two possibilities for the largest element in the second set Ap(Fi;1): tFk−1,0=(Fk−1)Fi+2 or t2ℓ+1−Fk,1=(2Fi−1)Fi+2−Fk−2Fi. However, because of i≥k−1≥3, always tFk−1,0<t2ℓ+1−Fk,1.
Case 2 Assume that r≥1. This condition is equivalent to Fi−1≥Fk, which is equivalent to i≥k+1.
In this case there are four possibilities for the largest element in the second set Ap(Fi;1):
t2Fk−1,r−2=(rFk−1)Fi+2−(r−2)Fk−2Fi,tFk+ℓ,r−1=(Fi−1)Fi+2−(r−1)Fk−2Fi,tFk−1,r=((r+1)Fk−1)Fi+2−rFk−2Fi,tℓ,r+1=(Fi+Fk−1)Fi+2−(r+1)Fk−2Fi. |
However, it is clear that t2Fk−1,r−2<tFk−1,r. Because i≥k+1, tFk+ℓ,r−1<tFk−1,r. Thus, the only necessity is to compare tFk−1,r and tℓ,r+1, and tFk−1,r>tℓ,r+1 is equivalent to (Fi−rFk)Fi+2>Fk−2Fi.
Finally, rewriting the forms in terms of Fi+2 and Fi+k and applying Lemma 1 (2.1), we get the result. Namely, the formula (3.1) comes from Case 1 (1). The formulas (3.2) and (3.3) come from Case 1 (2) when k=i+1 and k=i, respectively. The general formula (3.4) comes from Case 2.
When p=2, we have the following.
Theorem 3. For i≥3, we have
g2(Fi,Fi+2,Fi+k)=(3Fi−1)Fi+2−Fi(k≥i+3), | (4.1) |
g2(Fi,Fi+2,F2i+2)={(Fi−2−1)Fi+2+F2i+2−Fi(i is odd)(Fi+2−1)Fi+2−Fi(i is even), | (4.2) |
g2(Fi,Fi+2,F2i+1)=(Fi−1)Fi+2+F2i+1−Fi, | (4.3) |
g2(Fi,Fi+2,F2i)=(2Fi−1)Fi+2−Fi, | (4.4) |
g2(Fi,Fi+2,F2i−1)={(Fi−4−1)Fi+2+3F2i−1−Fi(i≥5)Fi+2+2F2i−1−Fi(=31)(i=4). | (4.5) |
When r=⌊(Fi−1)/Fk⌋≥2, that is, k≤i−2, we have
g2(Fi,Fi+2,Fi+k)={(Fi−rFk−1)Fi+2+(r+2)Fi+k−Fiif (Fi−rFk)Fi+2≥Fk−2Fi;(Fk−1)Fi+2+(r+1)Fi+k−Fiif (Fi−rFk)Fi+2<Fk−2Fi. | (4.6) |
Remark. When k=i−2 and k=i−3, we can write this more explicitly as
g2(Fi,Fi+2,F2i−2)=(Fi−3−1)Fi+2+4F2i−2−Fi(i≥5), | (4.7) |
g2(Fi,Fi+2,F2i−3)={(Fi−6−1)Fi+2+6F2i−3−Fi(i≥7)Fi+2+5F2i−3−Fi(=183)(i=6), | (4.8) |
respectively. The formulas (4.7) and (4.8) hold when r=2 and r=4, respectively.
Proof. When p=2, the third least complete residue system Ap(Fi;2) is determined from the second least complete residue system Ap(Fi;1). When r≥2, some elements go to the third block.
![]() |
![]() |
Case 1 (1) Let r=0 and Fk≥3ℓ+3=3Fi. Since for ℓ+1≤j≤2ℓ+1,
tj,0=jFi+2≡(Fi+j)Fi+2=(ℓ+j+1)Fi+2=tℓ+j+1,0(modFi), |
the third set Ap(Fi;2) is given by
{t2ℓ+1,0,…,t3ℓ+2,0}(modFi). |
As the maximal element is t3ℓ+2,0, by (2.1), we have
g2(Fi,Fi+2,Fi+k)=(3Fi−1)Fi+2−Fi. |
![]() |
Case 1 (2) Let r=0 and 2Fi=2ℓ+2≤Fk≤3ℓ+2=3Fi−1. Since tj,0≡tℓ+j+1,0(modFi) (ℓ+1≤j≤Fk−ℓ−2), and for 0≤j≤3ℓ+2−Fk,
tFk−ℓ−1+j,0=(Fk−ℓ−1+j)Fi+2=(Fk−Fi+j)Fi+2≡(Fk+j)Fi+2≡(j+Fk)Fi+2+Fk−2Fi=tj,1(modFi), |
the third set Ap(Fi;2) is
{t2ℓ+1,0,…,tFk−1,0,t0,1,…,t3ℓ+2−Fk,1}(modFi). |
![]() |
The first elements t2ℓ+1,0,…,tFk−1,0 are in the last of the first line, and the last elements t0,1,,…,t3ℓ+2−Fk,1 are in the first part of the second line. Hence, the maximal element is tFk−1,0=(Fk−1)Fi+2 or t3ℓ+2−Fk,1=(3Fi−1)Fi+2−Fk−2Fi. Therefore, when (3Fi−Fk)Fi+2≥Fk−2Fi, g2(Fi,Fi+2,Fi+k)=(3Fi−1)Fi+2−(Fk−2+1)Fi. When (3Fi−Fk)Fi+2<Fk−2Fi, g2(Fi,Fi+2,Fi+k)=(Fk−1)Fi+2−Fi.
Case 1 (3) Let r=0 and Fk≤2ℓ+1=2Fi−1. Since for ℓ+1≤j≤Fk−1
tj,0=jFi+2≡(Fi+j)Fi+2≡(ℓ+1+j)Fi+2−Fk−2Fi=tℓ−Fk+1+j,1(modFi), |
and for 0≤j≤2ℓ+1−Fk
tj,1=(j+Fk)Fi−2−Fk−2Fi≡(Fk+j)Fi+2=tFk+j,0(modFi), |
the third set Ap(Fi;2) is
{t2ℓ+2−Fk,1,…,tℓ,1,tFk,0,…,t2ℓ+1,0}(modFi). |
The first elements t2ℓ+2−Fk,1,…,tℓ,1 are in the second line of the first block, and the last elements are tFk,0,…,t2ℓ+1,0 in the first line of the second block. So, the maximal element is tℓ,1=(Fi+Fk−1)Fi+2−Fk−2Fi or t2ℓ+1,0=(2Fi−1)Fi+2. Since Fk≤2Fi−1, only when k=i+1, we have g2(Fi,Fi+2,Fi+k)=(Fi+Fk−1)Fi+2−(Fk−2+1)Fi. When k≤i, we have g2(Fi,Fi+2,Fi+k)=(2Fi−1)Fi+2−Fi.
![]() |
Case 2 (1) Let r=1 and 2ℓ+2≤Fk, that is, 23Fi≤Fk≤Fi−1. This case happens only when i=4 and k=3. Since for ℓ+1≤j≤Fk−1
tj,1=(j+Fk)Fi+2−Fk−2Fi≡(Fk+j)Fi+2=tFk+j,0(modFi), |
for 0≤j≤ℓ
tj,2=(j+2Fk)Fi+2−2Fk−2Fi≡(Fk+j+Fk)Fi+2−Fk−2Fi=tFk+j,1(modFi), |
and for 0≤j≤ℓ
tFk+j,0=(Fk+j)Fi+2≡(Fi+j+Fk)Fi+2≡(ℓ+1+j+2Fk)Fi+2−2Fk−2Fi=tℓ+1+j,2(modFi), |
the third set Ap(Fi;2) is
{tFk+ℓ+1,0,…,t2Fk−1,0,tFk,1,…,tFk+ℓ,1,tℓ+1,2,…,t2ℓ+1,2}(modFi). |
The first elements tFk+ℓ+1,0,…,t2Fk−1,0 are in the first line of the second block, the second elements tFk,1,…,tFk+ℓ,1 are in the second line of the second block, and the last elements tℓ+1,2,…,t2ℓ+1,2 in the third line of the first block. So, the maximal element is one of t2Fk−1,0=(2Fk−1)Fi+2, tFk+ℓ,1=(Fi+Fk−1)Fi+2−Fk−2Fi or t2ℓ+1,2=(2Fi−1)Fi+2−2Fk−2Fi. As i=4 and k=3, t2ℓ+1,2=34 is the largest. Hence, g2(Fi,Fi+2,Fi+k)=(2Fi−1)Fi+2−(2Fk−2+1)Fi, that is, g2(F4,F6,F7)=34−F4=31.
![]() |
Case 2 (2) Let r=1 and 2ℓ+1≥Fk, that is, (Fi−1)/2<Fk≤(2Fi−1)/3. This relation holds only when k=i−1≥4. Since tj,1≡tFk+j,0(modFi) (ℓ+1≤j≤Fk−1), tj,2≡tFk+j,1(modFi) (0≤j≤ℓ), tFk+j,0≡tℓ+1+j,2(modFi) (0≤j≤Fk−ℓ−2), and for 0≤j≤2ℓ+1−Fk
t2Fk−ℓ−1+j,0=(2Fk−ℓ−1+j)Fi+2≡(3Fk−Fi+j)Fi+2≡(j+3Fk)Fi+2−3Fk−2Fi=tj,3(modFi), |
the third set Ap(Fi;2) is
{tFk+ℓ+1,0,…,t2Fk−1,0,tFk,1,…,tFk+ℓ,1,tℓ+1,2,…,tFk−1,2,t0,3,…,t2ℓ+1−Fk,3}(modFi). |
So, the maximal element is one of t2Fk−1,0=(2Fk−1)Fi+2, tFk+ℓ,1=(Fi+Fk−1)Fi+2−Fk−2Fi, tFk−1,2=(3Fk−1)Fi+2−2Fk−2Fi or t2ℓ+1−Fk,3=(2Fi−1)Fi+2−3Fk−2Fi. As k=i−1≥4, t2ℓ+1−Fk,3=(2Fi−1)Fi+2−3Fi−3Fi is the largest. Hence, g2(Fi,Fi+2,F2i−1)=(2Fi−1)Fi+2−(3Fi−3+1)Fi.
Case 3 Let r≥2. The part
tFk,1,…,t2Fk−1,1,…,tFk,r−2,…,t2Fk−1,r−2,tFk,r−1,…,tFk+ℓ,r−1 |
in the second block among the second set Ap(Fi;1) corresponds to the part
t2Fk,0,…,t3Fk−1,0,…,t2Fk,r−3,…,t3Fk−1,r−3,t2Fk,r−2,…,t2Fk+ℓ,r−2 |
in the third block among the third least set Ap(Fi;2)* because
*When r=2, only the last shorter line remains, and t3Fk−1,r−3 in table 9 does not appear. However, this does not affect the result.
tFk+j,h=(Fk+j+hFk)Fi+2−hFk−2Fi≡(2Fk+j+(h−1)Fk)Fi+2−(h−1)Fk−2Fi=t2Fk+j,h−1(modFi) |
![]() |
for 0≤j≤Fk−1 and 1≤h≤r−2 or 0≤j≤ℓ and h=r−1. The part tℓ+1,r,…,tFk−1,r in the first block among the second set Ap(Fi;1) corresponds to the part tFk+ℓ+1,r−1,…,t2Fk−1,r−1 in the second block among the third set Ap(Fi;2) because for ell+1≤j≤Fk−1
tj,r=(j+rFk)Fi+2−rFk−2Fi≡(Fk+j+(r−1)Fk)Fi+2−(r−1)Fk−2Fi=tFk+j,r−1(modFi). |
The part t0,r+1,…,tℓ,r+1 in the first block among the second set Ap(Fi;1) corresponds to the part tFk,r,…,tFk+ℓ,r in the second block among the third set Ap(Fi;2) because for 0≤j≤ℓ
tj,r+1=(j+(r+1)Fk)Fi+2−(r+1)Fk−2Fi≡(Fk+j+rFk)Fi+2−rFk−2Fi=tFk+j,r(modFi). |
The first line tFk,0,…,t2Fk−ℓ−2,t2Fk−ℓ−1,…,t2Fk−1,0 in the second block among the second set Ap(Fi;1) corresponds to two parts tℓ+1,r+1,…,tFk−1,r+1 and t0,r+2,…,tℓ,r+2 in the first block among the third set Ap(Fi;2) because for 0≤j≤Fk−ℓ−2
tFk+j,0=(Fk+j)Fi+2≡(Fi+Fk+j)Fi+2−(r+1)Fk−2Fi=(ℓ+1+j+(r+1)Fk)Fi+2−(r+1)Fk−2Fi=tℓ+1+j,r+1(modFi), |
and for 0≤j≤ℓ,
t2Fk−ℓ−1+j,0=(2Fk−ℓ−1+j)Fi+2=(2Fk−Fi+rFk+j)Fi+2≡(j+(r+2)Fk)Fi+2−(r+2)Fk−2Fi=tj,r+2(modFi). |
Hence, the third set Ap(Fi;2) is given by
{t2Fk,0,…,t3Fk−1,0,…,t2Fk,r−3,…,t3Fk−1,r−3,t2Fk,r−2,…,t2Fk+ℓ,r−2,tFk+ℓ+1,r−1,…,t2Fk−1,r−1,tFk,r,…,tFk+ℓ,r,tℓ+1,r+1,…,tFk−1,r+1,t0,r+2,…,tℓ,r+2}(modFi). |
There are six candidates for the maximal element:
t3Fk−1,r−3=(rFk−1)Fi+2−(r−3)Fk−2Fi,t2Fk+ℓ,r−2=(Fi−1)Fi+2−(r−2)Fk−2Fi,t2Fk−1,r−1=((r+1)Fk−1)Fi+2−(r−1)Fk−2Fi,tFk+ℓ,r=(Fi+Fk−1)Fi+2−rFk−2Fi,tFk−1,r+1=((r+2)Fk−1)Fi+2−(r+1)Fk−2Fi,tℓ,r+2=(Fi+2Fk−1)Fi+2−(r+2)Fk−2Fi. |
However, it is easy to see that the first four values are less than the last two. Hence, if (Fi−rFk)Fi+2≥Fk−2Fi, then g2(Fi,Fi+2,Fi+k)=tℓ,r+2−Fi=(Fi+2Fk−1)Fi+2−((r+2)Fk−2+1)Fi. If (Fi−rFk)Fi+2<Fk−2Fi, then g2(Fi,Fi+2,Fi+k)=tFk−1,r+1−Fi=((r+2)Fk−1)Fi+2−((r+1)+1)Fk−2Fi.
Finally, we rewrite the form as the linear combination of Fi+2 and Fi+k and apply Lemma 1 (2.1). The formula (4.1) comes from Case 1 (1). The formula (4.2) comes from Case 1 (2). The formulas (4.3) and (4.4) come from Case 1 (3). The formula (4.5) comes from Case 2 (1) (2). The general formula (4.6) comes from Case 3.
When p=3, we have the following.
Theorem 4. For i≥3, we have
g3(Fi,Fi+2,Fi+k)=(4Fi−1)Fi+2−Fi(k≥i+3), | (5.1) |
g3(Fi,Fi+2,F2i+2)=(Fi−1)Fi+2+F2i+2−Fi,g3(Fi,Fi+2,F2i+1)=(Fi+Fi−2−1)Fi+2+F2i+1−Fi,g3(Fi,Fi+2,F2i)=(Fi−1)Fi+2+2F2i−Fi,g3(Fi,Fi+2,F2i−1)=(Fi−2−1)Fi+2+3F2i−1−Fi(i≥4),g3(Fi,Fi+2,F2i−2)={(Fi−5−1)Fi+2+5F2i−2−Fi(i≥6)Fi+2+4F2i−2−Fi(=92)(i=5). | (5.2) |
When r=⌊(Fi−1)/Fk⌋≥3, that is, k≤i−3, we have
g3(Fi,Fi+2,Fi+k)={(Fi−rFk−1)Fi+2+(r+3)Fi+k−Fiif (Fi−rFk)Fi+2≥Fk−2Fi;(Fk−1)Fi+2+(r+2)Fi+k−Fiif (Fi−rFk)Fi+2<Fk−2Fi. | (5.3) |
![]() |
Proof. When p=3, the fourth least complete residue system Ap(Fi;3) is determined from the third least complete residue system Ap(Fi;2). When r≥3, some elements go to the fourth block. The proof of the cases r=0,1,2 is similar to that of Theorem 3 and needs more case-by-case discussions, and it is omitted.
In the table, denotes the area of the n-th least set of the complete residue system Ap(Fi;n−1). Here, each m(n−1)j, satisfying m(n−1)j≡j(modFi) (0≤j≤Fi−1), can be expressed in at least n ways, but m(n−1)j−Fi can be expressed in at most n−1 ways. As illustrated in the proof of Theorem 4.1, two areas (lines) of ④ in the first block correspond to the first line of ③ in the third block, two areas (lines) of ④ in the second block correspond to two areas (lines) of ③ in the first block, two areas (lines) of ④ in the third block correspond to two areas (lines) of ③ in the second block, and the area of ④ in the fourth block correspond to the area of ③ in the third block except the first line. Eventually, the maximal element of the fourth set of the complete residue system is from the first block, that is, tFk−1,r+2=((r+3)Fk−1)Fi+2−(r+2)Fk−2Fi or tℓ,r+3=(Fi+3Fk−1)Fi+2−(r+3)Fk−2Fi. Hence, if (Fi−rFk)Fi+2≥Fk−2Fi, then g3(Fi,Fi+2,Fi+k)=tℓ,r+3−Fi=(Fi+3Fk−1)Fi+2−((r+3)Fk−2+1)Fi. If (Fi−rFk)Fi+2<Fk−2Fi, then g3(Fi,Fi+2,Fi+k)=tFk−1,r+2−Fi=((r+3)Fk−1)Fi+2−((r+2)Fk−2+1)Fi. Notice that r≥3 implies that k≤i−3.
Repeating the same process, when r is big enough that r≥p, that is, k is comparatively smaller than i, as a generalization of (3.4), (4.6) and (5.3), we can have an explicit formula.
Theorem 5. Let i≥3 and p be a nonnegative integer. When r=⌊(Fi−1)/Fk⌋≥p with (r,p)≠(0,0), we have
gp(Fi,Fi+2,Fi+k)={(Fi−rFk−1)Fi+2+(r+p)Fi+k−Fiif (Fi−rFk)Fi+2≥Fk−2Fi;(Fk−1)Fi+2+(r+p−1)Fi+k−Fiif (Fi−rFk)Fi+2<Fk−2Fi. |
Remark. When p=0, Theorem 5 reduces to [24,Theorem 1] except r=0.
On the other hand, k is comparatively larger than i. As a generalization of (3.1), (4.1) and (5.1), we can also have the following formula.
Proposition 1. For i,k≥3, we have
gp(Fi,Fi+2,Fi+k)=gp(Fi,Fi+2)(k≥i+h) |
when (p,h)=(3,4), (4,4), (5,5), (6,5), (7,5), (8,5), (9,6), (10,6), (11,6), (12,6), (13,6), (14,6), (15,7), (16,7), (17,7), (18,7), (19,7), (20,7), (21,7), (22,7), (23,7), (24,8), ….
The proof depends on the fact
(p+1)FiFi+2−Fi−Fi+2<F2i+h(i≥3). |
Nevertheless, such h's are not necessarily sharp because even if (p+1)FiFi+2−Fi−Fi+2>F2i+h, it is possible to have gp(Fi,Fi+2,Fi+k)=gp(Fi,Fi+2) (k≥i+h).
The formulas about Fibonacci numbers can be applied to obtain those about Lucas numbers. The discussion is similar, though the value ⌊(Li−1)/Fk⌋ is different from ⌊(Fi−1)/Fk⌋. So, we list the results only.
When p=1, we have the following.
Theorem 6. For i≥3, we have
g1(Li,Li+2,Li+k)=(2Li−1)Li+2−Li(k≥i+4),g1(Li,Li+2,L2i+3)=(Fi+3−1)Li+2−Li,g1(Li,Li+2,L2i+2)=(3Fi−1−1)Li+2+L2i+2−Li. |
When r=⌊(Li−1)/Fk⌋≥1, that is, k≤i+1, we have
g1(Li,Li+2,Li+k)={(Li−rFk−1)Li+2+(r+1)Li+k−Liif (Li−rFk)Li+2≥Fk−2Li,(Fk−1)Li+2+rLi+k−Liif (Li−rFk)Li+2<Fk−2Li. |
When p=2, we have the following.
Theorem 7. For i≥3, we have
g2(Li,Li+2,Li+k)=(3Li−1)Li+2−Li(k≥i+4),g2(Li,Li+2,L2i+3)=(Li−1)Li+2+L2i+3−Li,g2(Li,Li+2,L2i+2)={(Li−1)Li+2+L2i+2−Li(i is odd)(2Li−1)Li+2−Li(i is even),g2(Li,Li+2,L2i+1)=(2Fi−1−1)Li+2+2L2i+1−Li,g2(Li,Li+2,L2i)=Li+2+3L2i−Li(=61)(i=3). |
When r=⌊(Li−1)/Fk⌋≥2, that is, k≤i except i=k=3, we have
g2(Li,Li+2,Li+k)={(Li−rFk−1)Li+2+(r+2)Li+k−Liif (Li−rFk)Li+2≥Fk−2Li,(Fk−1)Li+2+(r+1)Li+k−Liif (Li−rFk)Li+2<Fk−2Li. |
When p=3, we have the following.
Theorem 8. For i≥3, we have
g3(Li,Li+2,Li+k)=(4Li−1)Li+2−Li(k≥i+5),g3(Li,Li+2,L2i+4)=(4Fi−1−Fi−2−1)Li+2+L2i+4−Li,g3(Li,Li+2,L2i+3)=(4Fi+1−1)Li+2−Li,g3(Li,Li+2,L2i+2)=(Fi+2Fi−3−1)Li+2+2L2i+2−Li,g3(Li,Li+2,L2i+1)=(Fi−1−1)Li+2+3L2i+1−Li,g3(Li,Li+2,L2i)={(2Fi−3−1)Li+2+4L2i−Li(i≥4)3Li+2+2L2i−Li(=69)(i=3). |
When r=⌊(Li−1)/Fk⌋≥3, that is, k≤i−1, we have
g3(Li,Li+2,Li+k)={(Li−rFk−1)Li+2+(r+3)Li+k−Liif (Li−rFk)Li+2≥Fk−2Li,(Fk−1)Li+2+(r+2)Li+k−Liif (Li−rFk)Li+2<Fk−2Li. |
For general p, when r is not less than p, we have an explicit formula.
Theorem 9. Let i≥3 and p be a nonnegative integer. When r=⌊(Li−1)/Fk⌋≥p with (r,p)≠(0,0), we have
gp(Li,Li+2,Li+k)={(Li−rFk−1)Li+2+(r+p)Li+k−Liif (Li−rFk)Li+2≥Fk−2Li;(Fk−1)Li+2+(r+p−1)Li+k−Liif (Li−rFk)Li+2<Fk−2Li. |
By using the table of complete residue systems, we can also find explicit formulas of the p-Sylvester number, which is the total number of nonnegative integers that can only be expressed in at most p ways. When p=0, such a number is often called the Sylvester number.
When p=1, we have the following.
Theorem 10. For i≥3, we have
n1(Fi,Fi+2,Fi+k)=12(3FiFi+2−Fi−Fi+2+1)(k≥i+2), | (8.1) |
n1(Fi,Fi+2,F2i+1)=12(3FiFi+2−Fi−Fi+2+1)−(2Fi−Fk)Fk−2,(k=i,i+1). | (8.2) |
When r=⌊(Fi−1)/Fk⌋≥1, that is, k≤i−1, we have
n1(Fi,Fi+2,Fi+k)=12(Fi+2Fk−1)Fi+2−Fi+1)−(rFi−(r−1)(r+2)2Fk)Fk−2. | (8.3) |
Proof. When r=0 and 2ℓ+1≤Fk−1, by Fi−1=ℓ,
Fi−1∑j=0m(1)j=tℓ+1,0+⋯+t2ℓ+1,0=((2ℓ+1)(2ℓ+2)2−ℓ(ℓ+1)2)Fi+2=(3Fi−1)FiFi+22. |
Hence, by Lemma 1 (2.2), we have
n1(Fi,Fi+2,Fi+k)=(3Fi−1)Fi+22−Fi−12=12(3FiFi+2−Fi−Fi+2+1), |
which is (8.1).
When r=0 and 2ℓ+1≥Fk, by Fi−1=ℓ,
Fi−1∑j=0m(1)j=(tℓ+1,0+⋯+tFk−1,0)+(t0,1+⋯+t2ℓ+1−Fk,1)=((Fk−1)Fk2−ℓ(ℓ+1)2)Fi+2+(2ℓ+1−Fk)(2ℓ+2−Fk)2Fi+2+(2ℓ+2−Fk)Fi+k=((3Fi−1)Fi2−2FiFk+F2k)Fi+2+(2Fi−Fk)Fi+k. |
Since Fi+k=Fi+2Fk−FiFk−2,
Fi−1∑j=0m(1)j=((3Fi−1)Fi+22−(2Fi−Fk)Fk−2)Fi. |
Hence, by Lemma 1 (2.2), we have
n1(Fi,Fi+2,Fi+k)=(3Fi−1)Fi+22−(2Fi−Fk)Fk−2−Fi−12=12(3FiFi+2−Fi−Fi+2+1)−(2Fi−Fk)Fk−2, |
which is (8.2).
When r≥1, by Fi−1=rFk+ℓ, we have
Fi−1∑j=0m(1)j=r−2∑h=0(tFk,h+⋯+t2Fk−1,h)+(tFk,r−1+⋯+tFk+ℓ,r−1)+(tℓ+1,r+⋯+tFk−1,r)+(t0,r+1+⋯+tℓ,r+1)=(r−1)((2Fk−1)(2Fk)2−(Fk−1)Fk2)Fi+2+(r−2)(r−1)2FkFi+k+((Fk+ℓ)(Fk+ℓ+1)2−(Fk−1)Fk2)Fi+2+(ℓ+1)(r−1)Fi+k+((Fk−1)Fk2−ℓ(ℓ+1)2)Fi+2+(Fk−1−ℓ)rFi+k+ℓ(ℓ+1)2Fi+2+(ℓ+1)(r+1)Fi+k=12((r−1)(3Fk−1)Fk+(Fi−(r−1)Fk−1)(Fi−(r−1)Fk))Fi+2+((r−2)(r−1)2Fk+r(Fi−(r−1)Fk))Fi+k=12(Fi+2Fk−1)FiFi+2−(rFi−(r−1)(r+2)2Fk))Fk−2Fi. |
Hence, by Lemma 1 (2.2), we have
n1(Fi,Fi+2,Fi+k)=12(Fi+2Fk−1)Fi+2−(rFi−(r−1)(r+2)2Fk)Fk−2−Fi−12=12((Fi+2Fk−1)Fi+2−Fi+1)−(rFi−(r−1)(r+2)2Fk)Fk−2, |
which is (8.3).
When p=2, we have the following.
Theorem 11. For i≥3, we have
n2(Fi,Fi+2,Fi+k)=12(5FiFi+2−Fi−Fi+2+1)(k≥i+3), | (8.4) |
n2(Fi,Fi+2,F2i+2)=12((7Fi+2−6Fi−1)Fi−Fi+2+1), | (8.5) |
n2(Fi,Fi+2,F2i+1)=12((7Fi+2−8Fi−1)Fi−Fi+2+1), | (8.6) |
n2(Fi,Fi+2,F2i)=12(3FiFi+2−Fi−Fi+2+1), | (8.7) |
n2(Fi,Fi+2,F2i−1)=12((170Fi−1)Fi+(24Fi+2−125Fi−1)Fi+2+1). | (8.8) |
When r=⌊(Fi−1)/Fk⌋≥2, that is, k≤i−2, we have
n2(Fi,Fi+2,Fi+k)=12((Fi+4Fk−1)Fi+2−Fi+1)−12(2rFi−(r+3)(r−2)Fk)Fk−2. | (8.9) |
Proof. When r=0 and Fk≥3ℓ+3, by Fi−1=ℓ, we have
Fi−1∑j=0m(2)j=t2ℓ+2,0+⋯+t3ℓ+2,0=((3ℓ+2)(3ℓ+3)2−(2ℓ+1)(2ℓ+2)2)Fi+2=12(5Fi−1)FiFi+2. |
Hence, by Lemma 1 (2.2), we have
n2(Fi,Fi+2,Fi+k)=12(5Fi−1)Fi+2−Fi−12=12(5FiFi+2−Fi−Fi+2+1), |
which is (8.4).
When r=0 and 2ℓ+2≤Fk≤3ℓ+2, by Fi+k=Fi+2Fk−FiFk−2, we have
Fi−1∑j=0m(2)j=(t2ℓ+2,0+⋯+tFk−1,0)+(t0,1+⋯+t3ℓ+2−Fk,1)=((Fk−1)Fk2−(2ℓ+1)(2ℓ+2)2)Fi+2+(3ℓ+2−Fk)(3ℓ+3−Fk)2Fi+2+(3ℓ+3−Fk)Fi+k=12(5Fi−1)FiFi+2−(3Fi−Fk)FiFk−2. |
Hence, we have
n2(Fi,Fi+2,Fi+k)=12(5Fi−1)Fi+2−(3Fi−Fk)Fk−2−Fi−12=12(5FiFi+2−Fi−Fi+2+1)−(3Fi−Fk)Fk−2. |
This case occurs only when k=i+2. Hence, we get (8.5).
When r=0 and Fk≤2ℓ+1, we have
Fi−1∑j=0m(2)j=(tFk,0+⋯+t2ℓ+1,0)+(t2ℓ+2−Fk,1+⋯+tℓ,1)=((2ℓ+1)(2ℓ+2)2−(Fk−1)Fk2)Fi+2+(ℓ(ℓ+1)2−(2ℓ+1−Fk)(2ℓ+2−Fk)2)Fi+2+(Fk−ℓ−1)Fi+k=12(Fi+2Fk−1)FiFi+2−(Fk−Fi)FiFk−2. |
Hence, we have
n2(Fi,Fi+2,Fi+k)=12(Fi+2Fk−1)Fi+2−(Fk−Fi)Fk−2−Fi−12=12((Fi+2Fk−1)Fi+2−Fi+1)−(Fk−Fi)Fk−2. |
This case occurs only when k=i+1. Hence, by rewriting we get (8.6).
When r=1 and 2ℓ+2≤Fk, by Fi−1=Fk+ℓ, we have
Fi−1∑j=0m(2)j=(tFk+ℓ+1,0+⋯+t2Fk−1,0)+(tFk,1+⋯+tFk+ℓ,1)+(tℓ+1,2+⋯+t2ℓ+1,2)=((2Fk−1)(2Fk)2−(Fk+ℓ)(Fk+ℓ+1)2)Fi+2+((Fk+ℓ)(Fk+ℓ+1)2−(Fk−1)Fk2)Fi+2+(ℓ+1)Fi+k+((2ℓ+1)(2ℓ+2)2−ℓ(ℓ+1)2)Fi+2+2(ℓ+1)Fi+k=12(3Fi−1)FiFi+2−3(Fi−Fk)FiFk−2. |
Hence, we have
n2(Fi,Fi+2,Fi+k)=12(3Fi−1)Fi+2−3(Fi−Fk)Fk−2−Fi−12=12(3FiFi+2−Fi−Fi+2+1)−3(Fi−Fk)Fk−2. |
This case occurs only when k=i. Hence, we get (8.7).
When r=1 and 2ℓ+1≥Fk, we have
Fi−1∑j=0m(2)j=(tFk+ℓ+1,0+⋯+t2Fk−1,0)+(tFk,1+⋯+tFk+ℓ,1)+(tℓ+1,2+⋯+tFk−1,2)+(t0,3+⋯+t2ℓ+1−Fk,3)=((2Fk−1)(2Fk)2−(Fk+ℓ)(Fk+ℓ+1)2)Fi+2+((Fk+ℓ)(Fk+ℓ+1)2−(Fk−1)Fk2)Fi+2+(ℓ+1)Fi+k+((Fk−1)Fk2−ℓ(ℓ+1)2)Fi+2+2(Fk−ℓ−1)Fi+k+(2ℓ+1−Fk)(2ℓ+2−Fk)2Fi+2+3(2ℓ+2−Fk)Fi+k=12(3Fi−1)FiFi+2−(5Fi−6Fk)FiFk−2. |
Hence, we have
n2(Fi,Fi+2,Fi+k)=12(3Fi−1)Fi+2−(5Fi−6Fk)Fk−2−Fi−12=12(3FiFi+2−Fi−Fi+2+1)−(5Fi−6Fk)Fk−2. |
This case occurs only when k=i−1. Hence, after rewriting, we get (8.8).
When r≥2, by Fi−1=rFk+ℓ, we have
Fi−1∑j=0m(2)j=r−3∑h=0(t2Fk,h+⋯+t3Fk−1,h)+(t2Fk,r−2+⋯+t2Fk+ℓ,r−2)+(tFk+ℓ+1,r−1+⋯+t2Fk−1,r−1)+(tFk,r+⋯+tFk+ℓ,r)+(tℓ+1,r+1+⋯+tFk−1,r+1)+(t0,r+2+⋯+tℓ,r+2)=(r−2)((3Fk−1)(3Fk)2−(2Fk−1)(2Fk)2)Fi+2+(r−3)(r−2)2FkFi+k+((2Fk+ℓ)(2Fk+ℓ+1)2−(2Fk−1)(2Fk)2)Fi+2+(ℓ+1)(r−2)Fi+k+((2Fk−1)(2Fk)2−(Fk+ℓ)(Fk+ℓ+1)2)Fi+2+(Fk−ℓ−1)(r−1)Fi+k+((Fk+ℓ)(Fk+ℓ+1)2−(Fk−1)Fk2)Fi+2+(ℓ+1)rFi+k+((Fk−1)Fk2−ℓ(ℓ+1)2)Fi+2+(Fk−ℓ−1)(r+1)Fi+k+ℓ(ℓ+1)2Fi+2+(ℓ+1)(r+2)Fi+k=12(Fi+4Fk−1)FiFi+2−12(2rFi−(r+3)(r−2)Fk)FiFk−2. |
Hence, by Lemma 1 (2.2), we have
n2(Fi,Fi+2,Fi+k)=12(Fi+4Fk−1)Fi+2−12(2rFi−(r+3)(r−2)Fk)Fk−2−Fi−12=12((Fi+4Fk−1)Fi+2−Fi+1)−12(2rFi−(r+3)(r−2)Fk)Fk−2, |
which is (8.9).
When p=3, we have the following. The process is similar, and the proof is omitted.
Theorem 12. For i≥3, we have
n3(Fi,Fi+2,Fi+k)=12(7FiFi+2−Fi−Fi+2+1)(k≥i+3),n3(Fi,Fi+2,F2i+2)=(Fi−1)Fi+2+F2i+2−Fi,n3(Fi,Fi+2,F2i+1)=(Fi+Fi−2−1)Fi+2+F2i+1−Fi,n3(Fi,Fi+2,F2i)=12((5Fi−1)Fi+2−Fi+1)−2FiFi−2,n3(Fi,Fi+2,F2i−1)=12((Fi+4Fi−1−1)Fi+2−Fi+1)−2Fi−1Fi−3(i≥4),n3(Fi,Fi+2,F2i−2)=12((3Fi−1)Fi+2−Fi+1)−(8Fi−15Fi−2)Fi−4(i≥5). | (8.10) |
When r=⌊(Fi−1)/Fk⌋≥3, that is, k≤i−3, we have
n3(Fi,Fi+2,Fi+k)=12((Fi+6Fk−1)Fi+2−Fi+1)−12(2rFi−(r+4)(r−3)Fk)Fk−2. |
We can continue to obtain explicit formulas of np(Fi,Fi+2,Fi+k) for p=4,5,…. However, the situation becomes more complicated. We need more case-by-case discussions.
For general p, when r≥p, we can have an explicit formula.
Theorem 13. Let i≥3 and p be a nonnegative integer. When r=⌊(Fi−1)/Fk⌋≥p, we have
np(Fi,Fi+2,Fi+k)=12((Fi+2pFk−1)Fi+2−Fi+1)−12(2rFi−(r+p+1)(r−p)Fk)Fk−2. | (8.11) |
Remark. When p=0, Theorem 13 reduces to [24,Corollary 2].
Sketch of the proof of Theorem 13. We have
Fi−1∑j=0m(p)j=r−p−1∑h=0(tpFk,h+⋯+t(p+1)Fk−1,h)+(tpFk,r−p+⋯+tpFk+ℓ,r−p)+(t(p−1)Fk+ℓ+1,r−p+1+⋯+t(p−1)Fk−1,r−p+1)+(t(p−1)Fk,r−p+2+⋯+t(p−1)Fk+ℓ,r−p+2)+⋯+(tℓ+1,r+p−1+⋯+tFk−1,r+p−1)+(t0,r+p+⋯+tℓ,r+p)=12((r−p)((2p+1)Fk−1)Fk+(Fi−(r−p)Fk−1)(Fi−(r−p)Fk))Fi+2+((r−p−1)(r−p)2Fk+r(Fi−(r−p)Fk))Fi+k=12(Fi+2pFk−1)FiFi+2−12(2rFi−(r+p+1)(r−p)Fk)FiFk−2. |
Hence, by Lemma 1 (2.2), we have
np(Fi,Fi+2,Fi+k)=12(Fi+2pFk−1)Fi+2−12(2rFi−(r+p+1)(r−p)Fk)Fk−2−Fi−12=12((Fi+2pFk−1)Fi+2−Fi+1)−12(2rFi−(r+p+1)(r−p)Fk)Fk−2, |
which is (8.11).
Consider the Fibonacci triple (F6,F8,F10). Since F6−1=2F4+1, we see that r=2 and ℓ=1. Then, we can construct the first least set, the second least and 3rd, 4th and 5th least sets of the complete residue systems as follows.
①Ap(F6;0)={0,21,42,55,76,97,110,131}(modF6),②Ap(F6;1)={63,84,105,118,139,152,165,186}(modF6),③Ap(F6;2)={126,147,160,173,194,207,220,241}(modF6),④Ap(F6;3)={168,181,202,215,228,249,262,275}(modF6),⑤Ap(F6;4)={189,210,223,236,257,270,283,296}(modF6). |
![]() |
Therefore, by Lemma 1 (2.1) with (2.3), we obtain that
g0(F6,F8,F10)=131−8=123,g1(F6,F8,F10)=186−8=178,g2(F6,F8,F10)=241−8=233,g3(F6,F8,F10)=275−8=267,g4(F6,F8,F10)=296−8=288. |
By Lemma 1 (2.2) with (2.4), we obtain that
n0(F6,F8,F10)=0+21+⋯+1318−8−12=63,n1(F6,F8,F10)=63+84+⋯+1868−8−12=123,n2(F6,F8,F10)=126+147+⋯+2418−8−12=180,n3(F6,F8,F10)=168+181+⋯+2758−8−12=219,n4(F6,F8,F10)=189+210+⋯+2968−8−12=242. |
On the other hand, from (3.4), by (F6−2F4)F8>F2F6, we get
g1(F6,F8,F10)=(F6−2F4−1)F8+3F10−F6=178. |
From (4.6) and (5.2), we get
g2(F6,F8,F10)=(F6−2F4−1)F8+4F10−F6=233,g3(F6,F8,F10)=(F1−1)F8+5F10−F6=267, |
respectively. From (8.3), (8.9) and (8.10), we get
n1(F6,F8,F10)=12(F6+2F4−1)F8−F6+1)−(2F6−(2−1)(2+2)2F4)F2=123,n2(F6,F8,F10)=12((F6+4F4−1)F8−F6+1)−12(4F6−(2+3)(2−2)F4)F2=180,n3(F6,F8,F10)=12((3F6−1)F8−F6+1)−(8F6−15F4)F2=219, |
respectively.
In [31], a more general triple g(Fa,Fb,Fc) is studied for distinct Fibonacci numbers with a,b,c≥3. In [32], the Frobenius number g(a,a+b,2a+3b,…,F2k−1a+F2kb) is given for relatively prime integers a and b. Will we be able to say anything in terms of these p-Frobenius numbers?
The authors thank the anonymous referees for careful reading of this manuscript.
The authors declare there is no conflict of interest.
[1] |
T. Komatsu, The Frobenius number for sequences of triangular numbers associated with number of solutions, Ann. Comb., 26 (2022), 757–779. https://doi.org/10.1007/s00026-022-00594-3 doi: 10.1007/s00026-022-00594-3
![]() |
[2] | T. Komatsu, The Frobenius number associated with the number of representations for sequences of repunits, C. R. Math. Acad. Sci. Paris, (in press). |
[3] | J. J. Sylvester, Mathematical questions with their solutions, Educ. Times, 41 (1884), 21. |
[4] | J. Sylvester, On subinvariants, i.e. semi-invariants to binary quantics of an unlimited order, Am. J. Math., 5 (1882), 119–136. |
[5] | A. Assi, M. D'Anna, P. A. Garcia-Sanchez, Numerical Semigroups and Applications, 2nd edition, RSME Springer Series, Springer, Cham, 2020. |
[6] | J. L. Ramírez Alfonsín, The Diophantine Frobenius Problem, Oxford University Press, Oxford, 2005. |
[7] | J. J. Sylvester, On the partition of numbers, Quart. J. Pure Appl. Math., 1 (1857), 141–152. |
[8] |
A. Cayley, On a problem of double partitions, Philos. Mag., 20 (1860), 337–341. https://doi.org/10.1080/14786446008642957 doi: 10.1080/14786446008642957
![]() |
[9] | M. Beck, I. M. Gessel, T. Komatsu, The polynomial part of a restricted partition function related to the Frobenius problem, arXiv preprint, (2001), arXiv: math/0306036. https://doi.org/10.48550/arXiv.math/0306036 |
[10] | A. Tripathi, The number of solutions to ax+by=n, Fibonacci Q., 38 (2000), 290–293. |
[11] | T. Komatsu, On the number of solutions of the Diophantine equation of Frobenius–General case, Math. Commun., 8 (2003), 195–206. |
[12] | D. S. Binner, The number of solutions to ax+by+cz=n and its relation to quadratic residues, J. Integer Seq., 23 (2020). |
[13] | A. Brown, E. Dannenberg, J. Fox, J. Hanna, K. Keck, A. Moore, et al., On a generalization of the Frobenius number, arXiv preprint, (2010), arXiv: 1001.0207v2. https://doi.org/10.48550/arXiv.1001.0207 |
[14] |
L. Fukshansky, A. Schurmann, Bounds on generalized Frobenius numbers, Eur. J. Comb., 32 (2011), 361–368. https://doi.org/10.1016/j.ejc.2010.11.001 doi: 10.1016/j.ejc.2010.11.001
![]() |
[15] | F. Curtis, On formulas for the Frobenius number of a numerical semigroup, Math. Scand., 67 (1990), 190–192. |
[16] |
L. G. Fel, Frobenius problem for semigroups S(d1,d2,d3), Funct. Anal. Other Math., 1 (2006), 119–157. https://doi.org/10.1007/s11853-007-0009-5 doi: 10.1007/s11853-007-0009-5
![]() |
[17] | S. M. Johnson, A linear Diophantine problem, Canad. J. Math., 12 (1960), 390–398. |
[18] |
Ø. J. Rødseth, On a linear Diophantine problem of Frobenius, J. Reine Angew. Math., 301 (1978), 171–178. https://doi.org/10.1515/crll.1978.301.171 doi: 10.1515/crll.1978.301.171
![]() |
[19] |
A. Tripathi, Formulae for the Frobenius number in three variables, J. Number Theory, 170 (2017), 368–389. https://doi.org/10.1016/j.jnt.2016.05.027 doi: 10.1016/j.jnt.2016.05.027
![]() |
[20] |
A. M. Robles-Pérez, J. C. Rosales, The Frobenius number for sequences of triangular and tetrahedral numbers, J. Number Theory, 186 (2018), 473–492. https://doi.org/10.1016/j.jnt.2017.10.014 doi: 10.1016/j.jnt.2017.10.014
![]() |
[21] |
J. C. Rosales, M. B. Branco, D. Torrão, The Frobenius problem for Thabit numerical semigroups, J. Number Theory, 155 (2015), 85–99. https://doi.org/10.1016/j.jnt.2015.03.006 doi: 10.1016/j.jnt.2015.03.006
![]() |
[22] |
J. C. Rosales, M. B. Branco, D. Torrão, The Frobenius problem for Mersenne numerical semigroups, Math. Z., 286 (2017), 741–749. https://doi.org/10.1007/s00209-016-1781-z doi: 10.1007/s00209-016-1781-z
![]() |
[23] |
M. Beck, C. Kifer, An extreme family of generalized Frobenius numbers, Integers, 11 (2011), 639–645. https://doi.org/10.1515/integ.2011.048 doi: 10.1515/integ.2011.048
![]() |
[24] | J. M. Marin, J. Alfonsin, M. P. Revuelta, On the Frobenius number of Fibonacci numerical semigroups, arXiv preprint, (2006), arXiv: math/0606717. https://doi.org/10.48550/arXiv.math/0606717 |
[25] | R. Apéry, Sur les branches superlinéaires des courbes algébriques, C. R. Acad. Sci. Paris, 222 (1946), 1198–1200. |
[26] | E. S. Selmer, On the linear diophantine problem of Frobenius, J. Reine Angew. Math., 1977 (1977), 1–17. |
[27] | A. Brauer, B. M. Shockley, On a problem of Frobenius, J. Reine. Angew. Math., 211 (1962), 215–220. |
[28] |
T. Komatsu, Sylvester power and weighted sums on the Frobenius set in arithmetic progression, Discrete Appl. Math., 315 (2022), 110–126. https://doi.org/10.1016/j.dam.2022.03.011 doi: 10.1016/j.dam.2022.03.011
![]() |
[29] | T. Komatsu, Y. Zhang, Weighted Sylvester sums on the Frobenius set, arXiv preprint, (2021), arXiv: 2105.08274. https://doi.org/10.48550/arXiv.2105.08274 |
[30] | T. Komatsu, Y. Zhang, Weighted Sylvester sums on the Frobenius set in more variables, arXiv preprint, 2021, arXiv: 2101.04298. https://doi.org/10.48550/arXiv.2101.04298 |
[31] |
L. G. Fel, Symmetric numerical semigroups generated by Fibonacci and Lucas triples, Integers, 9 (2009), 107–116. https://doi.org/10.1515/INTEG.2009.010 doi: 10.1515/INTEG.2009.010
![]() |
[32] | S. S. Batra, N. Kumar, A. Tripathi, On a linear Diophantine problem involving the Fibonacci and Lucas sequences, Integers, 15 (2015). |
1. | Takao Komatsu, Claudio Pita-Ruiz, The Frobenius Number for Jacobsthal Triples Associated with Number of Solutions, 2023, 12, 2075-1680, 98, 10.3390/axioms12020098 | |
2. | Takao Komatsu, Shanta Laishram, Pooja Punyani, p-Numerical Semigroups of Generalized Fibonacci Triples, 2023, 15, 2073-8994, 852, 10.3390/sym15040852 | |
3. | Takao Komatsu, Haotian Ying, p-Numerical semigroups with p-symmetric properties, 2024, 23, 0219-4988, 10.1142/S0219498824502165 | |
4. | Takao Komatsu, Haotian Ying, The p-Numerical Semigroup of the Triple of Arithmetic Progressions, 2023, 15, 2073-8994, 1328, 10.3390/sym15071328 | |
5. | Takao Komatsu, On the determination of p-Frobenius and related numbers using the p-Apéry set, 2024, 118, 1578-7303, 10.1007/s13398-024-01556-5 | |
6. | Takao Komatsu, Ruze Yin, 2024, Chapter 2, 978-3-031-49217-4, 15, 10.1007/978-3-031-49218-1_2 | |
7. | Takao Komatsu, Vichian Laohakosol, The p-Frobenius Problems for the Sequence of Generalized Repunits, 2024, 79, 1422-6383, 10.1007/s00025-023-02055-6 | |
8. | Ruze Yin, Takao Komatsu, Frobenius Numbers Associated with Diophantine Triples of x2-y2=zr, 2024, 16, 2073-8994, 855, 10.3390/sym16070855 | |
9. | Ruze Yin, Jiaxin Mu, Takao Komatsu, The p-Frobenius Number for the Triple of the Generalized Star Numbers, 2024, 16, 2073-8994, 1090, 10.3390/sym16081090 | |
10. | Evelia R. García Barroso, Juan I. García-García, Luis José Santana Sánchez, Alberto Vigneron-Tenorio, On p-Frobenius of Affine Semigroups, 2024, 21, 1660-5446, 10.1007/s00009-024-02625-0 | |
11. | TAKAO KOMATSU, NEHA GUPTA, MANOJ UPRETI, FROBENIUS NUMBERS ASSOCIATED WITH DIOPHANTINE TRIPLES OF $x^2+y^2=z^3$ , 2024, 0004-9727, 1, 10.1017/S0004972724000960 | |
12. | Jiaxin Mu, Takao Komatsu, p-Numerical Semigroups of Triples from the Three-Term Recurrence Relations, 2024, 13, 2075-1680, 608, 10.3390/axioms13090608 | |
13. | Takao Komatsu, Fatih Yilmaz, The p-Frobenius number for the triple of certain quadratic numbers, 2024, 1367-0751, 10.1093/jigpal/jzae125 |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |