Stay ahead of learning milestones! Enroll in a class over the summer!

G
Topic
First Poster
Last Poster
k a May Highlights and 2025 AoPS Online Class Information
jlacosta   0
May 1, 2025
May is an exciting month! National MATHCOUNTS is the second week of May in Washington D.C. and our Founder, Richard Rusczyk will be presenting a seminar, Preparing Strong Math Students for College and Careers, on May 11th.

Are you interested in working towards MATHCOUNTS and don’t know where to start? We have you covered! If you have taken Prealgebra, then you are ready for MATHCOUNTS/AMC 8 Basics. Already aiming for State or National MATHCOUNTS and harder AMC 8 problems? Then our MATHCOUNTS/AMC 8 Advanced course is for you.

Summer camps are starting next month at the Virtual Campus in math and language arts that are 2 - to 4 - weeks in duration. Spaces are still available - don’t miss your chance to have an enriching summer experience. There are middle and high school competition math camps as well as Math Beasts camps that review key topics coupled with fun explorations covering areas such as graph theory (Math Beasts Camp 6), cryptography (Math Beasts Camp 7-8), and topology (Math Beasts Camp 8-9)!

Be sure to mark your calendars for the following upcoming events:
[list][*]May 9th, 4:30pm PT/7:30pm ET, Casework 2: Overwhelming Evidence — A Text Adventure, a game where participants will work together to navigate the map, solve puzzles, and win! All are welcome.
[*]May 19th, 4:30pm PT/7:30pm ET, What's Next After Beast Academy?, designed for students finishing Beast Academy and ready for Prealgebra 1.
[*]May 20th, 4:00pm PT/7:00pm ET, Mathcamp 2025 Qualifying Quiz Part 1 Math Jam, Problems 1 to 4, join the Canada/USA Mathcamp staff for this exciting Math Jam, where they discuss solutions to Problems 1 to 4 of the 2025 Mathcamp Qualifying Quiz!
[*]May 21st, 4:00pm PT/7:00pm ET, Mathcamp 2025 Qualifying Quiz Part 2 Math Jam, Problems 5 and 6, Canada/USA Mathcamp staff will discuss solutions to Problems 5 and 6 of the 2025 Mathcamp Qualifying Quiz![/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
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
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, 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
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
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
Tuesday, May 6 - Aug 19
Wednesday, Jun 4 - Sep 17
Sunday, Jun 22 - Oct 19
Friday, Jul 18 - Nov 14

Introduction to Geometry
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

Paradoxes and Infinity
Mon, Tue, Wed, & Thurs, Jul 14 - Jul 16 (meets every day of the week!)

Intermediate: Grades 8-12

Intermediate Algebra
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
Wednesday, May 21 - Sep 17
Sunday, Jun 22 - Nov 2

Intermediate Number Theory
Sunday, Jun 1 - Aug 24
Wednesday, Jun 18 - Sep 3

Precalculus
Friday, May 16 - Oct 24
Sunday, Jun 1 - Nov 9
Monday, Jun 30 - Dec 8

Advanced: Grades 9-12

Olympiad Geometry
Tuesday, Jun 10 - Aug 26

Calculus
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
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
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
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

AIME Problem Series A
Thursday, May 22 - Jul 31

AIME Problem Series B
Sunday, Jun 22 - Sep 21

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
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
Wednesday, May 21 - Aug 6
Sunday, Jun 15 - Sep 14
Monday, Jun 23 - Sep 15

Physics 1: Mechanics
Thursday, May 22 - Oct 30
Monday, Jun 23 - Dec 15

Relativity
Mon, Tue, Wed & Thurs, Jun 23 - Jun 26 (meets every day of the week!)
0 replies
jlacosta
May 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
IMO Shortlist 2013, Combinatorics #4
lyukhson   21
N 32 minutes ago by Ciobi_
Source: IMO Shortlist 2013, Combinatorics #4
Let $n$ be a positive integer, and let $A$ be a subset of $\{ 1,\cdots ,n\}$. An $A$-partition of $n$ into $k$ parts is a representation of n as a sum $n = a_1 + \cdots + a_k$, where the parts $a_1 , \cdots , a_k $ belong to $A$ and are not necessarily distinct. The number of different parts in such a partition is the number of (distinct) elements in the set $\{ a_1 , a_2 , \cdots , a_k \} $.
We say that an $A$-partition of $n$ into $k$ parts is optimal if there is no $A$-partition of $n$ into $r$ parts with $r<k$. Prove that any optimal $A$-partition of $n$ contains at most $\sqrt[3]{6n}$ different parts.
21 replies
lyukhson
Jul 9, 2014
Ciobi_
32 minutes ago
Cycle in a graph with a minimal number of chords
GeorgeRP   4
N an hour ago by CBMaster
Source: Bulgaria IMO TST 2025 P3
In King Arthur's court every knight is friends with at least $d>2$ other knights where friendship is mutual. Prove that King Arthur can place some of his knights around a round table in such a way that every knight is friends with the $2$ people adjacent to him and between them there are at least $\frac{d^2}{10}$ friendships of knights that are not adjacent to each other.
4 replies
GeorgeRP
Yesterday at 7:51 AM
CBMaster
an hour ago
amazing balkan combi
egxa   8
N 2 hours ago by Gausikaci
Source: BMO 2025 P4
There are $n$ cities in a country, where $n \geq 100$ is an integer. Some pairs of cities are connected by direct (two-way) flights. For two cities $A$ and $B$ we define:

$(i)$ A $\emph{path}$ between $A$ and $B$ as a sequence of distinct cities $A = C_0, C_1, \dots, C_k, C_{k+1} = B$, $k \geq 0$, such that there are direct flights between $C_i$ and $C_{i+1}$ for every $0 \leq i \leq k$;
$(ii)$ A $\emph{long path}$ between $A$ and $B$ as a path between $A$ and $B$ such that no other path between $A$ and $B$ has more cities;
$(iii)$ A $\emph{short path}$ between $A$ and $B$ as a path between $A$ and $B$ such that no other path between $A$ and $B$ has fewer cities.
Assume that for any pair of cities $A$ and $B$ in the country, there exist a long path and a short path between them that have no cities in common (except $A$ and $B$). Let $F$ be the total number of pairs of cities in the country that are connected by direct flights. In terms of $n$, find all possible values $F$

Proposed by David-Andrei Anghel, Romania.
8 replies
egxa
Apr 27, 2025
Gausikaci
2 hours ago
abc = 1 Inequality generalisation
CHESSR1DER   6
N 2 hours ago by CHESSR1DER
Source: Own
Let $a,b,c > 0$, $abc=1$.
Find min $ \frac{1}{a^m(bx+cy)^n} + \frac{1}{b^m(cx+ay)^n} + \frac{1}{c^m(cx+ay)^n}$.
$1)$ $m,n,x,y$ are fixed positive integers.
$2)$ $m,n,x,y$ are fixed positive real numbers.
6 replies
CHESSR1DER
3 hours ago
CHESSR1DER
2 hours ago
Fond all functions in M with a) f(1)=5/2, b) f(1)=√3
Amir Hossein   5
N 2 hours ago by jasperE3
Source: IMO LongList 1982 - P34
Let $M$ be the set of all functions $f$ with the following properties:

