Skip to main content
Springer logoLink to Springer
. 2017 Feb 15;2017(1):44. doi: 10.1186/s13660-017-1313-3

Two explicit formulas for the generalized Motzkin numbers

Jiao-Lian Zhao 1,2,, Feng Qi 3,4
PMCID: PMC5310552  PMID: 28255208

Abstract

In the paper, by the Faà di Bruno formula, the authors establish two explicit formulas for the Motzkin numbers, the generalized Motzkin numbers, and the restricted hexagonal numbers.

Keywords: explicit formula, Motzkin number, generalized Motzkin number, restricted hexagonal number, Catalan number, generating function, Faà di Bruno formula, Bell polynomial of the second kind

Introduction and main results

The Motzkin numbers Mn enumerate various combinatorial objects. In 1977, fourteen different manifestations of the Motzkin numbers Mn were given in [1]. In particular, the Motzkin numbers Mn give the numbers of paths from (0,0) to (n,0) which never dip below the x-axis y=0 and are made up only of the steps (1,0), (1,1), and (1,1).

The first seven Motzkin numbers Mn for 0n6 are 1,1,2,4,9,21,51. All the Motzkin numbers Mn can be generated by

M(x)=1x12x3x22x2=11x+12x3x2=k=0Mkxk. 1.1

They can be connected with the Catalan numbers

Cn=1n+1(2nn)

by

Mn=k=0n/2(n2k)CkandCn+1=k=0n(nk)Mk,

where x denotes the floor function whose value is the largest integer less than or equal to x. For detailed information, please refer to [2] and the closely related references therein. For information on many results, applications, and generalizations of the Catalan numbers Cn, please refer to the monographs [3, 4], the papers [513], the survey article [14], and the closely related references therein.

In [15], the (u,l,d)-Motzkin numbers mn(u,l,d) were introduced and it was shown in [15], Theorem 2.1, that mn(u,l,d)=mn(1,l,ud),

Mu,l,d(x)=1lx(1lx)24udx22udx2=n=0mn(u,l,d)xn, 1.2

and

mn(u,l,d)=lnj=0n/21j+1(2jj)(n2j)(udl2)j. 1.3

Comparing (1.1) with (1.2) reveals that mn(1,1,1)=Mn and the (u,l,d)-Motzkin numbers mn(u,l,d) generalize the Motzkin numbers Mn.

In [16], the Motzkin numbers Mn were generalized in terms of the Catalan numbers Cn to

Mn(a,b)=ank=0n/2(n2k)(ba2)kCk

for a,bN and the generating function

Ma,b(x)=1ax(1ax)24bx22bx2=k=0Mk(a,b)xk 1.4

was discovered. It was pointed out in [2] that

Mn(1,1)=Mn,Mn(2,1)=Cn+1,andMn(3,1)=Hn, 1.5

where Hn denote the restricted hexagonal numbers and were described in [17].

For more information on many results, applications, and generalizations of the Motzkin numbers Mn, please refer to [1, 2, 16, 18, 19] and the closely related references therein.

From (1.2) and (1.3), it is easy to see that mn(u,l,d)=mn(d,l,u). Comparing (1.2) with (1.4) reveals that Mk(a,b) and mk(u,l,d) are equivalent to each other and satisfy

Mk(a,b)=mn(1,a,b)=mk(b,a,1)andmk(u,l,d)=Mk(l,ud). 1.6

Therefore, it suffices to consider the generalized Motzkin numbers Mk(a,b), rather than the (u,l,d)-Motzkin numbers mn(u,l,d), in this paper.

The main aim of this paper is to establish explicit formulas for the Motzkin numbers Mk and the generalized Motzkin numbers Mk(a,b). As consequences, two explicit formulas for the restricted hexagonal numbers Hn are derived.

Our main results in this paper can be stated as the following theorems.

Theorem 1

For k0, the Motzkin numbers Mk can be computed by

Mk=98(32)k=0k+2(23)(23)!!!(k+2), 1.7

where (pq)=0 for q>p0 and the double factorial of negative odd integers (2n+1) is defined by

[(2n+1)]!!=(1)n(2n1)!!=(1)n2nn!(2n)!,n=0,1,.

Theorem 2

