Next Article in Journal
Quantum Heuristic Approach to Vehicle Routing Problem
Previous Article in Journal
Realigning Risk Management Priorities
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Type B (p, q)-Stirling Numbers via Signed Restricted Growth Functions and Rook Theory

1
Department of Mathematics, Erciyes University, 38039 Kayseri, Türkiye
2
Graduate School of Natural and Applied Sciences, Erciyes University, 38039 Kayseri, Türkiye
*
Author to whom correspondence should be addressed.
Mathematics 2026, 14(6), 1025; https://doi.org/10.3390/math14061025
Submission received: 21 January 2026 / Revised: 1 March 2026 / Accepted: 13 March 2026 / Published: 18 March 2026
(This article belongs to the Section A: Algebra and Logic)

Abstract

Stirling numbers are among the most classical objects in enumerative combinatorics, counting set partitions and permutations. In this paper, we study their ( p , q ) -analogues in type B from a rook-theoretic point of view. We introduce a type B Ferrers board and establish a bijection between signed restricted growth functions and type B rook placements. In addition, we defined the weighted statistics levLB B ( w ) and levLS B ( w ) over the set of signed restricted growth functions. The associated statistics yield a weighted enumeration that recovers the ( p , q ) -Stirling polynomials of type B, their recurrence relations and generating functions. We then introduce type B Laguerre boards and prove that their rook numbers coincide with the Lah numbers of type B.

1. Introduction

Stirling numbers of the second kind count set partitions (see [1]). It is well known that set partitions are in bijection with restricted growth functions (RGFs) (see [2]). Stirling numbers of the second kind also count the number of rook placements over staircase Ferrers board (see [3]). Type B analogues of set partitions were first introduced by Reiner [4] and later studied extensively by Sagan and Swanson [5]. These numbers count signed set partitions arising from Coxeter groups of type B. Along with these, Bagno, Biagioli, and Garber [6] obtained several identities for Stirling numbers of the second kind of types B and D. Wachs and White [7] showed that the q-Stirling numbers of the second kind arise as generating functions relating various statistics on set partitions. They also introduced ( p , q ) -Stirling numbers describing the joint distribution of left-bigger and left-smaller statistics. In addition, they provided bijections between restricted growth functions and rook placements on staircase Ferrers boards. However, to the best of our knowledge, a direct rook-theoretic interpretation of the ( p , q ) -Stirling numbers of type B has not previously been developed.
For type B set partitions, Acharyya [8] defined signed restricted growth functions (SRGF) and proved that they are in bijection with signed set partitions. Although SRGFs give a combinatorial description of type B set partitions, Acharyya [8] asked whether there exists an analogue of the ( p , q ) -Stirling numbers of the second kind for type B set partitions, together with a way to obtain generating functions for the corresponding joint distributions of statistics over signed restricted growth functions and type B rook placements. Briggs and Remmel [9] introduced m-rook placements on m-Ferrers boards and defined ( p , q ) -analogues of m-rook and m-hit numbers. Their work relates rook placements to signed permutations in the wreath product C m S n and studies some permutation statistics. However, their work does not provide a combinatorial model for ( p , q ) -Stirling numbers of type B defined via signed restricted growth functions. In this paper, we construct a type B Ferrers board associated with signed restricted growth functions and define statistics whose generating functions produce the ( p , q ) -Stirling numbers of type B.
In classical rook theory, Ferrers and Laguerre boards provide natural combinatorial models for Stirling and Lah numbers (see [10,11,12]). In particular, the Lah numbers describe the change of basis between rising and falling factorials. Such polynomial sequences and their generating functions also appear in operator-based approximation theory (see [13,14]). Lah numbers of type B play an important role in expressing rising factorials of type B in terms of falling factorials of type B (see [15]). The study of ( p , q ) -analogues of Lah-type numbers, such as the ( p , q ) -Whitney–Lah numbers introduced by Ramírez and Shattuck [16], suggests a natural direction for defining a ( p , q ) -analogue for the Lah numbers of type B.
Sagan [17] introduced a major index statistic on set partitions and proved that its generating function yields the q-Stirling numbers of the second kind. He also described this statistic through restricted growth functions and rook placements.
In this paper, we give a rook-theoretic construction for a ( p , q ) -analogue of the Stirling numbers of type B, motivated by the work of Sagan [17] as well as Wachs and White [7]. We first define a type B Ferrers board, whose column heights are determined by the signed restricted growth condition. We then show that rook placements on this board correspond bijectively to signed restricted growth functions. Under this correspondence, the level-weighted statistics on SRGF coincide with the deletion statistics defined on the board. This provides a rook model for the ( p , q ) -Stirling polynomials of type B. In particular, we obtain explicit recurrence relations and closed product formulas for their ordinary generating functions. We next consider a Laguerre board of type B and study rook placements on it. By introducing anchored placements, we obtain a rook-theoretic interpretation of the Lah numbers of type B.
The structure of the paper is as follows. Section 2 provides background on signed set partitions and signed restricted growth functions. In Section 3, we introduce the Ferrers board of type B and establish a bijection between SRGF and rook placement on Ferrers board of type B. After that, we develop the level-weighted statistics on SRGF and recurrence relations for ( p , q ) -Stirling polynomials of type B. Finally, we define the type B Laguerre board and show how it relates to Lah numbers of type B. We end with a section of open problems.

2. Preliminaries

We begin by introducing some basic definitions and notation that will be used throughout the paper. Let [ n ] : = { 1 , 2 , , n } , n : = { n , , 1 , 0 , 1 , , n } and let n : = n { 0 } . For j [ n ] , we denote the negative integer j by j ¯ , and for a signed integer x n , its absolute value is denoted by | x | .
Recall that set partitions of [ n ] into k nonempty subsets, called blocks, are enumerated by the Stirling numbers of the second kind S ( n , k ) (see [1]). A partition σ = B 1 | | B k of [ n ] is said to be in standard form if
min B 1 < < min B k .
Since min B 1 = 1 , we will always assume that set partitions are written in standard form. We denote by Π n the set of all partitions of [ n ] and by Π n , k the set of partitions of [ n ] with exactly k blocks. Clearly, | Π n , k | = S ( n , k ) .
The Stirling numbers of the second kind satisfy the recurrence
S ( n , k ) = S ( n 1 , k 1 ) + k S ( n 1 , k ) ,
with initial condition S ( 0 , k ) = δ 0 , k .
Signed set partitions of n and the corresponding Stirling numbers of the second kind of type B, denoted S B ( n , k ) , were first defined by Reiner [4]. These numbers count signed set partitions with k paired blocks and satisfy the recurrence
S B ( n , k ) = S B ( n 1 , k 1 ) + ( 2 k + 1 ) S B ( n 1 , k ) ,
with initial condition S B ( 0 , k ) = δ 0 , k .
The q-analogue of the Stirling numbers of the second kind was introduced by Sagan [17]. A q-analogue of the type B Stirling numbers of the second kind was introduced by Sagan and Swanson [5]. The type B q-Stirling numbers, denoted S B [ n , k ] , are defined recursively by
S B [ n , k ] = S B [ n 1 , k 1 ] + [ 2 k + 1 ] q S B [ n 1 , k ] ,
with initial condition S B [ 0 , k ] = δ 0 , k , where
[ m ] q : = 1 + q + + q m 1
denotes the q-integer.
We now recall some basic notions from classical rook theory that will be used throughout the paper. A board is a finite collection of unit squares arranged in rows and columns. A rook placement on a board B is a selection of squares such that no two chosen squares lie in the same row or the same column; equivalently, it is a placement of non-attacking rooks. For k 0 , a k-rook placement consists of exactly k rooks, and r k ( B ) denotes the number of such placements. The quantity r k ( B ) is called the k-th rook number of B (see [1]). In later sections, we consider signed boards with a modified notion of rook placement, in which the non-attacking condition is adapted to the type B setting and repeated signed row labels are permitted.
Closely related to rook-theoretic constructions are the classical Lah numbers. The (unsigned) Lah numbers L ( n , k ) count the number of ways to partition an n-element set into k nonempty linearly ordered blocks (see [11]). Equivalently, L ( n , k ) counts the number of ways to decompose an n-element set into k lists. These numbers were originally introduced by Lah in 1954 [11] and admit the explicit formula
L ( n , k ) = n 1 k 1 n ! k ! , 1 k n .
Ferrers boards play a central role in classical rook theory (see [10]). A Ferrers board is a board whose column heights form a weakly increasing sequence b 1 b 2 b n . If B is a Ferrers board with column heights b 1 b 2 b n , then a theorem of Goldman, Joichi, and White [10] gives the factorisation
i = 1 n x + b i ( i 1 ) = k = 0 n r n k ( B ) ( x ) k
where ( x ) k : = x ( x 1 ) ( x k + 1 ) denotes the falling factorial.
As an illustration of the Goldman–Joichi–White product formula, consider the Ferrers board B = B ( 1 , 4 , 7 , , 3 n 2 ) , whose column heights are given by b i = 3 i 2 for 1 i n . Applying the product formula yields
i = 1 n x + b i ( i 1 ) = i = 1 n ( x + 2 i 1 ) = k = 0 n r n k ( B ) ( x ) k .
Hence, we get
[ x ] B n = k = 0 n r n k ( B ) ( x ) k
where [ x ] B n : = ( x + 1 ) ( x + 3 ) ( x + 2 n 1 ) is the rising factorial of type B appearing in [5]. In [6], the falling factorial of type B is defined as ( x ) k B : = ( x 1 ) ( x 3 ) ( x 5 ) ( x 2 k + 1 ) .
Equivalently, Equation (2) shows that the coefficients r n k ( B ) are the change-of-basis coefficients from the falling factorial basis { ( x ) k } k 0 to the type B rising factorial basis { [ x ] B n } n 0 . Polynomial sequences and their generating functions also appear in operator-based approximation theory (see [13,14]).
Another classical example in rook theory is the staircase Ferrers board  J n , 1 = B ( 0 , 1 , 2 , , n 1 ) . It is a classical result, due to Kaplansky and Riordan [3], that the rook numbers of J n , 1 are expressed in terms of the Stirling numbers of the second kind. More precisely,
r n k ( J n , 1 ) = S ( n , k ) , 0 k n ,
where S ( n , k ) denotes the Stirling number of the second kind.
A particularly important role in the context of Lah numbers is played by the so-called Laguerre board, which may be viewed as a special case within the classical rook-theoretic framework. For n 1 , let L n = B ( n 1 , n 1 , , n 1 ) denote the Laguerre board consisting of n columns, each of height n 1 . From the product formula in Equation (1), it follows that the rising factorial  [ x ] n : = x ( x + 1 ) ( x + n 1 ) has the rook expansion
[ x ] n = k = 0 n r n k ( L n ) ( x ) k
where r n k ( L n ) denotes the number of placements of n k non-attacking rooks on L n . Moreover, it is well known from [12] that the rising factorial can also be expressed as
[ x ] n = k = 0 n L ( n , k ) ( x ) k .
Comparing the coefficients in Equations (3) and (4), we see that r n k ( L n ) is precisely the (unsigned) Lah number L ( n , k ) , that is,
r n k ( L n ) = L ( n , k ) , 0 k n ,
thus establishing the classical connection between Laguerre boards and Lah numbers.
A type B analogue of the Lah numbers is defined by
L B ( n , k ) = n k 2 2 n k ( n k ) ! , 0 k n ,
(see [15]). These numbers are referred to as the Lah numbers of type B. These numbers extend the classical Lah numbers to the type B setting.
We next recall from [7] the notion of restricted growth functions, which provide a convenient encoding of set partitions. A restricted growth function (RGF) is a sequence w = w 1 w n of positive integers of length n satisfying the following conditions:
  • w 1 = 1 ;
  • w i 1 + max { w 1 , , w i 1 } for all i = 2 , , n .
