We have your learning goals covered with Spring and Summer courses available. Enroll today!

G
Topic
First Poster
Last Poster
k a March Highlights and 2025 AoPS Online Class Information
jlacosta   0
Mar 2, 2025
March is the month for State MATHCOUNTS competitions! Kudos to everyone who participated in their local chapter competitions and best of luck to all going to State! Join us on March 11th for a Math Jam devoted to our favorite Chapter competition problems! Are you interested in training for MATHCOUNTS? Be sure to check out our AMC 8/MATHCOUNTS Basics and Advanced courses.

Are you ready to level up with Olympiad training? Registration is open with early bird pricing available for our WOOT programs: MathWOOT (Levels 1 and 2), CodeWOOT, PhysicsWOOT, and ChemWOOT. What is WOOT? WOOT stands for Worldwide Online Olympiad Training and is a 7-month high school math Olympiad preparation and testing program that brings together many of the best students from around the world to learn Olympiad problem solving skills. Classes begin in September!

Do you have plans this summer? There are so many options to fit your schedule and goals whether attending a summer camp or taking online classes, it can be a great break from the routine of the school year. Check out our summer courses at AoPS Online, or if you want a math or language arts class that doesn’t have homework, but is an enriching summer experience, our AoPS Virtual Campus summer camps may be just the ticket! We are expanding our locations for our AoPS Academies across the country with 15 locations so far and new campuses opening in Saratoga CA, Johns Creek GA, and the Upper West Side NY. Check out this page for summer camp information.

Be sure to mark your calendars for the following events:
[list][*]March 5th (Wednesday), 4:30pm PT/7:30pm ET, HCSSiM Math Jam 2025. Amber Verser, Assistant Director of the Hampshire College Summer Studies in Mathematics, will host an information session about HCSSiM, a summer program for high school students.
[*]March 6th (Thursday), 4:00pm PT/7:00pm ET, Free Webinar on Math Competitions from elementary through high school. Join us for an enlightening session that demystifies the world of math competitions and helps you make informed decisions about your contest journey.
[*]March 11th (Tuesday), 4:30pm PT/7:30pm ET, 2025 MATHCOUNTS Chapter Discussion MATH JAM. AoPS instructors will discuss some of their favorite problems from the MATHCOUNTS Chapter Competition. All are welcome!
[*]March 13th (Thursday), 4:00pm PT/7:00pm ET, Free Webinar about Summer Camps at the Virtual Campus. Transform your summer into an unforgettable learning adventure! From elementary through high school, we offer dynamic summer camps featuring topics in mathematics, language arts, and competition preparation - all designed to fit your schedule and ignite your passion for learning.[/list]
Our full course list for upcoming classes is below:
All classes run 7:30pm-8:45pm ET/4:30pm - 5:45pm PT unless otherwise noted.

Introductory: Grades 5-10

Prealgebra 1 Self-Paced

Prealgebra 1
Sunday, Mar 2 - Jun 22
Friday, Mar 28 - Jul 18
Sunday, Apr 13 - Aug 10
Tuesday, May 13 - Aug 26
Thursday, May 29 - Sep 11
Sunday, Jun 15 - Oct 12
Monday, Jun 30 - Oct 20
Wednesday, Jul 16 - Oct 29

Prealgebra 2 Self-Paced

Prealgebra 2
Tuesday, Mar 25 - Jul 8
Sunday, Apr 13 - Aug 10
Wednesday, May 7 - Aug 20
Monday, Jun 2 - Sep 22
Sunday, Jun 29 - Oct 26
Friday, Jul 25 - Nov 21


Introduction to Algebra A Self-Paced

Introduction to Algebra A
Sunday, Mar 23 - Jul 20
Monday, Apr 7 - Jul 28
Sunday, May 11 - Sep 14 (1:00 - 2:30 pm ET/10:00 - 11:30 am PT)
Wednesday, May 14 - Aug 27
Friday, May 30 - Sep 26
Monday, Jun 2 - Sep 22
Sunday, Jun 15 - Oct 12
Thursday, Jun 26 - Oct 9
Tuesday, Jul 15 - Oct 28

