Abstract
In this paper, we give closed-form expressions of the p-Frobenius number for the triple of the generalized star numbers for an integer . When , it is reduced to the famous star number. For the set of given positive integers , the p-Frobenius number is the largest integer N whose number of non-negative integer representations is at most p. When , the 0-Frobenius number is the classical Frobenius number, which is the central topic of the famous linear Diophantine problem of Frobenius.
Keywords:
Frobenius problem; Frobenius numbers; centered 2a-gonal numbers; the number of representations MSC:
11D07; 05A15; 05A17; 05A19; 11B68; 11D04; 11P81
1. Introduction
For an integer , define the generalized star numbers by
When , represents the ordinary star numbers, which are also known as the centered 12-gonal numbers or centered dodecagonal numbers. A star number is a centered figurate number that represents a centered hexagram, similar to the pattern used in Chinese checkers. As can be seen in Figure 1, the star numbers show a nice symmetry. The star numbers are used for a new set of vector-valued Teichmüller modular forms, defined on the Teichmüller space, strictly related to the Mumford forms, which are holomorphic global sections of the vector bundle []. The first star numbers are given by the sequence
([] (A.131), [] (A003154)). Some well-known formulae include:

Figure 1.
Chinese checkers board.
Geometrically, the n-th generalized star number is made up of a central point and copies of the ()-th triangular number, making it numerically equal to the n-th centered ()-gonal number, but differently arranged. Therefore, are often called the centered -gonal numbers. The generalized star numbers satisfy the linear recurrence equation:
When , the centered -gonal numbers are listed in [] (A016754, A062786, A069127, A069129, A069131, A069133, A069173, A069190), respectively.
The p-numerical semigroup from the set of positive integers () is defined as the set of integers that can be expressed in more than p ways as non-negative integral linear combinations of the given positive integers []. Namely,
where , which is called the denumerant, is the number of non-negative integer representations of n by . The denumerant was investigated by Sylvester [] and remarked upon by Caley []. For some backgrounds on the number of representations, see, for example, [,,]. Recently, the concept of the denumerant has been extensively studied in [,,,,]. For a set of non-negative integers, denoted by , the set is finite if and only if . Then there exists the largest integer in , which is called the p-Frobenius number. The cardinality of is called the p-genus (or the p-Sylvester number) and is denoted by . This kind of concept is a generalization of the famous Diophantine problem of Frobenius ([,]) since is the case when the original Frobenius number and the genus .
When , there exists the explicit closed formula of the p-Frobenius number for any non-negative integer p. However, for , the p-Frobenius number cannot be given by any set of closed formulae, which can be reduced to a finite set of certain polynomials ([]). Since providing a closed explicit formula for any general sequence involving three or more variables is very difficult, many researchers have focused on finding the Frobenius number for special cases (see, for example, [,,]). Though it is even more challenging when (see, for instance, [,,,]), in [], the p-Frobenius numbers of the consecutive three triangular numbers were studied.
In this paper, we present the closed-form expressions of the p-Frobenius numbers for the consecutive three star numbers (with and ). Additionally, we provide the explicit formula for their p-Sylvester number.
2. Basic Properties of the Generalized Star Numbers
In this section, we shall show some basic formulae for the generalized star numbers.
Proposition 1.
Proof.
The second and third identities are trivial from the definition in (1). For the first identity, by referring to [] (Ch.25), put
where
For ,
Hence, we get
Since
we obtain the first identity.
For the fourth identity, consider the function
Since
we have
□
3. Apéry Set
We introduce the Apéry set [] to obtain the formulae in this paper.
Let p be a non-negative integer. For a set of positive integers with and , we denote the Apéry set by:
where each positive integer satisfies the conditions:
Note that is defined to be 0.
It follows that for each p,
One of the convenient formulae to obtain the p-Frobenius number is via the elements in the corresponding p-Apéry set ([]).
Lemma 1.
Let with . Then we have
4. Main Result
The p-Frobenius number for three consecutive generalized star numbers can be determined. The general result for a non-negative p is derived from the result for , which is stated in the following theorem.
Theorem 1.
When a is even with and , we have
When a is odd with and , we have
Remark 2.
It is clear that there is no integer between and (exclusive), and between and (exclusive).
More precisely, for example, when and , we have
and
respectively.
4.1. Proof of Theorem 1
4.1.1. Even Case
Let a be even with . For a positive integer l, we shall prove that the elements of the 0-Apéry set can be arranged as in Table 1. Here, for simplicity, consider the representation
First, from the length relationship in the horizontal direction (y value) in Table 1,
or
Since , we must assume that . Hence,

