Just 2 Rows

Fill a 2 × n 2\times n grid with each integer from 1 1 to 2 n 2n such that every cell with a neighboring cell above or to the left of it has a greater number in it than those neighbors.

If the number of ways to fill the grid this way is f ( n ) , f(n), then what is lim n f ( n ) f ( n 1 ) ? \displaystyle\lim_{n\to \infty}\frac{f(n)}{f(n-1)}?


The answer is 4.0.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

2 solutions

Patrick Corn
Sep 7, 2018

It turns out that f ( n ) = 1 n + 1 ( 2 n n ) , f(n) = \frac1{n+1} \binom{2n}{n}, the n n th Catalan number . To see this, we produce a bijection between filled grids and valid parenthetical expressions with n n left parentheses and n n right parentheses. It is well-known that the latter is counted by the Catalan numbers (see the wiki for a proof).

The bijection is very straightforward: given a filled grid, place the left parentheses in the positions given by the numbers in the top row (which must be in ascending order reading from left to right), and the right parentheses in the positions given by the numbers in the bottom row (which must be in ascending order reading from left to right). It should be clear how to go back and forth between filled grids and parenthetical expressions. For example, the expression ( ( ) ( ) ( ) ) (()()()) corresponds to the grid 1 2 4 6 3 5 7 8 . \begin{matrix} 1&2&4&6 \\ 3&5&7&8 \end{matrix}.

The point is that a valid parenthetical expression must have the property that the k k th left parenthesis comes before the k k th right parenthesis, for every k . k. This shows that every number in the bottom row of the corresponding grid is larger than its upstairs neighbor, and the numbers in each row are already in ascending order by construction, so a valid parenthetical expression corresponds to a grid with the given property. The converse is just as clear.

Finally, we have lim n f ( n ) f ( n 1 ) = lim n 4 n 2 n + 1 = 4 . \lim_{n\to\infty} \frac{f(n)}{f(n-1)} = \lim_{n\to\infty} \frac{4n-2}{n+1} = \fbox{4}.

Geoff Pilling
Sep 8, 2018

I love this problem, and @Patrick Corn 's answer says is all! @Patrick Corn

I wonder if this can be generalized to the m × n m \times n case? (Not just m × 2 m \times 2 )

Using Hook-Length Formula, we find that the generalised value of lim n f ( m , n ) f ( m , n 1 ) = m m . \displaystyle \lim_{n \to \infty} \dfrac{f(m, n)}{f(m, n-1)} = m^m.

Sharky Kesa - 2 years, 8 months ago

@Hector Ricardez I noticed that you liked this problem. Can you tell me how did you do that since the like function was removed?

X X - 2 years, 8 months ago

Log in to reply

Not sure... Did I?

Geoff Pilling - 2 years, 8 months ago

Log in to reply

Not you... I mean Hector Ricardez. View this (Also, already four people did this after the function was removed, really strange, huh?)

X X - 2 years, 8 months ago

Log in to reply

@X X Definitely... If you figure out how let me know... I like to give problems the credit they deserve! 😃

Geoff Pilling - 2 years, 8 months ago

Log in to reply

@Geoff Pilling I'll try to ask them!

X X - 2 years, 8 months ago

@Geoff Pilling @Geoff Pilling The android app, it's still there...(Great thanks to Hector Ricardez)

X X - 2 years, 8 months ago

In the Android app it's still there

Hector Ricardez - 2 years, 8 months ago

Log in to reply

Oh, thank you very much!

X X - 2 years, 8 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...