We denote by R n the set of all restricted growth functions of length n.
In [2], Dahlberg et al. constructed a bijection between the set Π n of set partitions of [ n ] and the set R n . More precisely, a partition σ = B 1 | | B k of [ n ] in standard form corresponds to a unique restricted growth function w = w 1 w n such that w i = j if and only if i B j . For example, the partition σ = 17 | 248 | 356 Π 8 corresponds to the restricted growth function w = 12323312 R 8 .
Signed set partitions of n were introduced by Reiner (see [4]). A signed set partition of n is a partition
τ = P 0 P 1 / P 2 P 2 k 1 / P 2 k
such that 0 P 0 and i P 0 implies i P 0 , and P 2 i 1 = P 2 i for 1 i k . The block P 0 is called the zero block, while each pair ( P 2 i 1 , P 2 i ) is called a paired block.
Note that the elements of any block may be written in any order, the order of paired blocks can be reversed, and pairs may be rearranged amongst themselves without changing the signed set partition.
For i = 1 , , 2 k , let
m i : = min | P i | , | P i | : = { | x | : x P i } .
Thus, | P 2 i 1 | = | P 2 i | for i = 1 , , k . Following [5], a signed set partition
τ = P 0 | P 1 / P 2 | | P 2 k 1 / P 2 k
with k paired blocks is in standard form of type B if
  • m 2 i P 2 i for 1 i k ;
  • 0 = m 0 < m 2 < m 4 < < m 2 k , where m 0 : = 0 .
For instance, the signed set partition τ = 0 | 1 ¯ , 2 / 1 , 2 ¯ | 3 ¯ , 5 ¯ / 3 , 5 | 4 ¯ , 6 ¯ , 7 / 4 , 6 , 7 ¯ is in standard form with m 0 = 0 , m 1 = m 2 = 1 , m 3 = m 4 = 3 and m 5 = m 6 = 4 .
Signed restricted growth functions provide a convenient encoding of type B set partitions (see [8]). Following [8], a signed restricted growth function (SRGF) of size n is denoted as a word
w = a 0 a 1 a 1 * a n a n *
of length 2 n + 1 , with entries in n satisfying the following conditions:
  • a 0 = 0 .
  • (signed restricted growth condition) | a 1 | { 0 , 1 } and, for i 2 .
    | a i | 1 + max { | a 1 | , , | a i 1 | } ;
  • For each i [ n ] , the entry a i * is obtained by reversing the sign of a i . In particular, if a i = j , then a i * = j ¯ ; if a i = j ¯ , then a i * = j ; and 0 * = 0 .
  • (Negative-before-positive rule) For each j [ n ] , if both j ¯ and j occur among a 1 , , a n , then the first occurrence of j ¯ appears strictly before the first occurrence of j.
We write SRGF n for the set of all such words. For example, w = 0 1 ¯ 1 2 ¯ 200 2 ¯ 2 3 ¯ 33 3 ¯ 1 1 ¯ is a signed restricted growth function of length 15 in SRGF 7 . Then, Acharyya [8] established a bijection between signed restricted growth functions and signed set partition of n as follows: Any signed set partition τ = P 0 | P 1 / P 2 | P 3 / P 4 | | P 2 k 1 / P 2 k of the set n written in standard form is associated with a unique signed restricted growth function w = w 0 w 1 w 1 * w 2 w 2 * w n w n * such that
  • w 0 = 0 , w i = w i * = 0 if i , i ¯ P 0 for i = 1 , , n ;
  • w i = j ¯ , w i * = j if i P 2 j for i , j { 1 , , n } ;
  • w i = j , w i * = j ¯ if i P 2 j 1 for i , j { 1 , , n } .
To illustrate the above bijection, the signed set partition τ = 0 , 5 ¯ , 5 | 1 ¯ , 3 ¯ , 4 / 1 , 3 , 4 ¯ | 2 ¯ / 2 Π 5 B corresponds to the signed restricted growth function w = 0 1 ¯ 1 2 ¯ 2 1 ¯ 11 1 ¯ 00 S R G F 5 .
The classical results above motivate the introduction of type B Ferrers and Laguerre boards in the following sections. There, we use signed restricted growth functions to develop corresponding rook-theoretic models for the Stirling and Lah numbers of type B.
In the classical type A setting, the ( p , q ) -Stirling numbers of the second kind were introduced by Wachs and White [7] as the joint generating functions of certain statistics on restricted growth functions. More precisely, they defined
S p , q ( n , k ) = w R n , k q lb ( w ) p ls ( w ) ,
where R n , k denotes the set of restricted growth functions of length n with maximum letter k. Here, lb ( w ) and ls ( w ) denote the classical left-bigger and left-smaller statistics defined with respect to the leftmost occurrences of letters in w.
However, a direct ( p , q ) -refinement in the type B setting, compatible with signed restricted growth functions and rook-theoretic models, has not previously been developed.
In this paper, we introduce a type B analogue of this construction. We define the ( p , q ) -Stirling polynomials of type B as the bivariate generating functions
S p , q ( B ) ( n , k ) = w SRGF n , k q levLB B ( w ) p levLS B ( w ) ,
where SRGF n , k denotes the set of signed restricted growth functions with maximal absolute value k. These polynomials serve as the generating functions for the signed level statistics introduced in the next section. The polynomials S p , q ( B ) ( n , k ) generalise both the classical type B Stirling numbers and their q-analogues. Indeed, setting p = q = 1 recovers S B ( n , k ) , while fixing one of the parameters yields refinements related to previously studied q-models. Moreover, in later sections, we prove that these weights are preserved under the bijection between signed restricted growth functions and type B rook placements, thereby providing a rook-theoretic interpretation of the ( p , q ) -Stirling polynomials of type B.

3. The Type B Ferrers Board and Rook Placements

We order n using the level order < lev , defined by
r < lev s | r | < | s | or | r | = | s | and r < s .
Thus, elements are ordered by increasing absolute value, and for equal absolute values the negative label precedes the positive one. In particular,
0 < lev 1 ¯ < lev 1 < lev 2 ¯ < lev 2 < lev < lev n ¯ < lev n .
We arrange the rows of the board in this order so that column i corresponds to the bound | a i | i . We define a Ferrers board of type B by letting column i contain exactly the signed integers r with | r | i . The admissible values of a i in a signed restricted growth function are exactly the rows appearing in column i. We now formalise this construction.

3.1. Ferrers Board of Type B

Definition 1.
Let n 1 . The Ferrers board of type B F n ( B ) consists of the set of cells
F n ( B ) = { ( r , i ) : i { 1 , , n } , r { 0 , 1 ¯ , 1 , 2 ¯ , 2 , , i ¯ , i } } .
Rows are indexed by signed integers { 0 , 1 ¯ , 1 , 2 ¯ , 2 , , n ¯ , n } and are ordered by the level order < lev . Columns are labelled from left to right by 1 , 2 , , n . For each i, column i contains exactly the rows { 0 , 1 ¯ , 1 , 2 ¯ , 2 , , i ¯ , i } and therefore has height 2 i + 1 . In particular, the column heights are
3 , 5 , 7 , , 2 n + 1 .
Remark 1.
For each 1 i n , a signed restricted growth function satisfies the condition | a i | i . Hence, the possible values of a i are the signed integers r with | r | i , namely the row labels appearing in column i of F n ( B ) . Thus, the board F n ( B ) provides a natural rook-board model that encodes the signed growth condition geometrically.
Remark 2.
Arranging the rows according to the level order < lev gives a Ferrers-shaped board in which column i consists of the first 2 i + 1 rows. The resulting staircase form is similar to that of a classical Ferrers diagram (see [10]). However, the signed row labels and the use of the level order make F n ( B ) different from the Ferrers boards studied in classical rook theory.
Thus, F n ( B ) can be viewed as a type B analogue of a Ferrers board adapted to signed restricted growth functions. The term level refers only to the ordering of signed rows and has no connection with the m-level rook placements considered in classical rook theory (see [9]).
Example 1.
Let n = 3 . The Ferrers board of type B F 3 ( B ) has three columns. Column 1 contains the rows { 0 , 1 ¯ , 1 } , column 2 contains the rows { 0 , 1 ¯ , 1 , 2 ¯ , 2 } , and column 3 contains the rows { 0 , 1 ¯ , 1 , 2 ¯ , 2 , 3 ¯ , 3 } .
Ordering the rows according to the level order
0 < lev 1 ¯ < lev 1 < lev 2 ¯ < lev 2 < lev 3 ¯ < lev 3 ,
the resulting board has a Ferrers shape with column heights 3 , 5 , and 7, which is illustrated in Figure 1.
We now define type B rook placements on F n ( B ) and establish a natural bijection with signed restricted growth functions.