Introduction to Counting & Probability Self-Paced

Introduction to Counting & Probability
Sunday, Mar 16 - Jun 8
Wednesday, Apr 16 - Jul 2
Thursday, May 15 - Jul 31
Sunday, Jun 1 - Aug 24
Thursday, Jun 12 - Aug 28
Wednesday, Jul 9 - Sep 24
Sunday, Jul 27 - Oct 19

Introduction to Number Theory
Monday, Mar 17 - Jun 9
Thursday, Apr 17 - Jul 3
Friday, May 9 - Aug 1
Wednesday, May 21 - Aug 6
Monday, Jun 9 - Aug 25
Sunday, Jun 15 - Sep 14
Tuesday, Jul 15 - Sep 30

Introduction to Algebra B Self-Paced

Introduction to Algebra B
Sunday, Mar 2 - Jun 22
Wednesday, Apr 16 - Jul 30
Tuesday, May 6 - Aug 19
Wednesday, Jun 4 - Sep 17
Sunday, Jun 22 - Oct 19
Friday, Jul 18 - Nov 14

Introduction to Geometry
Tuesday, Mar 4 - Aug 12
Sunday, Mar 23 - Sep 21
Wednesday, Apr 23 - Oct 1
Sunday, May 11 - Nov 9
Tuesday, May 20 - Oct 28
Monday, Jun 16 - Dec 8
Friday, Jun 20 - Jan 9
Sunday, Jun 29 - Jan 11
Monday, Jul 14 - Jan 19

Intermediate: Grades 8-12

Intermediate Algebra
Sunday, Mar 16 - Sep 14
Tuesday, Mar 25 - Sep 2
Monday, Apr 21 - Oct 13
Sunday, Jun 1 - Nov 23
Tuesday, Jun 10 - Nov 18
Wednesday, Jun 25 - Dec 10
Sunday, Jul 13 - Jan 18
Thursday, Jul 24 - Jan 22

Intermediate Counting & Probability
Sunday, Mar 23 - Aug 3
Wednesday, May 21 - Sep 17
Sunday, Jun 22 - Nov 2

Intermediate Number Theory
Friday, Apr 11 - Jun 27
Sunday, Jun 1 - Aug 24
Wednesday, Jun 18 - Sep 3

Precalculus
Sunday, Mar 16 - Aug 24
Wednesday, Apr 9 - Sep 3
Friday, May 16 - Oct 24
Sunday, Jun 1 - Nov 9
Monday, Jun 30 - Dec 8

Advanced: Grades 9-12

Olympiad Geometry
Wednesday, Mar 5 - May 21
Tuesday, Jun 10 - Aug 26

Calculus
Sunday, Mar 30 - Oct 5
Tuesday, May 27 - Nov 11
Wednesday, Jun 25 - Dec 17

Group Theory
Thursday, Jun 12 - Sep 11

Contest Preparation: Grades 6-12

MATHCOUNTS/AMC 8 Basics
Sunday, Mar 23 - Jun 15
Wednesday, Apr 16 - Jul 2
Friday, May 23 - Aug 15
Monday, Jun 2 - Aug 18
Thursday, Jun 12 - Aug 28
Sunday, Jun 22 - Sep 21
Tues & Thurs, Jul 8 - Aug 14 (meets twice a week!)

MATHCOUNTS/AMC 8 Advanced
Friday, Apr 11 - Jun 27
Sunday, May 11 - Aug 10
Tuesday, May 27 - Aug 12
Wednesday, Jun 11 - Aug 27
Sunday, Jun 22 - Sep 21
Tues & Thurs, Jul 8 - Aug 14 (meets twice a week!)

