On the Order of Stirling Numbers and Alternating Binomial ... - CiteSeerX

0 downloads 0 Views 142KB Size Report
i.e., the greatest integer e such that pe divides m. ... We outline a generating function based method to analyze the sum in terms of a recurrent .... We adopt the usual notation [xk]f(x) to denote the coefficient of xk in the formal power series f(x).
On the Order of Stirling Numbers and Alternating Binomial Coefficient Sums Ira M. Gessel† Department of Mathematics, Brandeis University, Waltham, MA 02254

and ´s Lengyel‡ Tama Occidental College, 1600 Campus Road, Los Angeles, CA 90041 We prove that the p-adic order of k! S(a (p − 1) pq , k) does not depend on a and q if p − 1 | k and q is sufficiently large. Here S(n, k) denotes the Stirling number of the second kind. The proof is based on divisibility results for p-sected alternating binomial coefficient sums. A fairly general criterion is also given to obtain divisibility properties of recurrent sequences when the coefficients follow some divisibility patterns.

1. Introduction The motivation of the paper is to generalize the identity [6] ν2 (k! S(n, k)) = k − 1,

1 ≤ k ≤ n,

(1)

where S(n, k) denotes the Stirling number of the second kind, and n = a 2q , a is odd, and q is sufficiently large (for example, q ≥ k − 2 suffices). Here νp (m) denotes the p-adic order of m, i.e., the greatest integer e such that pe divides m. It is worth noting the remarkable fact that the 2-adic order does not depend on a and q if q is sufficiently large which will be assumed from now on. We will clarify later what value is large enough. Our objective in this paper is to analyze νp (k! S(n, k)) for an arbitrary prime p. It turns out that identity (1) can be generalized to calculate the exact value of νp (k! S(n, k)) if n = a (p − 1) pq and k is divisible by p − 1. The main result of this paper is Theorem 1.

If n = a (p − 1) pq , 1 ≤ k ≤ n, a and q are positive integers such that

(a, p) = 1, q is sufficiently large, and k/p is not an odd integer, then ¹ º k−1 νp (k! S(n, k)) = + τp (k), p−1 †partially supported by NSF grant DMS-9306297 ‡I thank my colleagues at the Computer and Automation Institute of the Hungarian Academy of Sciences for their hospitality during my stay in 1994 during which part of this work was done.

2

I. M. GESSEL AND T. LENGYEL

where τp (k) is a nonnegative integer. Moreover, if k is a multiple of p − 1 then τp (k) = 0. Note that the p-adic order of k! S(a (p − 1) pq , k) does not depend on a and q if p − 1 | k and q is sufficiently large. For instance, we may choose q such that q >

k p−1

− 2 in this case.

Numerical evidence suggests that the condition on the magnitude of q may be relaxed and it appears that n ≥ k suffices in many cases (cf. [6]). The case excluded by Theorem 1, in which k/p is an odd integer, behaves somewhat differently: Theorem 2. For any odd prime p, if k/p is an odd integer then νp (k! S(a (p − 1) pq , k)) > q. In Section 2 we prove a fundamental lemma: If n = a(p − 1)pq then (−1)k+1 k! S(n, k) ≡ Gp (k) (mod pq+1 ), where Gp (k) =

X µk ¶ p|i

i

(2)

(−1)i .

All of our divisibility results for the Stirling numbers are consequences of divisibility results for the alternating binomial coefficient sums Gp (k), which are of independent interest. Theorem 2 is an immediate consequence of (2), since if k/p is an odd integer, the corresponding binomial coefficient sum is 0. To prove Theorem 1, we prove the analogous divisibility result for Gp (k). The proof is presented in Section 2, and it combines number-theoretical, combinatorial and analytical arguments. By an application of Euler’s theorem, we prove (2). We then apply p-section of the binomial expansion of (1−x)k to express Gp (k) as a sum of p−1 terms involving roots of unity. We take a closer look at this sum from different perspectives in Sections 3 and 4 and give a comprehensive study of the special cases p = 3 and 5. We choose two different approaches in these sections: we illustrate the use of primitive roots in the case in which p = 3, and we use a generating function based method for p = 5. The latter approach can be extended to other primes. We outline a generating function based method to analyze the sum in terms of a recurrent sequence in Section 2. A fairly general lemma (Lemma 7) is also given in order to provide the framework for proving divisibility properties. The reader may find it a helpful tool in obtaining divisibility properties of recurrent sequences when the coefficients follow some divisibility

ON THE ORDER OF STIRLING NUMBERS

3