3.2. Rook Placements and Deletion Rules

Definition 2.
Let T n ( B ) denote the set of type B rook placements of size n on F n ( B ) . Such a placement has the form
P = { ( r i , i ) : 1 i n } ,
where the following conditions hold. These conditions are the rook-theoretic counterparts of the signed restricted growth constraints and will be used to establish the correspondence with SRGF.
  • Each column i contains exactly one rook, placed in a row r i { 0 , 1 ¯ , 1 , 2 ¯ , 2 , , i ¯ , i } . No restriction is imposed on the rows, and distinct rooks may occupy the same row.
  • The sequence ( r 1 , , r n ) satisfies the type B signed restricted growth condition:
    | r 1 | { 0 , 1 } , | r i | 1 + max { | r 1 | , , | r i 1 | } for i 2 .
  • (Negative-before-positive rule.) For each j { 1 , , n } , if both j ¯ and j occur among r 1 , , r n , then the leftmost occurrence of j ¯ appears in a column strictly to the left of the leftmost occurrence of j.
We now establish the correspondence between signed restricted growth functions and rook placements of type B.
The next result shows that the combinatorial constraints defining type B rook placements coincide with those satisfied by signed restricted growth functions.
Proposition 1.
Let w = a 0 a 1 a 1 * a 2 a 2 * a n a n * SRGF n . Define
Φ : SRGF n T n ( B ) by Φ ( w ) = { ( a i , i ) : 1 i n } ,
Then, Φ is a bijection between SRGF n and T n ( B ) .
Proof. 
Let w = a 0 a 1 a 1 * a n a n * SRGF n . By the signed restricted growth condition, | a i | i for each 1 i n , and hence a i { 0 , 1 ¯ , 1 , , i ¯ , i } . Thus, the cell ( a i , i ) lies in column i of F n ( B ) , and Φ ( w ) places exactly one rook in each column. The sequence ( a 1 , , a n ) satisfies the signed restricted growth condition and the negative-before-positive rule, which are precisely the defining conditions of T n ( B ) ; hence, Φ ( w ) T n ( B ) .
For injectivity, by considering the definition of SRGF n , we note that starred entries are uniquely determined by the unstarred sequence ( a 1 , , a n ) , and thus w is uniquely determined by ( a 1 , , a n ) . If Φ ( w ) = Φ ( w ) , then a i = a i for all i, so w = w . Therefore, Φ is injective.
For surjectivity, let P = { ( r i , i ) } i = 1 n T n ( B ) . Define w by a 0 = 0 , a i = r i for 1 i n , and
a i * = 0 , a i = 0 , a i ¯ , a i 0 .
Since P T n ( B ) , the sequence ( a 1 , , a n ) = ( r 1 , , r n ) satisfies the signed restricted growth condition and the negative-before-positive rule. Hence, w SRGF n , and by construction Φ ( w ) = P . Therefore, Φ is surjective and hence a bijection. □
Define Φ 1 : T n ( B ) SRGF n by
Φ 1 { ( r i , i ) } i = 1 n = a 0 a 1 a 1 * a 2 a 2 * a n a n * ,
where a 0 = 0 , a i = r i for 1 i n , and
a i * = 0 , a i = 0 , a i ¯ , a i 0 .
Then, the resulting word belongs to SRGF n and Φ 1 is thus well defined.
Remark 3.
The type B Ferrers board and the associated rook placements provide a geometric interpretation of signed restricted growth functions. Although the bijection is direct, viewing these functions on a board makes their structure easier to see. In particular, the board setting gives a clear framework for defining the statistics that lead to the ( p , q ) -Stirling polynomials of type B, together with their recurrence relations and generating functions.
Example 2.
Let n = 3 and consider the signed restricted growth function
w = a 0 a 1 a 1 * a 2 a 2 * a 3 a 3 * = 0 1 ¯ 1 0 0 2 ¯ 2 SRGF 3 .
The unstarred sequence is
( a 1 , a 2 , a 3 ) = ( 1 ¯ , 0 , 2 ¯ ) .
Applying Φ, we obtain the rook placement
Φ ( w ) = { ( 1 ¯ , 1 ) , ( 0 , 2 ) , ( 2 ¯ , 3 ) } T 3 ( B ) .
Starting from this placement, one recovers w by setting a 0 = 0 , a i = r i for 1 i 3 and defining the starred entries accordingly.
We now present a larger example, which will serve as a running example throughout the remainder of the paper.
Example 3.
Consider the signed restricted growth function
w = a 0 a 1 a 1 * a 7 a 7 * = 0 1 ¯ 1 0 0 2 ¯ 2 3 ¯ 3 3 3 ¯ 2 ¯ 2 1 1 ¯ SRGF 7 .
The unstarred sequence is
( a 1 , , a 7 ) = ( 1 ¯ , 0 , 2 ¯ , 3 ¯ , 3 , 2 ¯ , 1 ) .
The corresponding rook placement on F 7 ( B ) is
Φ ( w ) = { ( 1 ¯ , 1 ) , ( 0 , 2 ) , ( 2 ¯ , 3 ) , ( 3 ¯ , 4 ) , ( 3 , 5 ) , ( 2 ¯ , 6 ) , ( 1 , 7 ) } T 7 ( B ) .
This rook placement is illustrated in Figure 2. Conversely, starting from
P = { ( r i , i ) : 1 i 7 } ,
we recover the word by setting a 0 = 0 and a i = r i for 1 i 7 , with the starred entries determined by reversing the sign of a i (and 0 * = 0 ).
In particular,
Φ 1 ( P ) = 0 1 ¯ 1 0 0 2 ¯ 2 3 ¯ 3 3 3 ¯ 2 ¯ 2 1 1 ¯ = w .
This illustrates both directions of the bijection in Proposition 1.
To obtain a ( p , q ) -refinement of the type B Stirling numbers, we introduce signed statistics on signed restricted growth functions. The restriction to first absolute occurrences reflects the block structure of signed partitions.
Definition 3.
Let w = a 0 a 1 a 1 * a 2 a 2 * a n a n * SRGF n . The leftmost absolute set of w is defined by
L B ( w ) : = j [ n ] : | a i | | a j | for all i < j .
Equivalently, j L B ( w ) if the absolute value | a j | appears for the first time at position j.
Example 4.
Consider the running example
w = 0 1 ¯ 1 0 0 2 ¯ 2 3 ¯ 3 3 3 ¯ 2 ¯ 2 1 1 ¯ .
The main positions are
( a 1 , , a 7 ) = ( 1 ¯ , 0 , 2 ¯ , 3 ¯ , 3 , 2 ¯ , 1 ) .
Their absolute values are
( 1 , 0 , 2 , 3 , 3 , 2 , 1 ) .
The first occurrence of 1 is at position 1, the first occurrence of 0 at position 2, the first occurrence of 2 at position 3, and the first occurrence of 3 at position 4. Hence,
L B ( w ) = { 1 , 2 , 3 , 4 } .
Thus, the indices in L B ( w ) serve as reference positions in the level comparisons below. We now define the corresponding signed level statistics of type B.
Definition 4.
For w SRGF n and each i [ n ] , we define
l b i B ( w ) : = # j L B ( w ) : j < i , a j > lev a i ,
l s i B ( w ) : = # j L B ( w ) : j < i , a j < lev a i .
The corresponding level-weighted statistics are
levLB B ( w ) : = i = 1 n l b i B ( w ) | a i | , and levLS B ( w ) : = i = 1 n l s i B ( w ) | a i | .
These statistics depend only on the underlying sequence ( a 1 , , a n ) of main entries and are independent of the starred components of w.
They extend the inversion statistics of Wachs and White [7] to the type B setting. For each i, the statistics l b i B ( w ) and l s i B ( w ) measure how the level of a i compares, in the signed level order, with the preceding levels. The weighted sums levLB B ( w ) and levLS B ( w ) multiply each contribution by | a i | , yielding the refinement that appears in the ( p , q ) -Stirling polynomials of type B.
Example 5.
For the running example w = 0 1 ¯ 1 0 0 2 ¯ 2 3 ¯ 3 3 3 ¯ 2 ¯ 2 1 1 ¯ , the main positions are
( a 1 , , a 7 ) = ( 1 ¯ , 0 , 2 ¯ , 3 ¯ , 3 , 2 ¯ , 1 ) .
Fix the level order
0 < lev 1 ¯ < lev 1 < lev 2 ¯ < lev 2 < lev 3 ¯ < lev 3 .
As computed in Example 4, we have
L B ( w ) = { 1 , 2 , 3 , 4 } .
For each i [ 7 ] , we compute l b i B ( w ) and l s i B ( w ) by comparing a i only with the earlier entries a j for j L B ( w ) . The values of l b i B ( w ) and l s i B ( w ) are summarised in Table 1. For illustration, we compute one representative case. For i = 6 , we have a 6 = 2 ¯ . We compare a 6 with the earlier entries a j for j L B ( w ) = { 1 , 2 , 3 , 4 } and j < 6 . With respect to the level order,
a 1 = 1 ¯ < lev 2 ¯ , a 2 = 0 < lev 2 ¯ , a 3 = 2 ¯ , a 4 = 3 ¯ > lev 2 ¯ .
Thus, only a 4 contributes to l b 6 B ( w ) , while a 1 and a 2 contribute to l s 6 B ( w ) (since they are strictly smaller in the level order). The equality a 3 = 2 ¯ does not contribute to either count. Hence, l b 6 B ( w ) = 1 and l s 6 B ( w ) = 2 . The remaining entries are computed similarly.
Consequently,
levLB B ( w ) = i = 1 7 l b i B ( w ) | a i | = l b 6 B ( w ) | a 6 | + l b 7 B ( w ) | a 7 | = 1 · 2 + 2 · 1 = 4 ,
and
levLS B ( w ) = i = 1 7 l s i B ( w ) | a i | = 2 · 2 + 3 · 3 + 4 · 3 + 2 · 2 + 2 · 1 = 31 .
We now give a geometric interpretation of the signed statistics defined above in terms of rook placements on the type B Ferrers board F n ( B ) . More precisely, we introduce type B rook statistics via a weak deletion procedure and show that they correspond to the SRGF statistics under the bijection Φ defined in Proposition 1.
Definition 5.
Let P = { ( r i , i ) : 1 i n } T n ( B ) be a type B rook placement on the Ferrers board F n ( B ) .
  • Leftmost absolute columns. We define the set of leftmost absolute columns by
    L B ( P ) : = j [ n ] : | r i | | r j | for all i < j .
    Only rooks located in columns belonging to L B ( P ) perform deletions.
  • South–East (SE-type) deletions. For each j L B ( P ) , the rook ( r j , j ) deletes all cells ( t , k ) F n ( B ) satisfying
    k > j and t < lev r j .
    That is, deletions occur only in columns to the right of column j and below the level of r j .
  • SE-hit numbers. For each i [ n ] , we define
    δ i S E ( P ) : = # j L B ( P ) : j < i such that the rook ( r i , i ) is deleted by the SE-deletion from column j .
  • Level-weighted SE statistic. We then define the level-weighted SE statistic by
    levSE B ( P ) : = i = 1 n δ i S E ( P ) | r i | .
  • North–East (NE-type) deletions. Similarly, for each j L B ( P ) , the rook ( r j , j ) deletes all cells ( t , k ) F n ( B ) satisfying
    k > j and r j < lev t .
    Defining δ i N E ( P ) in the same way, we obtain
    levNE B ( P ) : = i = 1 n δ i N E ( P ) | r i | .
