1 Introduction and main result

Throughout the paper, ℤ denotes the set of all integers, ℕ denotes the set of all positive integers,

N 0 : = N { 0 } , n ! ! : = i = 0 [ ( n 1 ) / 2 ] ( n 2 i ) ,
(1)

and

W n := ( 2 n 1 ) ! ! ( 2 n ) ! ! .
(2)

Here in (1), the floor function [t] denotes the integer which is less than or equal to the number t.

The Euler gamma function is defined and denoted for Rez>0 by

Γ(z):= 0 t z 1 e t dt.
(3)

One of the elementary properties of the gamma function is that

Γ(x+1)=xΓ(x).
(4)

In particular,

Γ(n+1)=n!,n N 0 .
(5)

Also, note that

Γ ( 1 2 ) = π .
(6)

For the approximation of n!, a well-known result is the following Stirling’s formula:

n! 2 π n n n e n ,n,
(7)

which is an important tool in analytical probability theory, statistical physics and physical chemistry.

Consider the quantity W n , defined by (2). This quantity is important in the probability theory - for example, the three events, (a) a return to the origin takes place at time 2n, (b) no return occurs up to and including time 2n, and (c) the path is non-negative between 0 and 2n, have the common probability W n . Also, the probability that in the time interval from 0 to 2n the particle spends 2k time units on the positive side and 2n2k time units on the negative side is W k W n k . For details of these interesting results, one may see [[1], Chapter III].

W n is closely related to the Wallis’ formula.

The Wallis’ formula

2 π = n = 1 ( 2 n 1 ) ( 2 n + 1 ) ( 2 n ) 2
(8)

can be obtained by taking

x= π 2

in the infinite product representation of sinx (see [[2], p.10], [[3], p.211])

sinx=x n = 1 ( 1 x 2 n 2 π 2 ) ,xR.
(9)

Since

n = 1 ( 2 n 1 ) ( 2 n + 1 ) ( 2 n ) 2 = lim n (2n+1) W n 2 ,
(10)

another important form of Wallis’ formula is (see [[4], pp.181-184])

lim n (2n+1) W n 2 = 2 π .
(11)

The following generalization of Wallis’ formula was given in [5].

π t sin ( π / t ) = 1 t 1 i = 1 ( i t ) 2 ( i t + t 1 ) ( i t t + 1 ) ,t>1.
(12)

In fact, by letting

x=(11/t)π,t0

in (9), we have

sin π t = π t (t1) i = 1 ( i t + t 1 ) ( i t t + 1 ) ( i t ) 2 ,t0.
(13)

From (13), we get

π t sin ( π / t ) = 1 t 1 i = 1 ( i t ) 2 ( i t + t 1 ) ( i t t + 1 )
(14)

for

t0,t 1 k ,kZ.

(12) is a special case of (14). The proof of (12) in [5] involves integrating powers of a generalized sine function.

There is a close relationship between Stirling’s formula and Wallis’ formula. The determination of the constant 2 π in the usual proof of Stirling’s formula (7) or Stirling’s asymptotic formula

Γ(x) 2 π x x 1 / 2 e x ,x,
(15)

relies on Wallis’ formula (see [[2], pp.18-20], [[3], pp.213-215], [[4], pp.181-184]).

Also, note that

W n = [ ( 2 n + 1 ) 0 π / 2 sin 2 n + 1 x d x ] 1
(16)
= [ ( 2 n + 1 ) 0 π / 2 cos 2 n + 1 x d x ] 1
(17)

and Wallis’ sine (cosine) formula (see [[6], p.258])

W n = 2 π 0 π / 2 sin 2 n xdx
(18)
= 2 π 0 π / 2 cos 2 n xdx.
(19)

Some inequalities involving W n were given in [712].

In this article, we give a sharp two-sided bounding inequality and some exact constants for the approximation of W n , defined by (2). The main result of the paper is as follows.

Theorem 1 For all nN, n2,

e π ( 1 1 2 n ) n n 1 n < W n 4 3 ( 1 1 2 n ) n n 1 n .
(20)

The constants e / π and 4/3 in (20) are best possible.

Moreover,

W n e π ( 1 1 2 n ) n n 1 n ,n.
(21)

Remark 1 By saying that the constants e / π and 4/3 in (20) are best possible, we mean that the constant e / π in (20) cannot be replaced by a number which is greater than e / π and the constant 4/3 in (20) cannot be replaced by a number which is less than 4/3.

2 Lemmas

We need the following lemmas to prove our result.

Lemma 1 ([[13], Theorem 1.1])

The function

f(x):= x x + 1 2 e x Γ ( x + 1 )
(22)

is strictly logarithmically concave and strictly increasing from (0,) onto (0, 1 2 π ).

Lemma 2 ([[13], Theorem 1.3])

The function

h(x):= e x x 1 Γ ( x + 1 ) x x + 1
(23)

is strictly logarithmically concave and strictly increasing from (1,) onto (0, 2 π ).

Lemma 3 ([[6], p.258])

For all nN,

Γ ( n + 1 2 ) = π n! W n ,
(24)

where W n is defined by (2).

Remark 2 Some functions associated with the functions f(x) and h(x), defined by (22) and (23) respectively, were proved to be logarithmically completely monotonic in [1416]. For more recent work on (logarithmically) completely monotonic functions, please see, for example, [1743].

3 Proof of the main result

Proof of Theorem 1

By Lemma 1, we have

3 e e π =f ( 3 2 ) f ( n 1 2 ) = ( n 1 2 ) n e n 1 / 2 Γ ( n + 1 / 2 ) < 1 2 π ,n2,
(25)

and

lim n ( n 1 2 ) n e n 1 / 2 Γ ( n + 1 / 2 ) = 1 2 π .
(26)

The lower and upper bounds in (25) are best possible.

By Lemma 3, (25) and (26) can be rewritten respectively as

3 e 2 ( n 1 2 ) n W n e n n ! < 1 2 e ,n2,
(27)

and

lim n ( n 1 2 ) n W n e n n ! = 1 2 e .
(28)

The constants 3/ e 2 and 1/ 2 e in (27) are best possible.

By Lemma 2, we get

( e 2 ) 2 =h(2)h(n)= e n n ! n 1 n n + 1 < 2 π ,n2,
(29)

and

lim n e n n ! n 1 n n + 1 = 2 π .
(30)

The lower bound ( e / 2 ) 2 and the upper bound 2 π in (29) are best possible.

From (27) and (29), we obtain that for all n2,

3 4 n 1 ( n 1 2 ) n W n n n + 1 < π e .
(31)

The constants 3/4 and π / e in (31) are best possible. From (31) we get that for all n2,

e π ( 1 1 2 n ) n n 1 n < W n 4 3 ( 1 1 2 n ) n n 1 n .
(32)

The constants e / π and 4/3 in (32) are best possible.

From (28) and (30), we see that

lim n n 1 ( n 1 2 ) n W n n n + 1 = π e ,
(33)

which is equivalent to (21).

The proof is thus completed. □