Schröder Number

DOWNLOAD Mathematica Notebook SchroderNumber

The Schröder number S_n is the number of lattice paths in the Cartesian plane that start at (0, 0), end at (n,n), contain no points above the line y=x, and are composed only of steps (0, 1), (1, 0), and (1, 1), i.e., ->, ^, and ->. The diagrams illustrating the paths generating S_1, S_2, and S_3 are illustrated above.

The numbers S_n are given by the recurrence relation

 S_n=S_(n-1)+sum_(k=0)^(n-1)S_kS_(n-1-k),
(1)

where S_0=1, and the first few are 2, 6, 22, 90, ... (OEIS A006318). The numbers of decimal digits in S_(10^n) for n=0, 1, ... are 1, 7, 74, 761, 7650, 76548, 765543, 7655504, ... (OEIS A114472), where the digits approach those of log_(10)(3+2sqrt(2))=0.765551... (OEIS A114491).

They have the generating function

 G(x)=(1-x-sqrt(1-6x+x^2))/(2x),
(2)

which satisfies

 (1-x)G(x)-x[G(x)]^2=1
(3)

and has closed-form solutions

S_n=2_2F_1(-n+1,n+2;2;-1)
(4)
=-1/2C_(n+1)^((-1/2))(3)
(5)
=1/2[-P_(n-1)(3)+6P_n(3)-P_(n+1)(3)],
(6)

where _2F_1(a,b;c;z) is a hypergeometric function, C_n^((k))(x) is a Gegenbauer polynomial, P_n(z) is a Legendre polynomial, and (5) holds for n>1.

The Schröder numbers bear the same relation to the Delannoy numbers as the Catalan numbers do to the binomial coefficients.

Wolfram Web Resources

Mathematica »

The #1 tool for creating Demonstrations and anything technical.

Wolfram|Alpha »

Explore anything with the first computational knowledge engine.

Wolfram Demonstrations Project »

Explore thousands of free applications across science, mathematics, engineering, technology, business, art, finance, social sciences, and more.

Computerbasedmath.org »

Join the initiative for modernizing math education.

Online Integral Calculator »

Solve integrals with Wolfram|Alpha.

Step-by-step Solutions »

Walk through homework problems step-by-step from beginning to end. Hints help you try the next step on your own.

Wolfram Problem Generator »

Unlimited random practice problems and answers with built-in Step-by-step solutions. Practice online or make a printable study sheet.

Wolfram Education Portal »

Collection of teaching and learning tools built by Wolfram education experts: dynamic textbook, lesson plans, widgets, interactive Demonstrations, and more.

Wolfram Language »

Knowledge-based programming for everyone.