Remark 4.
Although our deletion procedure is inspired by the work of Wachs and White (see [7]), the statistics considered here are different in a fundamental way. Instead of counting undeleted cells, we record how many earlier deletion regions remove the rook cell in each column. This approach is natural in the type B setting, where signed comparisons and first occurrences of absolute values are fundamental.
Example 6.
Continuing with the running example
w = 0 1 ¯ 1 0 0 2 ¯ 2 3 ¯ 3 3 3 ¯ 2 ¯ 2 1 1 ¯ ,
let
P = Φ ( w ) T 7 ( B )
be the associated type B rook placement on the Ferrers board F 7 ( B ) . The rook rows are
( r 1 , , r 7 ) = ( 1 ¯ , 0 , 2 ¯ , 3 ¯ , 3 , 2 ¯ , 1 ) .
  • Step 1: Leftmost absolute columns. The absolute values of the rook rows are
    ( | r 1 | , , | r 7 | ) = ( 1 , 0 , 2 , 3 , 3 , 2 , 1 ) .
    The first occurrences of the absolute values 1 , 0 , 2 , and 3 appear in columns 1 , 2 , 3 , and 4, respectively. Hence,
    L B ( P ) = { 1 , 2 , 3 , 4 } .
    Only the rooks in these columns perform deletions.
  • Step 2: SE-deletions. We apply the SE-type deletion procedure column by column.
    • The rook ( 1 ¯ , 1 ) deletes all cells ( t , k ) with k > 1 and t < lev 1 ¯ , i.e., all cells in row 0 in columns 2 through 7.
    • The rook ( 0 , 2 ) deletes no cells, since there are no rows strictly below 0 in the type B order.
    • The rook ( 2 ¯ , 3 ) deletes all cells in rows { 0 , 1 ¯ , 1 } in columns 4 through 7.
    • The rook ( 3 ¯ , 4 ) deletes all cells in rows { 0 , 1 ¯ , 1 , 2 ¯ , 2 } in columns 5 through 7.
The resulting SE-deletions are illustrated in Figure 3.
  • Step 3: SE/NE-hit numbers. For each column i, we compute the numbers δ i S E ( P ) and δ i N E ( P ) , which count how many earlier distinguished columns delete the rook cell ( r i , i ) under the SE and NE rules, respectively. The results are summarised in Table 2.
Thus,
( δ 1 S E , , δ 7 S E ) = ( 0 , 1 , 0 , 0 , 0 , 1 , 2 ) , ( δ 1 N E , , δ 7 N E ) = ( 0 , 0 , 2 , 3 , 4 , 2 , 2 ) .
  • Step 4: Level-weighted SE statistic. We compute
    levSE B ( P ) = i = 1 7 δ i S E ( P ) | r i | .
    Only the indices i = 2 , 6 , 7 contribute nonzero terms to the sum. Since
    | r 2 | = 0 , | r 6 | = 2 , | r 7 | = 1 ,
    we obtain
    levSE B ( P ) = ( 1 · 0 ) + ( 1 · 2 ) + ( 2 · 1 ) = 4 .
    The NE-hit numbers are obtained analogously, using the condition r j < lev r i and are recorded in the last column of Table 2.
  • Step 5: Level-weighted NE statistic. We compute
    levNE B ( P ) = i = 1 7 δ i N E ( P ) | r i | .
    Since | r 3 | = 2 , | r 4 | = 3 , | r 5 | = 3 , | r 6 | = 2 , and | r 7 | = 1 , we obtain
    levNE B ( P ) = ( 2 · 2 ) + ( 3 · 3 ) + ( 4 · 3 ) + ( 2 · 2 ) + ( 2 · 1 ) = 31 .
Lemma 1.
Let w SRGF n and set P = Φ ( w ) T n ( B ) . Then,
levLB B ( w ) = levSE B ( P ) and levLS B ( w ) = levNE B ( P ) .
Proof. 
Let w = a 0 a 1 a 1 * a n a n * SRGF n and P = Φ ( w ) = { ( r i , i ) : 1 i n } . From the definition of the bijection Φ, we have r i = a i for all 1 i n . In particular, the sets of leftmost absolute positions coincide:
L B ( P ) = { j [ n ] : | r i | | r j | for all i < j } = { j [ n ] : | a i | | a j | for all i < j } = L B ( w ) .
Fix i [ n ] . For each j L B ( P ) , the SE-deletion removes precisely those cells ( t , k ) with k > j and t < lev r j . In particular, the rook cell ( r i , i ) is deleted by the SE-deletion from column j if and only if j < i and r i < lev r j , or equivalently, r j > lev r i . It follows that
δ i S E ( P ) = # { j L B ( P ) : j < i , r j > lev r i } = # { j L B ( w ) : j < i , a j > lev a i } = l b i B ( w ) .
Multiplying both sides by | r i | = | a i | and summing over all i yields
levSE B ( P ) = i = 1 n δ i S E ( P ) | r i | = i = 1 n l b i B ( w ) | a i | = levLB B ( w ) .
Similarly, the NE-deletion from column j removes those cells ( t , k ) with k > j and r j < lev t . Hence, the rook cell ( r i , i ) is deleted by this deletion if and only if j < i and r j < lev r i . It follows that
δ i N E ( P ) = # { j L B ( P ) : j < i , r j < lev r i } = l s i B ( w ) ,
and therefore
levNE B ( P ) = levLS B ( w ) .
This completes the proof. □

3.3. ( p , q ) -Stirling Polynomials of Type B