AMC 10 Problem Series
Tuesday, Mar 4 - May 20
Monday, Mar 31 - Jun 23
Friday, May 9 - Aug 1
Sunday, Jun 1 - Aug 24
Thursday, Jun 12 - Aug 28
Tuesday, Jun 17 - Sep 2
Sunday, Jun 22 - Sep 21 (1:00 - 2:30 pm ET/10:00 - 11:30 am PT)
Monday, Jun 23 - Sep 15
Tues & Thurs, Jul 8 - Aug 14 (meets twice a week!)

AMC 10 Final Fives
Sunday, May 11 - Jun 8
Tuesday, May 27 - Jun 17
Monday, Jun 30 - Jul 21

AMC 12 Problem Series
Tuesday, May 27 - Aug 12
Thursday, Jun 12 - Aug 28
Sunday, Jun 22 - Sep 21
Wednesday, Aug 6 - Oct 22

AMC 12 Final Fives
Sunday, May 18 - Jun 15

F=ma Problem Series
Wednesday, Jun 11 - Aug 27

WOOT Programs
Visit the pages linked for full schedule details for each of these programs!


MathWOOT Level 1
MathWOOT Level 2
ChemWOOT
CodeWOOT
PhysicsWOOT

Programming

Introduction to Programming with Python
Monday, Mar 24 - Jun 16
Thursday, May 22 - Aug 7
Sunday, Jun 15 - Sep 14 (1:00 - 2:30 pm ET/10:00 - 11:30 am PT)
Tuesday, Jun 17 - Sep 2
Monday, Jun 30 - Sep 22

Intermediate Programming with Python
Sunday, Jun 1 - Aug 24
Monday, Jun 30 - Sep 22

USACO Bronze Problem Series
Tuesday, May 13 - Jul 29
Sunday, Jun 22 - Sep 1

Physics

Introduction to Physics
Sunday, Mar 30 - Jun 22
Wednesday, May 21 - Aug 6
Sunday, Jun 15 - Sep 14
Monday, Jun 23 - Sep 15

Physics 1: Mechanics
Tuesday, Mar 25 - Sep 2
Thursday, May 22 - Oct 30
Monday, Jun 23 - Dec 15

Relativity
Sat & Sun, Apr 26 - Apr 27 (4:00 - 7:00 pm ET/1:00 - 4:00pm PT)
Mon, Tue, Wed & Thurs, Jun 23 - Jun 26 (meets every day of the week!)
0 replies
jlacosta
Mar 2, 2025
0 replies
IMO 2009, Problem 5
orl   86
N 22 minutes ago by Ilikeminecraft
Source: IMO 2009, Problem 5
Determine all functions $ f$ from the set of positive integers to the set of positive integers such that, for all positive integers $ a$ and $ b$, there exists a non-degenerate triangle with sides of lengths
\[ a, f(b) \text{ and } f(b + f(a) - 1).\]
(A triangle is non-degenerate if its vertices are not collinear.)

Proposed by Bruno Le Floch, France
86 replies
orl
Jul 16, 2009
Ilikeminecraft
22 minutes ago
IMO 2023 P2
799786   88
N 24 minutes ago by Frd_19_Hsnzde
Source: IMO 2023 P2
Let $ABC$ be an acute-angled triangle with $AB < AC$. Let $\Omega$ be the circumcircle of $ABC$. Let $S$ be the midpoint of the arc $CB$ of $\Omega$ containing $A$. The perpendicular from $A$ to $BC$ meets $BS$ at $D$ and meets $\Omega$ again at $E \neq A$. The line through $D$ parallel to $BC$ meets line $BE$ at $L$. Denote the circumcircle of triangle $BDL$ by $\omega$. Let $\omega$ meet $\Omega$ again at $P \neq B$. Prove that the line tangent to $\omega$ at $P$ meets line $BS$ on the internal angle bisector of $\angle BAC$.
88 replies
799786
Jul 8, 2023
Frd_19_Hsnzde
24 minutes ago
Diagonals BD,CE concurrent with diameter AO in cyclic ABCDE
WakeUp   10
N 29 minutes ago by zhenghua
Source: Romanian TST 2002
Let $ABCDE$ be a cyclic pentagon inscribed in a circle of centre $O$ which has angles $\angle B=120^{\circ},\angle C=120^{\circ},$ $\angle D=130^{\circ},\angle E=100^{\circ}$. Show that the diagonals $BD$ and $CE$ meet at a point belonging to the diameter $AO$.