patterns (e.g., [1]). The lemma complements previous results that can be found, for example, in [9] and [11]. Theorem 1 follows by an application of Lemma 7. A similar approach yields Theorem 3. For any odd prime p and any integer t, ( µ ¶ k k k X k (−1) p−1 −1 p p−1 −1 (mod p p−1 ), if k is divisible by p − 1, i (−1) ≡ k i 0 (mod p⌊ p−1 ⌋ ), otherwise. i≡t (mod p) Fleck [3] and Kapferer [5] proved the second part of Theorem 3, and Lundell [8] obtained the first part (Theorem 1.1 (ii)). Lundell has only indicated that the proof is based on a k tedious induction on ⌊ p−1 ⌋.

The proofs of Lemma 7 and Theorem 3 are given in Section 5 in which an application of Theorem 3 is also presented to prove its generalization: Theorem 4. Let p be an odd prime and let m be an integer with 0 ≤ m ≤ min{k, p} such k−m p−1

that r =

is an integer. We set r ≡ r′ (mod p) with 1 ≤ r′ ≤ p. If r′ ≥ m then for any

integer t, X

i≡t (mod p)

µ ¶ µ ¶ k−m k −1 k m+ k−m i m p−1 (−1) i ≡ (−1) m! p p−1 −1 i m

For example, it follows that

P

i≡t (mod 17) ′

¡135¢ i

(−1)i i7 ≡

dently of t. Here we have m = 7 and r = r = 8.

(mod p

¡135¢ 7

k−m p−1 +νp

¡

¢ k )m! ). (m

7! 177 (mod 178 ), indepen-

Theorem 4 is a generalization of Theorem 1.7 of [8]. Note that the conditions of Theorem 4 are always satisfied for m = 0 and 1 provided p − 1 | k − m. The theorem can be generalized to the case in which p = 2 and m = 0 or 1, also (see also [6]), e.g., X µk ¶ X µk ¶ = = 2k−1 . i i 2|i

26 | i

Some conjectures on τp (k) are discussed at the end of the paper.

2. Tools and the general case Lemma 5. If n = a(p − 1)pq then k+1

(−1)

k! S(n, k) ≡

X µk ¶ p|i

i

(−1)i (mod pq+1 ).

(3)

4

I. M. GESSEL AND T. LENGYEL

Proof. By a well-known identity [2] for the Stirling numbers, we have k! S(n, k) =

k µ ¶ X k

i

i=0

n

k−i

i (−1)

X µk ¶



i

p6 | i

in (−1)k−i (mod pn ).

For n = a (p − 1) pq and (i, p) = 1, we have in ≡ 1 (mod pq+1 ) by Euler’s theorem. Notice that n ≥ q + 1. By the binomial theorem, we obtain k

(1 − 1) =

X µk ¶ i

p|i

i

(−1) +

X µk ¶ p6 | i

i

(−1)i ;

therefore we have k! S(n, k) ≡

X µk ¶ p6 | i

i

k−i

(−1)

k

= (−1)

X µk ¶

(−1)i

i X µk ¶ k+1 = (−1) (−1)i (mod pq+1 ). i p6 | i

p|i

Lemma 6. For any odd prime p, if k is an odd multiple of p then X µk ¶ p|i

Proof. The terms

¡k ¢ i

(−1)i and

¡

k k−i

¢

i

(−1)i = 0.

(−1)k−i cancel in (3).

Theorem 2 is an immediate consequence of Lemmas 5 and 6. We note that by multisection identities ([10] or [2]), m−1 1 X (1 − ω t )k , (−1) = i m t=1

X µk ¶ m|i

i

(4)

where ω = exp(2πi/m) is a primitive mth root of unity. To illustrate the use of this identity, we note that identity (1) follows immediately if we set m = p = 2: identities (3) and (4) with ω = −1, imply that k! S(n, k) ≡ (−1)k+1 2k−1 (mod 2q+1 )

ON THE ORDER OF STIRLING NUMBERS

5

if q > k − 2. The ways of improving this lower bound on q have been discussed in [6]. In the general case, we set Gm (k) =

X µk ¶ m|i

i

(−1)i .

(5)

For example, for any prime p, we have Gp (k) = 1 for 0 ≤ k < p, and Gp (p) = 0. By identity (3), we get that k! S(a (p − 1) pq , k) ≡ (−1)k+1 Gp (k) (mod pq+1 )

(6)

holds for all q > 0. Now we are going to determine the generating function of Gp (k) in identity (8) and deduce recurrence (9). An application of Lemma 7 to this recurrence will imply the required divisibility properties. For any odd m, we obtain   µ ¶ ∞ X X X xi i  (−1)i k  xk = (−1) i (1 − x)i+1 k=0

m|i

m|i

∞ X

xmj (1 − x)mj+1 j=0 ¶−1 µ 1 (−x)m = 1− 1−x (1 − x)m (1 − x)m−1 (1 − x)m−1 − xm−1 = = 1 + x . (1 − x)m + xm (1 − x)m + xm =

(−1)mj

(7)

We note that an alternative derivation of identity (7) follows by binomial inversion [4]. From now on p denotes an odd prime. In some cases the discussion can be extended to p = 2, as will be pointed out. We set m = p and subtract 1 from both sides of (7), to yield ∞ X

k=1

(1 − x)p−1 − xp−1 Gp (k)x = x . (1 − x)p + xp k

(8)

We adopt the usual notation [xk ] f (x) to denote the coefficient of xk in the formal power series f (x). If we multiply both sides of (8) by the denominator of the right-hand side and equate coefficients, we get a useful recurrence that helps us in deriving divisibility properties. Note that the right side is a polynomial of degree p − 1. For k ≥ p, we obtain that the coefficient of xk is zero, i.e., k

¡

p

p

[x ] (1 − x) + x

∞ ¢X i=1

Gp (i)xi = 0.

6

I. M. GESSEL AND T. LENGYEL

It follows that p−1 X

µ ¶ p (−1) Gp (k − i) = 0, i i=0 i

i.e., p−1 X

µ ¶ p Gp (k) = − Gp (k − i). (−1) i i=1 i

(9)

Remark. Note that for p = 2, identity (8) has a slightly different form as it becomes ∞ X

G2 (k)xk =

k=1

x , 1 − 2x

and we can easily deduce that G2 (k) = 2k−1 which agrees with ν2 (k! S(n, k)) = k − 1. The calculation of Gp (k) is more complicated for p > 2. However, we can find a lower bound on νp (Gp (k)) and effectively compute Gp (k) (mod pνp (Gp (k))+1 ) if p − 1 | k by making some observations about identity (9). We shall need the following general Lemma 7. Let p be an arbitrary prime. Assume that the integral sequence ak satisfies the recurrence ak =

d X

bi ak−i ,

k ≥ d + 1,

i=1

and that for some nonnegative integer m, νp (ad ) = m ≥ 0 and the initial values ai , i = 1, 2, . . . , d − 1, are all divisible by pm . Let νp (bd ) = r ≥ 1 and suppose that the coefficients bi (i = 1, 2, . . . , d − 1) are all divisible by pr . We write ad = αpm and bd = βpr , and set ¦ ¥ f (k) = fp (k, m, r) = m + k−1 r. Then νp (ak ) ≥ f (k), and equality holds if d | k. Moreover, d for any integer t ≥ 1, we have

atd ≡ αβ t−1 pm+(t−1)r (mod pm+tr ).

According to the lemma, there is a transparent relation between the lower bound f (k) on νp (ak ) and the parameters νp (ad ), νp (bd ), and d provided ν(ai ) ≥ m and νp (bi ) ≥ r for i = 1, 2, . . . , d − 1. We prove the lemma in Section 5. Now we can conclude the

ON THE ORDER OF STIRLING NUMBERS

7

Proof of Theorem 1. By identity (5), we have ai = Gp (i) = 1, for i = 1, 2, . . . , p − 1, and ¡ ¢ by identity (9), bi = (−1)i+1 pi for i = 1, 2, . . . , p − 1; therefore, νp (ai ) = 0 and νp (bi ) = 1. We apply Lemma 7 with d = p − 1, m = 0, r = 1, α = 1, β = −1, and s = 2, and get ( k k k (−1) p−1 −1 p p−1 −1 (mod p p−1 ), if k is divisible by p − 1, Gp (k) = ak ≡ k 0 (mod p⌊ p−1 ⌋ ), otherwise. k p−1 ⌊ k−1 p−1 ⌋.

(10)

It follows that νp (ak ) ≥

− 1, and equality holds if and only if p − 1 | k. We define τp (k)

by τp (k) = νp (ak ) −

By identities (6) and (10), it follows that for all q > νp (ak ) − 1,

νp (k! S(n, k)) = νp (ak ), which concludes the proof of Theorem 1. 3. An application, p = 3 We set m = p = 3 and ω 3 = 1. By identities (3) and (4), we have X µk ¶ ¢ 1 ¢ ¡ 1¡ (−1)i = (1 − ω)k + (1 − ω 2 )k = (1 − ω)k 1 + (1 + ω)k . i 3 3

(11)

3|i

Note that 1 + ω = −ω 2 , and (1 − ω)2 = 1 − 2ω + ω 2 = −3ω. Therefore identity (11) implies X µk ¶ ¢ 1 ¢ ¡ ¡ 1 (12) (−1)i = (1 − ω)k 1 + (−ω 2 )k = (−3ω)k/2 1 + (−ω 2 )k . i 3 3 3|i

For 6 | k we get

1 k/2 2 3 (−3ω)

= (−1)k/2 2 · 3k/2−1 , yielding ν3 (k! S(n, k)) = k/2 − 1 for

q > k/2 − 2. For k even and 3 6 | k,

by identity (12) we have (−1)k/2 3k/2−1 ω k/2 (1 + ω 2k ) =

(−1)k/2 3k/2−1 (ω k/2 + ω −k/2 ) = (−1)k/2+1 3k/2−1 , since ω k/2 + ω −k/2 = ω + ω −1 = −1 in this case. We are left with cases in which k is odd. For k odd and 3 6 | k we have two cases. If k ≡ 1 (mod 6), say k = 6l + 1 for some integer l ≥ 0, then by identity (11) we obtain ¢ ¡ k−1 1 6l 2 6l+1 = 13 (−3ω)3l (1 − ω)(1 − ω 2 ) = (−3)3l = (−3) 2 . If k ≡ 5 3 (1 − ω) (1 − ω) 1 + (−ω ) (mod 6), say k = 6l + 5 for some integer l ≥ 0, then by identity (11) we obtain 31 (1 − ω)6l (1 − ¡ ¢ k+1 k−1 ω)5 1 + (−ω 2 )6l+5 = 31 (−3ω)3l (1 − ω)5 (1 − ω) = 31 (−3)3l (−3ω)3 = (−1) 2 3 2 . In summary, we get

Theorem 8. For q >

¥ k−1 ¦ 2

− 1, k > 0, and k 6≡ 3 (mod 6), we have ¹

º k−1 ν3 (k! S(2a 3 , k)) = . 2 q

8

I. M. GESSEL AND T. LENGYEL

Recall that if k/3 is an odd integer, then ν3 (k! S(n, k)) > q by Theorem 2. 4. An application, p = 5 If we carry out the calculation illustrated in Section 3 then it becomes clear that the 5-adic analysis (e.g., [7]) of the basic Fibonacci and Lucas series, Fn and Ln , plays a major role in determining ν5 (k! S(n, k)) if n = a 5q and k = b 5z , where z is a nonnegative integer and a, b, and q are positive integers such that (a, 5) = (b, 5) = 1 and 4 | a. The calculations are based on the following For all n ≥ 0 we have ν5 (Fn ) = ν5 (n). On the other hand, Ln is not

Lemma A. ([7])

divisible by 5 for any n. Here we choose a different approach, based on multisection of generating functions, which can also be applied to other primes. Empirical evidence suggests (cf. the conjectures in Section 6) that the divisibility of Gp (k) by powers of p depends strongly on the congruence class of k modulo p(p−1), and this suggests ¡ ¢ that to study νp Gp (k) , we might look at the multisected generating functions X

Gp (k)xk .

k≡i (mod p(p−1))

However, it turns out to be simpler to consider the p-sected generating functions P k k≡i (mod p) Gp (k)x . If A(x) = N (x)/D(x), where N (x) and D(x) are polynomials, then we can deter-

mine all of the p-sections of A(x) by multiplying the numerator and denominator of A(x) by D(ωx)D(ω 2 x) · · · D(ω p−1 x), where ω is a primitive pth root of unity:

since

D(x)D(ωx) · · · D(ω p−1 x) is invariant under substituting ωx for x, it must be a polynomial in xp . For example, we find in this way that ∞ X

G3 (k)xk = x

k=1

and

∞ X

k=1

(1 − x)2 − x2 x + x2 − 3x4 − 9x5 − 18x6 = (1 − x)3 + x3 1 + 27x6

G5 (k)xk = x

(1 − x)4 − x4 N5 (x) = , 5 5 (1 − x) + x 1 + 625x10 + 3125x20

(13)

ON THE ORDER OF STIRLING NUMBERS

9

where N5 (x) = x + x2 + x3 + x4 − 5x6 − 20x7 − 55x8 − 125x9 − 250x10 + 175x11 − 100x12 − 375x13 − 375x14 + 500x16 + 625x17 − 1250x19 − 2500x20 .

(14)

Of course, once we have found these formulas, by whatever method, they may be immediately verified. We note that in both of these generating functions the denominator is actually a polynomial in x2p rather than just in xp , and it is not difficult to show that this is true in general. ¡ ¢ ¡ ¢ We will now use (13) to determine ν5 G5 (k) , and thus to determine ν5 k! S(n, k) .

Theorem 9. With the notation above, if q is sufficiently large and k 6≡ 5 (mod 10), then ¹ º ¢ ¡ ¢ k−1 ν5 k! S(n, k) = ν5 G5 (k) = + τ5 (k), 4 ¡

where

 ν (k + 1),   5 ν5 (k), τ5 (k) =   ν5 (k + 2), 0,

if k ≡ 9 (mod 20) if k ≡ 10 (mod 20) if k ≡ 18 (mod 20) otherwise.

(15)

Proof of Theorem 9. Let ∞

X 1 H(x) = = h(i)xi . 1 + 25x + 5x2 i=0 Then, by replacing x with 25x10 , we get ∞

X 1 10 = H(25x ) = 52i h(i)x10i . 1 + 625x10 + 3125x20 i=0 Expanding H(x) as then

P∞

2 j j=0 (−25x − 5x ) ,

i/2 i/2

h(i) = (−1)

5

we obtain the following formulas for h(i): If i is even

¶ i/2 µ X i/2 + l 2l

l=0

for some integer I. If i is odd then (i+1)/2 (i+3)/2

h(i) = (−1)

5

¡ ¢ (−1)l 53l = (−1)i/2 5i/2 1 + 53 I

(i−1)/2 µ

X l=0

¶ (i + 1)/2 + l (−1)l 53l . 2l + 1

(16)

10

I. M. GESSEL AND T. LENGYEL

Now

¶ µ ¶µ ¶ (i + 1)/2 + l i + 1 (i + 1)/2 + l (i + 1)/2 − 1 l!2 = , 2l + 1 2 (2l + 1)! l l ¡ ¢ and 3l − ν5 (2l + 1)! ≥ 3 for l > 0, so µ

h(i) = (−1)

µ

(i+1)/2 (i+3)/2

5

i+1 2



(1 + 53 J),

(17)

for some 5-integral J. It follows from (16) and (17) that ½ i/2, if i is even ν5 (h(i)) = (i + 3)/2 + ν5 (i + 1), if i is odd. Now let N5 (x) =

20 X

(18)

aj xj ,

j=1

where N5 (x) is defined in (14). Then since ∞ X

k

G5 (k)x = N5 (x)

∞ X

52i h(i)x10i ,

i=0

k=1

we have for 1 ≤ j ≤ 10, G5 (10i + j) = aj 52i h(i) + aj+10 52(i−1) h(i − 1). So if j 6≡ 5 (mod 10), then ¡ ¡ ¢ ¢ ν5 G5 (10i + j) = 2i + ν5 aj h(i) + 5−2 aj+10 h(i − 1) . Lemma 11. Let rj = ν5 (aj ) and sj = ν5 (aj+10 ) − 2. If rj = sj or rj = sj − 1 then ¢ ν5 G5 (10i + j) = ¡

½

5i/2 + rj , (5i − 1)/2 + sj ,

¡ ¢ Proof. If i is even then ν5 aj h(i) = rj + i/2 and

if i is even if i is odd.

¢ ¢ ¡ ν5 (5−2 aj+10 h(i − 1) = sj + i/2 + ν5 (i) + 1 ≥ rj + i/2 + ν5 (i) + 1 > ν5 aj h(i)

¡ ¡ ¢ ¢ by (19). So ν5 G5 (10i + j) = 2i + ν5 aj h(i) = 5i/2 + rj .

(19)

ON THE ORDER OF STIRLING NUMBERS

11

¡ ¢ ¢ Similarly, if i is odd then ν5 aj h(i) = rj + (i + 3)/2 + ν5 (i + 1) and ν5 (5−2 aj+10 h(i − 1) = ¢ ¢ ¡ ¡ sj + (i − 1)/2. So ν5 G5 (10i + j) = 2i + ν5 aj+10 h(i − 1) = (5i − 1)/2 + sj .

Lemma 12. Let k = 10i + j with j 6≡ 5 (mod 10). Let rj = ν5 (aj ) and sj = ν5 (aj+10 ) − 2. ¡ ¦ ¦ ¦ ¥ ¢ ¥ ¥ If rj = j−1 and sj = j+1 then ν5 G5 (k) = k−1 . 4 4 4 Proof. Since rj = sj or rj = sj − 1, we may apply Lemma 11, which gives the result.

Now consider the following table of the values of rj and sj : j 1 2 3 4 6 7 8 9 10 rj 0 0 0 0 1 1 1 3 3 sj 0 0 1 1 1 2 2 2 (Note that s8 is undefined since a18 = 0.) We see that the hypotheses of Lemma 12 are satisfied, and thus Theorem 9 is proved, except when j = 8, 9, or 10. ¢ ¡ ¢ ¡ Since a18 = 0, we have G5 (10i + 8) = −55 · 52i h(i), so ν5 G5 (10i + 8) = 2i + 1 + ν5 h(i) . Thus if k = 10i + 8 then by (18),

¢ ν5 G5 (k) = ¡

(5

2i 5 2i

+ 1, +

5 2

if i is even + ν5 (i + 1), if i is odd.

If i is even, we have º ¹ 5 k k−1 , i+1= −1= 2 4 4 and if i is odd, we have 5 5 k 1 i + + ν5 (i + 1) = + + ν5 2 2 4 2

µ

k+2 10



¹ º k 1 k−1 = − + ν5 (k + 2) = + ν5 (k + 2). 4 2 4

The only remaining cases of Theorem 9 are k ≡ 9 and 10 (mod 10). From (13) and (14) we have X

k≡9,10 (mod 10)

G5 (k)xk =

−125x9 − 250x10 − 1250x19 − 2500x20 1 + 625x10 + 3125x20

(1 + 2x)(x9 + 10x19 ) . 1 + 625x10 + 3125x20 ¢ ¢ ¡ ¡ It follows that G5 (10i + 10) = 2G5 (10i + 9), so ν5 G5 (10i + 10) = ν5 G5 (10i + 9) . The case = −125

in which i is odd, i.e., k ≡ 19 or 20 (mod 20), is easily dealt with by (18) and (19), and we omit the details. However, the case in which k ≡ 9 or 10 (mod 20) requires some additional work.

12

I. M. GESSEL AND T. LENGYEL We have

∞ X

G5 (10i + 9)x10i+9 = −125x9

i=0

so

∞ X

G5 (10i + 9)xi = −

i=0

Then

1 + 10x10 , 1 + 625x10 + 3125x20

1d log(1 + 54 x + 55 x2 ). 5 dx

∞ X (−1)n−1 4 log(1 + 5 x + 5 x ) = (5 x + 55 x2 )n n n=1 µ ¶ ∞ n X (−1)n−1 X 4n+j n xn+j = 5 n − j n n=1 j=0 µ ¶ ∞ X X (−1)n−1 n 3n+i i = x . 5 2n − i n i=1 4

5 2

i/2≤n≤i

Then by (20) we have ∞ X

∞ X

µ ¶ +1 n G5 (10i + 9)x = x (−1) 5 n 2n − i − 1 n i=0 i=0 µ ¶ ∞ X X i+1 n−1 i n 3n+i = x (−1) 5 . 2n − i − 1 2n − i − 2 n i=0 i

i

n 3n+i i

X

We need only investigate the case in which i is even. In this case we have X

G5 (10i + 9) =

n 3n+i

(−1) 5

n≥i/2+1

µ ¶ i+1 n−1 , 2n − i − 1 2n − i − 2

and with the substitution n = i/2 + 1 + j, this gives G5 (10i + 9) = (−1)

i/2+1 3+5i/2

5

(i + 1)

X j≥0

µ ¶ 53j i/2 + j (−1) . 2j + 1 2j j

Since ν5 (2j + 1) ≤ ν5 (53j ), we have ¡ ¢ ν5 G5 (10i + 9) = 3 + 5i/2 + ν5 (i + 1),

and it follows that if k ≡ 9 (mod 20),

º ¹ ¢ k−1 ν5 G5 (k) = + ν5 (k + 1). 4 ¡

(20)

ON THE ORDER OF STIRLING NUMBERS

13

This completes the proof of Theorem 9. Note that in Theorem 9 any q exceeding ν5 (k! S(n, k)) − 1 will suffice; for instance, we can ¥ ¦ select the lower bound k−1 + τ5 (k) − 1. 4 5. The proofs of Lemma 7, Theorem 3, and Theorem 4 We present the proofs of some lemmas and theorems that were stated in Section 2. Proof of Lemma 7. We prove that the following two assertions hold, by induction on k: (i) νp (ak ) ≥ f (k) (ii) If k = td, where t is a positive integer, then ak ≡ αβ t−1 pm+(t−1)r (mod pm+tr ). Note that (ii) implies that νp (ak ) = f (k). If 1 ≤ k ≤ d, then these assertions are consequences of the initial conditions. Now suppose that (i) and (ii) hold for ak−d , . . . , ak−1 . Then the induction hypothesis implies that bi ak−i is divisible by pr+f (k−i) for i = 1, 2, . . . , d. We have r + f (k − i) ≥ r + f (k − d) = f (k), so bi ak−i is divisible by pf (k) , and thus so is ak = b1 ak−1 + · · · + bd ak−d . This proves (i). For (ii), suppose that k = td. By the induction hypothesis we have a(t−1)d ≡ αβ t−2 pm+(t−2)r (mod pm+(t−1)r ) and

º td − i − 1 νp (atd−i ) ≥ m + r = m + (t − 1)r, d ¹

for 1 ≤ i < d.

Thus bd a(t−1)d ≡ βpr · αβ t−2 pm+(t−2)r = αβ t−1 pm+(t−1)r (mod pm+tr ) and νp (bi atd−i ) ≥ m + tr,

for 1 ≤ i < d.

Then (ii) follows from the recurrence for ak . We note that the lemma extends the study of situations discussed in [9] and [11] by relaxing the condition that the coefficient bd be relatively prime to the modulus. We can further generalize identity (10) and obtain the Proof of Theorem 3. Analogously to the definition of (5), we set, for 0 ≤ t ≤ m − 1, µ ¶ X k Gm (k, t) = (−1)i . i i≡t (mod m)

14

I. M. GESSEL AND T. LENGYEL

In a manner similar to the derivation of identity (7), for every odd m, we obtain that   µ ¶ ∞ X X k  k (−x)t (1 − x)m−t−1  x = . (−1)i i (1 − x)m + xm k=0

i≡t (mod m)

Note that the degree of the numerator is m − 1. It is fairly easy to modify identities (8)

and (9) for Gm (k, t). An application of Lemma 7 to Gp (k, t) yields Theorem 3. We note that ¡ ¢ t here α = p−1 t (−1) ; hence α ≡ 1 (mod p). The congruence follows from the two identities, ¡p¢ ¡p¢ ¡p−1¢ ¡p−1¢ ≡ 0 (mod p), 1 ≤ t ≤ p − 1, and t . (We note that for every prime p t = t−1 + t ¡pn −1¢ t ≡ (−1) (mod p) also holds.) and positive integer n, t The interested reader may try another application of Lemma 7 to prove the following

identity (cf. [1]) ν2

µ n−1 Xµ k=0

¶ ¶ 2n − 1 k = n − 1, 3 2k

n = 1, 2, . . . .

Finally, we note that it would be interesting to find an upper bound on νp (ak ) − f (k) as a function of k. The case p = 5 and k ≡ 9, 10 or 18 (mod 20) shows that the difference can be as big as C log k with some positive constant C. We conclude this section with the Proof of Theorem 4. Theorem 3 deals with the case in which m = 0, thus we may assume ¡ ¢¡ ¢ ¡ ¢¡ ¢ ¡¢ Pm that m ≥ 1. Using the well-known identities im = l=0 S(m, l) il l! and ki il = kl k−l i−l for l ≤ i ≤ k, we have µ ¶ X k (−1)i im = i i≡t (mod p)

µ ¶ µ¶ m X k i i (−1) S(m, l) l! i l l=0 i≡t (mod p) µ ¶ µ ¶ m X X k−l k = (−1)i S(m, l) l! i−l l l=0 i≡t (mod p) µ ¶ µ ¶ m X X k−l k l (−1)i . = (−1) S(m, l) l! i l X

l=0

(21)

i≡t−l (mod p)

Observe that Theorem 3 applies to the last sum. We shall show that under the conditions of Theorem 4, the term with l = m has the smallest exponent of p on the right side of (21). If l = 0 then S(m, l) = 0 in identity (21) so we need only consider the terms in which l ≥ 1. Let χy (x) denote the indicator function of divisibility by y; i.e., χy (x) = 1 if and only if y | x. We shall show that µµ ¶ ¶ ¹ º k−l k k−l ⌊ p−1 ⌋−χp−1 (k−l) νp l! p = νp (k!) − νp ((k − l)!) + − χp−1 (k − l), 1 ≤ l ≤ m, l p−1

ON THE ORDER OF STIRLING NUMBERS

15

assumes its unique minimum at l = m; this fact, together with Theorem 3, implies Theorem 4. By a well-known formula, we have º º ¹ k−l k−l νp ((k − l)!) = + ···. + p p2 ¹

The hypotheses of Theorem 4 imply that k − m = r(p − 1) ≡ −r′ (mod p), where 1 ≤ r′ ≤ p ⌋ is constant for i = 0, 1, . . . , r′ − 1, i.e., ⌊ k−l and m ≤ r′ . It follows that ⌊ k−m+i p p ⌋ is constant for l = m, m−1, . . . , m−r′ +1. Since r′ ≥ m, this implies that ⌊ k−l p ⌋ is constant for 1 ≤ l ≤ m. ¡ ¢ k−l Similarly, ⌊ pi ⌋ is constant for 1 ≤ l ≤ m. Therefore, νp (k − l)! is constant for 1 ≤ l ≤ m. Next we show that ¹ º º ¹ k−l k−m − χp−1 (k − l) > − χp−1 (k − m), p−1 p−1

1 ≤ l < m.

(22)

Since p − 1 divides k − m, k − l is not divisible by p − 1 for l = m − 1, m − 2, . . . , m − p + 2, and since m ≤ p, this implies all cases of (22) except m = p, l = 1. In this case we have ¹ º ¹ º k−1 k−p − χp−1 (k − 1) = 1 + − χp−1 (k − p), p−1 p−1 and thus (22) holds in this case also. The proof is now complete. We note that the generating function of the sum on the left hand side of (21) can be derived by binomial inversion ([4]) in terms of Eulerian polynomials. We followed a more straightforward approach based on an application of Theorem 3. 6. Conjectures Empirical evidence suggests that formulas for τp (k) exist based on the residue of k modulo p(p − 1). The following conjectures have been proved only in the cases p = 3 and p = 5. Conjecture 1: (a) If k is divisible by 2p but not by p(p − 1) then τp (k) = νp (k). (b) If k + 1 is divisible by 2p but not by p(p − 1) then τp (k) = νp (k + 1). Conjecture 2: For each odd prime p, there is a set Ap ⊆ {1, 2, . . . , p(p − 1) − 1} such that if k 6≡ 0 or − 1 (mod 2p) and k is not an odd multiple of p, then τp (k) > 0 if and only if k is congruent modulo p(p − 1) to an element of Ap . It usually seems to be true that under the conditions of Conjecture 2, for each i ∈ Ap , there exists some integer up,i such that if k ≡ i (mod p(p − 1)) then τp (k) ≡ νp (k + up,i ).

16

I. M. GESSEL AND T. LENGYEL For example, Theorem 7 asserts that the conjectures hold for p = 3, with A3 = ∅, and

Theorem 8 asserts that the conjectures hold for p = 5 with A5 = {18} and u5,18 = 2. Empirical evidence suggests that A7 = {16}, with u7,16 = 75. Here are the empirical values of Ap for primes p from 11 to 23. A11 = {14, 18, 73, 81, 93} A13 = {82, 126, 148} A17 = {37, 39, 62, 121, 179, 230, 234} A19 = {85, 117, 119, 156, 196, 201, 203, 244, 279, 295, 299, 316, 320, 337} A23 = {72, 128, 130, 145, 148, 170, 171, 188, 201, 210, 211, 232, 233, 234, 317, 325, 378, 466}

References 1. D. M. Bloom, Solution to Problem 428, College Math. Journal 22 (1991), 257-259. 2. L. Comtet, “Advanced Combinatorics,” D. Reidel, Dordrecht, 1974. 3. A. Fleck, Sitzungs. Berlin Math. Gesell. 13(1913-14), 2-6. 4. P. Haukkanen, Some binomial inversions in terms of ordinary generating functions, Publ. Math. Debrecen 47(1995), 181–191. ¨ 5. H. Kapferer, Uber gewisse Summen von Binomialkoeffizienten, Archiv der Mathematik und Physik 23(1915), 117-124. 6. T. Lengyel, On the divisibility by 2 of the Stirling numbers of the second kind, The Fibonacci Quarterly 32 (1994), 194-201. 7. T. Lengyel, The order of the Fibonacci and Lucas numbers. (to appear in The Fibonacci Quarterly) 8. A. Lundell, A divisibility property for Stirling numbers, J. Number Theory 10 (1978), 35-54. 9. N. S. Mendelsohn, Congruence relationships for integral recurrences, Can. Math. Bull. 5 (1962), 281-284. 10. J. Riordan, “An Introduction to Combinatorial Analysis,” Wiley, New York, 1958.

ON THE ORDER OF STIRLING NUMBERS

17

11. D. W. Robinson, A note on linear recurrent sequences modulo m, Amer. Math. Monthly 73 (1966), 619-621.