We now introduce the ( p , q ) -Stirling polynomials of type B. We define SRGF n , k to be the set of signed restricted growth functions w SRGF n such that
max 1 i n | a i | = k .
We define
SRGF n , k ( B , 0 ) = { w SRGF n , k : 0 { a 1 , , a n } } ,
and
SRGF n , k ( B , 1 ) = { w SRGF n , k : 0 { a 1 , , a n } } ,
where w = a 0 a 1 a 1 * a 2 a 2 * a n a n * .
On the rook side, we define T n , k ( B ) to be the set of rook placements P T n ( B ) such that
max 1 i n | a i | = k .
Definition 6.
For n 1 and 0 k n , we define the ( p , q ) -Stirling polynomials of type B by
S p , q ( B ) ( n , k ) = w SRGF n , k q levLB B ( w ) p levLS B ( w ) .
Remark 5.
The polynomials S p , q ( B ) ( n , k ) may be viewed as a ( p , q ) -refinement of the type B Stirling numbers. When p = q = 1 , we obtain the classical counting of signed set partitions with k blocks. The parameters p and q record the joint distribution of two signed, level-weighted statistics measuring left and right interactions.
For illustration, we compute S p , q ( B ) ( 3 , 2 ) explicitly. Table 3 lists the elements of SRGF 3 , 2 together with their statistics and corresponding weights.
From Table 3, we obtain
S p , q ( B ) ( 3 , 2 ) = 8 p 2 + 2 p 3 + 8 p 4 + 4 p 5 + 2 p 6 + q ( 4 p 2 + 2 p 3 ) .
For small values of n and k, the ( p , q ) -Stirling polynomials of type B can be computed explicitly. We record these values in Table 4 for 1 n , k 5 .
Theorem 1.
For all n and k,
S p , q ( B ) ( n , k ) = w SRGF n , k q levLB B ( w ) p levLS B ( w ) = P T n , k ( B ) q levSE B ( P ) p levNE B ( P ) .
Proof. 
By Proposition 1, the map Φ is a bijection from SRGF n , k onto T n , k ( B ) . Moreover, by Lemma 1, for every w SRGF n , k we have
levLB B ( w ) = levSE B ( Φ ( w ) ) and levLS B ( w ) = levNE B ( Φ ( w ) ) .
Thus, Φ preserves the weight q levLB B ( w ) p levLS B ( w ) . Summing over all w SRGF n , k therefore yields
w SRGF n , k q levLB B ( w ) p levLS B ( w ) = P T n , k ( B ) q levSE B ( P ) p levNE B ( P ) ,
as claimed. □
To formulate recurrence relations for the polynomials S p , q ( B ) ( n , k ) , it is convenient to refine them according to the presence of 0 and the pattern of first sign occurrences.
Definition 7.
For ε { 0 , 1 } , we define
S p , q ( B , ε ) ( n , k ) : = w SRGF n , k 0 { a 1 , , a n } if and only if ε = 1 q levLB B ( w ) p levLS B ( w ) .
Thus, S p , q ( B , 0 ) ( n , k ) counts words in SRGF n , k whose main letters avoid 0, while S p , q ( B , 1 ) ( n , k ) counts those in which 0 occurs among the main letters. In particular, we have
S p , q ( B ) ( n , k ) = S p , q ( B , 0 ) ( n , k ) + S p , q ( B , 1 ) ( n , k ) .
We set S p , q ( B , ε ) ( n , k ) = 0 if k < 0 or k > n . Moreover,
S p , q ( B , 0 ) ( 0 , 0 ) = 1 , S p , q ( B , 1 ) ( 0 , 0 ) = 0 ,
and S p , q ( B , ε ) ( 0 , k ) = 0 for k 0 .
Definition 8.
For w = a 1 a 2 a n SRGF n , k , we define
P ( w ) : = j [ k ] : the first occurrence of { j , j ¯ } in w starts with + j .
That is, P ( w ) consists of those indices j [ k ] whose first appearance in w occurs with positive sign. By the negative-before-positive rule, the condition j P ( w ) implies that j ¯ does not occur as a main letter in w.
Definition 9.
For ε { 0 , 1 } and a subset P [ k ] , we define
S p , q ( B , ε ) ( n , k ; P ) : = w SRGF n , k ( B , ε ) P ( w ) = P q levLB B ( w ) p levLS B ( w ) .
In other words, S p , q ( B , ε ) ( n , k ; P ) records the contribution of those words in SRGF n , k ( B , ε ) whose positive-first set is exactly P. Moreover,
S p , q ( B , ε ) ( n , k ) = P [ k ] S p , q ( B , ε ) ( n , k ; P ) .
We illustrate this definition in the case n = 3 and k = 2 . Using Table 3, we separate the words in SRGF 3 , 2 according to whether 0 appears among the main letters. The words whose main letters avoid 0 contribute to S p , q ( B , 0 ) ( 3 , 2 ) . From the table, summing their corresponding weights gives
S p , q ( B , 0 ) ( 3 , 2 ) = 4 p 2 + 2 p 3 + 4 p 4 + 2 p 6 + q ( 4 p 2 + 2 p 3 ) .
Similarly, the words in which 0 appears among the main letters contribute to S p , q ( B , 1 ) ( 3 , 2 ) . From Table 3, we obtain
S p , q ( B , 1 ) ( 3 , 2 ) = 4 p 2 + 4 p 4 + 4 p 5 .
Consequently, we obtain
S p , q ( B ) ( 3 , 2 ) = S p , q ( B , 0 ) ( 3 , 2 ) + S p , q ( B , 1 ) ( 3 , 2 ) = 8 p 2 + 2 p 3 + 8 p 4 + 4 p 5 + 2 p 6 + q ( 4 p 2 + 2 p 3 ) .
Definition 10.
For P [ k ] , we define
A k ( p , q ; P ) : = j = 1 k q ( k j ) j p j ( j 1 ) + 1 ( j P ) p j 2 ,
B k ( p , q ; P ) : = 1 + j = 1 k q ( k j ) j p j 2 + 1 ( j P ) p j ( j + 1 ) .
We are now in a position to give the recurrence relations for the refined ( p , q ) -Stirling polynomials of type B.
Theorem 2.
For n 1 , 1 k n , and P [ k ] , the ( p , q ) -Stirling polynomials of type B satisfy the following recurrence relations.
  • Zero absent. For ε = 0 , we have
    S p , q ( B , 0 ) ( n , k ; P ) = p k ( k 1 ) S p , q ( B , 0 ) n 1 , k 1 ; P [ k 1 ] + A k ( p , q ; P ) S p , q ( B , 0 ) ( n 1 , k ; P ) .
  • Zero present. For ε = 1 , we have
    S p , q ( B , 1 ) ( n , k ; P ) = p k 2 S p , q ( B , 1 ) n 1 , k 1 ; P [ k 1 ] + B k ( p , q ; P ) S p , q ( B , 1 ) ( n 1 , k ; P ) + S p , q ( B , 0 ) ( n 1 , k ; P ) .
    where A k ( p , q ; P ) and B k ( p , q ; P ) are defined in Equations (7) and (8), respectively.
Proof. 
By the signed restricted growth condition in Equation (6), a word w SRGF n , k cannot reach the maximum absolute value k without first realising every smaller absolute value. Hence, each of 1 , 2 , , k appears at least once among the main letters of w. It follows that L B ( w ) contains exactly one representative for each absolute value 1 , , k and possibly also the first occurrence of 0. We prove both recurrences by tracking whether the main letter 0 occurs. Let
w = a 0 a 1 a 1 * a n 1 a n 1 * a n a n * SRGF n , k
and let w denote the initial segment of w obtained by deleting the final pair ( a n , a n * ) . We distinguish cases according to whether the absolute value | a n | is new, that is, does not appear among the integers | a 1 | , | a 2 | , , | a n 1 | .
  • Case 1: | a n | = k is new. Then, w SRGF n 1 , k 1 and n L B ( w ) . Since all reference values have an absolute value of k 1 at most, they occur before both k ¯ and k in the type B level order. Hence,
    l b n B ( w ) = 0 , l s n B ( w ) = | L B ( w ) | .
    Thus, the level-weighted statistics satisfy
    levLB B ( w ) = levLB B ( w ) , levLS B ( w ) = levLS B ( w ) + k | L B ( w ) | .
If 0 is absent from w , then the reference set consists of the first occurrences of the absolute values 1 , 2 , , k 1 , and therefore | L B ( w ) | = k 1 , yielding the factor p k ( k 1 ) . If 0 is present, then | L B ( w ) | = k , yielding p k 2 . Since | a n | = k is new, the letter a n is the first occurrence of absolute value k. Thus, the condition P ( w ) = P forces its sign: if k P , then a n = + k , whereas if k P , then a n = k ¯ . Finally, since the level k does not appear in w , we therefore have P ( w ) = P [ k 1 ] . This produces the first terms in the stated recurrences.
  • Case 2: The maximum k already occurs in w . Then, w SRGF n 1 , k . The reference set remains unchanged, with L B ( w ) = L B ( w ) , and the positive-first set is preserved: P ( w ) = P ( w ) = P .
Since w SRGF n 1 , k , each absolute value 1 , , k occurs in w , and hence L B ( w ) contains exactly one first occurrence for each of these values.
Fix j [ k ] and choose a n with | a n | = j . There are exactly k j reference absolute values larger than j, and therefore
l b n B ( w ) = k j .
Consequently, each such choice contributes a factor q ( k j ) j , independently of the sign of a n .
We now determine l s n B ( w ) . If j P , then by the negative-before-positive rule, the letter j ¯ never occurs in w , and the only admissible choice is a n = + j . If j P , then the first occurrence of | j | is j ¯ , and both signs a n = j ¯ and a n = j are allowed.
Suppose that 0 is absent from w . In this case, the reference set contains exactly one representative for each absolute value 1 , , k . Choosing a n = j ¯ yields l s n B ( w ) = j 1 . If a n = + j , then the number of smaller reference values depends on whether j belongs to the positive-first set, and we have
l s n B ( w ) = j 1 , if j P , j , if j P .
Consequently, for fixed j, the total contribution is
q ( k j ) j p j ( j 1 ) + 1 ( j P ) p j 2 ,
and summing over j = 1 , , k yields the factor A k ( p , q ; P ) .
If 0 is present in w . In this case, 0 is an additional smaller reference value, so each of the preceding values of l s n B ( w ) increases by 1. Thus, choosing a n to be either j or j ¯ contributes
q ( k j ) j p j 2 + 1 ( j P ) p j ( j + 1 ) ,
and the additional choice a n = 0 contributes weight 1. Summing over j yields the factor B k ( p , q ; P ) .
Finally, if w SRGF n 1 , k ( B , 0 ) , then choosing a n = 0 produces an element of SRGF n , k ( B , 1 ) without affecting the statistics, yielding the transition term S p , q ( B , 0 ) ( n 1 , k ; P ) .
Combining all cases completes the proof. □
We illustrate the recurrence relations in Theorem 2 with the following two examples, corresponding to the cases ε = 1 and ε = 0 .
Example 7.
Let n = 3 and k = 2 . We verify Equation (10) for SRGF 3 , 2 ( B , 1 ) with P ( w ) = { 2 } .
  • Left-hand side. By Table 3, the words in SRGF 3 , 2 ( B , 1 ) with P ( w ) = { 2 } are
    ( 0 , 1 ¯ , 2 ) , ( 1 ¯ , 0 , 2 ) , ( 1 ¯ , 2 , 0 ) ,
    with levLS B ( w ) = 5 , 4 , 2 , respectively. Hence,
    S p , q ( B , 1 ) ( 3 , 2 ; { 2 } ) = p 5 + p 4 + p 2 .
  • Right-hand side. Applying (10), we obtain
    S p , q ( B , 1 ) ( 3 , 2 ; { 2 } ) = p 4 S p , q ( B , 1 ) ( 2 , 1 ; ) + S p , q ( B , 0 ) ( 2 , 2 ; { 2 } ) ,
    since S p , q ( B , 1 ) ( 2 , 2 ; { 2 } ) = 0 . Hence, we obtain
    S p , q ( B , 1 ) ( 2 , 1 ; ) = p + 1 , S p , q ( B , 0 ) ( 2 , 2 ; { 2 } ) = p 2 .
    Thus, the right-hand side equals
    p 4 ( p + 1 ) + p 2 = p 5 + p 4 + p 2 ,
    which agrees with the left-hand side.
The case ε = 0 is verified in the same manner by restricting Table 3 to the words whose main letters avoid 0.
We obtain ordinary generating functions for S p , q ( B , ε ) ( n , k ; P ) as direct consequences of the recurrences in Theorem 2.
  • The zero-absent case:
We first consider the case ε = 0 , in which the main letter 0 does not occur. Recall that S p , q ( B , 0 ) ( n , k ; P ) counts signed restricted growth functions of length n whose maximum absolute value is k, whose positive-first set is P, and whose main letters avoid 0.
Since the signed restricted growth condition forces each absolute value 1 , 2 , , k to appear at least once, such words can exist only when n k . For fixed k and P [ k ] , we therefore define the ordinary generating function
F 0 ( k , P ; x ) : = n k S p , q ( B , 0 ) ( n , k ; P ) x n .
Multiplying the recurrence Equation (9) of Theorem 2 for ε = 0 by x n and summing over all n k , we obtain
1 A k ( p , q ; P ) x F 0 ( k , P ; x ) = p k ( k 1 ) x F 0 k 1 , P [ k 1 ] ; x .
Together with the initial condition F 0 ( 0 , ; x ) = 1 , the recurrence may be iterated to yield a closed product representation for F 0 ( k , P ; x ) . In particular,
F 0 ( k , P ; x ) = x k p i = 1 k i ( i 1 ) i = 1 k 1 A i ( p , q ; P [ i ] ) x .
Since i = 1 k i ( i 1 ) = k ( k + 1 ) ( k 1 ) / 3 , this gives a closed form for the ordinary generating function in the zero-absent case.
  • The zero-present case:
We now consider the case ε = 1 , corresponding to signed restricted growth functions in which the main letter 0 appears. In this case, the growth condition forces any word whose maximum absolute value is k to contain at least one occurrence of 0 in addition to the absolute values 1 , , k . Consequently, such words can exist only when n k + 1 .
For fixed k and P [ k ] , define the ordinary generating function
F 1 ( k , P ; x ) : = n k + 1 S p , q ( B , 1 ) ( n , k ; P ) x n .
(For convenience, we also write P i : = P [ i ] for 0 i k .)
In the zero-present case, we assume k 1 and set F 1 ( 0 , ; x ) = 0 by convention. Multiplying the recurrence Equation (10) of Theorem 2 for ε = 1 by x n and summing over all n k + 1 yields the functional equation:
1 B k ( p , q ; P ) x F 1 ( k , P ; x ) = p k 2 x F 1 k 1 , P k 1 ; x + x F 0 ( k , P ; x ) .
Equivalently,
F 1 ( k , P ; x ) = α k ( P ) F 1 k 1 , P k 1 ; x + β k ( P ) ,
where
α k ( P ) : = p k 2 x 1 B k ( p , q ; P ) x , β k ( P ) : = x F 0 ( k , P ; x ) 1 B k ( p , q ; P ) x .
To iterate Equation (11), we use the initial condition
F 1 ( 0 , ; x ) = 0 ,
with respect to the restriction k 1 in the zero-present case.
Iterating Equation (11) downward from k to 1 gives a closed expression in terms of F 0 :
F 1 ( k , P ; x ) = t = 1 k i = t + 1 k α i ( P i ) β t ( P t ) ,
with the convention that an empty product equals 1 (so the summand for t = k is simply β k ( P ) ).
Replacing F 0 ( t , P t ; x ) by its explicit product form in Equation (12) completes the derivation of F 1 ( k , P ; x ) .

3.4. Type B Laguerre Boards and Lah Numbers

In the previous section, we introduced type B Ferrers boards and showed that their rook placements model the ( p , q ) -Stirling numbers of type B. In the classical unsigned setting, Ferrers boards correspond to set partitions, while Laguerre boards provide a rook-theoretic model for ordered set partitions and the Lah numbers.
We now introduce Laguerre board of type B. The board is a rectangular signed board, preserving the usual type B symmetry. The main difference lies in the placement rules, where certain rows and absolute column indices are distinguished in order to reflect the ordered structure of Lah-type objects.This leads to a class of anchored type B rook placements.
We show that the number of such placements coincides with the type B Lah numbers introduced in [15]. This provides a rook-theoretic interpretation of the type B Lah numbers within the same framework used for the type B Stirling numbers.
Definition 11.
Let n 1 . The type B Laguerre board of size n, denoted by L n ( B ) , is a rectangular signed board with row set [ n ] = { 1 , 2 , , n } and column set { 1 ¯ , 1 , 2 ¯ , 2 , , n ¯ , n } , grouped into opposite pairs { j , j ¯ } for j [ n ] . Equivalently, the set of cells of L n ( B ) consists of
L n ( B ) = { ( r , j ) : r [ n ] , j n } .
An illustration of the type B Laguerre board L 4 ( B ) is shown in Figure 4.
We now define rook placements on the type B Laguerre board.
Definition 12.
A type B rook placement on L n ( B ) is a set P of cells (rooks) of L n ( B ) such that
1. 
(Row condition) No two rooks lie in the same row.
2. 
(Opposite-column condition) for each j [ n ] , at most one rook lies in the pair of opposite columns { j , j ¯ } .
Equivalently, a type B rook placement is a non-attacking placement in which each rook occupies a distinct row and a distinct absolute column index; for a given index j, the rook may be placed in either of the two signed columns j or j ¯ .
Definition 13.
Let n 1 and 0 k n , where k denotes the number of all rows that do not contain a rook. Let L n ( B ) be the type B Laguerre board. An anchored rook placement of type ( n , k ) is a type B rook placement P on L n ( B ) satisfying the following:
  • (Cut rows) Exactly k rows contain no rook.
  • (Leader columns) There exist k distinct absolute column indices { j 1 , , j k } such that neither j i nor j i ¯ contains a rook.
Note that every non-cut row in an anchored placement contains exactly one rook. Equivalently, an anchored placement consists of exactly n k rooks, each placed in a distinct non-cut row and a distinct absolute column index not among the leaders, with an independent choice of signed column j or j ¯ for each rook.
Remark 6.
The use of empty (cut) rows to encode the beginnings of blocks is standard in rook models for Lah numbers. We use the term anchored to indicate that the placement is determined with respect to prescribed cut rows and leader column indices.
Example 8.
Let n = 4 and k = 2 . Choose the cut rows { 1 , 3 } and the leader columns { 2 , 4 } . The remaining rows are then { 2 , 4 } , and the available absolute column indices are { 1 , 3 } . For example, placing rooks in the cells ( 2 , 1 ¯ ) and ( 4 , 3 ) yields an anchored type B Laguerre rook placement of type ( 4 , 2 ) , which is illustrated in Figure 5. In this case, the leader columns { 2 , 4 } forbid the use of the absolute indices 2 and 4, while the cut rows { 1 , 3 } remain empty.
We now illustrate how a signed set partition gives rise to an anchored type B Laguerre rook placement. The leader indices are assigned according to the positions of the selected pairs in the ordered list.
Example 9.
Let π = 0 2 2 ¯ 1 ¯ 7 / 1 7 ¯ 3 ¯ 6 ¯ / 3 6 4 ¯ 5 / 4 5 ¯ be a signed set partition. The set of absolute values appearing in π is { 1 , 2 , 3 , 4 , 5 , 6 , 7 } , so n = 7 . To obtain an ordered structure appropriate for the Laguerre setting, we choose the zero block together with one block from each opposite pair, preserving the given order. This results in the four ordered blocks
( 0 , 2 , 2 ¯ ) , ( 1 ¯ , 7 ) , ( 3 ¯ , 6 ¯ ) , ( 4 ¯ , 5 ) ,
and hence k = 4 . Indexing the selected pairs from left to right by 1 , 2 , 3 , 4 gives the leader absolute indices { 1 , 2 , 3 , 4 } , represented by the leader columns { 1 , 2 , 3 , 4 } .
Now, we choose the cut rows { 1 , 3 , 5 , 7 } . The remaining rows are { 2 , 4 , 6 } , and each must contain exactly one rook. Placing the corresponding rooks in the non-cut rows yields an anchored placement. For instance, choosing the negative signed column for each rook gives the placement
( 2 , 7 ¯ ) , ( 4 , 6 ¯ ) , ( 6 , 5 ¯ ) .
This defines an anchored type B Laguerre rook placement of type ( 7 , 4 ) , demonstrated in Figure 6.
Remark 7.
The use of cut rows and leader columns leads to anchored type B Laguerre rook placements, which encode block structure and naturally yield the Lah numbers of type B.
Definition 14.
Let n 1 and 0 k n . Let R n k ( B ) ( L n ( B ) ) denote the set of all anchored type B Laguerre rook placements of type ( n , k ) on L n ( B ) . The type B Laguerre rook number is
r n k ( B ) ( L n ( B ) ) = R n k ( B ) ( L n ( B ) ) .
We now show that these rook numbers coincide with the type B Lah numbers introduced in [15]. In particular, they satisfy a type B analogue of the classical relation (5).
Theorem 3.
Let n 1 and 0 k n . Then, the type B Laguerre rook number is
r n k ( B ) ( L n ( B ) ) = L B ( n , k ) = n k 2 2 n k ( n k ) ! ,
where L B ( n , k ) denotes the Lah numbers of type B.
Proof. 
An anchored placement of type ( n , k ) is determined by the following independent choices. First, choose the k cut rows in n k ways. Independently, choose the k leader absolute column indices, again in n k ways. The remaining n k rows must contain exactly one rook, and these rooks occupy the remaining n k absolute column indices bijectively, contributing ( n k ) ! possibilities. Finally, for each rook there is an independent choice of sign, since it may be placed in either of the two signed columns j or j ¯ corresponding to its absolute index, yielding a factor of 2 n k . Multiplying these independent choices gives
n k 2 2 n k ( n k ) ! ,
as claimed. □
Example 10.
We illustrate Theorem 3 in the case n = 4 and k = 2 , using the anchored type B Laguerre rook placements described above in Example 8.
First, we choose 2 cut rows, which can be performed in 4 2 = 6 ways. Independently, we select 2 leader absolute column indices, again in 4 2 = 6 ways. The remaining 2 rows must each contain exactly one rook, and these rooks occupy the remaining 2 absolute column indices bijectively, contributing 2 ! = 2 possibilities. Finally, each rook may be placed in either of the two signed columns corresponding to its absolute index, yielding an additional factor of 2 2 = 4 .
Thus, the number of anchored type B Laguerre rook placements of type ( 4 , 2 ) is
4 2 2 2 2 2 ! = 288 ,
which coincides with the value L B ( 4 , 2 ) given in Theorem 3.
It follows from the part 1 of Lemma 3.3.1 in [15] that for all n 0 we have
[ x ] n B = k = 0 n L B ( n , k ) ( x ) k B .
Taking into account Theorem 3 and Equation (13), we deduce the following result in the sense of the Formula (3).
Corollary 1.
For all n 0 , we have
[ x ] n B = k = 0 n r n k ( B ) ( L n ( B ) ) ( x ) k B .
The recurrence relation of L B ( n , k ) is given by
L B ( n , k ) = L B ( n 1 , k 1 ) + 2 ( n + k ) L B ( n 1 , k )
for all n , k N with the initial conditions L B ( n , 0 ) = 2 n n ! , L B ( n , n ) = 1 , and L B ( n , k ) = 0 if k < 0 (see [15]). Therefore, we can immediately write the following recursive formula for r n k ( B ) ( L n ( B ) ) :
r n k ( B ) ( L n ( B ) ) = r n k ( B ) ( L n 1 ( B ) ) + 2 ( n + k ) r n k 1 ( B ) ( L n 1 ( B ) ) .
Since the exponential generating function of L B ( n , k ) for a fixed k is the form n 0 L B ( n , k ) x n n ! = x k ( 1 2 x ) k + 1 k ! , we obtain the exponential generating function of r n k ( B ) ( L n ( B ) ) as
n 0 r n k ( B ) ( L n ( B ) ) x n n ! = x k ( 1 2 x ) k + 1 k ! .