(i) $f$ is defined for all real numbers and takes only real values.

(ii) For all $x, y \in \mathbb R$ the following equality holds: $f(x)f(y) = f(x + y) + f(x - y).$

(iii) $f(0) \neq 0.$

Determine all functions $f \in M$ such that

(a) $f(1)=\frac 52$,

(b) $f(1)= \sqrt 3$.
5 replies
Amir Hossein
Mar 18, 2011
jasperE3
2 hours ago
help me please
thuanz123   6
N 3 hours ago by pavel kozlov
find all $a,b \in \mathbb{Z}$ such that:
a) $3a^2-2b^2=1$
b) $a^2-6b^2=1$
6 replies
thuanz123
Jan 17, 2016
pavel kozlov
3 hours ago
Problem 5 (Second Day)
darij grinberg   78
N 3 hours ago by cj13609517288
Source: IMO 2004 Athens
In a convex quadrilateral $ABCD$, the diagonal $BD$ bisects neither the angle $ABC$ nor the angle $CDA$. The point $P$ lies inside $ABCD$ and satisfies \[\angle PBC=\angle DBA\quad\text{and}\quad \angle PDC=\angle BDA.\] Prove that $ABCD$ is a cyclic quadrilateral if and only if $AP=CP$.
78 replies
darij grinberg
Jul 13, 2004
cj13609517288
3 hours ago
concyclic wanted, PQ = BP, cyclic quadrilateral and 2 parallelograms related
parmenides51   2
N 3 hours ago by SuperBarsh
Source: 2011 Italy TST 2.2
Let $ABCD$ be a cyclic quadrilateral in which the lines $BC$ and $AD$ meet at a point $P$. Let $Q$ be the point of the line $BP$, different from $B$, such that $PQ = BP$. We construct the parallelograms $CAQR$ and $DBCS$. Prove that the points $C, Q, R, S$ lie on the same circle.
2 replies
parmenides51
Sep 25, 2020
SuperBarsh
3 hours ago
Integer FE Again
popcorn1   43
N 3 hours ago by DeathIsAwe
Source: ISL 2020 N5
Determine all functions $f$ defined on the set of all positive integers and taking non-negative integer values, satisfying the three conditions:
[list]
[*] $(i)$ $f(n) \neq 0$ for at least one $n$;
[*] $(ii)$ $f(x y)=f(x)+f(y)$ for every positive integers $x$ and $y$;
[*] $(iii)$ there are infinitely many positive integers $n$ such that $f(k)=f(n-k)$ for all $k<n$.
[/list]
43 replies
popcorn1
Jul 20, 2021
DeathIsAwe
3 hours ago
Long and wacky inequality
Royal_mhyasd   2
N 4 hours ago by Royal_mhyasd
Source: Me
Let $x, y, z$ be positive real numbers such that $x^2 + y^2 + z^2 = 12$. Find the minimum value of the following sum :
$$\sum_{cyc}\frac{(x^3+2y)^3}{3x^2yz - 16z - 8yz + 6x^2z}$$knowing that the denominators are positive real numbers.
2 replies
Royal_mhyasd
May 12, 2025
Royal_mhyasd
4 hours ago
Perpendicular passes from the intersection of diagonals, \angle AEB = \angle CED
NO_SQUARES   1
N 4 hours ago by mathuz
Source: 239 MO 2025 10-11 p3
Inside of convex quadrilateral $ABCD$ point $E$ was chosen such that $\angle DAE = \angle CAB$ and $\angle ADE = \angle CDB$. Prove that if perpendicular from $E$ to $AD$ passes from the intersection of diagonals of $ABCD$, then $\angle AEB = \angle CED$.
1 reply
NO_SQUARES
May 5, 2025
mathuz
4 hours ago
A game with balls and boxes
egxa   6
N 4 hours ago by Sh309had
Source: Turkey JBMO TST 2023 Day 1 P4
Initially, Aslı distributes $1000$ balls to $30$ boxes as she wishes. After that, Aslı and Zehra make alternated moves which consists of taking a ball in any wanted box starting with Aslı. One who takes the last ball from any box takes that box to herself. What is the maximum number of boxes can Aslı guarantee to take herself regardless of Zehra's moves?
6 replies
egxa
Apr 30, 2023
Sh309had
4 hours ago
Angle Relationships in Triangles
steven_zhang123   2
N 4 hours ago by Captainscrubz
In $\triangle ABC$, $AB > AC$. The internal angle bisector of $\angle BAC$ and the external angle bisector of $\angle BAC$ intersect the ray $BC$ at points $D$ and $E$, respectively. Given that $CE - CD = 2AC$, prove that $\angle ACB = 2\angle ABC$.
2 replies
steven_zhang123
Yesterday at 11:09 PM
Captainscrubz
4 hours ago
Easy functional equation
fattypiggy123   14
N 4 hours ago by Fly_into_the_sky
Source: Singapore Mathematical Olympiad 2014 Problem 2
Find all functions from the reals to the reals satisfying
\[f(xf(y) + x) = xy + f(x)\]
14 replies
fattypiggy123
Jul 5, 2014
Fly_into_the_sky
4 hours ago
IMO 2014 Problem 2
v_Enhance   60
N Apr 17, 2025 by math-olympiad-clown
Source: 0
Let $n \ge 2$ be an integer. Consider an $n \times n$ chessboard consisting of $n^2$ unit squares. A configuration of $n$ rooks on this board is peaceful if every row and every column contains exactly one rook. Find the greatest positive integer $k$ such that, for each peaceful configuration of $n$ rooks, there is a $k \times k$ square which does not contain a rook on any of its $k^2$ unit squares.
60 replies
v_Enhance
Jul 8, 2014
math-olympiad-clown
Apr 17, 2025
IMO 2014 Problem 2
G H J
Source: 0
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
v_Enhance
6877 posts
#1 • 35 Y
Y by Amir Hossein, CatalinBordea, Kunihiko_Chikaya, narutomath96, Davi-8191, IMO2017BR, Tawan, Wizard_32, Combi123, MathBoy23, mathleticguyyy, ApraTrip, mathematicsy, donotoven, megarnie, thedragon01, HamstPan38825, sleepypuppy, Mogmog8, Adventure10, Mango247, Sedro, Alex-131, kiyoras_2001, and 11 other users
Let $n \ge 2$ be an integer. Consider an $n \times n$ chessboard consisting of $n^2$ unit squares. A configuration of $n$ rooks on this board is peaceful if every row and every column contains exactly one rook. Find the greatest positive integer $k$ such that, for each peaceful configuration of $n$ rooks, there is a $k \times k$ square which does not contain a rook on any of its $k^2$ unit squares.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
SCP
1502 posts
#2 • 17 Y
Y by chaotic_iak, Amir Hossein, Ygg, hoou8547, Tawan, Siddharth03, Pascal96, megarnie, Adventure10, Mango247, and 7 other users
Let $n=k^2+r$ where $0< r \le 2k+1$.
We will prove this $k$ will be that one, we want.

