what are the number of lattice paths consisting of $n$ moves of the form $(x+1, y+1)$ or $(x+1, y-1)$ starting from $(0, 0)$ where the distance between vertical extremes is $<4$?
2026-03-25 18:52:27.1774464747
lattice paths with maximum vertical height
135 Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail At
1
There are 1 best solutions below
Related Questions in COMBINATORICS
- Using only the digits 2,3,9, how many six-digit numbers can be formed which are divisible by 6?
- The function $f(x)=$ ${b^mx^m}\over(1-bx)^{m+1}$ is a generating function of the sequence $\{a_n\}$. Find the coefficient of $x^n$
- Name of Theorem for Coloring of $\{1, \dots, n\}$
- Hard combinatorial identity: $\sum_{l=0}^p(-1)^l\binom{2l}{l}\binom{k}{p-l}\binom{2k+2l-2p}{k+l-p}^{-1}=4^p\binom{k-1}{p}\binom{2k}{k}^{-1}$
- Algebraic step including finite sum and binomial coefficient
- nth letter of lexicographically ordered substrings
- Count of possible money splits
- Covering vector space over finite field by subspaces
- A certain partition of 28
- Counting argument proof or inductive proof of $F_1 {n \choose1}+...+F_n {n \choose n} = F_{2n}$ where $F_i$ are Fibonacci
Related Questions in CATALAN-NUMBERS
- Powers of a simple matrix and Catalan numbers
- Catalan number variation? or generalization?
- Generalization for Catalan number
- Valid parentheses of multiple types with given suffix
- A bijection between Motzkin paths and 3-colored signed Dyck path homomorphs
- extracting Catalan numbers from its generating function (binomial theorem)
- Formula for Generalized Catalan Numbers
- Question in proving a recurrence relation for Catalan numbers
- What is the expansion of $\sqrt{1+ux+vx^2}$ in powers of $x$?
- Catalan Numbers and Geometric Series Combo
Trending Questions
- Induction on the number of equations
- How to convince a math teacher of this simple and obvious fact?
- Find $E[XY|Y+Z=1 ]$
- Refuting the Anti-Cantor Cranks
- What are imaginary numbers?
- Determine the adjoint of $\tilde Q(x)$ for $\tilde Q(x)u:=(Qu)(x)$ where $Q:U→L^2(Ω,ℝ^d$ is a Hilbert-Schmidt operator and $U$ is a Hilbert space
- Why does this innovative method of subtraction from a third grader always work?
- How do we know that the number $1$ is not equal to the number $-1$?
- What are the Implications of having VΩ as a model for a theory?
- Defining a Galois Field based on primitive element versus polynomial?
- Can't find the relationship between two columns of numbers. Please Help
- Is computer science a branch of mathematics?
- Is there a bijection of $\mathbb{R}^n$ with itself such that the forward map is connected but the inverse is not?
- Identification of a quadrilateral as a trapezoid, rectangle, or square
- Generator of inertia group in function field extension
Popular # Hahtags
second-order-logic
numerical-methods
puzzle
logic
probability
number-theory
winding-number
real-analysis
integration
calculus
complex-analysis
sequences-and-series
proof-writing
set-theory
functions
homotopy-theory
elementary-number-theory
ordinary-differential-equations
circles
derivatives
game-theory
definite-integrals
elementary-set-theory
limits
multivariable-calculus
geometry
algebraic-number-theory
proof-verification
partial-derivative
algebra-precalculus
Popular Questions
- What is the integral of 1/x?
- How many squares actually ARE in this picture? Is this a trick question with no right answer?
- Is a matrix multiplied with its transpose something special?
- What is the difference between independent and mutually exclusive events?
- Visually stunning math concepts which are easy to explain
- taylor series of $\ln(1+x)$?
- How to tell if a set of vectors spans a space?
- Calculus question taking derivative to find horizontal tangent line
- How to determine if a function is one-to-one?
- Determine if vectors are linearly independent
- What does it mean to have a determinant equal to zero?
- Is this Batman equation for real?
- How to find perpendicular vector to another vector?
- How to find mean and median from histogram
- How many sides does a circle have?
For any $k,l>0$, let $$ P_{k,l}(n)=\{\text{paths with $n$ steps which never hit $y=-k$ or $y=l$}\} $$ I will sometimes suppress the dependence on $n$ for readability. You want to compute $$ |P_{1,4}\cup P_{2,3}\cup P_{3,2}\cup P_{1,4}| $$ This can be computed in terms of the individual terms $P_{k,l}$ using the principle of inclusion-exclusion. This turns out to be $$ |P_{1,4}|+|P_{2,3}|+|P_{3,2}|+|P_{4,1}|-|P_{1,3}|-|P_{2,2}|-|P_{3,1}|\tag{*} $$ Now, $P_{2,2}(n)$ and $P_{3,1}(n)$ are pretty easy to calculate. For example, $P_{2,2}(n)=2^{\lceil n/2\rceil}$, since a valid path simply bounces from the $y$ axis to either $y=-1$ or $y=1$ a total of $\lceil n/2\rceil$ times. Similarly, $P_{3,1}(n)=P_{1,3}(n)=2^{\lfloor n/2\rfloor}$.
Strangely enough, $P_{2,3}(n)$ can be expressed in terms of the Fibonacci numbers! The key insight is this:
If a path in $P_{2,3}(n)$ starts with a down-step, then it must be followed by an up-step, else it would hit $y=-2$. Afterwards, there are $n-2$ steps starting from the same starting position, which can be completed in $P_{2,3}(n-2)$ ways.
If a path in $P_{2,3}(n)$ starts with an up-step, then what follows thereafter is a path staying between $y=2$ and $y=-1$ starting at $y=1$. Reflecting through the line $y=1/2$, this is equivalent to starting at $y=0$ and staying between $y=-1$ and $y=2$; the number of ways to do this is counted by $P_{2,3}(n-1)$.
Therefore, $P_{2,3}(n)=P_{2,3}(n-1)+P_{2,3}(n-2)$, which together with the base cases $P_{2,3}(0)=1$ and $P_{2,3}(1)=2$ implies $P_{2,3}(n)=F_{n+2}$.
Since it is easy to see $P_{1,4}(n)=P_{2,3}(n-1)$, we can use all of this work to fill in $(*)$, obtaining $$ 2F_{n+1}+2F_{n+2}-2\cdot 2^{\lfloor n/2\rfloor}-2^{\lceil n/2\rceil}=\boxed{2F_{n+3}-2\cdot 2^{\lfloor n/2\rfloor}-2^{\lceil n/2\rceil}} $$
As an afterthought, I think there is a way to generalize to where the forbidden difference is any positive number $d$, where in your case $d=4$. Using the inclusion-exclusion idea in this post, and the formula in my other answer, I bet you can write the number of paths as a complicated linear combination of many binomial coefficients. Maybe this can also yield a compact expression without summations, I do not know.