4. Conclusions

In this paper, we introduced a rook-theoretic model for signed restricted growth functions of type B by defining type B Ferrers boards equipped with the level order. Moreover, we defined natural signed and level-weighted statistics and constructed a bijection between signed restricted growth functions and type B rook placements. This correspondence gives a geometric interpretation of the statistics and yields the ( p , q ) -Stirling numbers of type B, together with their recurrence relations and generating functions. Furthermore, we introduced anchored type B Laguerre boards and rook placements and showed that they are enumerated by the type B Lah numbers.
An interesting direction for future research is to define suitable weighted statistics on anchored type B Laguerre rook placements, similar to the statistics considered in the Stirling case. Such a refinement would lead to a ( p , q ) -analogue of the Lah numbers of type B. Although ( p , q ) -analogues of the Lah numbers have been studied in [16], to the best of our knowledge a corresponding construction in the Coxeter group of type B has not yet been developed. Establishing this refinement, together with its associated recurrences and generating functions, remains open.
As a direction for future work, one may consider type D set partitions. A set partition of type D is a signed set partition of n whose zero block contains at least two positive elements or no positive elements of [ n ] (see [6]). Since type D set partitions are covered by type B set partitions, ( p , q ) -Stirling numbers of type D with their recurrence relations and generating functions can be studied by employing a canonical bijection between the family of type D set partitions and a special subset of the signed restricted growth functions.

Author Contributions

Conceptualisation, H.A. (Hasan Arslan); Methodology, H.A. (Hasan Arslan), M.Z., N.A., and H.A. (Hüseyin Altındiş); Validation, H.A. (Hasan Arslan); Investigation, H.A. (Hasan Arslan), M.Z., and H.A. (Hüseyin Altındiş); Writing—original draft, M.Z.; Writing—review and editing, H.A. (Hasan Arslan), M.Z. and N.A.; Supervision, H.A. (Hüseyin Altındiş). All authors have read and agreed to the published version of the manuscript.

Funding

This research receives no external funding.

Data Availability Statement

No new data were created or analysed in this study.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Stanley, R.P. Enumerative Combinatorics, 2nd ed.; Cambridge University Press: Cambridge, UK, 2011; Volume 1, Available online: https://www.ms.uky.edu/~sohum/putnam/enu_comb_stanley.pdf (accessed on 12 March 2026).
  2. Dahlberg, S.; Dorward, R.; Gerhard, J.; Grubb, T.; Purcell, C.; Reppuhn, L.; Sagan, B.E. Set partition patterns and statistics. Discret. Math. 2016, 339, 1–16. [Google Scholar] [CrossRef] [Scilit]
  3. Kaplansky, I.; Riordan, J. The problem of the rooks and its applications. Duke Math. J. 1946, 13, 259–268. [Google Scholar] [CrossRef] [Scilit]
  4. Reiner, V. Non-crossing partitions for classical reflection groups. Discret. Math. 1997, 177, 195–222. [Google Scholar] [CrossRef] [Scilit]
  5. Sagan, B.E.; Swanson, J.P. q-Stirling numbers in type B. Eur. J. Combin. 2024, 118, 103899. [Google Scholar] [CrossRef] [Scilit]
  6. Bagno, E.; Biagioli, R.; Garber, D. Some identities involving second kind Stirling numbers of types B and D. Electron. J. Combin. 2019, 26, P3.9. [Google Scholar] [CrossRef] [Scilit]
  7. Wachs, M.; White, D. p, q-Stirling numbers and set partition statistics. J. Combin. Theory Ser. A 1991, 56, 27–46. [Google Scholar] [CrossRef] [Scilit]
  8. Acharyya, A. type B set partitions, an analogue of restricted growth functions. Ars Combin. 2025, 162, 191–204. [Google Scholar] [CrossRef] [Scilit]
  9. Briggs, K.S.; Remmel, J.B. m-rook numbers and a generalization of a formula of Frobenius to CmSn. J. Combin. Theory Ser. A 2006, 113, 1138–1171. [Google Scholar] [CrossRef] [Scilit]
  10. Goldman, J.R.; Joichi, J.T.; White, D.E. Rook theory. I. Rook equivalence of Ferrers boards. Proc. Am. Math. Soc. 1975, 52, 485–492. [Google Scholar] [CrossRef] [Scilit]
  11. Lah, I. A new kind of numbers and its application in the actuarial mathematics. Bol. Inst. Actuários Port. 1954, 9, 7–15. [Google Scholar]
  12. Lah, I. Eine neue Art von Zahlen, ihre Eigenschaften und Anwendung in der mathematischen Statistik. Mitt. Bl. Math. Statistik 1955, 7, 203–212. [Google Scholar]
  13. Ayman-Mursaleen, M.; Alshaban, E.; Nasiruzzaman, M. Shape preserving approximation properties to family of α-Bernstein shifted knot operators. J. Inequal. Appl. 2025, 2025, 107. [Google Scholar] [CrossRef] [Scilit]
  14. Farid, M.; Çiçek, H.; Ayman-Mursaleen, M.; Rao, N. Degenerate Appell polynomials connecting Beta function as a family of operators and their approximations. Symmetry 2025, 17, 2050. [Google Scholar] [CrossRef] [Scilit]
  15. Altoum, A.; Arslan, H.; Zaarour, M. Cauchy numbers in type B. arXiv 2023, arXiv:2312.14652. [Google Scholar] [CrossRef] [Scilit]
  16. Ramírez, J.L.; Shattuck, M. A (p, q)-analogue of the r-Whitney–Lah numbers. J. Integer Seq. 2016, 19, 16.5.6. Available online: https://cs.uwaterloo.ca/journals/JIS/VOL19/Ramirez2/ramirez12.pdf (accessed on 12 March 2026).
  17. Sagan, B.E. A maj statistic for set partitions. Eur. J. Combin. 1991, 12, 69–79. [Google Scholar] [CrossRef] [Scilit]