Look to a rook in the uppermost row.
Select $k$ consecutive columns which contain the previous rook in the first row.

Now we can divide these columns in $k$ $k*k$ squares and a $k*r$ block above.

Because there are only $k-1$ rooks yet to place in the $k$ $k*k$ squares, there is such a square empty.
Hence our searched $k$ is at least this value.


Now we prove there can always be a peaceful configuration with equality:

We uses the coordinates of the latices from $(0,0)$ to $(n-1,n-1)$
Place a rook in the origin and in each next column we place a rook $k+1$ higher than the column before until we can't do it anymore.
Now, in the next column we place a rook in row with index $1$ ($y=1$) and again going to the right by placing a rook $k$ higher each time.

Each time we have to finish as we can't go $k$ higher, we place it in the smallest row yet attainable and continue the same process.

It is easy to see we made a peaceful configuration.

Assume there is a $(k+1)*(k+1)$square without a rook.
Looking to the full $k+1$ columns ( a $(k+1)*n$block) of the square, we see except once the difference between consecutive rooks is $k+1$ and hence there isn't a gap of more than $k+1$.
As there is a rook in the uppermost and lowermost $(k+1)*(k+1)$square, the assumption leads to a contradiction.
This post has been edited 1 time. Last edited by SCP, Jul 8, 2014, 1:14 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Fedor Petrov
520 posts
#3 • 17 Y
Y by Amir Hossein, narutomath96, mgalushka, MSTang, Tawan, megarnie, Acrylic2005, Adventure10, Mango247, and 8 other users
If $m^2<n\leq (m+1)^2$, then $k=m$. In other words, $k=[\sqrt{n-1}]$.

If $n=m^2+1$, then without loss of generality there is no rook in right lower corner. We take lower row, right column and $m^2$ squares $m\times m$ disjoint from them and from each other. Totally $m^2+2$ sets, by pigeonhole principle one of them does not contain a rook, and it is a square. If $n>m^2+1$, remove last row and last column, add a rook if necessary and reduce the problem to $n-1$.

If $n=m^2$, then enumerate rows and columns from 0 to $m^2-1$ and put rooks with coordinates $(ma+b,mb+a)$ for $0\leq a,b\leq m-1$. Straightforward check shows that there is no empty $m\times m$ square. Example for $n-1$ without empty $m\times m$ square is obtained from the example for $m\times m$ as above: remove last row and last column and add rook if necessary.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
manuel153
324 posts
#4 • 13 Y
Y by Amir Hossein, narutomath96, Tawan, megarnie, Bumfuzzle, Adventure10, and 7 other users
For $n=q^2$ the largest such square has side length $k(n)\le q$ for the following configuration:

Place rooks on the following squares:
$(1,1)$, $(2,q+1)$, $(3,2q+1)$, $\ldots$, $(q,(q-1)q+1)$
$(q+1,2)$, $(q+2,q+2)$, $\ldots$, $(2q,(q-1)q+2)$

$\ldots$