Dinu Șerbănescu
10 replies
WakeUp
Feb 5, 2011
zhenghua
29 minutes ago
Parallel lines in two-circle configuration
Tintarn   3
N 39 minutes ago by zhenghua
Source: Francophone 2024, Senior P3
Let $ABC$ be an acute triangle, $\omega$ its circumcircle and $O$ its circumcenter. The altitude from $A$ intersects $\omega$ in a point $D \ne A$ and the segment $AC$ intersects the circumcircle of $OCD$ in a point $E \ne C$. Finally, let $M$ be the midpoint of $BE$. Show that $DE$ is parallel to $OM$.
3 replies
Tintarn
Apr 4, 2024
zhenghua
39 minutes ago
No more topics!
Wait wasn&#039;t it the reciprocal in the paper?
Supercali   7
N Mar 15, 2025 by kes0716
Source: India TST 2023 Day 2 P1
Let $\mathbb{Z}_{\ge 0}$ be the set of non-negative integers and $\mathbb{R}^+$ be the set of positive real numbers. Let $f: \mathbb{Z}_{\ge 0}^2 \rightarrow \mathbb{R}^+$ be a function such that $f(0, k) = 2^k$ and $f(k, 0) = 1$ for all integers $k \ge 0$, and $$f(m, n) = \frac{2f(m-1, n) \cdot f(m, n-1)}{f(m-1, n)+f(m, n-1)}$$for all integers $m, n \ge 1$. Prove that $f(99, 99)<1.99$.

Proposed by Navilarekallu Tejaswi
7 replies
Supercali
Jul 9, 2023
kes0716
Mar 15, 2025
Wait wasn&#039;t it the reciprocal in the paper?
G H J
G H BBookmark kLocked kLocked NReply
Source: India TST 2023 Day 2 P1
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Supercali
1260 posts
#1 • 1 Y
Y by MS_asdfgzxcvb
Let $\mathbb{Z}_{\ge 0}$ be the set of non-negative integers and $\mathbb{R}^+$ be the set of positive real numbers. Let $f: \mathbb{Z}_{\ge 0}^2 \rightarrow \mathbb{R}^+$ be a function such that $f(0, k) = 2^k$ and $f(k, 0) = 1$ for all integers $k \ge 0$, and $$f(m, n) = \frac{2f(m-1, n) \cdot f(m, n-1)}{f(m-1, n)+f(m, n-1)}$$for all integers $m, n \ge 1$. Prove that $f(99, 99)<1.99$.

Proposed by Navilarekallu Tejaswi
This post has been edited 4 times. Last edited by Supercali, Jul 11, 2023, 12:23 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
AnonymousBunny
339 posts
#3
Y by
Let $g(m,n)=1/f(m,n)$. Consider a random walk starting from $(m+1,n)$ where at each step we go left or down 1 unit with equal probability. Then, $g(m,n)$ is the probability that we touch the line $y=0$ before we touch the line $x=0$.

So we want to estimate the following quantity: start a random walk from $(n+1,n)$. What is the probability we hit $y=0$ before $x=0$? Let $E$ denote this event.

Let $P_i=(x_i,y_i)$ be the $i$th point in the step and let $v$ be the largest $i$ such that $|y_i-x_i|=1$. Condition on $v=k$; we want to estimate $P(x_k>y_k|v=k)$. I claim this is $\geq 1/2+1/(2n-1)$