Figure 1. The type B Ferrers board F 3 ( B ) for n = 3 , with rows ordered according to the level order.
Figure 1. The type B Ferrers board F 3 ( B ) for n = 3 , with rows ordered according to the level order.
Mathematics 14 01025 g001
Figure 2. Rook placement Φ ( w ) on F 7 ( B ) for the running example w = 0 1 ¯ 1 0 0 2 ¯ 2 3 ¯ 3 3 3 ¯ 2 ¯ 2 1 1 ¯ .
Figure 2. Rook placement Φ ( w ) on F 7 ( B ) for the running example w = 0 1 ¯ 1 0 0 2 ¯ 2 3 ¯ 3 3 3 ¯ 2 ¯ 2 1 1 ¯ .
Mathematics 14 01025 g002
Figure 3. SE-type deletions for the rook placement P = Φ ( w ) in the running example. Shaded cells are deleted by the rooks in the distinguished columns L B ( P ) = { 1 , 2 , 3 , 4 } .
Figure 3. SE-type deletions for the rook placement P = Φ ( w ) in the running example. Shaded cells are deleted by the rooks in the distinguished columns L B ( P ) = { 1 , 2 , 3 , 4 } .
Mathematics 14 01025 g003
Figure 4. The type B Laguerre board L 4 ( B ) .
Figure 4. The type B Laguerre board L 4 ( B ) .
Mathematics 14 01025 g004
Figure 5. Anchored type B Laguerre rook placement for n = 4 and k = 2 .
Figure 5. Anchored type B Laguerre rook placement for n = 4 and k = 2 .
Mathematics 14 01025 g005
Figure 6. Anchored type B Laguerre rook placement for n = 7 and k = 4 (with cut rows { 1 , 3 , 5 , 7 } , leader absolute indices { 1 , 2 , 3 , 4 } , and rooks ( 2 , 7 ¯ ) , ( 4 , 6 ¯ ) , ( 6 , 5 ¯ ) ).
Figure 6. Anchored type B Laguerre rook placement for n = 7 and k = 4 (with cut rows { 1 , 3 , 5 , 7 } , leader absolute indices { 1 , 2 , 3 , 4 } , and rooks ( 2 , 7 ¯ ) , ( 4 , 6 ¯ ) , ( 6 , 5 ¯ ) ).
Mathematics 14 01025 g006
Table 1. Values of l b i B ( w ) and l s i B ( w ) for the running example w = 0 1 ¯ 1 0 0 2 ¯ 2 3 ¯ 3 3 3 ¯ 2 ¯ 2 1 1 ¯ .
Table 1. Values of l b i B ( w ) and l s i B ( w ) for the running example w = 0 1 ¯ 1 0 0 2 ¯ 2 3 ¯ 3 3 3 ¯ 2 ¯ 2 1 1 ¯ .
i a i | a i | lb i B ( w ) ls i B ( w )
1 1 ¯ 100
20010
3 2 ¯ 202
4 3 ¯ 303
53304
6 2 ¯ 212
71122
Table 2. Deletion statistics δ i S E ( P ) and δ i N E ( P ) for the rook placement P = Φ ( w ) corresponding to the running example w on F 7 ( B ) .
Table 2. Deletion statistics δ i S E ( P ) and δ i N E ( P ) for the rook placement P = Φ ( w ) corresponding to the running example w on F 7 ( B ) .
i r i δ i SE ( P ) δ i NE ( P )
1 1 ¯ 00
2010
3 2 ¯ 02
4 3 ¯ 03
5304
6 2 ¯ 12
7122
Table 3. Distribution of the statistics levLB B ( w ) and levLS B ( w ) over SRGF 3 , 2 .
Table 3. Distribution of the statistics levLB B ( w ) and levLS B ( w ) over SRGF 3 , 2 .
w ( lb 1 B , lb 2 B , lb 3 B ) ( ls 1 B , ls 2 B , ls 3 B ) levLB B ( w ) levLS B ( w )
000 1 ¯ 1 2 ¯ 2 ( 0 , 0 , 0 ) ( 0 , 1 , 2 ) 05
000 1 ¯ 12 2 ¯ ( 0 , 0 , 0 ) ( 0 , 1 , 2 ) 05
0001 1 ¯ 2 ¯ 2 ( 0 , 0 , 0 ) ( 0 , 1 , 2 ) 05
0001 1 ¯ 2 2 ¯ ( 0 , 0 , 0 ) ( 0 , 1 , 2 ) 05
0 1 ¯ 100 2 ¯ 2 ( 0 , 1 , 0 ) ( 0 , 0 , 2 ) 04
0 1 ¯ 1002 2 ¯ ( 0 , 1 , 0 ) ( 0 , 0 , 2 ) 04
0 1 ¯ 1 1 ¯ 1 2 ¯ 2 ( 0 , 0 , 0 ) ( 0 , 0 , 1 ) 02
0 1 ¯ 1 1 ¯ 12 2 ¯ ( 0 , 0 , 0 ) ( 0 , 0 , 1 ) 02
0 1 ¯ 11 1 ¯ 2 ¯ 2 ( 0 , 0 , 0 ) ( 0 , 1 , 1 ) 03
0 1 ¯ 11 1 ¯ 2 2 ¯ ( 0 , 0 , 0 ) ( 0 , 1 , 1 ) 03
0 1 ¯ 1 2 ¯ 200 ( 0 , 0 , 2 ) ( 0 , 1 , 0 ) 02
0 1 ¯ 1 2 ¯ 2 1 ¯ 1 ( 0 , 0 , 1 ) ( 0 , 1 , 0 ) 12
0 1 ¯ 1 2 ¯ 21 1 ¯ ( 0 , 0 , 1 ) ( 0 , 1 , 1 ) 13
0 1 ¯ 1 2 ¯ 2 2 ¯ 2 ( 0 , 0 , 0 ) ( 0 , 1 , 1 ) 04
0 1 ¯ 1 2 ¯ 22 2 ¯ ( 0 , 0 , 0 ) ( 0 , 1 , 2 ) 06
0 1 ¯ 12 2 ¯ 00 ( 0 , 0 , 2 ) ( 0 , 1 , 0 ) 02
0 1 ¯ 12 2 ¯ 1 ¯ 1 ( 0 , 0 , 1 ) ( 0 , 1 , 0 ) 12
0 1 ¯ 12 2 ¯ 1 1 ¯ ( 0 , 0 , 1 ) ( 0 , 1 , 1 ) 13
0 1 ¯ 12 2 ¯ 2 2 ¯ ( 0 , 0 , 0 ) ( 0 , 1 , 1 ) 04
01 1 ¯ 00 2 ¯ 2 ( 0 , 1 , 0 ) ( 0 , 0 , 2 ) 04
01 1 ¯ 002 2 ¯ ( 0 , 1 , 0 ) ( 0 , 0 , 2 ) 04
01 1 ¯ 1 1 ¯ 2 ¯ 2 ( 0 , 0 , 0 ) ( 0 , 0 , 1 ) 02
01 1 ¯ 1 1 ¯ 2 2 ¯ ( 0 , 0 , 0 ) ( 0 , 0 , 1 ) 02
01 1 ¯ 2 ¯ 200 ( 0 , 0 , 2 ) ( 0 , 1 , 0 ) 02
01 1 ¯ 2 ¯ 21 1 ¯ ( 0 , 0 , 1 ) ( 0 , 1 , 0 ) 12
01 1 ¯ 2 ¯ 2 2 ¯ 2 ( 0 , 0 , 0 ) ( 0 , 1 , 1 ) 04
01 1 ¯ 2 ¯ 22 2 ¯ ( 0 , 0 , 0 ) ( 0 , 1 , 2 ) 06
01 1 ¯ 2 2 ¯ 00 ( 0 , 0 , 2 ) ( 0 , 1 , 0 ) 02
01 1 ¯ 2 2 ¯ 1 1 ¯ ( 0 , 0 , 1 ) ( 0 , 1 , 0 ) 12
01 1 ¯ 2 2 ¯ 2 2 ¯ ( 0 , 0 , 0 ) ( 0 , 1 , 1 ) 04
Table 4. Explicit values of the ( p , q ) -Stirling polynomials of type B, S p , q ( B ) ( n , k ) , for 1 n , k 5 .
Table 4. Explicit values of the ( p , q ) -Stirling polynomials of type B, S p , q ( B ) ( n , k ) , for 1 n , k 5 .
n k 12345
12
2 4 + 3 p 4 p 2
3 6 + 9 p + 4 p 2 + p 3 8 p 2 + 2 p 3 + 8 p 4 + 4 p 5
+ 2 p 6 + q 4 p 2 + 2 p 3
8 p 8
4 8 + 18 p + 16 p 2 + 9 p 3 + 3 p 4 + p 5 12 p 2 + 6 p 3 + 22 p 4 + 20 p 5 + 18 p 6 + 3 p 7 + 10 p 8 + 4 p 9 + 4 p 10 + 2 p 11 + q ( 8 p 2 + 10 p 3 + 12 p 4 + 8 p 5 + 10 p 6 + 4 p 7 ) + q 2 4 p 2 + 4 p 3 + 2 p 4 16 p 8 + 4 p 9 + 8 p 10 + 8 p 11 + 4 p 12 + 8 p 13 + 16 p 14 + 4 p 17 + q 8 p 8 + 4 p 9 + q 2 8 p 8 + 4 p 9 + 8 p 10 + 4 p 12 16 p 20
5 10 + 30 p + 40 p 2 + 35 p 3 + 21 p 4 + 11 p 5 + 4 p 6 + p 7 16 p 2 + 12 p 3 + 44 p 4 + 56 p 5 + 60 p 6 + 25 p 7 + 45 p 8 + 27 p 9 + 32 p 10 + 14 p 11 + 19 p 12 + 5 p 13 + 8 p 14 + 4 p 15 + 2 p 16 + 2 p 17 + q ( 12 p 2 + 24 p 3 + 32 p 4 + 36 p 5 + 60 p 6 + 42 p 7 + 27 p 8 + 21 p 9 + 20 p 10 + 11 p 11 + 6 p 12 + 2 p 13 ) + q 2 ( 8 p 2 + 14 p 3 + 28 p 4 + 20 p 5 + 18 p 6 + 14 p 7 + 9 p 8 + 2 p 9 ) + q 3 4 p 2 + 6 p 3 + 6 p 4 + 2 p 5 24 p 8 + 12 p 9 + 20 p 10 + 28 p 11 + 20 p 12 + 42 p 13 + 68 p 14 + 28 p 15 + 16 p 16 + 28 p 17 + 14 p 18 + 8 p 19 + 24 p 20 + 2 p 21 + 8 p 22 + 20 p 23 + 4 p 25 + 8 p 26 + q ( 16 p 8 + 12 p 9 + 20 p 10 + 16 p 11 + 20 p 12 + 8 p 13 + 16 p 14 + 16 p 15 + 4 p 16 + 4 p 17 + 2 p 18 ) + q 2 ( 24 p 8 + 28 p 9 + 36 p 10 + 8 p 11 + 36 p 12 + 8 p 13 + 36 p 14 + 28 p 15 + 24 p 16 + 20 p 17 + 20 p 18 + 12 p 19 + 4 p 20 + 4 p 21 ) + q 3 ( 8 p 8 + 8 p 9 + 12 p 10 + 4 p 11 + 4 p 12 + 2 p 13 ) + q 4 ( 8 p 8 + 8 p 9 + 20 p 10 + 8 p 11 + 16 p 12 + 4 p 13 + 8 p 14 + 4 p 16 ) 32 p 20 + 8 p 21 + 16 p 22 + 24 p 24 + 16 p 26 + 16 p 27 + 24 p 29 + 16 p 30 + 16 p 32 + 8 p 36 + q 8 p 21 + 16 p 20 + q 2 16 p 20 + 8 p 21 + 16 p 22 + 8 p 24 + q 3 16 p 20 + 8 p 21 + 16 p 26 + 8 p 29 + q 4 16 p 22 + 8 p 24 32 p 40
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.

Share and Cite

MDPI and ACS Style

Arslan, H.; Zaarour, M.; Alemdar, N.; Altındiş, H. Type B (p, q)-Stirling Numbers via Signed Restricted Growth Functions and Rook Theory. Mathematics 2026, 14, 1025. https://doi.org/10.3390/math14061025

AMA Style

Arslan H, Zaarour M, Alemdar N, Altındiş H. Type B (p, q)-Stirling Numbers via Signed Restricted Growth Functions and Rook Theory. Mathematics. 2026; 14(6):1025. https://doi.org/10.3390/math14061025

Chicago/Turabian Style

Arslan, Hasan, Mariam Zaarour, Nazmiye Alemdar, and Hüseyin Altındiş. 2026. "Type B (p, q)-Stirling Numbers via Signed Restricted Growth Functions and Rook Theory" Mathematics 14, no. 6: 1025. https://doi.org/10.3390/math14061025

APA Style

Arslan, H., Zaarour, M., Alemdar, N., & Altındiş, H. (2026). Type B (p, q)-Stirling Numbers via Signed Restricted Growth Functions and Rook Theory. Mathematics, 14(6), 1025. https://doi.org/10.3390/math14061025

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop