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

G
Topic
First Poster
Last Poster
k a April Highlights and 2025 AoPS Online Class Information
jlacosta   0
Apr 2, 2025
Spring is in full swing and summer is right around the corner, what are your plans? At AoPS Online our schedule has new classes starting now through July, so be sure to keep your skills sharp and be prepared for the Fall school year! Check out the schedule of upcoming classes below.

WOOT early bird pricing is in effect, don’t miss out! If you took MathWOOT Level 2 last year, no worries, it is all new problems this year! Our Worldwide Online Olympiad Training program is for high school level competitors. AoPS designed these courses to help our top students get the deep focus they need to succeed in their specific competition goals. Check out the details at this link for all our WOOT programs in math, computer science, chemistry, and physics.

Looking for summer camps in math and language arts? Be sure to check out the video-based summer camps offered at the Virtual Campus that are 2- to 4-weeks in duration. 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 events:
[list][*]April 3rd (Webinar), 4pm PT/7:00pm ET, Learning with AoPS: Perspectives from a Parent, Math Camp Instructor, and University Professor
[*]April 8th (Math Jam), 4:30pm PT/7:30pm ET, 2025 MATHCOUNTS State Discussion
April 9th (Webinar), 4:00pm PT/7:00pm ET, Learn about Video-based Summer Camps at the Virtual Campus
[*]April 10th (Math Jam), 4:30pm PT/7:30pm ET, 2025 MathILy and MathILy-Er Math Jam: Multibackwards Numbers
[*]April 22nd (Webinar), 4:00pm PT/7:00pm ET, Competitive Programming at AoPS (USACO).[/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, 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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Apr 2, 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
functional equation interesting
skellyrah   5
N 37 minutes ago by jasperE3
find all functions IR->IR such that $$xf(x+yf(xy)) + f(f(y)) = f(xf(y))^2  + (x+1)f(x)$$
5 replies
skellyrah
5 hours ago
jasperE3
37 minutes ago
For a there exist b,c with b+c-2a = 0 mod p
Miquel-point   0
an hour ago
Source: Kürschák József Competition 2024/3
Let $p$ be a prime and $H\subseteq \{0,1,\ldots,p-1\}$ a nonempty set. Suppose that for each element $a\in H$ there exist elements $b$, $c\in H\setminus \{a\}$ such that $b+ c-2a$ is divisible by $p$. Prove that $p<4^k$, where $k$ denotes the cardinality of $H$.
0 replies
Miquel-point
an hour ago
0 replies
The ancient One-Dimensional Empire
Miquel-point   0
an hour ago
Source: Kürschák József Competition 2024/2
The ancient One-Dimensional Empire was located along a straight line. Initially, there were no cities. A total of $n$ different point-like cities were founded one by one; from the second onwards, each newly founded city and the nearest existing city (the older one, if there were two) were declared sister cities. The surviving map of the empire shows the cities and the distances between them, but not the order in which they were founded. Historians have tried to deduce from the map that each city had at most 41 sister cities.
[list=a]
[*] For $n=10^6$, give a map from which this deduction can be made.
[*] Prove that for $n=10^{13}$, this conclusion cannot be drawn from any map.
[/list]
0 replies
Miquel-point
an hour ago
0 replies
Cyclic quads jigsaw
Miquel-point   0
an hour ago
Source: Kürschák József Competition 2024/1
The quadrilateral $ABCD$ is divided into cyclic quadrilaterals with pairwise disjoint interiors. None of the vertices of the cyclic quadrilaterals in the decomposition is an interior point of a side of any cyclic quadrilateral in the decomposition or of a side of the quadrilateral $ABCD$. Prove that $ABCD$ is also a cyclic quadrilateral.
0 replies
Miquel-point
an hour ago
0 replies
Geometry Handout is finally done!
SimplisticFormulas   2
N 4 hours ago by parmenides51
If there’s any typo or problem you think will be a nice addition, do send here!
handout, geometry
2 replies
SimplisticFormulas
Yesterday at 4:58 PM
parmenides51
4 hours ago
Perpendicularity with Incircle Chord
tastymath75025   31
N 5 hours ago by cj13609517288
Source: 2019 ELMO Shortlist G3
Let $\triangle ABC$ be an acute triangle with incenter $I$ and circumcenter $O$. The incircle touches sides $BC,CA,$ and $AB$ at $D,E,$ and $F$ respectively, and $A'$ is the reflection of $A$ over $O$. The circumcircles of $ABC$ and $A'EF$ meet at $G$, and the circumcircles of $AMG$ and $A'EF$ meet at a point $H\neq G$, where $M$ is the midpoint of $EF$. Prove that if $GH$ and $EF$ meet at $T$, then $DT\perp EF$.

Proposed by Ankit Bisain
31 replies
tastymath75025
Jun 27, 2019
cj13609517288
5 hours ago
tangential trapezoid with 2 right angles
parmenides51   1
N Yesterday at 6:44 PM by vanstraelen
Source: 2002 Germany R4 11.6 https://artofproblemsolving.com/community/c3208025_
A trapezoid $ABCD$ with right angles at $A$ and $D$ has an inscribed circle with center $M$ and radius $r$. Let the lengths of the parallel sides $\overline{AB}$ and $\overline{CD}$ be $a$ and $c$, and the intersection of the diagonals $\overline{AC}$ and $\overline{BD}$ be $S$.
1. Prove that the perpendicular from $S$ to one of the trapezoid sides has the length $r$.
2. Determine the distance between $M$ and $S$ as a function of $r$ and $a$.
1 reply
parmenides51
Sep 25, 2024
vanstraelen
Yesterday at 6:44 PM
Neuberg Cubic leads to fixed point
YaoAOPS   1
N Yesterday at 6:02 PM by huoxy1623
Source: own
Let $P$ be a point on the Neuberg cubic. Show that as $P$ varies, the Nine Point Circle of the antipedal triangle of $P$ goes through a fixed point.
1 reply
YaoAOPS
Yesterday at 5:06 PM
huoxy1623
Yesterday at 6:02 PM
lots of perpendicular
m4thbl3nd3r   0
Yesterday at 4:44 PM
Let $\omega$ be the circumcircle of a non-isosceles triangle $ABC$ and $SA$ be a tangent line to $\omega$ ($S\in BC$). Let $AD\perp BC,I$ be midpoint of $BC$ and $IQ\perp AB,AH\perp SO,AH\cap QD=K$. Prove that $SO\parallel CK$
0 replies
m4thbl3nd3r
Yesterday at 4:44 PM
0 replies
Solve All 6 IMO 2024 Problems (42/42), New Framework Looking for Feedback
Blackhole.LightKing   3
N Yesterday at 3:07 PM by DottedCaculator
Hi everyone,

I’ve been experimenting with a different way of approaching mathematical problem solving — a framework that emphasizes recursive structures and symbolic alignment rather than conventional step-by-step strategies.

Using this method, I recently attempted all six problems from IMO 2024 and was able to arrive at what I believe are valid full-mark solutions across the board (42/42 total score, by standard grading).

However, I don’t come from a formal competition background, so I’m sure there are gaps in clarity, communication, or even logic that I’m not fully aware of.

If anyone here is willing to take a look and provide feedback, I’d appreciate it — especially regarding:

The correctness and completeness of the proofs

Suggestions on how to make the ideas clearer or more elegant

Whether this approach has any broader potential or known parallels

I'm here to learn more and improve the presentation and thinking behind the work.

You can download the Solution here.

https://agi-origin.com/assets/pdf/AGI-Origin_IMO_2024_Solution.pdf


Thanks in advance,
— BlackholeLight0


3 replies
Blackhole.LightKing
Yesterday at 12:14 PM
DottedCaculator
Yesterday at 3:07 PM
circle geometry showing perpendicularity
Kyj9981   4
N Yesterday at 2:41 PM by cj13609517288
Two circles $\omega_1$ and $\omega_2$ intersect at points $A$ and $B$. A line through $B$ intersects $\omega_1$ and $\omega_2$ at points $C$ and $D$, respectively. Line $AD$ intersects $\omega_1$ at point $E \neq A$, and line $AC$ intersects $\omega_2$ at point $F \neq A$. If $O$ is the circumcenter of $\triangle AEF$, prove that $OB \perp CD$.
4 replies
Kyj9981
Mar 18, 2025
cj13609517288
Yesterday at 2:41 PM
Prove excircle is tangent to circumcircle
sarjinius   8
N Yesterday at 2:30 PM by Lyzstudent
Source: Philippine Mathematical Olympiad 2025 P4
Let $ABC$ be a triangle with incenter $I$, and let $D$ be a point on side $BC$. Points $X$ and $Y$ are chosen on lines $BI$ and $CI$ respectively such that $DXIY$ is a parallelogram. Points $E$ and $F$ are chosen on side $BC$ such that $AX$ and $AY$ are the angle bisectors of angles $\angle BAE$ and $\angle CAF$ respectively. Let $\omega$ be the circle tangent to segment $EF$, the extension of $AE$ past $E$, and the extension of $AF$ past $F$. Prove that $\omega$ is tangent to the circumcircle of triangle $ABC$.
8 replies
sarjinius
Mar 9, 2025
Lyzstudent
Yesterday at 2:30 PM
Excircle Tangency Points Concyclic with A
tastymath75025   35
N Yesterday at 12:04 PM by bin_sherlo
Source: USA Winter TST for IMO 2019, Problem 6, by Ankan Bhattacharya
Let $ABC$ be a triangle with incenter $I$, and let $D$ be a point on line $BC$ satisfying $\angle AID=90^{\circ}$. Let the excircle of triangle $ABC$ opposite the vertex $A$ be tangent to $\overline{BC}$ at $A_1$. Define points $B_1$ on $\overline{CA}$ and $C_1$ on $\overline{AB}$ analogously, using the excircles opposite $B$ and $C$, respectively.

Prove that if quadrilateral $AB_1A_1C_1$ is cyclic, then $\overline{AD}$ is tangent to the circumcircle of $\triangle DB_1C_1$.

Ankan Bhattacharya
35 replies
tastymath75025
Jan 21, 2019
bin_sherlo
Yesterday at 12:04 PM
Domain swept by a parabola
Kunihiko_Chikaya   1
N Yesterday at 11:40 AM by Mathzeus1024
Source: 2015 The University of Tokyo entrance exam for Medicine, BS
For a positive real number $a$, consider the following parabola on the coordinate plane.
$C:\ y=ax^2+\frac{1-4a^2}{4a}$
When $a$ ranges over all positive real numbers, draw the domain of the set swept out by $C$.
1 reply
Kunihiko_Chikaya
Feb 25, 2015
Mathzeus1024
Yesterday at 11:40 AM
NEPAL TST DAY 2 PROBLEM 2
Tony_stark0094   6
N Apr 16, 2025 by cursed_tangent1434
Kritesh manages traffic on a $45 \times 45$ grid consisting of 2025 unit squares. Within each unit square is a car, facing either up, down, left, or right. If the square in front of a car in the direction it is facing is empty, it can choose to move forward. Each car wishes to exit the $45 \times 45$ grid.

Kritesh realizes that it may not always be possible for all the cars to leave the grid. Therefore, before the process begins, he will remove $k$ cars from the $45 \times 45$ grid in such a way that it becomes possible for all the remaining cars to eventually exit the grid.

What is the minimum value of $k$ that guarantees that Kritesh's job is possible?

$\textbf{Proposed by Shining Sun. USA}$
6 replies
Tony_stark0094
Apr 12, 2025
cursed_tangent1434
Apr 16, 2025
NEPAL TST DAY 2 PROBLEM 2
G H J
G H BBookmark kLocked kLocked NReply
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Tony_stark0094
65 posts
#1 • 1 Y
Y by cubres
Kritesh manages traffic on a $45 \times 45$ grid consisting of 2025 unit squares. Within each unit square is a car, facing either up, down, left, or right. If the square in front of a car in the direction it is facing is empty, it can choose to move forward. Each car wishes to exit the $45 \times 45$ grid.

Kritesh realizes that it may not always be possible for all the cars to leave the grid. Therefore, before the process begins, he will remove $k$ cars from the $45 \times 45$ grid in such a way that it becomes possible for all the remaining cars to eventually exit the grid.

What is the minimum value of $k$ that guarantees that Kritesh's job is possible?

$\textbf{Proposed by Shining Sun. USA}$
This post has been edited 2 times. Last edited by Tony_stark0094, Apr 13, 2025, 3:12 AM
Reason: typo
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
sansgankrsngupta
131 posts
#2 • 1 Y
Y by cubres
OG! I claim $k= 484$ is the answer:
Proof: I am lazy to write but its pretty natural.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
ND_
44 posts
#3 • 1 Y
Y by cubres
$k= 1012$ is the answer. To prove that it is minimal, consider the situation where cars in left 22 rows face right and right 22 rows face left, and top 22 cars in the middle row face down.

To prove that it suffices, we remove either all the left facing cars or right facing cars, whichever is less. Similarly, for up and down. So, we remove less than half of the cars, or less than 1012 cars. WLOG let us remove the up and right cars. We can clear the cars facing down in the bottom row first, then the left facing ones in the bottom row. So we can clear each row sequentially and hence clear the grid.
This post has been edited 2 times. Last edited by ND_, Apr 13, 2025, 3:44 AM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
User_two
8 posts
#4 • 1 Y
Y by cubres
ND_ wrote:
$k= 990$ is the answer. To prove that it is minimal, consider the situation where cars in left 22 rows face right and right 23 rows face left.

Apparently, it is k=1012.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Mathdreams
1469 posts
#5 • 2 Y
Y by cubres, khan.academy
My problem!

Grid combo is the best. :showoff:

Solution
This post has been edited 2 times. Last edited by Mathdreams, Apr 12, 2025, 8:40 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
ThatApollo777
73 posts
#6
Y by
I am skill issue, why did this take 2 hours.

The answer is $\lfloor \frac{2025}{2} \rfloor = 1012$.

Part 1: Bounds can be achieved.
Pf: Fill the upper $1012 \cdot 2025$ with cars pointing down. Fill the lower $1012 \cdot 2025$ with cars pointing up. Fill the rightmost $1013$ cells of the remaining row with cars pointing left and the remaining $1012$ with cars pointing right. After removing the cars, every column must have all up cars or all down cars removed and the middle row must have all left or all right cars removed, doing a simple count this gives at least $1012$ cars must be removed.

Part 2: We can always succeed in $1012$ removals.
Pf: Remove either all cars that point (right or up) or (left or down), whichever is less cars. These will be less than $1012.5$. WLOG assume these are are the right or up cars. Now let any car that can move, move in any order. Since the distance of every car from the edge it will leave from strictly decreases this process must terminate. If any cars are left after that, take the car which is on cell with minimum value of sum of coordinates. Since it points left or down, it must be able to move contradicting the process has terminated.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
cursed_tangent1434
599 posts
#7 • 1 Y
Y by khan.academy
Extremely quick and easy. The answer is $\frac{n^2-1}{2}$ for any $n \times n$ grid for odd $n$. We start off by providing a construction.

In the rightmost column, park cars facing down and up alternately and it the other columns park cars along each row facing left and right alternately. In the rightmost column, we cannot leave any two cars facing opposite directions as they cannot reach the end of the board without bumping into each other, so atleast $\frac{n-1}{2}$ cars must be removed. In each row, no cars facing opposite directions can be remaining as they bump into each other. Thus, in each row either all the right-facing or left-facing cars must be removed, mandating a removal of at least
\[\frac{n(n-1)}{2} + \frac{n-1}{2} = \frac{n^2-1}{2}\]cars as desired.

For the bound, note that if the board only has one of right-facing and left-facing and one of up-facing and down-facing cars, they may eventually all leave the board. This is because, if WLOG only right-facing and down-facing cars are left, starting from the rightmost column, the right-facing cars of each row exit the board, leaving space for the down-facing cars to leave and continue until all the cars leave the board. Further, let $U$ , $D$ , $L$ and $R$ denote the number of cars facing each direction. Since,
\[(U+L)+(U+R)+(D+R)+(D+L) = 2n^2\]we have that,
\[\min\{U+L, U+R , D+R , D+L\} \le \left \lfloor \frac{2n^2}{4}  \right \rfloor = \frac{n^2-1}{2}\]which finishes the proof of the bound and we are done.
Z K Y
N Quick Reply
G
H
=
a