Abstract
For given positive integers with , the denumerant is the number of nonnegative solutions of the linear equation for a positive integer n. For a given nonnegative integer p, let be the set of all nonnegative integer n’s such that . In this paper, by introducing the p-numerical semigroup, where the set is finite, we give explicit formulas of the p-Frobenius number, which is the maximum of the set , and related values for the triple of arithmetic progressions. The main aim is to determine the elements of the p-Apéry set.
MSC:
11D07; 05A15; 05A17; 05A19; 11B68; 11D04; 11P81; 20M14
1. Introduction
For integer , consider a set of positive integers . Denote by the number of nonnegative solutions of the linear equation for a positive integer n. Recently, the concept of p-numerical semigroups was introduced together with their symmetric characteristics [1]. is often called the denumerant. For a given nonnegative integer p, let be the set of all nonnegative integer n’s such that . For the set of nonnegative integers , the set is finite if and only if . Then, there exists the largest element in , which is called the p-Frobenius number, and each element is called the gap. For the so-called p-numerical semigroup , the cardinality and the sum of are called the p-Sylvester number (or the p-genus) and the p-Sylvester sum, respectively. When , is the original numerical semigroup, and the 0-Frobenius number is the original Frobenius number . Finding the Frobenius and related values is the well-known linear Diophantine problem, posed by Sylvester [2] but known as the Frobenius problem, is the problem to determine the Frobenius number . The Frobenius problem has been also known as the coin exchange problem (or postage stamp problem/chicken McNugget problem), which has a long history and is one of the problems that has attracted many people as well as experts. The genus is often fundamental in the study of algebraic curves and commutative algebra.
For two variables , it is shown that [2,3]
An explicit expression of the Sylvester sum is given by Brown and Shiue [4] for two variables as
This result is extended in [5] for the power sum of the set of gaps , defined by
in the case of . However, for three or more variables, it is very complicated to find a general explicit formula for the Frobenius number, Sylvester number, and Sylvester sum. Only for some special cases have explicit formulas been found, including arithmetic, geometric-like, Fibonacci, Mersenne, and triangular (see, e.g., [6] and references therein). The study of semigroups of natural numbers generated by three elements and its applications to algebraic geometry can be seen in [7]. Some inexplicit formulas for the Frobenius number in three variables can be seen in [8].
When , the situation becomes even more difficult. For two variables, it is still easy to find explicit formulas of , , and . However, for three or more variables, no explicit formula had been found, but finally, in 2022, we succeeded in obtaining closed formulas for some special cases, including the triplets of triangular numbers [9], repunits [10], Fibonacci [11], and Jacobsthal numbers [12,13].
We are interested in finding any explicit closed formula for . In this paper, we give explicit formulas for the triples forming arithmetic progressions , where a and d are positive integers with . The main result is given as follows (Theorem 1). For ,
We also show their explicit closed formulas for the power sum (Theorem 2) and the weighted sum , defined by (Theorem 3)
By exploiting the theory developed in this paper, it may be possible to find values in p-numerical semigroups for other special triplets and sequences. Several new advanced results when have been achieved, e.g., in [14,15,16,17,18,19,20,21,22,23,24,25]. Some applications to Pell sequences can be found in [26,27].
2. Preliminaries
We introduce an extension of the Apéry set (see [28]) in order to obtain the formulas for , , and . Without loss of generality, we assume that .
Definition 1.
Let p be a nonnegative integer. For a set of positive integers with and we denote it as
the p-Apéry set of A, where each () satisfied the conditions:
Note that is defined to be 0.
It follows that for each p, the set is a complete residue system modulo . That is,
By using the elements in , the power sum of the elements in can be given [29] (see also [30]).
Proposition 1.
Let k, p, and μ be integers with , , and . Assume that . We have
where are Bernoulli numbers defined by
When in Proposition 1, together with , we have formulas for the p-Frobenius number, the p-Sylvester number, and the p-Sylvester sum.
Lemma 1.
Let k and p be integers with and . Assume that . We have
3. The Main Result
In this section, we shall show the main result and give its proof.
Theorem 1.
Let a and d be integers with , , and . Then, for ,
Remark 2.
When , the formulas reduce to
and
respectively, which are [32] ((3.9) and (3.10)) when .
Let for nonnegative integers and . In the following tables, this is denoted by for simplicity.
When a is odd, as seen in [32] (3.6), () as the complete residue system (minimal system) modulo a is given by Table 1.
Table 1.
Complete residue system for odd a.
Concerning the complete residue system , each congruent value modulo a moves up one line to the upper right block. However, only the two values in the top row move to fill the gap below the first block (see Table 2). Namely, for
and
Table 2.
Complete residue system from for odd a.
Since
we can know that each element in has exactly two expressions in terms of . Note that each element minus a has only one expression which is yielded from the right-hand side, that is,
Considering the maximal value, it is clear that
Concerning the complete residue system , each congruent value modulo a moves up one line to the upper right block (the third block). However, only the two values in the top row in the second block move to fill the gap below the first block (see Table 3). Namely, for
and
Table 3.
Complete residue system from for odd a.
Since
we can know that each element in has exactly three expressions in terms of . Note that each element minus a has two expressions which are yielded from the right-hand side, that is,
Considering the maximal value, it is clear that
If this process is continued for , when , the state shown in Table 4 is reached. Here, the shaded cell parts show the elements of . Elements with the same residues modulo a move in the following positions according to .
Table 4.
Complete residue system for odd a.
Indeed, each element in has exactly expressions because
But any element has expressions.
Considering the maximal value, it is clear that
However, such a process cannot be continued further than . When , the same residue of modulo a comes to the position and no element comes to the bottom left position . Thus, after that, the pattern shifts and is complicated, so it becomes difficult to determine where the maximum element of is.
Therefore, when a is odd, for ,
Concerning the number of representations, we need the summation of the elements in . The elements in the staircase are
and the elements in the large block are
Hence,
Hence, by Lemma 1 (4)
When a is even, () is given by Table 5.
Table 5.
Complete residue system for even a.
Each congruent value modulo a moves up one line to the upper right block. However, only the two values in the top row move to fill the gap below the first block. Namely, for
and
When the process is continued for , the state shown in Table 6 is reached. Here, the shaded cell parts show the elements of . Elements with the same residues modulo a move in the following positions according to .
Table 6.
Complete residue system for even a.
Each element in has exactly expressions because
But any element has expressions.
Since the maximal value in is at the position , when a is even, for ,
However, when , no element comes to the position or because there is no element of in the top row. Hence, after , the pattern is shifted and the situation becomes irregular and complicated.
Concerning the number of representations, the elements in the staircase are
and the elements in the large block are
Hence,
Hence, by Lemma 1 (4)
In [32] (3.9),
In [32] (3.10),
where integers q and r are determined as
4. Power Sums
More generally, we can show a formula for the p-Sylvester power sum
so that and . Once we know the exact structure of every element in , by applying Proposition 1, we can obtain the formula. Namely, we need to calculate for . From the previous section, when n is odd,
When n is even
Hence, by Proposition 1, we obtain the generalized Sylvester power sum for .
Theorem 2.
Let a, d, p, and μ be integers with , , , , and . Then, when a is odd, we have
When a is even, we have
In particular, when , Theorem 2 reduces the formula of the p-Sylvester sum of the triple forming an arithmetic progression.
Corollary 1.
Let a and d be integers with , and . Then, for , when a is odd, we have
When a is even, we have
5. Weighted Sums
In this section, we consider the weighted sums whose numbers of representations are less than or equal to p [34,35]:
where and is a positive integer.
Here, Eulerian numbers appear in the generating function
with and , and have an explicit formula
Then, an explicit formula of the p-weighted sum is given in terms of the elements in [29] (see also [30]).
Lemma 2.
Assume that and . Then, for a positive integer μ,
In order to obtain the formula for the p-Sylvester weighted power sum, we need to calculate for , and . We use the formula
where denote the Stirling numbers of the second kind, calculated as
From the previous section, when n is odd,
When n is even,
Hence, by Lemma 2, we obtain the generalized Sylvester weighted power sum for .
Theorem 3.
Let a, d, p, λ, and μ be integers with , , , , , , and . Then, when a is odd, we have
When a is even, we have
Remark 3.
The case is not included in Theorem 3, but in Theorem 2.
6. Examples
For , that is, and , when , by Theorem 1, Corollary 1, Theorems 2, and 3, we have
For , that is, and , when , we have
In fact, the integers whose representations in terms of are less than or equal to 3 are
Hence, for example,
7. Final Comments
It should not be thought that a similar repetitive process to [KLP,KP,KY] is simply going on in any triple. For example, it is known that some triples of Pell sequences do not follow a similar process but the formation of the elements of 0-Apéry set is different (in preparation).
In addition, it is still very difficult to find any explicit formula for four or more variables in the sequence of arithmetic progressions too. For the moment, only in the case of repunits [10], for explicit formulas about four and five repunits are obtained, though the structures are even more complicated than for three variables. One of the reasons for the difficulties lies in the following. In the case of three variables, for any j (), . However, in the case of four and more variables, for some j’s, . This means that some elements in and in are overlapped.
Selmer [32] found a formula of the Frobenius number for almost arithmetic sequences by generalizing the previous result (Roberts [36] for ; Brauer [37] for ). For a positive integer h,
Selmer also gave an explicit formula for the Sylvester number . Some formulas for the Sylvester sum and its variations are given in [38]. However, it is known that even when (the sequence of consecutive odd numbers), we have not found any explicit form of for general .
Another problem is whether we can find any convenient formula when .
Author Contributions
Writing—original draft preparation, T.K.; writing—review and editing, H.Y. All authors have read and agreed to the published version of the manuscript.
Funding
This research received no external funding.
Data Availability Statement
Not applicable.
Acknowledgments
The authors thank the referees for carefully reading of the manuscript.
Conflicts of Interest
The author declares no conflict of interest.
References
- Komatsu, T.; Ying, H. p-numerical semigroups with p-symmetric properties. J. Algebra Appl. 2024, 23. (Online Ready). [Google Scholar] [CrossRef]
- Sylvester, J.J. Mathematical questions with their solutions. Educ. Times 1884, 41, 21. [Google Scholar]
- Sylvester, J.J. On subinvariants, i.e., semi-invariants to binary quantics of an unlimited order. Am. J. Math. 1882, 5, 119–136. [Google Scholar] [CrossRef]
- Brown, T.C.; Shiue, P.J. A remark related to the Frobenius problem. Fibonacci Quart. 1993, 31, 32–36. [Google Scholar]
- Rødseth, Ø.J. A note on Brown and Shiue’s paper on a remark related to the Frobenius problem. Fibonacci Quart. 1994, 32, 407–408. [Google Scholar]
- Robles-Pérez, A.M.; Rosales, J.C. The Frobenius number for sequences of triangular and tetrahedral numbers. J. Number Theory 2018, 186, 473–492. [Google Scholar] [CrossRef]
- Herzog, J. Generators and relations of abelian semigroups and semigroup rings. Manuscripta Math. 1970, 3, 175–193. [Google Scholar] [CrossRef]
- Tripathi, A. Formulae for the Frobenius number in three variables. J. Number Theory 2017, 170, 368–389. [Google Scholar] [CrossRef]
- Komatsu, T. The Frobenius number for sequences of triangular numbers associated with number of solutions. Ann. Comb. 2022, 26, 757–779. [Google Scholar] [CrossRef]
- Komatsu, T. The Frobenius number associated with the number of representations for sequences of repunits. C. R. Math. Acad. Sci. Paris 2023, 361, 73–89. [Google Scholar] [CrossRef]
- Komatsu, T.; Ying, H. The p-Frobenius and p-Sylvester numbers for Fibonacci and Lucas triplets. Math. Biosci. Eng. 2023, 20, 3455–3481. [Google Scholar] [CrossRef] [PubMed]
- Komatsu, T.; Pita-Ruiz, C. The Frobenius number for Jacobsthal triples associated with number of solutions. Axioms 2023, 12, 98. [Google Scholar] [CrossRef]
- Komatsu, T.; Laishram, S.; Punyani, P. p-numerical semigroups of generalized Fibonacci triples. Symmetry 2023, 15, 852. [Google Scholar] [CrossRef]
- Binner, D.S. Proofs of Chappelon and Ramirez Alfonsin conjectures on square Frobenius numbers and their relationship to simultaneous Pell equations. Integers 2023, 23, A12. [Google Scholar]
- Bokaew, R.; Yuttanan, B.; Mavecha, S. Formulae of the Frobenius number in relatively prime three Lucas numbers. Songklanakarin J. Sci. Technol. 2020, 42, 1077–1083. [Google Scholar]
- Branco, M.B.; Manuel, B.; Colaco, I.; Ojeda, I. The Frobenius problem for generalized repunit numerical semigroups. Mediterr. J. Math. 2023, 20, 18. [Google Scholar] [CrossRef]
- Hashuga, M.; Herbine, M.; Jensen, A. Numerical semigroups generated by quadratic sequences. Semigroup Forum 2022, 104, 330–357. [Google Scholar] [CrossRef]
- Liu, F.; Xin, G. On Frobenius formulas of power sequences. arXiv 2023, arXiv:2210.02722. [Google Scholar]
- Liu, F.; Xin, G. A combinatorial approach to Frobenius numbers of some special sequences (Complete version). arXiv 2023, arXiv:2303.07149. [Google Scholar]
- Liu, F.; Xin, G.; Ye, S.; Yin, J. The Frobenius formula for A = {a, ha + d, ha + b2d, ⋯, ha + bkd}. arXiv 2023, arXiv:2304.09039. [Google Scholar]
- Liu, F.; Xin, G.; Ye, S.; Yin, J. A generalization of Mersenne and Thabit numerical semigroups. arXiv 2023, arXiv:2306.03459. [Google Scholar]
- Liu, F.; Xin, G.; Ye, S.; Yin, J. A Note on generalized repunit numerical semigroups. arXiv 2023, arXiv:2306.10738. [Google Scholar]
- Robles-Pérez, A.M.; Rosales, J.C. A Frobenius problem suggested by prime k-tuplets. Discret. Math. 2023, 346, 113394. [Google Scholar] [CrossRef]
- Rosales, J.C.; Branco, M.B.; Traesel, M.A. Numerical semigroups without consecutive small elements. Int. Algebra Comput. 2023, 33, 67–85. [Google Scholar] [CrossRef]
- Shallit, J. Frobenius numbers and automatic sequences. Integers 2021, 21, A124. [Google Scholar]
- Çağman, A. Repdigits as product of Fibonacci and Pell numbers. Turkish J. Sci. 2021, 6, 31–35. [Google Scholar]
- Erdağ, Ö.; Devece, Ö.; Karaduman, E. The complex-type cyclic-Pell sequence and its applications. Turkish J. Sci. 2022, 7, 202–210. [Google Scholar]
- Apéry, R. Sur les branches superlinéaires des courbes algébriques. C. R. Acad. Sci. Paris 1946, 222, 1198–1200. [Google Scholar]
- Komatsu, T. On p-Frobenius and related numbers due to p-Apéry set. arXiv 2022, arXiv:2111.11021. [Google Scholar]
- Komatsu, T. Sylvester power and weighted sums on the Frobenius set in arithmetic progression. Discrete Appl. Math. 2022, 315, 110–126. [Google Scholar] [CrossRef]
- Brauer, A.; Shockley, B.M. On a problem of Frobenius. J. Reine Angew. Math. 1962, 211, 215–220. [Google Scholar]
- Selmer, E.S. On the linear diophantine problem of Frobenius. J. Reine Angew. Math. 1977, 293–294, 1–17. [Google Scholar]
- Tripathi, A. On sums of positive integers that are not of the form ax + by. Am. Math. Mon. 2008, 115, 363–364. [Google Scholar] [CrossRef]
- Komatsu, T.; Zhang, Y. Weighted Sylvester sums on the Frobenius set. Irish Math. Soc. Bull. 2021, 87, 21–29. [Google Scholar] [CrossRef]
- Komatsu, T.; Zhang, Y. Weighted Sylvester sums on the Frobenius set in more variables. Kyushu J. Math. 2022, 76, 163–175. [Google Scholar] [CrossRef]
- Roberts, J.B. Notes on linear forms. Proc. Am. Math. Soc. 1956, 7, 465–469. [Google Scholar] [CrossRef]
- Brauer, A. On a problem of partitions. Amer. J. Math. 1942, 64, 299–312. [Google Scholar] [CrossRef]
- Komatsu, T. Sylvester sums on the Frobenius set in arithmetic progression. In Mathematical Methods for Engineering Applications; Yilmaz, F., Queiruga-Dios, A., Santos Sánches, M.J., Rasteiro, D., Gayoso Martínez, V., Vaquero, J.M., Eds.; Springer Proceedings in Mathematics & Statistics; Springer: Cham, Switzerland, 2022; Volume 384, pp. 1–23. [Google Scholar] [CrossRef]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2023 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/).