Consider a set of lattice paths where from each $(x,y)$ we go to either $(x+1,y+1)$ or $(x+1,y-1)$.
Let $A$ be the number of such length $k$ paths from $(0,1)$ to (k,1) which touch the line $y=0$, $B$ be the number of paths from $(0,1)$ to $(k,1)$ which don't touch the line $y=0$ and let $C$ be the number of paths from $(0,1)$ to $(k,-1)$. By standard bijection arguments, the conditional probability we want to compute is $(A+B)/(A+B+C)$. Moreover, by reflection argument, $B=C$, and by using Catalan numbers, $A=(A+B/((k-1)/2)$. Since $k \leq 2n$, we get that $A/(B+C) \geq 1/2+ 1/(2n-1)$.

Now simply note that $E$ is true iff $x_v>y_v$ where $v$ is defined as above. Since for each conditioning of $v$ the conditional probability is $\geq 1/2+ 1/(2n-1)$ we get that $g(n,n) \geq 1/2+ 1/(2n-1)$.

In fact this inequality must be strict because the conditional probability is strictly larger for small values of $v$ (which have a nonzero probability).
This post has been edited 1 time. Last edited by AnonymousBunny, Jul 11, 2023, 11:57 AM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
falcon311
100 posts
#4
Y by
in the real test it was typod so $2^k$ became $\frac{1}{2^k}$
The typo made it super easy...
Everyone except for 1 person solved it.
This post has been edited 1 time. Last edited by falcon311, Jul 13, 2023, 4:00 AM
Reason: missed some info
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Rijul saini
904 posts
#5 • 2 Y
Y by Ankoganit, MS_asdfgzxcvb
Let $g(m,n) = \frac{1}{f(m,n)}$. Then $g(0,k) = \frac{1}{2^k}$, $g(k,0) = 1$ for all integers $k \ge 0$, and $$2 \cdot g(m,n) = g(m-1,n) + g(m, n-1)$$for all integers $m,n \ge 1$.

Let $G(x,y) = \sum_{m,n \ge 0} g(m,n) x^m y^n$ be the generating function of $g(m,n)$.
Claim 1: $\color{blue}{G(x,y) = \frac{1}{(2-x-y)} + \frac{1}{(1-x)(2-x-y)}}$
Proof: Multiplying both sides of $2 \cdot g(m,n) = g(m-1,n) + g(m, n-1)$ by $x^my^n$ and summing over all $m,n \ge 1$, we get
\begin{align*}
\sum_{m,n \ge 1} 2 \cdot g(m,n) x^m y^n &= \sum_{m,n \ge 1} g(m-1,n) x^m y^n +  \sum_{m,n \ge 1} g(m, n-1)x^m y^n \\
2 \left(G - \frac{1}{1-x} - \frac{2}{2-y} + 1 \right) &= x \left(G - \frac{1}{1-x} \right) +  y \left(G - \frac{2}{2-y} \right)\\
(2-x-y)G &= \frac{2-x}{1-x} = 1 + \frac{1}{1-x}\\
G(x,y) &= \frac{1}{(2-x-y)} + \frac{1}{(1-x)(2-x-y)}
\end{align*}
Claim 2: $\color{blue}{g(m,n) = \frac{1}{2^{m+n+1}} \binom{m+n}{n} + \sum_{k =0}^{m} \binom{n+k}{n} \frac{1}{2^{n+k+1}} }$.
Proof: Taking coefficient of $x^my^n$ in the generating function from Claim 1.

Claim 3: $\color{blue}{\sum_{k=0}^{n} \binom{n+k}{n} \frac{1}{2^{n+k+1}} = \frac 12}$.
Proof: This seems fairly well known. There are three proofs I know of this. The easiest is to simply prove it by induction on $n$. The second to consider the situation of flipping a fair coin repeatedly until having $n+1$ heads, and then seeing if the $(n+1)^{th}$ head appears before the $(n+1)^{th}$ tail. For fun, here's a third solution using generating functions:

\begin{align*}
\sum_{k=0}^{n} \binom{n+k}{n} \frac{1}{2^k} &= \sum_{k=0}^{n} [x^k] \left(1+\frac{x}{2} \right)^{n+k} \\
&=\sum_{k=0}^{n} [x^n] x^{n-k}\left(1+\frac x2 \right)^{n+k} \stackrel{k \mapsto n-k}{=} [x^n] \sum_{k=0}^n x^k \left(1+ \frac x2 \right)^{2n-k} \\
& = [x^n] \left(1+ \frac x2 \right)^{2n}  \frac{1 - \left(\frac{x}{1+ \frac x2} \right)^{n+1} }{1 - \left(\frac{x}{1+ \frac x2} \right)} \\
& = [x^n] \left(1+ \frac x2 \right)^{n}  \frac{\left(1+\frac x2 \right)^{n+1} - x^{n+1}}{1 -  \frac x2} \\
& = [x^n] \frac{\left(1+\frac x2 \right)^{2n+1}}{1 -  \frac x2} - \underbrace{[x^n] x^{n+1} \cdot \left(1+ \frac x2 \right)^{n}  \frac{1}{1 -  \frac x2} }_{=0} \\
& \stackrel{y = \frac x2}{=} \frac{1}{2^n} [y^n] \frac{(1+y)^{2n+1}}{1-y} \\
& =\frac{1}{2^n} \sum_{k=0}^{n} \binom{2n+1}{k} = \frac{1}{2^n} \cdot 2^{2n} = \boxed{2^n}.
\end{align*}
Claim 4: $\color{blue}{g(n,n) > \frac{1}{2 - \frac{1}{n+1}} }$, and therefore $\color{blue}{g(99,99) > \frac{1}{1.99} }$.
Proof: By Claim 2, $g(n,n) = \frac{1}{2^{2n+1}} \binom{2n}{n} + \sum_{k =0}^{n} \binom{n+k}{n} \frac{1}{2^{n+k+1}} =  \frac{1}{2^{2n+1}} \binom{2n}{n} + \frac 12$, where the last equality is by Claim 3.
Now, $\frac{1}{2 - \frac{1}{n+1} } = \frac{n+1}{2n+1} = \frac 12 + \frac{1}{2(2n+1)}.$ Thus, it suffices to observe that $\binom{2n}{n} > \frac{1}{2n+1} \cdot 2^{2n}$, which is true because it is the largest number among the $(2n+1)$ numbers $\binom{2n}{k}$ for $0 \le k \le 2n$ and their sum is $2^{2n}$.
This post has been edited 2 times. Last edited by Rijul saini, Nov 23, 2023, 4:30 AM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
anantmudgal09
1979 posts
#6 • 4 Y
Y by starchan, math_comb01, everythingpi3141592, MS_asdfgzxcvb
The solution that follows uses a pretty fun main idea: instead of computing the recursion by going down all the way to the $x$ or $y$ axes, we instead go down all the way to the line $y=-x$ which has binary values, and simply compute the number of paths going to each point there. I have not seen this trick used elsewhere, but it felt really cool :)


Define $a_{m, n}=\frac{1}{f(m, n)}$ for all $m, n \ge 0$, this is well-defined as $f$ takes only positive values. Then $a_{0, k}=2^{-k}$ and $a_{k, 0}=1$ for all $k \ge 0$, and $a_{m, n}=\frac{1}{2}(a_{m, n-1}+a_{m-1, n})$ for all $m, n \ge 1$.

Extending $a_{m, n}=\frac{1}{2}(a_{m, n-1}+a_{m-1, n})$ gives $a_{1, -1}=1, a_{2, -1}=1, \dots, a_{k, -1}=1$ for all $k \ge 1$. Extending downwards in similar fashion, $a_{m, n}=1$ for all $m>0, n<0$ with $m+n \ge 0$. Similarly, since $\frac{1}{2^{k+1}}=\frac{1}{2}\left(\frac{1}{2^k}+0\right)$, we conclude that $a_{m, n}=0$ for all $m<0, n>0$ with $m+n<0$. Thus, the diagonal element $a_{k, -k}$ is $0$ if $k<0$ and $1$ if $k \ge 0$.

