Plan ahead for the next school year. Schedule your class today!

G
Topic
First Poster
Last Poster
k a July Highlights and 2025 AoPS Online Class Information
jwelsh   0
Jul 1, 2025
We are halfway through summer, so be sure to carve out some time to keep your skills sharp and explore challenging topics at AoPS Online and our AoPS Academies (including the Virtual Campus)!

[list][*]Over 60 summer classes are starting at the Virtual Campus on July 7th - check out the math and language arts options for middle through high school levels.
[*]At AoPS Online, we have accelerated sections where you can complete a course in half the time by meeting twice/week instead of once/week, starting on July 8th:
[list][*]MATHCOUNTS/AMC 8 Basics
[*]MATHCOUNTS/AMC 8 Advanced
[*]AMC Problem Series[/list]
[*]Plus, AoPS Online has a special seminar July 14 - 17 that is outside the standard fare: Paradoxes and Infinity
[*]We are expanding our in-person AoPS Academy locations - are you looking for a strong community of problem solvers, exemplary instruction, and math and language arts options? Look to see if we have a location near you and enroll in summer camps or academic year classes today! New locations include campuses in California, Georgia, New York, Illinois, and Oregon and more coming soon![/list]

MOP (Math Olympiad Summer Program) just ended and the IMO (International Mathematical Olympiad) is right around the corner! This year’s IMO will be held in Australia, July 10th - 20th. Congratulations to all the MOP students for reaching this incredible level and best of luck to all selected to represent their countries at this year’s IMO! Did you know that, in the last 10 years, 59 USA International Math Olympiad team members have medaled and have taken over 360 AoPS Online courses. Take advantage of our Worldwide Online Olympiad Training (WOOT) courses
and train with the best! Please note that early bird pricing ends August 19th!
Are you tired of the heat and thinking about Fall? You can plan your Fall schedule now with classes at either AoPS Online, AoPS Academy Virtual Campus, or one of our AoPS Academies around the US.

Our full course list for upcoming classes is below:
All classes start 7:30pm ET/4:30pm PT unless otherwise noted.

Introductory: Grades 5-10

Prealgebra 1 Self-Paced

Prealgebra 1
Wednesday, Jul 16 - Oct 29
Sunday, Aug 17 - Dec 14
Tuesday, Aug 26 - Dec 16
Friday, Sep 5 - Jan 16
Monday, Sep 8 - Jan 12
Tuesday, Sep 16 - Jan 20 (4:30 - 5:45 pm ET/1:30 - 2:45 pm PT)
Sunday, Sep 21 - Jan 25
Thursday, Sep 25 - Jan 29
Wednesday, Oct 22 - Feb 25
Tuesday, Nov 4 - Mar 10
Friday, Dec 12 - Apr 10

Prealgebra 2 Self-Paced

Prealgebra 2
Friday, Jul 25 - Nov 21
Sunday, Aug 17 - Dec 14
Tuesday, Sep 9 - Jan 13
Thursday, Sep 25 - Jan 29
Sunday, Oct 19 - Feb 22
Monday, Oct 27 - Mar 2
Wednesday, Nov 12 - Mar 18

Introduction to Algebra A Self-Paced

Introduction to Algebra A
Tuesday, Jul 15 - Oct 28
Sunday, Aug 17 - Dec 14
Wednesday, Aug 27 - Dec 17
Friday, Sep 5 - Jan 16
Thursday, Sep 11 - Jan 15
Sunday, Sep 28 - Feb 1
Monday, Oct 6 - Feb 9
Tuesday, Oct 21 - Feb 24
Sunday, Nov 9 - Mar 15
Friday, Dec 5 - Apr 3

Introduction to Counting & Probability Self-Paced

Introduction to Counting & Probability
Wednesday, Jul 2 - Sep 17
Sunday, Jul 27 - Oct 19
Monday, Aug 11 - Nov 3
Wednesday, Sep 3 - Nov 19
Sunday, Sep 21 - Dec 14 (1:00 - 2:30 pm ET/10:00 - 11:30 am PT)
Friday, Oct 3 - Jan 16
Sunday, Oct 19 - Jan 25
Tuesday, Nov 4 - Feb 10
Sunday, Dec 7 - Mar 8

Introduction to Number Theory
Tuesday, Jul 15 - Sep 30
Wednesday, Aug 13 - Oct 29
Friday, Sep 12 - Dec 12
Sunday, Oct 26 - Feb 1
Monday, Dec 1 - Mar 2

