Abstract
This article focuses on searching and classifying balancing numbers in a set of arithmetic progressions. The sufficient and necessary conditions for the existence of balancing numbers are presented. Moreover, explicit formulae of balancing numbers and various relations are included.
1. Introduction
An integer n is called a balancing number if there exists another integer r, called a balancer, corresponding to n, such that the following Diophantine equation holds
For example, 6 is a balancing number with balancer 2. We allow 1 to be the first balancing number with the first balancer 0. Let be the m-th balancing number and be the m-th balancer. Then we have that (OEIS: A001109) and (OEIS: A053141). The problem of determining all balancing numbers in the set of natural numbers leads to a second order linear recursive sequence or a Pell equation. In [], Behera and Panda prove that the square of any balancing number is a triangular number. In fact, it is easy to derive that n is a balancing number if and only if is a triangular number, and if and only if is a perfect square. They also proved that the balancing sequence fulfilled the recursive relation
for all with initials . According to the recursive relation, it forces that .
From (1), we have
or
Since r is an integer, then must be an odd square, say with t odd. We have
where is the m-th triangular number. The m-th Lucas-balancing number may be defined by and (OEIS: A001541). In addition, one can check that and the relation for any .
Similarly, one can define the cobalancing numbers with cobalancers as the solutions in to the Diophantine equation
From (2), it implies that n is a cobalancing number if and only if is a triangular number, and if and only if is a perfect square. Throughout this paper, let and be the m-th cobalancing number, the m-th cobalancer, and the m-th Lucas-balancing number, respectively. For example, and .
Various possible generalizations of balancing numbers, balancers, and Lucas-balancing numbers have been studied by several authors from many aspects. In [], Panda defined sequence balancing numbers with sequence balancers as follows. Let be a sequence of real numbers. We call a pair a sequence balancing number with sequence balancer if
Kovács, Liptai and Olajos [] introduced the concept of sequence balancing numbers to the sequence of arithmetic progressions. They defined the -type balancing numbers with the -type balancer as solutions of the Diophantine equation
where and are coprime integers. In [], several effective finiteness and explicit results about -type balancing numbers had been given. In particular, Kovács et al. proved the following theorem.
Theorem 1
(Theorem 2 in []). If , then there is no perfect power -type balancing number.
Thus, a question naturally arises: can we determine all -type balancing numbers in the set of arithmetic progressions? In this paper, we will provide an answer to this question. In other words, we search “few” balances in the set of arithmetic progressions. First, we must be clear about the terminology and notation. We denote the m-th -type balancing number, if it exists for infinitely many m, by . Note that when , we get nothing but the original balancing number . Instead of requesting integers and , our definition of -type balancing should only exclude from the cases or . For the former case , it is trivial. For the later case, we just notice for any integer that
Without loss of generality, we may assume that , for otherwise, use the above identity by putting . For our convenience, let . We allow that 1 is the first balancing number, i.e., , as well as . The -type balancer is defined to be the least number r, which satisfies (3) and the m-th -type balancer is denoted by if it exists.
This paper is organized as follows. In Section 2, we present a sufficient and necessary condition for the existence of the -type balancing number for infinitely many m. Precisely, we show numbers exist for infinitely many m if and only if . Moreover, we sort and classify all -type balancing numbers and provide explicit formulae for them. In Section 3, we discuss the -type cobalancing numbers, the -type cobalancers, and the -type Lucas-cobalancing numbers. We summarize the paper in the conclusion section.
2. Main Results
The problem of determining all -type balancing numbers in the set of arithmetic progressions leads to the equation . In the following, we derive the condition as a sufficient and necessary condition for the existence of the -type balancing number for infinitely many m.
On one hand, from (3) we have
or
We solve the equation in r directly to get
It “forces” that the number must be a perfect square. We then define the m-th -type Lucas-balancing number by
Note that both a and have the same parity. Now we have, for all ,
On the other hand, multiplying Equation (4) by (note that ), we get
Let and . We may rewrite (5) as
where . To solve Equation (6), we solve the following Pell equation in two variables :
The fundamental solution is and, thus, all the solutions can be determined by
for any . Notice that is an initial solution of the Equation (6). Hence, all solutions of the Equation (6) takes the form
Suppose that . It is easy to prove that both sequences satisfy the same recurrence relation as below
for and with initials and , respectively. Therefore, we conclude that and , the m-th Lucas-balancing number, and the m-th balancing number.
Now, we get
It immediately implies that
Whether the positive or negative sign it takes, the key to guarantee is . In light of (this follows easily by strong induction on m), we may rewrite the explicit formulae for the -type balancing number as
For example, when , we have for all . Another example, when , we relabel the -type balancing numbers according to Equation (7). That is, for ,
Indeed, we have (OEIS:A006452) and that
Actually the number is an integer n, such that is a perfect square. Thus, is a triangular number. In [], Subramaniam studied such an integer n, which he called the almost square triangular number (ASTN) of type , such that is triangular. See also Theorem 2.2.2 in [].
In addition, we see that the x-solutions of Equation (5) are given by
In light of and , we can solve for from (8):
and the recursive relation for all .
Recall that is an odd square if n is a balancing number. Thus, the number must be an odd integer for each positive integer m. Hence, we conclude that
That is, under the restriction of , the positive integer a is taken either 1 or 2. We summarize the above discussion in the following theorem.
Theorem 2.
Let be two coprime integers with . The sufficient and necessary condition for the existence of the -type balancing number , the -type balancer , and the -type Lucas-balancing number for all is .
We now give explicit formulae for the -type balancing numbers with the -type balancers by distinguishing four cases, according to or .
(Case 1: .) If , we get exactly the original balancing number and balancer, . For , in this case, the two relations in (7) make sense, since both for all m. Hence, we just relabel and conclude that the explicit formula for the -type balancing numbers is given by, for all ,
In light of (8) and (9), the corresponding -type balancers and Lucas-balancing numbers are then given by
for all .
(Case 2: .) In this case, we search the balances in the sequence . By definition, . We see that the first few elements of the sequence are negative, and they must cancel each other out with the first few positive elements. In fact, if , then it is easy to see that for all . If for some and for some , then and for all . To see this, just notice the identity
The above identity holds by the definition of balancing numbers with the balancer.
The corresponding -type balancers are given as below. By definition, . Moreover, we have
and for , if and for otherwise.
In addition, we have that and
and for ,
(Case 3: odd.) When , we obtain that by (7). Thus, it implies that . So the balancing numbers in the sequence are those Lucas-balancing numbers in the sequence of positive integers. Moreover, by (8) and (9), and .
For is an odd integer, we have and for all
In viewing of (8) and (9), the corresponding -type balancers and Lucas-balancing numbers are then given by
for all .
(Case 4: odd.) The simplest subcase gives . The sequence of integers begins with , which are related to the square order of simple groups and these numbers are called NSW numbers []. The NSW numbers have nice properties similar to Mersenne numbers with p prime. It is easy to see that NSW numbers verify the recurrence relation . E. Barcucci et al. [] gave a combinatorial interpretation of the sequence of NSW numbers. Actually, they proved that the cardinality of the set of words of having length m is equal to .
For all , the corresponding -type balancers and Lucas-balancing numbers are given by
respectively.
For is an odd integer, we note that . The identity
implies that if for some and for some . If , we have that . For , we have
The corresponding -type balancers are given as below. By definition, . Moreover, we have
and for , if and for otherwise.
Furthermore, we have that for odd and
and for , if and for otherwise.
3. -Type Cobalancing Numbers
Let be two coprime integers with . We say that is an -type cobalancing number if
with a corresponding number , which is called the cobalancer. Let and be the m-th -type cobalancing number, the m-th -type cobalancer, respectively.
The Equation (10) is equivalent to
or with , and . If ; that is , the equation has no nonzero solution. For , all integral solutions can be determined by
for any . It implies that
and
That is, and it implies that if and only if .
If we solve the Equation (11) in r directly, we obtain
It forces that the number must be a perfect square number. Thus, we define the m-th -type Lucas-cobalancing number by . In other words, for all ,
Hence, the integral solutions can be determined by
for any . Then, from (13) and (14), we deduce the identity (12) and also
Notice that when , in this case, we have , then there do not exist any -type cobalancing numbers (in the sequence of odd positive integers) and for all . This result coincides with Theorem 2.1.6 given in [].
According to the identity (12), the following theorem follows easily by induction on m.
Theorem 3.
Let be two coprime integers with , and . Then we have for
with initial values . Moreover, for , we have
with initials , and .
4. Conclusions
Our Theorem 2 says that the only guarantee of having the existence of -type balancing numbers for infinitely many m is by satisfying the condition . Although the equation has infinitely many solutions in integers , it reduces the only one under the conditions and . For, we assume that and for some integer k, then . It implies that and since . That is . When , the -type balancing number is nothing but the original balancing number. Thus, Theorem 1 actually says that there is no perfect power in the sequence of balancing numbers.
From the y-solutions of the Pell equation , we see that is the coefficient of the irrational part in the expansion of . If , for some integer , we obtain that
If , we obtain that
Similarly, the Lucas-balancing numbers are all x-solutions of the Pell equation . So, we simply obtain that
and
Corollary 1.
For any integer , we have
Of course, some explicit formulae of cobalancing and Lucas-cobalancing numbers, and some modular relations among them, can be obtained in a similar way. We leave it to the interested reader.
Author Contributions
Article by C.-L.C., C.Z. and K.Z. The authors contributed equally to this work. All authors have read and agreed to the published version of the manuscript.
Funding
This research was supported by Fuzhou University grant GXRC-18049:0030-510649, XRC18075:0030-510730, GXRC-19037:0030-510809, and Fujian Natural Science grant No. 2020J01498.
Acknowledgments
The authors thank the anonymous reviewers for the comments concerning this paper. We found them to be helpful and constructive.
Conflicts of Interest
The authors declare no conflict of interest.
References
- Behera, A.; Panda, G.K. On the square roots of triangular numbers. Fibonacci Q. 1999, 37, 98–105. [Google Scholar]
- Panda, G.K. Sequence balancing and cobalancing numbers. Fibonacci Q. 2007, 45, 265–271. [Google Scholar]
- Kovács, T.; Liptai, K.; Olajos, P. On (a,b)-balancing numbers. Publ. Math. Debr. 2010, 77, 485–498. [Google Scholar]
- Subramaniam, K.B. Almost square triangular numbers. Fibonacci Q. 1999, 37, 194–197. [Google Scholar]
- Newman, M.; Shanks, D.; Williams, H.C. Simple groups of square order and an interesting sequence of primes. Acta Arith. 1980, 38, 129–140. [Google Scholar] [CrossRef][Green Version]
- Barcucci, E.; Brunetti, S.; Del Lungo, A.; Del Ristoro, F. A combinatorial interpretation of the recurrence fn+1=6fn − fn−1. Discret. Math. 1998, 190, 235–240. [Google Scholar] [CrossRef][Green Version]
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations. |
© 2021 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).