For k0 and a,bN, the generalized Motzkin numbers Mk(a,b) can be computed by

Mk(a,b)=12b(4ba22a)k+2=0k+2(2a24ba2)(23)!!!(k+2). 1.8

Consequently, the Catalan numbers Ck and the restricted hexagonal numbers Hk can be computed by

Ck=2k(2k1)!!(k+1)! 1.9

and

Hk=(1)k2572(56)k=0k+2(1)(185)(23)!!!(k+2), 1.10

respectively.

Theorem 3

For n0 and a,bN, the generalized Motzkin numbers Mn(a,b) can be computed by

Mn(a,b)={1,n=0;a22b(4ba22a)nk=0n(2a24ba2)k(2k+1)!!(k+2)!(k+2nk),nN. 1.11

Consequently, equation (1.9) for the Catalan numbers Cn is valid, the Motzkin numbers Mn and the restricted hexagonal numbers Hk can be computed by

Mn={1,n=0,12(32)nk=0n(23)k(2k+1)!!(k+2)!(k+2nk),nN, 1.12

and

Hn={1,n=0,(1)n92(56)nk=0n(1)k(185)k(2k+1)!!(k+2)!(k+2nk),nN, 1.13

respectively.

Proofs of main results

Now we are in a position to prove our main results.

Proof of Theorem 1

From (1.1), it follows that

12x3x2=1x2k=0Mkxk+2.

This implies that

Mk=121(k+2)!limx0(12x3x2)(k+2),k0. 2.1

In combinatorial analysis, the Faà di Bruno formula plays an important role and can be described in terms of the Bell polynomials of the second kind

Bn,k(x1,x2,,xnk+1)=1in,i{0}Ni=1nii=ni=1ni=kn!i=1nk+1i!i=1nk+1(xii!)i

for nk0, see [20], p.134, Theorem A, by

dndtn[fh(t)]=k=0nf(k)(h(t))Bn,k(h(t),h(t),,h(nk+1)(t)) 2.2

for n0; see [20], p.139, Theorem C. The Bell polynomials of the second kind Bn,k(x1,x2,,xnk+1) satisfy the formula

Bn,k(abx1,ab2x2,,abnk+1xnk+1)=akbnBn,k(x1,x2,,xnk+1) 2.3

for nk0; see [20], p.135. In [21], Theorem 4.1, [10], Eq. (2.8), and [22], Section 3, it was established that

Bn,k(x,1,0,,0)=(nk)!2nk(nk)(knk)x2kn,nk0. 2.4

Then, for k0, we have

(12x3x2)(k+2)==0k+212(12x3x2)1/2Bk+2,(26x,6,0,,0)=0k+212Bk+2,(2,6,0,,0)==0k+212(6)Bk+2,(13,1,0,,0)==0k+2(1)12(k+2)!2k2+23k2(k+2)(k+2)

as x0, where

xn={x(x1)(xn+1),n1,1,n=0,

denotes the falling factorial of xR. Consequently, by (2.1), it follows that

Mk=98(32)k1(k+2)!=0k+2(1)12(43)(k+2)!(k+2)(k+2)

for k0, which can be rewritten as (1.7). The proof of Theorem 1 is complete. □

Proof of Theorem 2

From (1.4), it is derived that

(1ax)24bx2=1ax2bk=0Mk(a,b)xk+2.

This implies that

Mk(a,b)=12b1(k+2)!limx0[(1ax)24bx2](k+2),k0. 2.5

By virtue of (2.2), (2.3), and (2.4), it follows that

[(1ax)24bx2](k+2)==0k+212[(1ax)24bx2]1/2×Bk+2,(2[a+(4ba2)x],2(a24b),0,,0)=0k+212Bk+2,(2a,2(a24b),0,,0)==0k+212[2(a24b)]Bk+2,(a4ba2,1,0,,0)==0k+212[2(a24b)](k+2)!2k+2(k+2)(k+2)(a4ba2)2k2

as x0. Substituting this into (2.5) and simplifying yield

Mk(a,b)=12b=0k+212[2(a24b)]12k+21!(k+2)(a4ba2)2k2

for k0, which can be further rearranged as (1.8).

Letting (a,b)=(2,1) and (a,b)=(3,1), respectively, in (1.8) and considering the last two relations in (1.5) lead to (1.9) and (1.10) immediately. The proof of Theorem 2 is complete. □

Proof of Theorem 3

For |x[(a24b)x2a]|<1, the generating function Ma,b(x) in (1.4) can be expanded into

Ma,b(x)=12bx2[1ax12ax+(a24b)x2]=12bx2{1axk=012kxk[(a24b)x2a]kk!}=12bx2{a24b2x2k=212kxk[(a24b)x2a]kk!}=12b{a24b2+k=212kxk2[(a24b)x2a]kk!}.

By (1.4) once again, it follows that

Mn(a,b)=1n!limx0[Ma,b(x)](n)=12b1n!limx0{a24b2+k=212kxk2[(a24b)x2a]kk!}(n),

which means that

M0(a,b)=12blimx0{a24b2+k=212kxk2[(a24b)x2a]kk!}=12b[a24b2+1224a22!]=1

and

Mn(a,b)=12b1n!limx0k=212k{xk2[(a24b)x2a]k}(n)k!=12b1n!limx0k=012k+2{xk[(a24b)x2a]k+2}(n)(k+2)!=12b1n!limx0k=01/2k+2(k+2)!×{=0k+2(k+2)(a24b)(2a)k+2xk+}(n)=12b1n!limx0k=01/2k+2(k+2)!=0k+2(k+2)(a24b)(2a)k+2(xk+)(n)=12blimx0k=0(2k+1)!!(k+2)!=nkk+2(k+2)(4ba22)ak+2(k+n)xk+n=12bk=0n(2k+1)!!(k+2)!(k+2nk)(4ba22)nka2kn+2=a22b(4ba22a)nk=0n(2k+1)!!(k+2)!(k+2nk)(2a24ba2)k

for nN. In conclusion, equation (1.11) follows.

Taking (a,b)=(2,1), (a,b)=(1,1), and (a,b)=(3,1), respectively, in (1.11) and considering the three relations in (1.5) lead to (1.9), (1.12), and (1.13) readily. The proof of Theorem 3 is complete. □

Remarks

Finally, we list several remarks.

Remark 1

The explicit formula (1.8) is a generalization of (1.7).

Remark 2

Equation (1.9) and many other alternative formulas for the Catalan numbers Ck can also be found in [36, 8, 9, 1214] and the closely related references therein.

Remark 3

By the second relation in (1.6), equation (1.3) can be reformulated as

Mn(a,b)=anj=0n/21j+1(2jj)(n2j)(ba2)j, 3.1

which is different from the two equations (1.8) and (1.11).

Remark 4

Making use of any one among equations (1.8), (1.11), and (3.1), we can present the first nine generalized Motzkin numbers Mn(a,b) for 0n8 and a,bN as follows:

1,a,a2+b,a(a2+3b),a4+6a2b+2b2,a(a4+10a2b+10b2),a6+15a4b+30a2b2+5b3,a(a6+21a4b+70a2b2+35b3),a8+28a6b+140a4b2+140a2b3+14b4.

In particular, the first nine restricted hexagonal numbers Hn for 0n8 are

1,3,10,36,137,543,2,219,9,285,39,587.

Conclusions

By the Faà di Bruno formula and some properties of the Bell polynomials of the second kind, we establish two explicit formulas for the Motzkin numbers, the generalized Motzkin numbers, and the restricted hexagonal numbers.

Acknowledgements

The first author was partially supported by China Postdoctoral Science Foundation with Grant Number 2015M582619.

Footnotes

Competing interests

None of the authors has any competing interests in the manuscript.

Authors’ contributions

All authors contributed to this paper equally. All authors read and approved the final manuscript.

Contributor Information

Jiao-Lian Zhao, Email: zhaojl2004@gmail.com.

Feng Qi, Email: qifeng618@gmail.com.

References

  • 1.Donaghey R, Shapiro LW. Motzkin numbers. J. Comb. Theory, Ser. A. 1977;23:291–301. doi: 10.1016/0097-3165(77)90020-6. [DOI] [Google Scholar]
  • 2.Wang Y, Zhang Z-H. Combinatorics of generalized Motzkin numbers. J. Integer Seq. 2015;18(2) [Google Scholar]
  • 3.Koshy T. Catalan Numbers with Applications. Oxford: Oxford University Press; 2009. [Google Scholar]
  • 4.Stanley RP. Catalan Numbers. New York: Cambridge University Press; 2015. [Google Scholar]
  • 5.Liu F-F, Shi X-T, Qi F. A logarithmically completely monotonic function involving the gamma function and originating from the Catalan numbers and function. Glob. J. Math. Anal. 2015;3:140–144. doi: 10.14419/gjma.v3i4.5187. [DOI] [Google Scholar]
  • 6.Mahmoud M, Qi F. Three identities of the Catalan-Qi numbers. Mathematics. 2016;4(2) doi: 10.3390/math4020035. [DOI] [Google Scholar]
  • 7.Qi F, Guo B-N. Logarithmically complete monotonicity of a function related to the Catalan-Qi function. Acta Univ. Sapientiae Math. 2016;8:93–102. [Google Scholar]
  • 8.Qi F, Guo B-N. Logarithmically complete monotonicity of Catalan-Qi function related to Catalan numbers. Cogent Math. 2016;3 [Google Scholar]
  • 9.Qi F, Mahmoud M, Shi X-T, Liu F-F. Some properties of the Catalan-Qi function related to the Catalan numbers. SpringerPlus. 2016;5 doi: 10.1186/s40064-016-2793-1. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 10. Qi, F, Shi, X-T, Liu, F-F, Kruchinin, DV: Several formulas for special values of the Bell polynomials of the second kind and applications. J. Appl. Anal. Comput. (2017, in press); (ResearchGate Technical Report (2015). Available online at doi:10.13140/RG.2.1.3230.1927)
  • 11.Qi F, Shi X-T, Mahmoud M, Liu F-F. Schur-convexity of the Catalan-Qi function related to the Catalan numbers. Tbilisi Math. J. 2016;9(2):141–150. doi: 10.1515/tmj-2016-0026. [DOI] [Google Scholar]
  • 12.Qi F, Shi X-T, Mahmoud M, Liu F-F. The Catalan numbers: a generalization, an exponential representation, and some properties. J. Comput. Anal. Appl. 2017;23:937–944. [Google Scholar]
  • 13.Shi X-T, Liu F-F, Qi F. An integral representation of the Catalan numbers. Glob. J. Math. Anal. 2015;3:130–133. doi: 10.14419/gjma.v3i3.5055. [DOI] [Google Scholar]
  • 14. Qi, F: Some properties and generalizations of the Catalan, Fuss, and Fuss-Catalan numbers. ResearchGate Research (2015). Available online at doi:10.13140/RG.2.1.1778.3128
  • 15.Mansour T, Schork M, Sun Y. Motzkin numbers of higher rank: generating function and explicit expression. J. Integer Seq. 2007;10 [Google Scholar]
  • 16.Sun Z-W. Congruences involving generalized central trinomial coefficients. Sci. China Math. 2014;57:1375–1400. doi: 10.1007/s11425-014-4809-z. [DOI] [Google Scholar]
  • 17.Harary F, Read RC. The enumeration of tree-like polyhexes. Proc. Edinb. Math. Soc. (2) 1970;17:1–13. doi: 10.1017/S0013091500009135. [DOI] [Google Scholar]
  • 18.Lengyel T. Exact p-adic orders for differences of Motzkin numbers. Int. J. Number Theory. 2014;10:653–667. doi: 10.1142/S1793042113501157. [DOI] [Google Scholar]
  • 19.Lengyel T. On divisibility properties of some differences of Motzkin numbers. Ann. Math. Inform. 2013;41:121–136. [Google Scholar]
  • 20.Comtet L. Advanced Combinatorics: The Art of Finite and Infinite Expansions. Dordrecht: Reidel; 1974. [Google Scholar]
  • 21. Guo, B-N, Qi, F: Explicit formulas for special values of the Bell polynomials of the second kind and the Euler numbers. ResearchGate Technical Report (2015). Available online at doi:10.13140/2.1.3794.8808
  • 22.Qi F, Zheng M-M. Explicit expressions for a family of the Bell polynomials and applications. Appl. Math. Comput. 2015;258:597–607. [Google Scholar]

Articles from Journal of Inequalities and Applications are provided here courtesy of Springer

RESOURCES