On this page
If you have met grid paths that must stay under the diagonal, Schröder numbers are what you get when you also allow a diagonal step. They are named after the German mathematician Ernst Schröder (1841–1902), as OEIS entry A006318 records.
What are Schröder numbers?
The large Schröder number S_n is the number of lattice paths from (0, 0) to (n, n) using steps east (1, 0), north (0, 1) and diagonal (1, 1) that never rise above the line y = x (OEIS A006318).
The sequence begins 1, 2, 6, 22, 90, 394, 1806, with S_0 = 1 and S_1 = 2 (Wikipedia: Schröder number).
Drop the diagonal step and you get the Catalan numbers, the stay-below-the-line count behind the ballot problem and the reflection principle; Motzkin numbers count a close cousin of these paths.
How do you count the n = 2 paths by hand?
Write E for east, N for north and D for diagonal. The first step can never be N, because (0, 1) is above the line, so every path starts with E or D. Listing by first step gives all six:
E E N N
E N E N
E D N
E N D
D D
D E N
So S_2 = 6, matching the sequence.
What is the recurrence for Schröder numbers?
Split every path by its first step.
First step D. You land on (1, 1), on the diagonal, and what remains is any Schröder path of size n − 1: S_{n−1} paths.
First step E. You are now strictly below the line. Follow the path until it first returns to the diagonal, at (k + 1, k + 1). The part before that final north step is a Schröder path of size k shifted one unit right, and the rest is a Schröder path of size n − 1 − k.
Adding up gives S_n = S_{n−1} + (S_0·S_{n−1} + S_1·S_{n−2} + … + S_{n−1}·S_0), which OEIS lists in index-shifted form (OEIS A006318).
Check it: S_3 = 6 + (6 + 4 + 6) = 22 and S_4 = 22 + (22 + 12 + 12 + 22) = 90.
For bigger n there is a faster rule, (n + 1)S_n = (6n − 3)S_{n−1} − (n − 2)S_{n−2} (Wikipedia: Schröder number), which gives 394 from 90 and 22.
What are little Schröder numbers?
The little Schröder numbers run 1, 1, 3, 11, 45, 197, 903 (OEIS A001003). For n ≥ 1, the large Schröder number is exactly twice the little one, S_n = 2s_n (Wikipedia: Schröder number).
The paths explain the factor of 2: those with a diagonal step lying on the main diagonal and those without form two classes of s_n paths each (OEIS A001003). For n = 2, D D, D E N and E N D use the diagonal itself; E E N N, E N E N and E D N do not. Three and three.
How do Schröder numbers count bracketings?
The little Schröder number s_n counts the ways to bracket a string of n + 1 symbols, where each bracket holds at least two items, any number of brackets is allowed, and a bracket round the whole string is ignored (OEIS A001003).
Here are the 11 bracketings of abcd:
no brackets: abcd
one pair round two letters: (ab)cd, a(bc)d, ab(cd)
one pair round three letters: (abc)d, a(bcd)
two pairs: (ab)(cd), ((ab)c)d, (a(bc))d, a((bc)d), a(b(cd))
The last five, where every bracket holds exactly two items, are the Catalan-number bracketings. Allow an outer pair round the whole string as well and you get the large Schröder count (Wikipedia: Schröder–Hipparchus number): abc has 3 little and 6 large bracketings.
The idea is old. Plutarch's Table Talk says Hipparchus counted 103,049 compound statements from ten simple ones; in 1994 David Hough observed that this is the number of ways to bracket ten items (Wikipedia: Schröder–Hipparchus number). Richard Stanley tells the story in a 1997 American Mathematical Monthly note (doi:10.2307/2974582).
How should you practise counting problems like this?
Use three moves on any stay-below-the-line count:
Ask which first steps are legal.
Split the path at its first return to the boundary.
Multiply the counts for the two pieces, add over every split, and check small cases by listing.
The same splitting habit helps with JEE Main permutations and combinations numerical questions. If the jump from listing paths to writing a recurrence feels shaky, the Fermi Concept Library covers every concept in physics, chemistry, biology, mathematics and computing, and the Fermi Problem Library has a step-by-step solver that explains the reasoning, so you can see where your own count went wrong.