$\ldots$

$((q-1)q+1,q)$, $((q-1)q+2,2q)$, $\ldots$ $(q-1)q+q,q^2)$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
math_explorer
583 posts
#5 • 46 Y
Y by manuel153, Amir Hossein, mrjackass, CatalinBordea, droid347, infiniteturtle, swamih, narutomath96, emiliorosado, codyj, DrMath, TYERI, khalilmiri, GGPiku, Tawan, A_Math_Lover, SecondWind, Booper, opptoinfinity, khina, Combi123, ayan_mathematics_king, parola, Siddharth03, hsiangshen, Pascal96, phoenixfire, megarnie, asdf334, sleepypuppy, Ibrahim_K, Schur-Schwartz, Adventure10, Elainedelia, sabkx, amirhsz, Sedro, EpicBird08, HuYuanzhi, and 7 other users
A picture is worth a thousand words:
http://i.minus.com/jNAGTcjYxQJHh.png

edit: trying to make the image show up
This post has been edited 1 time. Last edited by math_explorer, Jul 6, 2015, 1:13 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
codyj
723 posts
#6 • 10 Y
Y by Abubakir, Bumfuzzle, Adventure10, Mango247, and 6 other users
Let this maximum be $f(n)$. It's obvious that $f(n)$ is nondecreasing.

For $n=p^2$, we have $f(n)<p$ (I omit my counterexample for redundancy's sake). Now we show that there exists a $p-1\times p-1$ square in the board. Assume for the sake of contradiction that in each $p-1\times p-1$ square there is at least one rook. There are $(p(p-1)+2)^2$ such squares, counting each rook at most $(p-1)^2$ times. Therefore, there must be at least $\frac{(p(p-1)+2)^2}{(p-1)^2}=\left(p+\frac2{p-1}\right)^2>p^2=n$ rooks, a contradiction. Therefore, $f(p^2)=p-1$

For $n=p^2+1$, we may use the same logic. Since $f((p+1)^2)=p$, we have $f(p^2+1)\le p$; we assert that $f(p^2+1)=p$. Again, assume for the sake of contradiction that in each $p\times p$ square there is at least one rook. Then there are $p^2+2$ disjoint sets of squares and $p^2+1$ rooks, so the pigeonhole principle tells us that there exists an unoccupied square. Therefore, $f(p^2+1)=p$.

Since $f(p^2+1)=f((p+1)^2)=p$ and $f(n)$ is nondecreasing, we have $f(n)=p$ for all $p^2+1\le n\le(p+1)^2$. Therefore, $f(n)=\left\lfloor\sqrt{n-1}\right\rfloor$.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
mavropnevma
15142 posts
#7 • 15 Y
Y by Tawan, opptoinfinity, megarnie, Adventure10, and 11 other users
The claim is this largest number $k$ is $\boxed{k=\lfloor \sqrt{n-1}\rfloor}$, thus $k^2 < n \leq (k+1)^2$. Label the rows and columns with the numbers from $0$ to $n-1$.
Let $i$ be the label of the row containing a rook on column $n-1$, and let $I$ be any group of $k$ contiguous labels, including $i$. There exist $k$ disjoint $k\times k$ squares, made by the rows in $I$ and the columns in $J=\{0,1,\ldots, k^2-1\}$, and only at most $k-1$ rooks that may belong to them, hence one of these squares contains no rook.
A counter-model for $n=m^2$ is given by rooks on positions $(mi+j,mj+i)$ for $0\leq i,j\leq m-1$. An immediate check shows there is no $m\times m$ square empty of rooks. And for any $n'\times n'$ sub-table with $m\leq n'< n$, a fortiori there exists no $m\times m$ square empty of rooks (since the $n'\times n'$ table may always be completed, need be, in order to become peaceful).
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
mavropnevma
15142 posts
#8 • 12 Y
Y by Tawan, opptoinfinity, megarnie, Adventure10, and 8 other users
codyj wrote:
For $n=p^2+1$, we may use the same logic. Since $f((p+1)^2)=p$, we have $f(p^2+1)\le p$; we assert that $f(p^2+1)=p$. Again, assume for the sake of contradiction that in each $p\times p$ square there is at least one rook. Then there are $p^2+2$ disjoint sets of squares and $p^2+1$ rooks, so the pigeonhole principle tells us that there exists an unoccupied square. Therefore, $f(p^2+1)=p$.
There are no $p^2+2$ disjoint $p\times p$ squares, but only $p^2$. You have to do what Fedor Petrov did, and also consider a border row and a border column (with the corner unoccupied by a rook), before applying the pigeonhole principle.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
algebra1337
183 posts
#9 • 11 Y
Y by Tawan, megarnie, Adventure10, Mango247, and 7 other users
My solution!

Click to reveal hidden text
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
manuel153
324 posts
#10 • 7 Y
Y by Tawan, megarnie, Adventure10, and 4 other users
I like this problem, a perfect competition problem. I quickly settled the cases $n=2,3,4$ with $k=1$ and $n=5,6,7$ with $k=2$. For ten minutes I then tried to prove my working hypothesis $k=\lfloor \frac{n+1}{3}\rfloor$, which lead nowehere. Then I returned to the case $n=8$ and suddenly understood the square root structure. Everybody can solve this problem by working and a little bit of guessing.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Lord.of.AMC
1210 posts
#11 • 11 Y
Y by Tawan, megarnie, Adventure10, Mango247, and 7 other users
math_explorer wrote:
A picture is worth a thousand words:
Invalid image file

But note that on the IMO, one point was deducted for not proving the construction, and another point was deducted for not proving the answer is monotonic (i.e. construction for non-squares).
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
mathuz
1525 posts
#12 • 10 Y
Y by Tawan, megarnie, Adventure10, Mango247, and 6 other users
it is nice problem!
I think the key of the problem will be: $n=m^2$ or we can say $n=m^2+r$ with $0 \le r\le 2m+1$.

For example:
for $n=m^2$ $ \Rightarrow $ $k=m-1$ and for $n=(m+1)^2$ $ \Rightarrow $ $k=m$ (it's clear and easy).
Other hand, we have the $k$ be nondecreasing for $n$. So for $n=m^2+r$ with $1 \le r\le 2m$ we get that $k=m-1$ or $k=m$. :lol:
We need to proof for $n=m^2+1$ the $k$ will be $m$ and after that we are done.
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
#13 • 10 Y
Y by Tawan, Adventure10, Mango247, and 7 other users
Let's call a square empty if it has no rooks inside it.

Let $n= j^2+k,$ where $1 \leq k \leq 2j+1.$

I claim that a $n \times n$ chessboard must contain an empty $j \times j$ square. Assume the contrary. Consider any $(j^2) \times j$ horizontal subset of the chessboard which shares the left-most side with the main chessboard and tile it into $j$ disjoint $j \times j$ squares. Each of these squares must have a rook inside them, so there must be at least $j$ rooks inside this subset. Tile the whole chessboard with these subsets and note that each of them must have at least $j$ rooks. So if we consider the $j^2 \times j^2$ subset which shares the top-left corner with the original chessboard, it must have $j^2$ rooks which occupy $j^2$ rows and columns. The remaining rooks must be located on the $k \times k$ subset sharing the bottom-right corner of the original chessboard. Considering the $j^2 \times j^2$ subset sharing the top-right corner of the original chessboard, we see that the remaining rooks must be located on the $k \times k$ subset sharing the bottom-left corner of the original chessboard. There is no overlap between these subsets, which implies some of the remaining rooks must be in the same row, contradiction.

Now, we show that there exists a peaceful configuration on a $(j+1) \times (j+1)$ chessboard which has no $(j+1) \times (j+1)$ empty square. Tile the chessboard into $(j+1)^2$ $(j+1) \times (j+1)$ disjoint tiles and place the rooks in the tiles such that in any $(j+1)^2 \times (j+1)$ horizontal subset, the rooks are in different rows. More simply, place the origin at the bottom right corner and place rooks on the points $\{((j+1)x+y, (j+1)y+x)\}_{1 \leq x,y \leq m+1}.$ Drawing a diagram makes this construction obvious.

In conclusion, the answer is $\left \lfloor \sqrt{n-1} \right \rfloor.$
This post has been edited 1 time. Last edited by AnonymousBunny, Apr 16, 2017, 3:13 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
MarcosBH
1 post
#14 • 10 Y
Y by Ygg, Tawan, megarnie, Adventure10, Mango247, and 5 other users
Let $n=k^2 + r$ where $0<r\leq 2k+1$. Suppose that in every $k\times k$ there is a rook. Observe first $k$ rows. We have $k$ disjoint $k\times k$ blocks where $r$ columns are not covered on $k+1$ ways. This means (since in every such block there is a rook) that we have $r(k+1)$ empty columns. These columns must stay empty until last $r$ rows where they can't be covered with rooks since $r(k+1)>r$. Hence, there will always be a $k\times k$ block without a rook.

To show that $k$ is the answer we will construct a peaceful configuration for $n=(k+1)^2$ where in every $(k+1)\times(k+1)$ block there is a rook. This will be enough since the asked value is non-decreasing.
That configuration is:
\[
(1,1) \& (2, k+2) \& (3, 2k+3) \& \dots (k+1, k^2 + k+1) \\
(k+2, 2) \& (k+3, k+3) \& ( k+4, 2k+4) \dots (2k+2, k^2 + k+2) \\
\vdots \\
(k^2+ k+1, k+1) \& (k^2+k+2, 2k+2) \dots (k^2+2k+1, k^2+2k+1)
\]
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
math_explorer
583 posts
#15 • 14 Y
Y by DrMath, Tawan, megarnie, ApraTrip, Adventure10, Mango247, Elainedelia, and 7 other users
Lord.of.AMC wrote:
But note that on the IMO, one point was deducted for not proving the construction, and another point was deducted for not proving the answer is monotonic (i.e. construction for non-squares).
hidden for size

Seriously though, I primarily intended these pictures to be a supplement to the many solutions in words above and below it. I didn't see much point in adding any more solutions when they were all essentially the same. Sorry if it wasn't clear.
Z K Y
G
H
=
a