Introduction to Algebra B Self-Paced

Introduction to Algebra B
Friday, Jul 18 - Nov 14
Thursday, Aug 7 - Nov 20
Monday, Aug 18 - Dec 15
Sunday, Sep 7 - Jan 11
Thursday, Sep 11 - Jan 15
Wednesday, Sep 24 - Jan 28
Sunday, Oct 26 - Mar 1
Tuesday, Nov 4 - Mar 10
Monday, Dec 1 - Mar 30

Introduction to Geometry
Monday, Jul 14 - Jan 19
Wednesday, Aug 13 - Feb 11
Tuesday, Aug 26 - Feb 24
Sunday, Sep 7 - Mar 8
Thursday, Sep 11 - Mar 12
Wednesday, Sep 24 - Mar 25
Sunday, Oct 26 - Apr 26
Monday, Nov 3 - May 4
Friday, Dec 5 - May 29

Paradoxes and Infinity
Mon, Tue, Wed, & Thurs, Jul 14 - Jul 16 (meets every day of the week!)
Sat & Sun, Sep 13 - Sep 14 (1:00 - 4:00 PM PT/4:00 - 7:00 PM ET)

Intermediate: Grades 8-12

Intermediate Algebra
Sunday, Jul 13 - Jan 18
Thursday, Jul 24 - Jan 22
Friday, Aug 8 - Feb 20
Tuesday, Aug 26 - Feb 24
Sunday, Sep 28 - Mar 29
Wednesday, Oct 8 - Mar 8
Sunday, Nov 16 - May 17
Thursday, Dec 11 - Jun 4

Intermediate Counting & Probability
Sunday, Sep 28 - Feb 15
Tuesday, Nov 4 - Mar 24

Intermediate Number Theory
Wednesday, Sep 24 - Dec 17

Precalculus
Wednesday, Aug 6 - Jan 21
Tuesday, Sep 9 - Feb 24
Sunday, Sep 21 - Mar 8
Monday, Oct 20 - Apr 6
Sunday, Dec 14 - May 31

Advanced: Grades 9-12

Calculus
Sunday, Sep 7 - Mar 15
Wednesday, Sep 24 - Apr 1
Friday, Nov 14 - May 22

Contest Preparation: Grades 6-12

MATHCOUNTS/AMC 8 Basics
Tues & Thurs, Jul 8 - Aug 14 (meets twice a week!)
Sunday, Aug 17 - Nov 9
Wednesday, Sep 3 - Nov 19
Tuesday, Sep 16 - Dec 9
Sunday, Sep 21 - Dec 14 (1:00 - 2:30 pm ET/10:00 - 11:30 am PT)
Monday, Oct 6 - Jan 12
Thursday, Oct 16 - Jan 22
Tues, Thurs & Sun, Dec 9 - Jan 18 (meets three times a week!)

MATHCOUNTS/AMC 8 Advanced
Tues & Thurs, Jul 8 - Aug 14 (meets twice a week!)
Sunday, Aug 17 - Nov 9
Tuesday, Aug 26 - Nov 11
Thursday, Sep 4 - Nov 20
Friday, Sep 12 - Dec 12
Monday, Sep 15 - Dec 8
Sunday, Oct 5 - Jan 11
Tues, Thurs & Sun, Dec 2 - Jan 11 (meets three times a week!)
Mon, Wed & Fri, Dec 8 - Jan 16 (meets three times a week!)

AMC 10 Problem Series
Tues & Thurs, Jul 8 - Aug 14 (meets twice a week!)
Sunday, Aug 10 - Nov 2
Thursday, Aug 14 - Oct 30
Tuesday, Aug 19 - Nov 4
Mon & Wed, Sep 15 - Oct 22 (meets twice a week!)
Mon, Wed & Fri, Oct 6 - Nov 3 (meets three times a week!)
Tue, Thurs & Sun, Oct 7 - Nov 2 (meets three times a week!)

AMC 10 Final Fives
Friday, Aug 15 - Sep 12
Sunday, Sep 7 - Sep 28
Tuesday, Sep 9 - Sep 30
Monday, Sep 22 - Oct 13
Sunday, Sep 28 - Oct 19 (1:00 - 2:30 pm ET/10:00 - 11:30 am PT)
Wednesday, Oct 8 - Oct 29
Thursday, Oct 9 - Oct 30