Consider now the computation for $a_{n, n}$: expanding the recursion till we reach the diagonal line $y=-x$, gives it as a linear combination of the diagonal elements. The weight of each $a_{x, -x}$ is given by adding $\frac{1}{2^{\text{path length}}}$ over all paths from $(n, n)$ to $(x, -x)$ that go either down or left in each step. The length of all such paths if $(n-x)+(n-(-x))=2n$, and the number of such paths is $\binom{2n}{n+x}$. Thus, $$a_{n, n}=\frac{1}{2^{2n}} \cdot \left(\sum_{k=0}^{2n} a_{k-n, n-k} \cdot \binom{2n}{k}\right)=\frac{1}{2^{2n}} \cdot \left(\sum_{k=n}^{2n} \binom{2n}{k} \right)=\frac{1}{2^{2n}} \left(\frac{1}{2}\left(2^{2n}+\binom{2n}{n}\right)\right).$$
By the well-known fact that $\binom{2n}{n} \ge \binom{2n}{k}$ for any $k$, and $2^{2n}=\sum_{r=0}^{2n} \binom{2n}{k} < (2n+1)\binom{2n}{n}$ for $n>1$, we get that $a_{n, n} > \frac{1}{2}\left(1+\frac{1}{2n+1}\right)=\frac{n+1}{2n+1}$, so $f(n, n) < 2-\frac{1}{n+1}$ for all $n>1$. So, $f(99, 99) < 1.99$.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Pyramix
419 posts
#7
Y by
Let $g(n)=\frac1{f(n)}$ for every $n$. Then, we have
\[g(m,n)=\frac{g(m-1,n)+g(m,n-1)}2\]and $g(0,k)=\frac1{2^k}$, $g(k,0)=1$.
We need to show that $g(n,n)>\frac{n+1}{2n+1}$ for every $n$. Here's a standard solution of the same, using generating functions. (We explicitly find $g(n,n)$ in terms of $n$.)

Let $G(x,y)=\sum_{m,n\geq0}g(m,n)x^my^n$
Then, we have that $G(x,y)-\left(\frac{x+y}2\right)G(x,y)=\frac12+\frac1{2(1-x)}$ as most terms just cancel and we're left with geometric series.
So, we get $G(x,y)=\frac1{2-x-y}+\frac1{(2-x-y)(1-x)}$
Now, coefficient of $x^my^n$ in $G(x,y)$ is $\frac1{2^{m+n+1}}\binom{m+n}{n}+\frac1{2^{m+n+1}}\sum_{t=0}^{m}2^{m-t}\binom{n+t}{n}$.
So, we have
\[g(n,n)=\frac1{2^{2n+1}}\binom{2n}n+\frac1{2^{2n+1}}\sum_{t=0}^{n}2^{n-t}\binom{n+t}n\]It is well-known that $\sum_{t=0}^{n}\frac1{2^{n+t+1}}\binom{n+t}n$ is actually just $\frac12$.
Here's a proof using generating functions:
Let $H(x)=\sum_{t=0}^{n}x^{n-t}\left(1+\frac x2\right)^{n+t}$ We just want the coefficient of $x^n$ from this and to show it is $2^n$.
Note that $H(x)=\sum_{t=0}^{n}x^t\left(1+\frac x2\right)^{2n-t}=\left(1+\frac x2\right)^{2n}\left(\frac{1-\left(\frac{x}{1+\frac x2}\right)^{n+1}}{1-\left(\frac{x}{1+\frac x2}\right)}\right)=\left(1+\frac x2\right)^n\frac{\left(1+\frac x2\right)^{n+1}-x^{n+1}}{1-\frac x2}$
and, as usual, ignore the large powers.
So, it is same as finding coefficient of $x^n$ from $\left(1+\frac x2\right)^{2n+1}\left(1+\frac x2+\left(\frac x2\right)^2+\cdots\right)$, but that is simply $\sum_{i=0}^{n}\binom{2n+1}i2^{-n}=2^n$, as required.

So, we have $g(n,n)=\frac12+\frac1{2^{2n+1}}\binom{2n}n$. We had to show that $g(n,n)>\frac{n+1}{2n+1}$. It suffices to show that $\binom{2n}n>\frac{2^{2n}}{2n+1}$. But that is true, because $\binom{2n}n>\binom{2n}{n-1}>\cdots>\binom{2n}0$ and the sum of these numbers is more than $2^{2n}$. We're done. $\blacksquare$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
kes0716
11 posts
#8
Y by
AnonymousBunny wrote:
Let $g(m,n)=1/f(m,n)$. Consider a random walk starting from $(m+1,n)$ where at each step we go left or down 1 unit with equal probability. Then, $g(m,n)$ is the probability that we touch the line $y=0$ before we touch the line $x=0$.

So we want to estimate the following quantity: start a random walk from $(n+1,n)$. What is the probability we hit $y=0$ before $x=0$? Let $E$ denote this event.

Let $P_i=(x_i,y_i)$ be the $i$th point in the step and let $v$ be the largest $i$ such that $|y_i-x_i|=1$. Condition on $v=k$; we want to estimate $P(x_k>y_k|v=k)$. I claim this is $\geq 1/2+1/(2n-1)$

Consider a set of lattice paths where from each $(x,y)$ we go to either $(x+1,y+1)$ or $(x+1,y-1)$.
Let $A$ be the number of such length $k$ paths from $(0,1)$ to (k,1) which touch the line $y=0$, $B$ be the number of paths from $(0,1)$ to $(k,1)$ which don't touch the line $y=0$ and let $C$ be the number of paths from $(0,1)$ to $(k,-1)$. By standard bijection arguments, the conditional probability we want to compute is $(A+B)/(A+B+C)$. Moreover, by reflection argument, $B=C$, and by using Catalan numbers, $A=(A+B/((k-1)/2)$. Since $k \leq 2n$, we get that $A/(B+C) \geq 1/2+ 1/(2n-1)$.

Now simply note that $E$ is true iff $x_v>y_v$ where $v$ is defined as above. Since for each conditioning of $v$ the conditional probability is $\geq 1/2+ 1/(2n-1)$ we get that $g(n,n) \geq 1/2+ 1/(2n-1)$.

In fact this inequality must be strict because the conditional probability is strictly larger for small values of $v$ (which have a nonzero probability).

I think the reflection argument shows $A=C$, not $B=C$.
Furthermore, for computing $A/B$, my calculation gave $(A+B)/C = (k+2)/k$. Hence $A:B:C = k : 2 : k$, and the probability is $\frac{k+2}{2k+2} \geq \frac{1}{2} + \frac{1}{2n+1}$, which is weaker than $\frac{1}{2} + \frac{1}{2n-1}$ you claimed but still suffices because that value is $\frac{100}{199} = 1.99^{-1}$. If you have spare time please calculate again and edit post or reply to check out who is right :)
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
kes0716
11 posts
#9
Y by
Surprised that everyone's solution uses relatively hard concepts like random walk or generating functions.
Actually it is straight forward induction (on $m+n$) that
$$\frac{1}{f(m,n)} =\frac{1}{2^{m+n}}\sum_{i=0}^n\binom{m+n}{i} $$(it holds for $m=0$ or $n=0$ by definition, and assuming true for $m+n-1$ the inductive step follows from $\sum_{i=0}^{n-1}\binom{m+n-1}{i}+\sum_{i=0}^n\binom{m+n-1}{i}=\sum_{i=0}^n\binom{m+n}{i}$.)
Now using the fact that $\binom{198}{99}$ is maximum among $\binom{198}{r}$,
$$\frac{1}{f(99,99)}=\frac{1}{2^{198}}\sum_{i=0}^{99}\binom{198}{i}=\frac{1}{2}(1+\frac{1}{2^{198}}\binom{198}{99})>\frac{1}{2}(1+\frac{1}{199})=\frac{100}{199}$$
Z K Y
N Quick Reply
G
H
=
a