Summer is a great time to explore cool problems to keep your skills sharp!  Schedule a class today!

G
Topic
First Poster
Last Poster
k a June Highlights and 2025 AoPS Online Class Information
jlacosta   0
Jun 2, 2025
Congratulations to all the mathletes who competed at National MATHCOUNTS! If you missed the exciting Countdown Round, you can watch the video at this link. Are you interested in training for MATHCOUNTS or AMC 10 contests? How would you like to train for these math competitions in half the time? We have accelerated sections which meet twice per week instead of once starting on July 8th (7:30pm ET). These sections fill quickly so enroll today!

[list][*]MATHCOUNTS/AMC 8 Basics
[*]MATHCOUNTS/AMC 8 Advanced
[*]AMC 10 Problem Series[/list]
For those interested in Olympiad level training in math, computer science, physics, and chemistry, be sure to enroll in our WOOT courses before August 19th to take advantage of early bird pricing!

Summer camps are starting this 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 a transformative 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][*]June 5th, Thursday, 7:30pm ET: Open Discussion with Ben Kornell and Andrew Sutherland, Art of Problem Solving's incoming CEO Ben Kornell and CPO Andrew Sutherland host an Ask Me Anything-style chat. Come ask your questions and get to know our incoming CEO & CPO!
[*]June 9th, Monday, 7:30pm ET, Game Jam: Operation Shuffle!, Come join us to play our second round of Operation Shuffle! If you enjoy number sense, logic, and a healthy dose of luck, this is the game for you. No specific math background is required; all are welcome.[/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, Jun 15 - Oct 12
Monday, Jun 30 - Oct 20
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
Monday, Jun 2 - Sep 22
Sunday, Jun 29 - Oct 26
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
Sunday, Jun 15 - Oct 12
Thursday, Jun 26 - Oct 9
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
Sunday, Jun 1 - Aug 24
Thursday, Jun 12 - Aug 28
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
Tuesday, Nov 4 - Feb 10
Sunday, Dec 7 - Mar 8

Introduction to Number Theory
Monday, Jun 9 - Aug 25
Sunday, Jun 15 - Sep 14
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
Wednesday, Jun 4 - Sep 17
Sunday, Jun 22 - Oct 19
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, Jun 16 - Dec 8
Friday, Jun 20 - Jan 9
Sunday, Jun 29 - Jan 11
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!)

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
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, Jun 22 - Nov 2
Sunday, Sep 28 - Feb 15
Tuesday, Nov 4 - Mar 24

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

Precalculus
Sunday, Jun 1 - Nov 9
Monday, Jun 30 - Dec 8
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

Olympiad Geometry
Tuesday, Jun 10 - Aug 26

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

Group Theory
Thursday, Jun 12 - Sep 11

Contest Preparation: Grades 6-12

MATHCOUNTS/AMC 8 Basics
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!)
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
Wednesday, Jun 11 - Aug 27
Sunday, Jun 22 - Sep 21
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
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!)
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
Monday, Jun 30 - Jul 21
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
Thursday, Jun 12 - Aug 28
Sunday, Jun 22 - Sep 21
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
Sunday, Jun 22 - Sep 21
Tuesday, Sep 2 - Nov 18

F=ma Problem Series
Wednesday, Jun 11 - Aug 27
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
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
Thursday, Aug 14 - Oct 30
Sunday, Sep 7 - Nov 23
Tuesday, Dec 2 - Mar 3

Intermediate Programming with Python
Sunday, Jun 1 - Aug 24
Monday, Jun 30 - Sep 22
Friday, Oct 3 - Jan 16

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

Physics

Introduction to Physics
Sunday, Jun 15 - Sep 14
Monday, Jun 23 - Sep 15
Tuesday, Sep 2 - Nov 18
Sunday, Oct 5 - Jan 11
Wednesday, Dec 10 - Mar 11

Physics 1: Mechanics
Monday, Jun 23 - Dec 15
Sunday, Sep 21 - Mar 22
Sunday, Oct 26 - Apr 26

Relativity
Mon, Tue, Wed & Thurs, Jun 23 - Jun 26 (meets every day of the week!)
0 replies
jlacosta
Jun 2, 2025
0 replies
Non-classical FE
M11100111001Y1R   1
N 18 minutes ago by CatinoBarbaraCombinatoric
Source: Iran TST 2025 Test 2 Problem 3
Find all functions $f:  \mathbb{R}^+ \to \mathbb{R}^+$ such that for all $x, y >0$ we have:
$$f(f(f(xy))+x^2)=f(y)(f(x)-f(x+y))$$
1 reply
M11100111001Y1R
2 hours ago
CatinoBarbaraCombinatoric
18 minutes ago
My Unsolved Problem
ZeltaQN2008   5
N 39 minutes ago by Funcshun840
Source: IDK
Let \( ABC \) be an acute triangle inscribed in its circumcircle \( (O) \), and let \( (I) \) be its incircle. Let \( K \) be the point where the $A-mixtilinear$ incircle of triangle $ABC$ touches \((O)\). Suppose line \( OI \) intersects segment \( AK \) at \( P \), and intersects line \( BC \) at \( Q \). Let the line through \( I \) perpendicular to \( BC \) intersect line \( KQ \) at \( A' \). Prove that: \[AI \parallel PA'.\]
5 replies
ZeltaQN2008
Yesterday at 1:23 PM
Funcshun840
39 minutes ago
Angle QRP = 90°
orl   13
N 44 minutes ago by Ilikeminecraft
Source: IMO ShortList, Netherlands 1, IMO 1975, Day 1, Problem 3
In the plane of a triangle $ABC,$ in its exterior$,$ we draw the triangles $ABR, BCP, CAQ$ so that $\angle PBC = \angle CAQ = 45^{\circ}$, $\angle BCP = \angle QCA = 30^{\circ}$, $\angle ABR = \angle RAB = 15^{\circ}$.

Prove that

a.) $\angle QRP = 90\,^{\circ},$ and

b.) $QR = RP.$
13 replies
orl
Nov 12, 2005
Ilikeminecraft
44 minutes ago
students in a classroom sit in a round table, possible to split into 3 groups
parmenides51   1
N an hour ago by Magnetoninja
Source: Dutch IMO TST 2018 day 2 p4
In the classroom of at least four students the following holds: no matter which four of them take seats around a round table, there is always someone who either knows both of his neighbours, or does not know either of his neighbours. Prove that it is possible to divide the students into two groups such that in one of them, all students know one another, and in the other, none of the students know each other.

(Note: if student A knows student B, then student B knows student A as well.)
1 reply
parmenides51
Aug 30, 2019
Magnetoninja
an hour ago
No more topics!
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
6882 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