AMC 12 Problem Series
Wednesday, Aug 6 - Oct 22
Sunday, Aug 10 - Nov 2
Monday, Aug 18 - Nov 10
Mon & Wed, Sep 15 - Oct 22 (meets twice a week!)
Tues, Thurs & Sun, Oct 7 - Nov 2 (meets three times a week!)

AMC 12 Final Fives
Thursday, Sep 4 - Sep 25
Sunday, Sep 28 - Oct 19
Tuesday, Oct 7 - Oct 28

AIME Problem Series A
Thursday, Oct 23 - Jan 29

AIME Problem Series B
Tuesday, Sep 2 - Nov 18

F=ma Problem Series
Tuesday, Sep 16 - Dec 9
Friday, Oct 17 - Jan 30

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
Thursday, Aug 14 - Oct 30
Sunday, Sep 7 - Nov 23
Tuesday, Dec 2 - Mar 3

Intermediate Programming with Python
Friday, Oct 3 - Jan 16

USACO Bronze Problem Series
Wednesday, Sep 3 - Dec 3
Thursday, Oct 30 - Feb 5
Tuesday, Dec 2 - Mar 3

Physics

Introduction to Physics
Tuesday, Sep 2 - Nov 18
Sunday, Oct 5 - Jan 11
Wednesday, Dec 10 - Mar 11

Physics 1: Mechanics
Sunday, Sep 21 - Mar 22
Sunday, Oct 26 - Apr 26
0 replies
jwelsh
Jul 1, 2025
0 replies
k i Adding contests to the Contest Collections
dcouchman   1
N Apr 5, 2023 by v_Enhance
Want to help AoPS remain a valuable Olympiad resource? Help us add contests to AoPS's Contest Collections.

Find instructions and a list of contests to add here: https://artofproblemsolving.com/community/c40244h1064480_contests_to_add
1 reply
dcouchman
Sep 9, 2019
v_Enhance
Apr 5, 2023
k i Zero tolerance
ZetaX   49
N May 4, 2019 by NoDealsHere
Source: Use your common sense! (enough is enough)
Some users don't want to learn, some other simply ignore advises.
But please follow the following guideline:


To make it short: ALWAYS USE YOUR COMMON SENSE IF POSTING!
If you don't have common sense, don't post.


More specifically:

For new threads:


a) Good, meaningful title:
The title has to say what the problem is about in best way possible.
If that title occured already, it's definitely bad. And contest names aren't good either.
That's in fact a requirement for being able to search old problems.

Examples:
Bad titles:
- "Hard"/"Medium"/"Easy" (if you find it so cool how hard/easy it is, tell it in the post and use a title that tells us the problem)
- "Number Theory" (hey guy, guess why this forum's named that way¿ and is it the only such problem on earth¿)
- "Fibonacci" (there are millions of Fibonacci problems out there, all posted and named the same...)
- "Chinese TST 2003" (does this say anything about the problem¿)
Good titles:
- "On divisors of a³+2b³+4c³-6abc"
- "Number of solutions to x²+y²=6z²"
- "Fibonacci numbers are never squares"


b) Use search function:
Before posting a "new" problem spend at least two, better five, minutes to look if this problem was posted before. If it was, don't repost it. If you have anything important to say on topic, post it in one of the older threads.
If the thread is locked cause of this, use search function.

Update (by Amir Hossein). The best way to search for two keywords in AoPS is to input
[code]+"first keyword" +"second keyword"[/code]
so that any post containing both strings "first word" and "second form".


c) Good problem statement:
Some recent really bad post was:
[quote]$lim_{n\to 1}^{+\infty}\frac{1}{n}-lnn$[/quote]
It contains no question and no answer.
If you do this, too, you are on the best way to get your thread deleted. Write everything clearly, define where your variables come from (and define the "natural" numbers if used). Additionally read your post at least twice before submitting. After you sent it, read it again and use the Edit-Button if necessary to correct errors.


For answers to already existing threads:


d) Of any interest and with content:
Don't post things that are more trivial than completely obvious. For example, if the question is to solve $x^{3}+y^{3}=z^{3}$, do not answer with "$x=y=z=0$ is a solution" only. Either you post any kind of proof or at least something unexpected (like "$x=1337, y=481, z=42$ is the smallest solution). Someone that does not see that $x=y=z=0$ is a solution of the above without your post is completely wrong here, this is an IMO-level forum.
Similar, posting "I have solved this problem" but not posting anything else is not welcome; it even looks that you just want to show off what a genius you are.

