Filomat 32:11 (2018), 3881–3889 Published by Faculty of Sciences and Mathematics, https://doi.org/10.2298/FIL1811881K University of Nis,ˇ Serbia Available at: http://www.pmf.ni.ac.rs/filomat
Some Formulas for Bell Numbers
Takao Komatsua, Claudio Pita-Ruizb
aSchool of Mathematics and Statistics, Wuhan University, Wuhan, 430072, China bUniversidad Panamericana, Facultad de Ingenier´ıa,Augusto Rodin 498, M´exico,Ciudad de M´exico,03920, M´exico
Abstract. We give elementary proofs of three formulas involving Bell numbers, including a generalization of the Gould-Quaintance formula and a generalization of Spivey’s formula. We find variants for two of our formulas which involve some well-known sequences, among them the Fibonacci, Bernoulli and Euler numbers.
1. Introduction
The n-th Bell number is given by
Xn B(n) = S(n, j), (1) j=0 where S(n, j) denotes the Stirling number of the second kind which counts the partitions of an n-element set having exactly j blocks. Then B(n) counts the total number of partitions of an n-element set (see, e.g., [14, p. 33]). The Bell numbers B(n) may be defined by Dobinski’s´ formula
X∞ m 1 n B(n) = e− m! m=0
(see [3]), or by the generating function X∞ n ex 1 x e − = B(n) n! n=0 (see [4]). A recurrence for the sequence B(n) is given by
n ! X n B(n + 1) = B(j). (2) j j=0
2010 Mathematics Subject Classification. 11B73 Keywords. Bell numbers, Recurrence. Received: 19 October 2017; Accepted: 20 May 2018 Communicated by Paola Bonacini Email addresses: [email protected] (Takao Komatsu), [email protected] (Claudio Pita-Ruiz) T. Komatsu, C. Pita-Ruiz / Filomat 32:11 (2018), 3881–3889 3882
The inverse relation of (2) is
n ! X n B(n) = ( 1)n+jB(j + 1). (3) j − j=0
In 2008, Spivey [13] proved the following generalized recurrence for Bell numbers
Xk Xn ! n n j B (n + k) = m − S (k, m) B j , (4) j m=0 j=0 which is called “Spivey’s formula” nowadays. When n = 0 in (4), this is reduced to the definition (1). When k = 1 in (4), this is reduced to the recurrence (2). Besides the generalizations of Bell numbers and their recurrences (see, e.g., [7] and [2, 8, 9]), we also have several generalizations of Spivey’s formula (4) (see, e.g., [1, 5, 10, 12, 15]). In this work, we give elementary proofs of the following three formulas involving Bell numbers: for arbitrary non-negative integers n and k, we have
n ! k ! X n X k B(k + j) = ( 1)k+jB(n + j + 1), (5) j j − j=0 j=0
Xn ! Xk Xn ! n j n j k+j n l n l a b − B(j) = ( 1) s(k, j) a (b ak) − B(l + j), (6) j − l − j=0 j=0 l=0
Xn+k ! Xk Xn Xk Xj ! ! ! n + k n+k j j n k j n+l+i j k+j l i n j a − b B n + k j = a − b − − m − S (l, m) B (i) . (7) j − j l i j=0 m=0 j=0 l=0 i=0 In (6), s k, j denotes the unsigned Stirling numbers of the first kind whose recurrence is given by s(k + 1, j) = s(k, j 1) + ks(k, j). In (6) and (7), a and b are arbitrary complex numbers. Observe that− the case a = 1, b = 0 of (7) is Spivey’s formula (4). More particular cases in (5), (6) and (7) are discussed in the next section.
2. The Main Results
In this section, we prove formulas (5), (6) and (7).
Proposition 1. Formula (5) holds.
Proof. We proceed by induction on k. By (2), the result is true for k = 0. Suppose that the result is true for a given k N. Then ∈ k+1 ! X k + 1 ( 1)k+1+jB(n + j + 1) j − j=0 k ! k+1 ! X k X k = ( 1)k+1+jB(n + j + 1) + ( 1)k+1+jB(n + j + 1) j − j 1 − j=0 j=1 − k ! k ! X k X k = ( 1)k+1+jB(n + j + 1) + ( 1)k+jB(n + 1 + j + 1) j − j − j=0 j=0 T. Komatsu, C. Pita-Ruiz / Filomat 32:11 (2018), 3881–3889 3883
n ! n+1 ! X n X n + 1 = B(k + j) + B(k + j) − j j j=0 j=0 n+1 ! X n = B(k + j) j 1 j=1 − n ! X n = B(k + 1 + j), j j=0 as desired. When n = 0 in (5), we obtain the inverse relation (3). Formula (5) can be written as the following recurrence for Bell numbers:
k 1 ! n ! X− k X n B(k + n + 1) = ( 1)k+1+jB(n + j + 1) + B(k + j). (8) j − j j=0 j=0
For example, the Bell number B(8) can be expressed in terms of B(1),..., B(7), by taking k, n such that k + n = 7: n k B(8) = 6 1 B(1) + 6B(2) + 15B(3) + 20B(4) + 15B(5) + 6B(6) + 2B(7) 5 2 B(2) + 5B(3) + 10B(4) + 10B(5) + 4B(6) + 3B(7) 4 3 B(3) + 4B(4) + 7B(5) + B(6) + 4B(7) 3 4 7B(5) 3B(6) + 5B(7) − 2 5 B(3) 5B(4) + 11B(5) 8B(6) + 6B(7) − − 1 6 B(2) + 6B(3) 15B(4) + 20B(5) 14B(6) + 7B(7) − − −
Proposition 2. Formula (6) holds.
Proof. The proof is done by induction on k. If k = 0, formula (6) is trivial. If k = 1, then the result holds as
n ! n j ! X X− n j n j n j i i a B(j + 1) − ( a) − − b j i − j=0 i=0 n n j ! ! X X− n n i n i j n i i = − ( 1) − − a − b B(j + 1) i n i j − j=0 i=0 − − n ! n i ! X X− n n i i n i n i j = a − b − ( 1) − − B(j + 1) i j − i=0 j=0 Xn ! n n i i = a − b B(n i), i − i=0 where we have used relation (3) in the last equality. Suppose formula (6) is true in the k-case for some k 1. Then ≥
k+1 n ! X X n n l ( 1)k+1+js(k + 1, j) al b a(k + 1) − B(l + j) − l − j=0 l=0 T. Komatsu, C. Pita-Ruiz / Filomat 32:11 (2018), 3881–3889 3884
Xk+1 Xn ! k+1+j n l n l = ( 1) s(k, j 1) + ks(k, j) a (b a ak) − B(l + j) − − l − − j=0 l=0 Xk Xn ! k+j n l n l = ( 1) s(k, j) a (b a ak) − B(l + j + 1) − l − − j=0 l=0 Xn ! n j n j k a (b a) − B(j). (9) − j − j=0
Now observe that
Xk Xn ! k+j n l n l ( 1) s(k, j) a (b a ak) − B(l + j + 1) − l − − j=0 l=0 Xk Xn+1 ! ! k+j n + 1 n l 1 n+1 l = ( 1) s(k, j) ( )a − (b a ak) − B(l + j) − l − l − − j=0 l=0 Xn+1 ! Xn ! 1 n + 1 j n+1 j 1 n j n j = a− a (b a) − B(j) a− (b a ak) a (b a) − B(j) j − − − − j − j=0 j=0 Xn+1 ! Xn ! 1 n + 1 j n+1 j 1 n j n+1 j = a− a (b a) − B(j) a− a (b a) − B(j) j − − j − j=0 j=0 Xn ! n j n j + k a (b a) − B(j). j − j=0
Thus, from (9), we have
k+1 n ! X X n n l ( 1)k+1+js(k + 1, j) al b a(k + 1) − B(l + j) − l − j=0 l=0 Xn+1 ! Xn ! 1 n + 1 j n+1 j 1 n j n+1 j = a− a (b a) − B(j) a− a (b a) − B(j) j − − j − j=0 j=0 Xn+1 ! 1 n j n+1 j = a− a (b a) − B(j) j 1 − j=1 − Xn ! n j n j = a (b a) − B(j + 1) j − j=0 Xn ! n j n j = a b − B(j). j j=0 as desired. Note that in the last step, we have used the k = 1 case of (6).
When a , 0 and b = 0, (6) is
Xk Xn ! k+j n n l B(n) = ( 1) s(k, j) ( k) − B(l + j). (10) − l − j=0 l=0 T. Komatsu, C. Pita-Ruiz / Filomat 32:11 (2018), 3881–3889 3885
This is the so-called “Gould-Quaintance Formula” in [5, (7)]. When a = 0 and b , 0 or n = 0 in (6), we have the identity Xk ( 1)k+js(k, j)B(j) = 1, − j=0 which is also derived from (1) by using the orthogonality of the two type of Stirling numbers. When a = 1 and b = k in (6), we have the formula
Xn ! Xk n n j k+j k − B(j) = ( 1) s(k, j)B(n + j), (11) j − j=0 j=0 contained also in [5, (6)]. When k = 1 in (6), we also have Xn ! Xn ! n j n j n j n j a b − B(j) = a (b a) − B(j + 1), (12) j j − j=0 j=0 which contains the recurrence (2) with a = b = 1 and the inverse relation (3) with a = 1 and b = 0 as particular cases. If a , 0, from (6), we obtain the recurrence Xn+k ! Xk ! n + 1 n+1 j k+t n + 1 n+1 j+t B(n + k + 1) = z − ( 1) s(k, t) (z k) − B(j), (13) j − − j t − j=0 t=0 −
1 where z = a− b is an arbitrary complex number and n and k are arbitrary integers with n 0 and k > 0. The case z = k of (13) is essentially the same as (11). ≥ Formula (13) gives us the Bell number B(n + k + 1) written as a linear combination (with polynomial coefficients) of the previous Bell numbers B(0), B(1),..., B(n + k): each coefficient is a polynomial in z of degree n + 1. For example, B(6) can be written as a linear combination of B(0), B(1),..., B(5), in 5 different ways, corresponding≤ to (n, k) = (0, 5), (1, 4), (2, 3), (3, 2), (4, 1). In the simplest case where n = 0 and k = 5, we have the following family of recurrence formulas for B(6):
B(6) = zB(0) + ( 24z + 121)B(1) + (50z 274)B(2) − − + ( 35z + 225)B(3) + (10z 85)B(4) + ( z + 15)B(5). − − −
Proposition 3. Formula (7) holds.
Proof. Both sides of (7) are (n + k)-th degree polynomials in the variable b. We shall prove that the values of these polynomials are equal when b is a non-negative integer, implying that the polynomials are equal. We proceed by induction on b. When b = 0, formula (7) is exactly the same as Spivey’s formula (4). Suppose that the result is valid for b N. Then we have ∈ Xn+k ! n + k j n+k j a (b + 1) − B j j j=0 !n+k Xn+k ! !j b + 1 n + k ab n+k j = b − B j b j b + 1 j=0 !n+k k n k j ! ! ! !n+l+i j X X X X − b + 1 n k j ab k+j l i n j = b − − m − S (l, m) B (i) b j l i b + 1 m=0 j=0 l=0 i=0 T. Komatsu, C. Pita-Ruiz / Filomat 32:11 (2018), 3881–3889 3886
Xk Xn Xk Xj ! ! ! n k j n+l+i j k+j l i n j = a − (b + 1) − − m − S (l, m) B (i) , j l i m=0 j=0 l=0 i=0 as desired. When n = 0, (7) is Xk ! Xk Xk ! k j k j k l k l a b − B j = a b − S (l, m) . (14) j l j=0 m=0 l=0 When a = 1 and b = 0, (14) is reduced to the definition (1). In addition, by using the relation Pk k Pk l=0 l S (l, m) = S (k + 1, m + 1), we see that (14) becomes B (k + 1) = m=0 S (k + 1, m + 1) when a = b = 1, which is essentially the definition (1). When k = 1, (7) becomes
Xn+1 ! Xn ! Xn Xj ! ! n + 1 j n+1 j n i n+1 i n j n+1+i j j i a b − B j = a b − B (i) + a − b − B (i) . (15) j i j i j=0 i=0 j=0 i=0 When a = 1 and b = 0, (15) is the recurrence (2), and when a = b = 1, it becomes the recurrence n ! X n B (n + 2) = B (n + 1) + B j + 1 . (16) j j=0 Formula (7) can be written as the following generalized recurrence for Bell numbers:
k k n n ! ! ! n+k 1 ! X X X X X− n k j k+j l i n j n + k n+k j B (n + k) = z − − m − S (l, m) B (i) z − B j , (17) j l i − j m=0 l=m i=0 j=i j=0
1 where z = a− b is an arbitrary complex number. Moreover, some elementary algebra gives us the following more interesting form for (17):
n ! n+k 1 ! !! X X− n k n n + k n j B (n + k) = Pk j (z) B j + z z − B j , k 1, (18) j , j − j ≥ j=0 j=0 where the polynomial Pk,j (z) is given by Xk Xk ! k k l n j P (z) = S (l, m) z − (z + m) − . (19) k,j l m=1 l=m n j When z = 0, (18) is reduced to Spivey’s formula (4). Furthermore, if k = 1, we have P1,j (z) = (z + 1) − , so (18) becomes n ! n 1 ! X X− n n j n n j B (n + 1) = (z + 1) − B j z − B j + 1 , (20) j − j j=0 j=0 which contains the recurrence (2) if z = 0, and the inverse relation (3) if z = 1. When k = 2, formula (18) looks as follows: − Xn ! Xn+1 ! !! n n j n j 2 n n + 2 n j B (n + 2) = (2z + 1)(z + 1) − + (z + 2) − B j + z z − B j . (21) j j − j j=0 j=0 If we set z = 1 in (21), the recurrence can be written as follows: − ! n 1 ! !! X− n + 2 n n + 2 n j B (n + 2) = (n + 3)B(n + 1) B (n) + ( 1) − B j . − 2 j − j − j=0 T. Komatsu, C. Pita-Ruiz / Filomat 32:11 (2018), 3881–3889 3887
3. Some Additional Identities
In this section, we shall consider the Fibonacci sequence Fn, defined recursively by Fn+2 = Fn+1 + Fn (n 0) with F0 = 0 and F1 = 1, and the Lucas sequence Ln, defined by Ln+2 = Ln+1 + Ln (n 0) with L0 = 2 ≥ 1 n n n n 1 1 ≥ and L1 = 1. Recall that Fn = (α β ) and Ln = α + β , where α = (1 + √5), β = (1 √5). √5 − 2 2 − Formula (6) can be seen as an identity of two n-th degree polynomials in the variable b, namely,
Xn Xn Xl n j i cj(n, a)b − = dl,i(n, k, a)b , (22) j=0 l=0 i=0