1 2 Journal of Integer Sequences, Vol. 18 (2015), 3 Article 15.5.7 47 6 23 11
A Generalization of the Digital Binomial Theorem
Hieu D. Nguyen Department of Mathematics Rowan University Glassboro, NJ 08028 USA [email protected]
Abstract We prove a generalization of the digital binomial theorem by constructing a one- parameter subgroup of generalized Sierpi´nski matrices. In addition, we derive new formulas for the coefficients of Prouhet-Thue-Morse polynomials and describe group relations satisfied by generating matrices defined in terms of these Sierpi´nski matrices.
1 Introduction
The classical binomial theorem describes the expansion of (x + y)N in terms of binomial coefficients. More precisely, for any non-negative integer N, we have
N N (x + y)N = xkyN−k, (1) k Xk=0 N where the binomial coefficients k are defined in terms of factorials: N N! = . k k!(N − k)! The author [9] introduced a digital version of this theorem (based on Callan [3]) where the exponents appearing in (1) are viewed as sums of digits. To illustrate this, consider the
1 binomial theorem for N = 2:
(x + y)2 = x2y0 + x1y1 + x1y1 + x0y2. (2)
It is easy to verify that (2) is equivalent to
(x + y)s(3) = xs(3)ys(0) + xs(2)ys(1) + xs(1)ys(2) + xs(0)ys(3), (3) where s(k) denotes the sum of digits of k expressed in binary. For example,
s(3) = s(1 · 21 +1 · 20)=2.
More generally, we have Theorem 1 (digital binomial theorem [9]). Let n be a non-negative integer. Then
(x + y)s(n) = xs(m)ys(n−m). (4) 0≤m≤n (m,n−mX) carry-free
Here, a pair of non-negative integers (j, k) is said to be carry-free if their addition involves no carries when performed in binary. For example, (8, 2) is carry-free since 8+2 = (1 · 23 + 0 · 22 +0 · 21 +0 · 20)+1 · 21 = 10 involves no carries. It is clear that (j, k) is carry-free if and only if s(j)+ s(k)= s(j + k) [2, 9]. Also, observe that if n =2N − 1, then (4) reduces to (1). In this paper we generalize Theorem 1 to any base b ≥ 2. To state this result, we shall need to introduce a digital dominance partial order on N as defined by Ball, Edgar, and Juda [2]. Let
0 1 N−1 n = n0b + n1b + ··· + nN−1b represent the base-b expansion of n and denote db,i(n) := ni to be the i-th digit of n in base b. We shall say that m is digitally less than or equal to n if db,i(m) ≤ db,i(n) for all i = 0, 1,...,N − 1. In that case, we shall write m b n. We are now ready to state our result. Theorem 2. Let n be a non-negative integer. Then for any base b ≥ 2, we have
− − − N 1 x + y + d (n) − 1 N 1 x + d (m) − 1 N 1 y + d (n − m) − 1 b,i = b,i b,i . db,i(n) db,i(m) db,i(n − m) i=0 0≤mbn i=0 i=0 ! Y X Y Y (5)
(b) Let µj(n) := µj (n) denote the multiplicity of the digit j > 0 in the base-b expansion of n, i.e., µj(n)= |{i : db,i(n)= j}|. As a corollary, we obtain
2 Corollary 3. Let n be a non-negative integer. Then for any base b ≥ 2, we have
− − − b 1 x + y + j − 1 µj (n) b 1 x + j − 1 µj (m) b 1 y + j − 1 µj (n−m) = . j j j j=1 0≤m n j=1 j=1 ! Y Xb Y Y Observe that if b = 2, then Corollary 3 reduces to Theorem 1. The source behind Theorem 1 is a one-parameter subgroup of Sierpi´nski matrices, inves- tigated by Callan [3], which encodes the digital binomial theorem. To illustrate this, define N N a sequence of lower-triangular matrix functions SN (x) of dimension 2 × 2 recursively by
1 0 S (x)= , S (x)= S (x) ⊗ S (x), (6) 1 x 1 N+1 1 N where ⊗ denotes the Kronecker product of two matrices. For example, S2(x) and S3(x) can be computed as follows:
1 0 00 1 · S (x) 0 · S (x) x 1 0 0 S (x)= S (x) ⊗ S (x)= 1 1 = , 2 1 1 x · S (x) 1 · S (x) x 0 1 0 1 1 x2 x x 1 1 0 0 00 000 x 1 0 00 000 x 0 1 00 000 2 1 · S2(x) 0 · S2(x) x x x 10 000 S (x)= S (x) ⊗ S (x)= = . 3 1 2 x · S (x) 1 · S (x) x 0 0 01 000 2 2 x2 x 0 0 x 1 0 0 x2 0 x 0 x 0 1 0 x3 x2 x2 x x2 x x 1 Observe that when x = 1, the infinite matrix S = limN→∞ SN (1) contains Sierpi´nski’s triangle. N Callan [3] gives a formula for the entries of SN (x)=(αN (j,k,x)), 0 ≤ j, k ≤ 2 − 1, in terms of the sum-of-digits function:
xs(j−k), if 0 ≤ k ≤ j ≤ 2N − 1 and (k, j − k) are carry-free; α (j,k,x)= (7) N 0, otherwise. N Moreover, Callan proved that SN (x) forms a one-parameter subgroup of SL(2 , R), i.e., the group of 2N × 2N real matrices with determinant one. Namely, we have
SN (x)SN (y)= SN (x + y). (8)
3 If we denote the entries of SN (x)SN (y) by tN (j, k), then the equality
2N −1
tN (j, k)= αN (j,i,x)αN (i,k,y)= αN (j,k,x + y) i=0 X corresponds precisely to Theorem 1 with j = 0 and k = 0. For example, if N = 2, then (8) becomes 1 000 1 000 1 0 00 x 1 0 0 y 1 0 0 x + y 1 00 = . x 0 1 0 y 0 1 0 x + y 0 10 x2 x x 1 y2 y y 1 (x + y)2 x + y x + y 1 The rest of this paper is devoted to generalizing Callan’s construction of Sierpi´nski ma- trices to arbitrary bases and considering two applications of them. In Section 2, we use these generalized Sierpi´nski matrices to prove Theorem 2. In Section 3, we demonstrate how these matrices arise in the construction of Prouhet-Thue-Morse polynomials defined by the author [10]. In Section 4, we describe a group presentation in terms of generators defined through these matrices and show that these generators satisfy a relation that generalizes the three-strand braid relation found by Ferrand [4]. This relation suggests that Sierpi´nski matrices encode not only a digital binomial theorem but also an interesting group structure.
2 Sierpi´nski triangles
To prove Theorem 2, we consider the following generalization of the Sierpi´nski matrix SN (x) in terms of binomial coefficients. Define lower-triangular matrices Sb,N (x) of dimension bN × bN recursively by
1 0 0 ··· 0 x 1 1 0 ··· 0 x+j−k−1 x+1 x 1 ··· 0 j−k , if 0 ≤ k ≤ j ≤ b − 1; Sb,1(x)= 2 1 = ...... 0, otherwise, . . . . . x+b−2 x+b−3 x+b−4 ··· 1 b−1 b−2 b−3 and for N > 1, Sb,N+1(x)= Sb,1(x) ⊗ Sb,N (x).
Example 4. To illustrate our generalized Sierpi´nski matrices, we calculate S3,1(x) and
4 S3,2(x):
1 00 x S3,1(x)= 1 1 0 , x+1 x 1 2 1 S3,2(x)= S3,1 (x) ⊗ S 3,1(x) 1 0 0 0 00000 x 1 1 0 0 00000 x+1 x 2 1 1 0 00000 x 1 0 0 1 00000 x x x x = 0 1 0 0 00 . 1 1 1 1 x x+1 x x x x+1 x 1 0 00 1 21 1 1 2 1 x+1 0 0 x 0 0 1 00 2 1 x+1 x x+1 0 x x x 0 x 1 0 2 1 2 1 1 1 1 x+1 x+1 x+1 x x+1 x x+1 x x x x+1 x 1 2 2 2 1 2 1 21 1 1 2 1 We now generalize Callan’s result for SN (x ) by presenting a formula for the entries of Sb,N (x); see [7] for a similar generalization but along a different vein.
Theorem 5. Let αN (j, k) := αN (j,k,x) denote the (j, k)-entry of Sb,N (x). Then
x+d0−1 x+d1−1 ··· x+dN−1−1 , if 0 ≤ k ≤ j ≤ bN − 1 and k j; d0 d1 dN−1 b α (j, k)= (9) N 0, otherwise,
0 1 N−1 where j − k = d0b + d1b + ... + dN−1b is the base-b expansion of j − k, assuming j ≥ k.
Proof. We argue by induction on N. It is clear that (9) holds for Sb,1(x). Next, assume that N (9) holds for Sb,N (x) and let αN+1(j, k) be an arbitrary entry of Sb,N+1(x), where pb ≤ j ≤ (p+1)bN −1 and qbN ≤ k ≤ (q+1)bN −1 for some non-negative integers p,q ∈ {0, 1,...,b−1}. Set j′ = j − pbN and k′ = k − qbN . We consider two cases: ′ ′ Case 1. p x+d0−1 x+d1−1 ··· x+dN−1−1 if 0 ≤ k′ ≤ j′ ≤ bN − 1 and k′ j′; d0 d1 dN−1 b α (j′, k′)= (11) N 0 otherwise. 5 ′ ′ Since k b j if and only if k b j , it follows from (10) and (11) that x+d0−1 x+d1−1 ··· x+dN −1 if 0 ≤ k ≤ j ≤ bN+1 − 1 and k j; d0 d1 dN b α (j, k)= (12) N+1 0 otherwise. Thus, (9) holds for Sb,N+1. N Next, we show that Sb,N (x) forms a one-parameter subgroup of SL(b , R). To prove this, we shall need the following two lemmas; the first is due to Gould [6] and the second follows easily from the first through an appropriate change of variables. Lemma 6 (Gould [6]). n x + k y + n − k x + y + n +1 = . (13) k n − k n Xk=0 Proof. Gould [6] derives (13) as a special case of a generalization of Vandemonde’s convo- lution formula. We shall prove (13) more directly using a combinatorial argument. Let A, B, and C = {0, 1,...,n} denote three sets containing x, y, and n + 1 elements (all dis- tinct), respectively, where n is a positive integer. For any non-negative integer k, define Ak = A ∪ {0,...,k − 1} and Bk = B ∪ {k +1,...,n}. Then given any n-element subset S of A ∪ B ∪ C, there exists a unique integer kS in C − S, called the index of S with respect to A and B, such that |S ∩ AkS | = kS and |S ∩ BkS | = n − kS. To see this, define SA = A ∩ S, SB = B ∩ S, and T = C − S. We begin by deleting |SA| consecutive elements from T , in increasing order and beginning with its smallest element, to obtain a subset T ′. We then ′ delete |SB| consecutive elements from T , in decreasing order and beginning with its largest ′′ element, to obtain a subset T , which must now contain a single element denoted by kS. It is now clear that |S ∩ AkS | = kS and |S ∩ BkS | = n − kS. To prove (13), we count the n-element subsets S of A∪B∪C in two different ways. On the x+y+n+1 one hand, since |A∪B ∪C| = x+y +n+1, the number of such subsets is given by n . On the other hand, we partition all such n-element subsets into equivalence classes according to each subset’s index value. Since |S ∩ Ak| = k and |S ∩ Bk| = n − k, it follows that the x+k y+n−k number of n-element subsets S having the same index k is given by k n−k and total number of n-element subsets is given by n x + k y + n − k . k n − k Xk=0 Lastly, we equate the two answers to obtain (13). Lemma 7. Let p and q be positive integers with q ≤ p. Then p x + p − v − 1 y + v − q − 1 x + y + p − q − 1 = . (14) p − v v − q p − q v=q X 6 Proof. Set k = v − q and n = p − q. Then (14) can be rewritten as p−q x + p − q − w − 1 y + w − 1 x + y + p − q − 1 = , p − q − w w p − q w=0 X which follows from Lemma 6. Theorem 8. For all N ∈ N, Sb,N (x)Sb,N (y)= Sb,N (x + y). (15) Proof. We argue by induction on N. Lemma 6 proves that (15) holds for Sb,1(x). Next, as- sume that (15) holds for Sb,N (x). Let tN+1(j, k) denote the (j, k)-entry of Sb,N+1(x)Sb,N+1(y). Then bN+1−1 tN+1(j, k)= αN+1(j,m,x)αN+1(m,k,y) m=0 X b−1 bN −1 N N = αN+1(j,vb + r, x)αN+1(vb + r,k,y). v=0 r=0 X X As before, assume pbN ≤ j ≤ (p+1)bN −1 and qbN ≤ k ≤ (q+1)bN −1 for some non-negative integers p,q ∈ {0, 1,...,b − 1}. Set j′ = j − pbN and k′ = k − qbN . Again, we consider two cases: Case 1: j < k. Then αN+1(j,k,x + y) = 0 by definition. On the other hand, we have j bN+1−1 tN+1(j, k)= αN+1(j,m,x)αN+1(m,k,y)+ αN+1(j,m,x)αN+1(m,k,y) m=0 m=j+1 X X j bN+1−1 = αN+1(j,m,x) · 0+ 0 · αN+1(m,k,y) m=0 m=j+1 X X =0 and thus (15) holds. Case 2: j ≥ k. Since Sb,N+1(x)= Sb,1(x) ⊗ Sb,N (x), we have x+p−v−1 α (j′,r,x) if j ≥ vbN + r; α (j,vbN + r, x)= p−v N N+1 0 if j