e) Well written and checked answers:
Like c) for new threads, check your solutions at least twice for mistakes. And after sending, read it again and use the Edit-Button if necessary to correct errors.



To repeat it: ALWAYS USE YOUR COMMON SENSE IF POSTING!


Everything definitely out of range of common sense will be locked or deleted (exept for new users having less than about 42 posts, they are newbies and need/get some time to learn).

The above rules will be applied from next monday (5. march of 2007).
Feel free to discuss on this here.
49 replies
ZetaX
Feb 27, 2007
NoDealsHere
May 4, 2019
A symmetric inequality in n variables (3)
Nguyenhuyen_AG   0
25 minutes ago
Let $a_1,a_2,\ldots,a_n (n \geqslant 1)$ be non-negative real numbers. Prove that
\[\sum_{i=1}^n \frac{\displaystyle a_i^2 \left( \sum_{j=1}^n a_j - a_i \right)^2}{\displaystyle \sum_{j=1}^n a_j^2 - a_i^2} \geq \left(\sum_{i=1}^n a_i\right)^2 - \sum_{i=1}^n a_i^2.\]Assume all denominators are non-zero.
0 replies
Nguyenhuyen_AG
25 minutes ago
0 replies
A symmetric inequality in n variables (2)
Nguyenhuyen_AG   2
N 42 minutes ago by Nguyenhuyen_AG
Let $a_1,a_2,\ldots,a_n (n \geqslant 2)$ be non-negative real numbers. Prove that
\[\sum_{i=1}^n \frac{\displaystyle a_i^2 \left( \sum_{j=1}^n a_j - a_i \right)}{\displaystyle \sum_{j=1}^n a_j^2 - a_i^2} \geq \sum_{i=1}^n a_i.\]Assume all denominators are non-zero.
2 replies
Nguyenhuyen_AG
3 hours ago
Nguyenhuyen_AG
42 minutes ago
Functional equation
proximo   13
N an hour ago by megarnie
Source: Belarusian Mathematical Olympiad 2017
Find all functions $f:\mathbb{R}^+ \rightarrow \mathbb{R}^+$, satisfying the following equation $$f(x+f(xy))=xf(1+f(y))$$for all positive $x$ and $y$
13 replies
proximo
Mar 31, 2017
megarnie
an hour ago
Othorcenter
luutrongphuc   0
an hour ago
Let $\triangle ABC$ and $\triangle A'B'C'$ be two triangles with a common orthocenter $H$. Prove that the lines $AA’, BB’,CC’$ are concurrent
0 replies
luutrongphuc
an hour ago
0 replies
Interesting inequality
sqing   4
N an hour ago by sqing
Source: Own
Let $ a,b >0  . $ Prove that
$$ \frac {2a+b} {2b+a}+ \frac {7b+a} {7a+b} \geq  \frac {24} {13}    $$$$ \frac {3a+b} {3b+a}+ \frac {17b+a} {17a+b}  \geq  \frac {48} {25}    $$$$  \frac {4a+b} {4b+a}+ \frac {31b+a} {31a+b}\geq  \frac {80} {41}    $$$$ \frac {5a+b} {5b+a}+ \frac {49b+a} {49a+b} \geq  \frac {120} {61}    $$
4 replies
1 viewing
sqing
5 hours ago
sqing
an hour ago
Interesting inequality
sqing   0
an hour ago
Source: Own
Let $a,b>0, $ Prove that
$$  1\geq \frac {a^5+2a^3b^2+2a^2b^3+b^5} {(a^3+ 2a^2b+2ab^2+b^3)( a^2+ b^2-ab) }\geq \frac{\sqrt 3}{2}$$$$ \frac{5}{9}\geq\frac {a^5+b^5} {(a^3+a^2b+ab^2+b^3)(2a^2+2b^2-3ab) } \geq \frac{1}{2}$$
0 replies
sqing
an hour ago
0 replies
Come frome \frac {a^5+b^5} {a^3+b^3} \geq a^2+b^2-ab
sqing   2
N an hour ago by sqing
Source: Own
Let $a,b>0, $ Prove that $$ \frac {a^5+a^3b^2+a^2b^3+b^5} {(a^3+a^2b+ab^2+b^3)( a^2+ b^2-ab) }=1$$
2 replies
sqing
6 hours ago
sqing
an hour ago
Useless identity
mashumaro   0
2 hours ago
Source: Own
Let $a_1$, $a_2$, $\dots$, $a_6$ be reals, and let $f(m, n) = \sum_{i=m}^{n} a_i$. Show that
\[ f(5,5)f(5,6) = f(2,4)f(3,4) = f(1,4)f(4,4) \implies f(1,1)f(1,2)f(4,5)f(4,6) = f(2,3)f(3,3)f(1,5)f(1,6) \]
0 replies
mashumaro
2 hours ago
0 replies
Find all possible values of BT/BM
va2010   57
N 2 hours ago by YaoAOPS
Source: 2015 ISL G4
Let $ABC$ be an acute triangle and let $M$ be the midpoint of $AC$. A circle $\omega$ passing through $B$ and $M$ meets the sides $AB$ and $BC$ at points $P$ and $Q$ respectively. Let $T$ be the point such that $BPTQ$ is a parallelogram. Suppose that $T$ lies on the circumcircle of $ABC$. Determine all possible values of $\frac{BT}{BM}$.
57 replies
va2010
Jul 7, 2016
YaoAOPS
2 hours ago
JBMO 2013 Problem 1
Igor   29
N 3 hours ago by LeYohan
Source: Proposed by Serbia
Find all ordered pairs $(a,b)$ of positive integers for which the numbers $\dfrac{a^3b-1}{a+1}$ and $\dfrac{b^3a+1}{b-1}$ are both positive integers.
29 replies
Igor
Jun 23, 2013
LeYohan
3 hours ago
Number theory
truongngochieu   0
3 hours ago
Prove that \[\tau\big(\varphi(n)\big) \geq \varphi\big(\tau(n)\big)\]with all integer n.
0 replies
truongngochieu
3 hours ago
0 replies
Interesting Succession
AlexCenteno2007   3
N 3 hours ago by evgeniy___
The sequence $\{a_n\}$ of integers is defined by
\[
-\frac{1}{2} < a_{n+1} - \frac{a_n^2}{a_{n-1}} \leq \frac{1}{2}
\]with $a_1 = 2$, $a_2 = 7$, prove that $a_n$ is odd for all values of $n \geq 2$.
3 replies
AlexCenteno2007
Yesterday at 6:21 PM
evgeniy___
3 hours ago
Evenish colorings
a_507_bc   7
N 3 hours ago by TigerOnion
Source: Australia MO 2024 P4
Consider a $2024 \times 2024$ grid of unit squares. Two distinct unit squares are adjacent if they share a common side. Each unit square is to be coloured either black or white. Such a colouring is called $\textit{evenish}$ if every unit square in the grid is adjacent to an even number of black unit squares. Determine the number of $\textit{evenish}$ colourings.
7 replies
a_507_bc
Feb 24, 2024
TigerOnion
3 hours ago
number theory
Hoapham235   0
3 hours ago
Let $x >  y$ be positive integer such that \[ \text{LCM}(x+2, y+2)+\text{LCM}(x, y)=2\text{LCM}(x+1, y+1).\]Prove that $x$ is divisible by $y$.
0 replies
1 viewing
Hoapham235
3 hours ago
0 replies
IMO ShortList 2001, combinatorics problem 6
orl   15
N May 23, 2025 by awesomeming327.
Source: IMO ShortList 2001, combinatorics problem 6
For a positive integer $n$ define a sequence of zeros and ones to be balanced if it contains $n$ zeros and $n$ ones. Two balanced sequences $a$ and $b$ are neighbors if you can move one of the $2n$ symbols of $a$ to another position to form $b$. For instance, when $n = 4$, the balanced sequences $01101001$ and $00110101$ are neighbors because the third (or fourth) zero in the first sequence can be moved to the first or second position to form the second sequence. Prove that there is a set $S$ of at most $\frac{1}{n+1} \binom{2n}{n}$ balanced sequences such that every balanced sequence is equal to or is a neighbor of at least one sequence in $S$.
15 replies
orl
Sep 30, 2004
awesomeming327.
May 23, 2025
IMO ShortList 2001, combinatorics problem 6
G H J
Source: IMO ShortList 2001, combinatorics problem 6
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
orl
3647 posts
#1 • 3 Y
Y by pifinity, Adventure10, Mango247
For a positive integer $n$ define a sequence of zeros and ones to be balanced if it contains $n$ zeros and $n$ ones. Two balanced sequences $a$ and $b$ are neighbors if you can move one of the $2n$ symbols of $a$ to another position to form $b$. For instance, when $n = 4$, the balanced sequences $01101001$ and $00110101$ are neighbors because the third (or fourth) zero in the first sequence can be moved to the first or second position to form the second sequence. Prove that there is a set $S$ of at most $\frac{1}{n+1} \binom{2n}{n}$ balanced sequences such that every balanced sequence is equal to or is a neighbor of at least one sequence in $S$.
Attachments:
This post has been edited 1 time. Last edited by orl, Oct 25, 2004, 12:12 AM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
orl
3647 posts
#2 • 3 Y
Y by Adventure10, supercarry, Mango247
Please post your solutions. This is just a solution template to write up your solutions in a nice way and formatted in LaTeX. But maybe your solution is so well written that this is not required finally. For more information and instructions regarding the ISL/ILL problems please look here: introduction for the IMO ShortList/LongList project and regardingsolutions :)
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
mohammad-mahmoodi
29 posts
#3 • 1 Y
Y by Adventure10
For each balanced sequence a = (a1; a2; : : : ; a2n) let f(a) be the sum of the
positions of the 1’s in a. For example, f(01101001) = 2+3+5+8 = 18. Partition the
¡2n
n ¢balanced sequences into n+1 classes according to the residue of f (mod n+1),
and let S be a class of minimum size. Then jSj · 1
n+1¡2n
n ¢, and we claim that every
balanced sequence is either a member of S or is a neighbor of at least one member of
S. Let a = (a1; a2; : : : ; a2n) be a given balanced sequence. We consider two cases.
Case (i): a1 = 1. The balanced sequence b = (b1; b2; : : : ; b2n) obtained from a by
moving the leftmost 1 just to the right of the kth 0 satisfies f(b) = f(a)+k. (If am+1
is the kth 0 of a, then in going from a to b, the leftmost 1 is moved up m places and
m¡k 1’s are moved back one place each.) Thus we find n neighbors of a so that the
values of f for a and these neighbors fill an interval of n + 1 consecutive integers. In
particular, one of these n + 1 balanced sequences belongs to S.
Case (ii): a1 = 0. This case is similar. Movement of the initial 0 just to the right
of the kth 1 yields a neighbor b satisfying f(b) = f(a) ¡ k.
Hence every balanced sequence is either equal to or is a neighbor of at least one
member of S.