Table 1.
when a is even.
Since ,
Since
we have
We need to verify that the sequence encompasses every element of the 0-Apéry set exactly once. After the long subsequence with length
by (5), it is continued to the next subsequence by increasing by n rows:
After the short subsequence with length
by (6), it is continued to the long subsequence by decreasing by () rows:
Since , by this process, any element is not overlapped, and all the elements can be counted only once. Since , we have .
In Table 1, there are two candidates to take the largest element of the 0-Apéry set: or . We see that
Consider the largest root of on n. Since for and in (4)
when , is the largest, and by Lemma 1 (2), we have
When , is the largest, and we have
Since for and
when , is the largest, and we have
When , is the largest, and we have
4.1.2. Odd Case
Let a be odd with . We shall prove that when , the elements of the 0-Apéry set can be arranged as in Table 2. First, from the length relationship in the horizontal direction (y value) in Table 2,
or
Since the possible , we have

Table 2.
when a is odd.
Since
we have
Now, the sequence runs over all elements of 0-Apéry set once. After the long subsequence with length
by (5), it is continued to the next subsequence by increasing by n rows:
After the short subsequence with length
by (8), it is continued to the long subsequence by decreasing by () rows:
Since , by this process, any element is not overlapped, and all the elements can be counted only once. Since , we have .
In Table 2, there are two candidates to take the largest values: and
5.
The arrangement of the elements of the 1-Apéry set can be determined from those of the 0-Apéry set. As seen in the case where , there are four different patterns about the arrangement of the elements of the 0-Apéry set.
Consider the case where a is even with . Otherwise, the following argument is not valid. By (5), (6) and , we have the correspondences between the elements of the 0-Apéry set and those of the 1-Apéry set:
respectively. Namely, in Table 3, the elements in the first n rows are simply moved below the 0-Apéry set to fill in the gap. However, the remaining portion is moved to the lower left. Elements other than the first n rows are shifted to the right side of the 0-Apéry set by shifting up n rows.

Table 3.
when a is even.
Set . We can show that all the elements of the 1-Apéry set have at least two different representations:
From Table 3, there are four candidates to take the largest value of :
Since
similarly to the case where , there are only two possibilities. Namely, when () or (), is the largest, so by Lemma 1 (2) we have
When () or (), is the largest, and we have
The case where a is odd is not so similar, but analogous patterns and corresponding congruences and inequalities give the following results. When a is odd with and , we have
6.
The elements of the 2-Apéry set can be determined from those of the 1-Apéry set as follows. See Table 4.

Table 4.
.
Similarly to the case where , the elements in the first n rows of the main part of the 1-Apéry set are simply moved below the 0-Apéry set to fill the gap. However, the remaining portion is moved to the lower left of the 0-Apéry. Elements beyond the first n rows of the main part are shifted to the right side of the 0-Apéry set by moving them up n rows. The remaining staircase parts are shifted left by units and up by n units.
In Table 4, by comparing the six candidates
we find that is the largest element of the 2-Apéry set when () or (); is the largest element of the 2-Apéry set when () or (). Therefore, by Lemma 1 (2) we have
Similarly, for , the elements of the p-Apéry set can also be determined from those of the ()-Apéry set. However, the same pattern cannot be continued. As seen in Table 5, the situation is changed. , and indicate the position of the largest elements of the 0-, 1- and 2-Apéry sets, respectively, when () or (); and , and when () or (). We can see that no element of the Apéry set can exist at the expected location for the largest value. As can be seen in Table 5, the actual elements of the 3-Apéry set (in this example) are located in the gray area and do not fall in the expected dotted area. Then, in general, for , the same formula cannot be applied, and the situation becomes more and more complicated, though the p-Frobenius numbers should exist.

Table 5.
Therefore, for a general integer p with , we have the following theorem. Note that while the case where a is odd is not exactly the same, analogous arguments can still be applied.
Theorem 2.
When a is even with and , for integers and
for integers and
When a is odd with and , for with
for integers and
Remark 3.
When a is even, the first and second conditions in the first identity are equivalent to
respectively. When a is odd, the first and second conditions in the third identity are equivalent to
respectively.
7. -Genus
Let a be even with . Observing Table 1, Table 3 and Table 4, the sum of the elements of the p-Apéry set is made by dividing into three parts: all the left sides of the staircase, all the right sides of the staircase, and the main part. For with we have
By Lemma 1 (3), we have
When a is odd with , for with we have
By Lemma 1 (3), we have
Theorem 3.
When a is even with and , for with ,
When a is odd with and , for with ,
8. Examples
When , by our remark of Theorem 2, we see that
and there is no integer in the interval , the first identity of the even case in Theorem 2 is applied with . Then, for
The first several terms are
However, when , the identity does not give the correct value of 442125 but the wrong value of 448064.
Concerning the p-genus, by the first identity of Theorem 3, we have
When , by our remark of Theorem 2, we see that there is no integer in the interval and
the second identity of the odd case in Theorem 2 is applied with . Then, for we have
Concerning the p-genus, by the third identity of Theorem 3, we have
9. Final Comments
One should not assume that the results in this paper are quite similar to previous works. Generally, finding explicit formulae for the Frobenius number for sequences or tuples with three or more variables is quite challenging. When , the situation becomes even more difficult. For example, triangular numbers are represented by similar quadratic polynomials. Explicit formulae for the p-Frobenius number of consecutive triangular numbers have been successfully provided in [,], and the case for squares has also been addressed []. However, no explicit formulae have been established for pentagonal, hexagonal, heptagonal, and octagonal numbers, which are given by for and 8, respectively.
For example, triangular numbers are given as a polynomial of similar quadratic polynomials too. The explicit formulae of the p-Frobenius number of consecutive triangular numbers have been successful in being given in [,] and the case of squares is also possible []. But nothing has been known for pentagonal, hexagonal, heptagonal, octagonal numbers given by for , respectively.
It would also be interesting to see whether we can derive general explicit formulae for the Frobenius numbers of other well-known polynomials, such as Hermite polynomials, Frobenius–Euler polynomials or Bernoulli–Gegenbauer polynomials (see, for instance, [,]).
Author Contributions
Writing—original draft preparation, T.K.; writing—review and editing, R.Y. and J.M. All authors have read and agreed to the published version of the manuscript.
Funding
This research received no external funding.
Data Availability Statement
Data are contained within the article.
Acknowledgments
The authors thank the referees for carefully reading the manuscript.
Conflicts of Interest
The authors declare no conflict of interest.
References
- Matone, M.; Volpato, R. Vector-valued modular forms from the Mumford forms, Schottky-Igusa form, product of Thetanullwerte and the amazing Klein formula. Proc. Am. Math. Soc. 2013, 141, 2575–2587. [Google Scholar] [CrossRef][Green Version]
- Plouffe, S. Approximations of Generating Functions and a Few Conjectures. Master’s Thesis, Universit’e du Québec à Montréal, Montréal, QC, Canada, 1992. [Google Scholar]
- Sloane, N.J.A. The On-Line Encyclopedia of Integer Sequences. Available online: https://oeis.org/ (accessed on 15 May 2024).
- Komatsu, T.; Ying, H. p-numerical semigroups with p-symmetric properties. J. Algebra Appl. 2024, 2450216. [Google Scholar] [CrossRef]
- Sylvester, J.J. On the partition of numbers. Quart. J. Pure Appl. Math. 1857, 1, 141–152. [Google Scholar]
- Cayley, A. On a problem of double partitions. Philos. Mag. 1860, 20, 337–341. [Google Scholar] [CrossRef]
- Binner, D.S. Generalization of a result of Sylvester related to the Frobenius coin problem. J. Integer Seq. 2021, 24, 14. [Google Scholar]
- Komatsu, T. On the number of solutions of the Diophantine equation of Frobenius–General case. Math. Commun. 2003, 8, 195–206. [Google Scholar]
- Tripathi, A. The number of solutions to ax + by = n. Fibonacci Quart. 2000, 38, 290–293. [Google Scholar]
- Liu, F.; Xin, G. A combinatorial approach to Frobenius numbers of some special sequences. Adv. Appl. Math. 2024, 158, 102719. [Google Scholar] [CrossRef]
- Liu, F.; Xin, G.; Ye, S.; Yin, J. The Frobenius formula for A = (a,ha + d,ha + b2d,…,ha + bkd). Ramanujan J. 2024, 64, 489–504. [Google Scholar] [CrossRef]
- Liu, F.; Xin, G.; Zhang, C. Three Simple Reduction Formulas for the Denumerant Functions. arXiv 2024, arXiv:2404.13989. [Google Scholar]
- Liu, F.; Xin, G. A Fast Algorithm for Denumerants with Three Variables. arXiv 2024, arXiv:2406.18955. [Google Scholar]
- Liu, F. Generating functions for the quotients of numerical semigroups. Bull. Aust. Math. Soc. 2024, 1–12. [Google Scholar] [CrossRef]
- Assi, A.; D’Anna, M.; Garcia-Sanchez, P.A. Numerical Semigroups and Applications, 2nd extended and revised ed.; RSME Springer Series 3; Springer: Cham, Switzerland, 2020. [Google Scholar]
- Rosales, J.C.; Garcia-Sanchez, P.A. Numerical semigroups. In Developments in Mathematics, 20; Springer: New York, NY, USA, 2009. [Google Scholar]
- Curtis, F. On formulas for the Frobenius number of a numerical semigroup. Math. Scand. 1990, 67, 190–192. [Google Scholar] [CrossRef]
- Rosales, J.C.; Branco, M.B.; Torrão, D. The Frobenius problem for repunit numerical semigroups. Ramanujan J. 2016, 40, 323–334. [Google Scholar] [CrossRef]
- Rosales, J.C.; Branco, M.B.; Torrão, D. The Frobenius problem for Mersenne numerical semigroups. Math. Z. 2017, 286, 741–749. [Google Scholar] [CrossRef]
- Robles-Perez, 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]
- 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]
- Komatsu, T.; Mu, J. p-numerical semigroups of Pell triples. J. Ramanujan Math. Soc. 2024, in press.
- 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. The Frobenius number for sequences of triangular numbers associated with number of solutions. Ann. Comb. 2022, 26, 757–779. [Google Scholar] [CrossRef]
- Aigner, M.; Ziegler, G.M. Proofs from the Book, 5th ed.; Including Illustrations by Karl H. Hofmann; Springer: Berlin/Heidelberg, Germany, 2014; ISBN 978-3-662-44204-3/978-3-662-44205-0. [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 the determination of p-Frobenius and related numbers using the p-Apéry set. Rev. R. Acad. Cienc. Exactas Fís. Nat. Ser. A Mat. RACSAM 2024, 118, 58. [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]
- Komatsu, T. Sylvester power and weighted sums on the Frobenius set in arithmetic progression. Discret. Appl. Math. 2022, 315, 110–126. [Google Scholar] [CrossRef]
- Lepilov, M.; O’Rourke, J.; Swanson, I. Frobenius numbers of numerical semigroups generated by three consecutive squares or cubes. Semigroup Forum 2015, 91, 238–259. [Google Scholar] [CrossRef]
- Zayed, M.; Wani, S.A.; Quintana, Y. Properties of multivariate Hermite polynomials in correlation with Frobenius-Euler polynomials. Mathematics 2023, 11, 3439. [Google Scholar] [CrossRef]
- Peralta, D.; Quintana, Y.; Wani, S.A. Mixed-type Hypergeometric Bernoulli-Gegenbauer polynomials. Mathematics 2023, 11, 3920. [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. |
© 2024 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/).