:)
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
darij grinberg
6555 posts
#4 • 2 Y
Y by Adventure10, Mango247
mohammad-mahmoodi wrote:
For each balanced sequence a = (a1; a2; : : : ; a2n) let f(a) be the sum of the
positions of the 1’s in a. For example, f(01101001) = 2+3+5+8 = 18. Partition the
¡2n
n ¢balanced sequences into n+1 classes according to the residue of f (mod n+1),
and let S be a class of minimum size. Then jSj · 1
n+1¡2n
n ¢, and we claim that every
balanced sequence is either a member of S or is a neighbor of at least one member of
S. Let a = (a1; a2; : : : ; a2n) be a given balanced sequence. We consider two cases.
Case (i): a1 = 1. The balanced sequence b = (b1; b2; : : : ; b2n) obtained from a by
moving the leftmost 1 just to the right of the kth 0 satisfies f(b) = f(a)+k. (If am+1
is the kth 0 of a, then in going from a to b, the leftmost 1 is moved up m places and
m¡k 1’s are moved back one place each.) Thus we find n neighbors of a so that the
values of f for a and these neighbors fill an interval of n + 1 consecutive integers. In
particular, one of these n + 1 balanced sequences belongs to S.
Case (ii): a1 = 0. This case is similar. Movement of the initial 0 just to the right
of the kth 1 yields a neighbor b satisfying f(b) = f(a) ¡ k.
Hence every balanced sequence is either equal to or is a neighbor of at least one
member of S.

:)

If you copy a solution from somewhere else, then please
(1) tell your source (in this case: the IMO Shortlist 2001 official solutions),
(2) convert it into LaTeX.

darij
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
mohammad-mahmoodi
29 posts
#5 • 2 Y
Y by Adventure10, Mango247
Quote:
If you copy a solution from somewhere else, then please
(1) tell your source (in this case: the IMO Shortlist 2001 official solutions),
(2) convert it into LaTeX.

darij

_________________
lift this prayer to heaven's heights, feed my mind with the most glorious thoughts,
sacrificing all my dreams...
for this i will serve and honour to death... or do i just fear the tyrant's wrath?


HOW TO convert it into LaTeX ?
:blush:
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Akashnil
736 posts
#6 • 2 Y
Y by Adventure10, Mango247
mohammad-mahmoodi wrote:
HOW TO convert it into LaTeX ?
:blush:

Learn LaTeX here:
Best: http://www.mathlinks.ro/Forum/viewtopic.php?search_id=1602648475&t=188533
Q & A: http://www.mathlinks.ro/Forum/viewtopic.php?search_id=1602648475&t=12230
Official: http://www.mathlinks.ro/Forum/viewtopic.php?search_id=1602648475&t=5261

My personal tip(This is how I learnt.):

Try to search for posts written in LaTeX in the various brunches of this forum (You will find plenty). Then click on "quote" button on the bottom-right corner of the post and see how it looks(You need to be logged on first). You might modify a bit and see the preview yourself. You needn't really post. Just cancel the post when you are done.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Myth
4464 posts
#7 • 5 Y
Y by ValidName, MathbugAOPS, Adventure10, Mango247, and 1 other user
For each balanced sequence $ a = (a_1, a_2, \dots , a_{2n})$ let $ f(a)$ be the sum of the positions of the $ 1$s in $ a$. For example, $ f(01101001) = 2+3+5+8 = 18$. Partition the $ \binom{2n}{n}$ balanced sequences into $ n+1$ classes according to the residue of $ f\pmod{n+1}$, and let $ S$ be a class of minimum size. Then $ (n+1)|S|\leq \binom{2n}{n}$, and we claim that every balanced sequence is either a member of $ S$ or is a neighbor of at least one member of $ S$. Let $ a = (a_1, a_2, \dots , a_{2n})$ be a given balanced sequence. We consider two cases.
Case (i): $ a_1 = 1$. The balanced sequence $ b = (b_1, b_2, \dots , b_{2n})$ obtained from $ a$ by moving the leftmost $ 1$ just to the right of the $ k$-th $ 0$ satisfies $ f(b) = f(a)+k$. (If $ a_{m+1}$ is the $ k$-th $ 0$ of $ a$, then in going from $ a$ to $ b$, the leftmost $ 1$ is moved up $ m$ places and $ m-k$ $ 1$s are moved back one place each.) Thus we find $ n$ neighbors of $ a$ so that the values of $ f$ for $ a$ and these neighbors fill an interval of $ n + 1$ consecutive integers. In particular, one of these $ n + 1$ balanced sequences belongs to $ S$.
Case (ii): $ a_1 = 0$. This case is similar. Movement of the initial $ 0$ just to the right of the $ k$th $ 1$ yields a neighbor $ b$ satisfying $ f(b) = f(a) - k$.
Hence every balanced sequence is either equal to or is a neighbor of at least one
member of $ S$.
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
#8 • 1 Y
Y by Adventure10
Solution
This post has been edited 1 time. Last edited by AnonymousBunny, Jun 24, 2016, 4:41 AM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
pi37
2079 posts
#9 • 5 Y
Y by ABCDE, for63434, ValidName, Adventure10, bachkieu
Let $a_1,a_2,\cdots a_{2n}$ be the sequence of $0$s and $1$s. For some sequence $s$, let $f(s)=\sum_{k=1}^{2n} ka_k$. We claim that for any $m$, the set
\[
S=\{s : f(s)\equiv m\pmod{n+1}\}
\]is sufficient (and since there are $n+1$ such sets and $\binom{2n}{n}$ total sequences, at least one must have appropriate size).

Let $s_k$ be the sequence where $a_1$ is put in position $k$, so $s_k=s$ in particular.

If $a_1=0$, then $f(s_{2n})=f(s_1)+n$. Note that $f(s_1),f(s_2),\cdots f(s_{2n})$ is a sequence of integers increasing by $0$ or $1$ each time, so by discrete IVT there must be $k$ with $f(s_k)\equiv m\pmod{n+1}$.

If $a_1=1$, then $f(s_{2n})=f(s_1)-n$. Note that $f(s_1),f(s_2)\cdots f(s_{2n})$ is a sequence of integers decreasing by $0$ or $1$ each time, so again by discrete IVT there must be $k$ with $f(s_k)\equiv m\pmod{n+1}$.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
mihirb
1772 posts
#10 • 2 Y
Y by Adventure10, Mango247
Wait is that the formula for the Catalan numbers?
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
yugrey
2326 posts
#11 • 4 Y
Y by DrMath, mihirb, yayups, Adventure10
Yes it is. It's also a bit of a red herring. In fact mathocean97 and myself did not solve this problem when we tried it some time ago.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
EhsanP
5 posts
#12 • 2 Y
Y by Adventure10, Mango247
mihirb wrote:
Wait is that the formula for the Catalan numbers?

I think it isn't related to Catalan numbers, is it?
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
for63434
105 posts
#14 • 3 Y
Y by pieater314159, Adventure10, Mango247
<pi37> wrote:
$f(s)=\sum_{k=1}^{2n} ka_k$
How could you think of $f(s)$?
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
yayups
1614 posts
#15
Y by
For a balanced sequence $s$, let $f(s)$ denote the sum of the positions of the $1$s. It is easy to see that by removing a $1$ and placing it in at all possible $2n$ locations, we get $f$-values from $a,a+1,\ldots,a+n$, where $a$ is the sum of the positions after removing the $1$. Thus, if we fix $0\le k\le n$, then there is some $s'$ adjacent to $s$ such that $f(s')\equiv k\pmod{n+1}$. This implies that the set \[S_k = \{s : f(s)\equiv k\pmod{n+1}\}\]works. To finish, note that \[|S_0|+\cdots+|S_n|=\binom{2n}{n},\]so we can pick some $k$ such that $|S_k|\le\frac{1}{n+1}\binom{2n}{n}$. This completes the solution.

Remark: I was originally spending most of my time trying to modify Catalan sequences in various ways to no avail. I think it's pretty clear after trying this approach for a while that it will inevitably bunch up too many sequences close together, thus missing many sequences. The key for this problem is to step away from that approach and look for simpler things.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
EthanWYX2009
950 posts
#18
Y by
We hope to find a function $f:\{\text{balanced sequence}\}\to [n+1],$ such that for any balanced sequence $\alpha,$ let $N(\alpha )$ be the set of neighbors of $\alpha,$ we always have $\text{Im}(f(N(\alpha)))=[n+1].$ If so by Pigeonhole principle there exists $j\in [n+1]$ such that $|\text{ker}(j)|\le\frac {\binom{2n}n}{n+1},$ take the set $\text{ker}(j)$ and we are done.

Here let $\alpha =(\varepsilon_1,\ldots ,\varepsilon_{2n}),f(\alpha)=\sum i\varepsilon_i\mod{n+1}.$ Define $\alpha _t=(\varepsilon_2,\ldots ,\varepsilon_t,\varepsilon_1,\varepsilon_{t+1},\ldots ,\varepsilon_{2n})\in N(\alpha).$ Then
$$f(\alpha)-f(\alpha_t)=(t-1)\varepsilon_1-\sum_{i=2}^t\varepsilon_i=\sum_{i=2}^t(\varepsilon_1-\varepsilon_t).$$Because $\# \{\varepsilon_i=1\} =\# \{\varepsilon_i=0\}=n, $ $\# \{\varepsilon_i\neq\varepsilon_1\}=n.$ Therefore from $\alpha_1$ to $\alpha_{2n},$ $f(\alpha)-f(\alpha_t)$ add(minus) 1 for $n$ times, so $[n+1]\subseteq\{f(\alpha_1),\ldots ,f(\alpha_{2n})\},$ done.$\Box$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
awesomeming327.
1784 posts
#19
Y by
We split the balanced sequences into $n+1$ residue classes based on the sum of the indices of the $1$s. Then we pick the one with least elements and set that to be $S$ which satisfies the size condition. Note that if the first element is one, moving it right past each zero decreases the sum of indices by one, so it can be decreased (or increased if the first element is zero) by any number from $0$ to $n$ so it is guaranteed to be a neighbor of something from every residue class. We are done.
Z K Y
N Quick Reply
G
H
=
a