Join our FREE webinar on May 1st to learn about managing anxiety.

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 Peer-to-Peer Programs Forum
jwelsh   157
N Dec 11, 2023 by cw357
Many of our AoPS Community members share their knowledge with their peers in a variety of ways, ranging from creating mock contests to creating real contests to writing handouts to hosting sessions as part of our partnership with schoolhouse.world.

To facilitate students in these efforts, we have created a new Peer-to-Peer Programs forum. With the creation of this forum, we are starting a new process for those of you who want to advertise your efforts. These advertisements and ensuing discussions have been cluttering up some of the forums that were meant for other purposes, so we’re gathering these topics in one place. This also allows students to find new peer-to-peer learning opportunities without having to poke around all the other forums.

To announce your program, or to invite others to work with you on it, here’s what to do:

1) Post a new topic in the Peer-to-Peer Programs forum. This will be the discussion thread for your program.

2) Post a single brief post in this thread that links the discussion thread of your program in the Peer-to-Peer Programs forum.

Please note that we’ll move or delete any future advertisement posts that are outside the Peer-to-Peer Programs forum, as well as any posts in this topic that are not brief announcements of new opportunities. In particular, this topic should not be used to discuss specific programs; those discussions should occur in topics in the Peer-to-Peer Programs forum.

Your post in this thread should have what you're sharing (class, session, tutoring, handout, math or coding game/other program) and a link to the thread in the Peer-to-Peer Programs forum, which should have more information (like where to find what you're sharing).
157 replies
jwelsh
Mar 15, 2021
cw357
Dec 11, 2023
k i C&P posting recs by mods
v_Enhance   0
Jun 12, 2020
The purpose of this post is to lay out a few suggestions about what kind of posts work well for the C&P forum. Except in a few cases these are mostly meant to be "suggestions based on historical trends" rather than firm hard rules; we may eventually replace this with an actual list of firm rules but that requires admin approval :) That said, if you post something in the "discouraged" category, you should not be totally surprised if it gets locked; they are discouraged exactly because past experience shows they tend to go badly.
-----------------------------
1. Program discussion: Allowed
If you have questions about specific camps or programs (e.g. which classes are good at X camp?), these questions fit well here. Many camps/programs have specific sub-forums too but we understand a lot of them are not active.
-----------------------------
2. Results discussion: Allowed
You can make threads about e.g. how you did on contests (including AMC), though on AMC day when there is a lot of discussion. Moderators and administrators may do a lot of thread-merging / forum-wrangling to keep things in one place.
-----------------------------
3. Reposting solutions or questions to past AMC/AIME/USAMO problems: Allowed
This forum contains a post for nearly every problem from AMC8, AMC10, AMC12, AIME, USAJMO, USAMO (and these links give you an index of all these posts). It is always permitted to post a full solution to any problem in its own thread (linked above), regardless of how old the problem is, and even if this solution is similar to one that has already been posted. We encourage this type of posting because it is helpful for the user to explain their solution in full to an audience, and for future users who want to see multiple approaches to a problem or even just the frequency distribution of common approaches. We do ask for some explanation; if you just post "the answer is (B); ez" then you are not adding anything useful.

You are also encouraged to post questions about a specific problem in the specific thread for that problem, or about previous user's solutions. It's almost always better to use the existing thread than to start a new one, to keep all the discussion in one place easily searchable for future visitors.
-----------------------------
4. Advice posts: Allowed, but read below first
You can use this forum to ask for advice about how to prepare for math competitions in general. But you should be aware that this question has been asked many many times. Before making a post, you are encouraged to look at the following:
[list]
[*] Stop looking for the right training: A generic post about advice that keeps getting stickied :)
[*] There is an enormous list of links on the Wiki of books / problems / etc for all levels.
[/list]
When you do post, we really encourage you to be as specific as possible in your question. Tell us about your background, what you've tried already, etc.

Actually, the absolute best way to get a helpful response is to take a few examples of problems that you tried to solve but couldn't, and explain what you tried on them / why you couldn't solve them. Here is a great example of a specific question.
-----------------------------
5. Publicity: use P2P forum instead
See https://artofproblemsolving.com/community/c5h2489297_peertopeer_programs_forum.
Some exceptions have been allowed in the past, but these require approval from administrators. (I am not totally sure what the criteria is. I am not an administrator.)
-----------------------------
6. Mock contests: use Mock Contests forum instead
Mock contests should be posted in the dedicated forum instead:
https://artofproblemsolving.com/community/c594864_aops_mock_contests
-----------------------------
7. AMC procedural questions: suggest to contact the AMC HQ instead
If you have a question like "how do I submit a change of venue form for the AIME" or "why is my name not on the qualifiers list even though I have a 300 index", you would be better off calling or emailing the AMC program to ask, they are the ones who can help you :)
-----------------------------
8. Discussion of random math problems: suggest to use MSM/HSM/HSO instead
If you are discussing a specific math problem that isn't from the AMC/AIME/USAMO, it's better to post these in Middle School Math, High School Math, High School Olympiads instead.
-----------------------------
9. Politics: suggest to use Round Table instead
There are important conversations to be had about things like gender diversity in math contests, etc., for sure. However, from experience we think that C&P is historically not a good place to have these conversations, as they go off the rails very quickly. We encourage you to use the Round Table instead, where it is much more clear that all posts need to be serious.
-----------------------------
10. MAA complaints: discouraged
We don't want to pretend that the MAA is perfect or that we agree with everything they do. However, we chose to discourage this sort of behavior because in practice most of the comments we see are not useful and some are frankly offensive.
[list] [*] If you just want to blow off steam, do it on your blog instead.
[*] When you have criticism, it should be reasoned, well-thought and constructive. What we mean by this is, for example, when the AOIME was announced, there was great outrage about potential cheating. Well, do you really think that this is something the organizers didn't think about too? Simply posting that "people will cheat and steal my USAMOO qualification, the MAA are idiots!" is not helpful as it is not bringing any new information to the table.
[*] Even if you do have reasoned, well-thought, constructive criticism, we think it is actually better to email it the MAA instead, rather than post it here. Experience shows that even polite, well-meaning suggestions posted in C&P are often derailed by less mature users who insist on complaining about everything.
[/list]
-----------------------------
11. Memes and joke posts: discouraged
It's fine to make jokes or lighthearted posts every so often. But it should be done with discretion. Ideally, jokes should be done within a longer post that has other content. For example, in my response to one user's question about olympiad combinatorics, I used a silly picture of Sogiita Gunha, but it was done within a context of a much longer post where it was meant to actually make a point.

On the other hand, there are many threads which consist largely of posts whose only content is an attached meme with the word "MAA" in it. When done in excess like this, the jokes reflect poorly on the community, so we explicitly discourage them.
-----------------------------
12. Questions that no one can answer: discouraged
Examples of this: "will MIT ask for AOIME scores?", "what will the AIME 2021 cutoffs be (asked in 2020)", etc. Basically, if you ask a question on this forum, it's better if the question is something that a user can plausibly answer :)
-----------------------------
13. Blind speculation: discouraged
Along these lines, if you do see a question that you don't have an answer to, we discourage "blindly guessing" as it leads to spreading of baseless rumors. For example, if you see some user posting "why are there fewer qualifiers than usual this year?", you should not reply "the MAA must have been worried about online cheating so they took fewer people!!". Was sich überhaupt sagen lässt, lässt sich klar sagen; und wovon man nicht reden kann, darüber muss man schweigen.
-----------------------------
14. Discussion of cheating: strongly discouraged
If you have evidence or reasonable suspicion of cheating, please report this to your Competition Manager or to the AMC HQ; these forums cannot help you.
Otherwise, please avoid public discussion of cheating. That is: no discussion of methods of cheating, no speculation about how cheating affects cutoffs, and so on --- it is not helpful to anyone, and it creates a sour atmosphere. A longer explanation is given in Seriously, please stop discussing how to cheat.
-----------------------------
15. Cutoff jokes: never allowed
Whenever the cutoffs for any major contest are released, it is very obvious when they are official. In the past, this has been achieved by the numbers being posted on the official AMC website (here) or through a post from the AMCDirector account.

You must never post fake cutoffs, even as a joke. You should also refrain from posting cutoffs that you've heard of via email, etc., because it is better to wait for the obvious official announcement. A longer explanation is given in A Treatise on Cutoff Trolling.
-----------------------------
16. Meanness: never allowed
Being mean is worse than being immature and unproductive. If another user does something which you think is inappropriate, use the Report button to bring the post to moderator attention, or if you really must reply, do so in a way that is tactful and constructive rather than inflammatory.
-----------------------------

Finally, we remind you all to sit back and enjoy the problems. :D

-----------------------------
(EDIT 2024-09-13: AoPS has asked to me to add the following item.)

Advertising paid program or service: never allowed

Per the AoPS Terms of Service (rule 5h), general advertisements are not allowed.

While we do allow advertisements of official contests (at the MAA and MATHCOUNTS level) and those run by college students with at least one successful year, any and all advertisements of a paid service or program is not allowed and will be deleted.
0 replies
v_Enhance
Jun 12, 2020
0 replies
k i Stop looking for the "right" training
v_Enhance   50
N Oct 16, 2017 by blawho12
Source: Contest advice
EDIT 2019-02-01: https://blog.evanchen.cc/2019/01/31/math-contest-platitudes-v3/ is the updated version of this.

EDIT 2021-06-09: see also https://web.evanchen.cc/faq-contest.html.

Original 2013 post
50 replies
v_Enhance
Feb 15, 2013
blawho12
Oct 16, 2017
Easy Geometry
ayan.nmath   41
N 12 minutes ago by L13832
Source: Indian TST 2019 Practice Test 2 P1
Let the points $O$ and $H$ be the circumcenter and orthocenter of an acute angled triangle $ABC.$ Let $D$ be the midpoint of $BC.$ Let $E$ be the point on the angle bisector of $\angle BAC$ such that $AE\perp HE.$ Let $F$ be the point such that $AEHF$ is a rectangle. Prove that $D,E,F$ are collinear.
41 replies
ayan.nmath
Jul 17, 2019
L13832
12 minutes ago
Construct
Pomegranat   1
N 12 minutes ago by quacksaysduck
Source: idk
Let \( p \) be a prime number. Prove that there exists a natural number \( n \) such that
\[
p \mid 2024^n - n.
\]
1 reply
Pomegranat
32 minutes ago
quacksaysduck
12 minutes ago
inequality problem
pennypc123456789   3
N an hour ago by GeoMorocco
Given $a,b,c$ be positive real numbers . Prove that
$$\frac{ab}{(a+b)^2} +\frac{bc}{(b+c)^2}+\frac{ac}{(a+c)^2} \ge \frac{6abc }{(a+b)(b+c)(a+c)}$$
3 replies
pennypc123456789
Yesterday at 2:42 PM
GeoMorocco
an hour ago
China Northern MO 2009 p4 CNMO
parkjungmin   0
an hour ago
Source: China Northern MO 2009 p4 CNMO
China Northern MO 2009 p4 CNMO

The problem is too difficult.
Is there anyone who can help me?
0 replies
parkjungmin
an hour ago
0 replies
9 Mathpath vs. AMSP
FuturePanda   32
N Today at 12:11 AM by gavinhaominwang
Hi everyone,

For an AIME score of 7-11, would you recommend MathPath or AMSP Level 2/3?

Thanks in advance!
Also people who have gone to them, please tell me more about the programs!
32 replies
FuturePanda
Jan 30, 2025
gavinhaominwang
Today at 12:11 AM
sussy baka stop intersecting in my lattice points
Spectator   24
N Yesterday at 11:56 PM by ilikemath247365
Source: 2022 AMC 10A #25
Let $R$, $S$, and $T$ be squares that have vertices at lattice points (i.e., points whose coordinates are both integers) in the coordinate plane, together with their interiors. The bottom edge of each square is on the x-axis. The left edge of $R$ and the right edge of $S$ are on the $y$-axis, and $R$ contains $\frac{9}{4}$ as many lattice points as does $S$. The top two vertices of $T$ are in $R \cup S$, and $T$ contains $\frac{1}{4}$ of the lattice points contained in $R \cup S$. See the figure (not drawn to scale).

IMAGE

The fraction of lattice points in $S$ that are in $S \cap T$ is 27 times the fraction of lattice points in $R$ that are in $R \cap T$. What is the minimum possible value of the edge length of $R$ plus the edge length of $S$ plus the edge length of $T$?

$\textbf{(A) }336\qquad\textbf{(B) }337\qquad\textbf{(C) }338\qquad\textbf{(D) }339\qquad\textbf{(E) }340$
24 replies
Spectator
Nov 11, 2022
ilikemath247365
Yesterday at 11:56 PM
JSMC texas
BossLu99   28
N Yesterday at 11:53 PM by miles888
who is going to JSMC texas
28 replies
BossLu99
Monday at 1:32 PM
miles888
Yesterday at 11:53 PM
Question
HopefullyMcNats2025   19
N Yesterday at 10:29 PM by MC_ADe
Is it more difficult to make MOP or make usajmo, usapho, and usabo
19 replies
HopefullyMcNats2025
Apr 7, 2025
MC_ADe
Yesterday at 10:29 PM
System
worthawholebean   10
N Yesterday at 9:24 PM by daijobu
Source: AIME 2008II Problem 14
Let $ a$ and $ b$ be positive real numbers with $ a\ge b$. Let $ \rho$ be the maximum possible value of $ \frac{a}{b}$ for which the system of equations
\[ a^2+y^2=b^2+x^2=(a-x)^2+(b-y)^2\]has a solution in $ (x,y)$ satisfying $ 0\le x<a$ and $ 0\le y<b$. Then $ \rho^2$ can be expressed as a fraction $ \frac{m}{n}$, where $ m$ and $ n$ are relatively prime positive integers. Find $ m+n$.
10 replies
worthawholebean
Apr 3, 2008
daijobu
Yesterday at 9:24 PM
Mathcounts state
happymoose666   33
N Yesterday at 9:19 PM by tikachaudhuri
Hi everyone,
I just have a question. I live in PA and I sadly didn't make it to nationals this year. Is PA a competitive state? I'm new into mathcounts and not sure
33 replies
happymoose666
Mar 24, 2025
tikachaudhuri
Yesterday at 9:19 PM
2025 ELMOCOUNTS - Mock MATHCOUNTS Nationals
vincentwant   135
N Yesterday at 2:11 PM by Soupboy0
text totally not copied over from wmc (thanks jason <3)
Quick Links:
[list=disc]
[*] National: (Sprint) (Target) (Team) (Sprint + Target Submission) (Team Submission) [/*]
[*] Miscellaneous: (Leaderboard) (Sprint + Target Private Discussion Forum) (Team Discussion Forum)[/*]
[/list]
-----
Eddison Chen (KS '22 '24), Aarush Goradia (CO '24), Ethan Imanuel (NJ '24), Benjamin Jiang (FL '23 '24), Rayoon Kim (PA '23 '24), Jason Lee (NC '23 '24), Puranjay Madupu (AZ '23 '24), Andy Mo (OH '23 '24), George Paret (FL '24), Arjun Raman (IN '24), Vincent Wang (TX '24), Channing Yang (TX '23 '24), and Jefferson Zhou (MN '23 '24) present:



[center]IMAGE[/center]

[center]Image credits to Simon Joeng.[/center]

2024 MATHCOUNTS Nationals alumni from all across the nation have come together to administer the first-ever ELMOCOUNTS Competition, a mock written by the 2024 Nationals alumni given to the 2025 Nationals participants. By providing the next generation of mathletes with free, high quality practice, we're here to boast how strong of an alumni community MATHCOUNTS has, as well as foster interest in the beautiful art that is problem writing!

The tests and their corresponding submissions forms will be released here, on this thread, on Monday, April 21, 2025. The deadline is May 10, 2025. Tests can be administered asynchronously at your home or school, and your answers should be submitted to the corresponding submission form. If you include your AoPS username in your submission, you will be granted access to the private discussion forum on AoPS, where you can discuss the tests even before the deadline.
[list=disc]
[*] "How do I know these tests are worth my time?" [/*]
[*] "Who can participate?" [/*]
[*] "How do I sign up?" [/*]
[*] "What if I have multiple students?" [/*]
[*] "What if a problem is ambiguous, incorrect, etc.?" [/*]
[*] "Will there be solutions?" [/*]
[*] "Will there be a Countdown Round administered?" [/*]
[/list]
If you have any other questions, feel free to email us at elmocounts2025@gmail.com (or PM me)!
135 replies
vincentwant
Apr 20, 2025
Soupboy0
Yesterday at 2:11 PM
Jumping on Lily Pads to Avoid a Snake
brandbest1   53
N Yesterday at 5:14 AM by ESAOPS
Source: 2014 AMC 10B #25 & 2014 AMC 12B #22
In a small pond there are eleven lily pads in a row labeled $0$ through $10$. A frog is sitting on pad $1$. When the frog is on pad $N$, $0<N<10$, it will jump to pad $N-1$ with probability $\frac{N}{10}$ and to pad $N+1$ with probability $1-\frac{N}{10}$. Each jump is independent of the previous jumps. If the frog reaches pad $0$ it will be eaten by a patiently waiting snake. If the frog reaches pad $10$ it will exit the pond, never to return. What is the probability that the frog will escape being eaten by the snake?

$ \textbf {(A) } \frac{32}{79} \qquad \textbf {(B) } \frac{161}{384} \qquad \textbf {(C) } \frac{63}{146} \qquad \textbf {(D) } \frac{7}{16} \qquad \textbf {(E) } \frac{1}{2} $
53 replies
brandbest1
Feb 20, 2014
ESAOPS
Yesterday at 5:14 AM
How many people get waitlisted st promys?
dragoon   28
N Yesterday at 2:12 AM by ThriftyPiano
Asking for a friend here
28 replies
dragoon
Apr 18, 2025
ThriftyPiano
Yesterday at 2:12 AM
2025 Math and AI 4 Girls Competition: Win Up To $1,000!!!
audio-on   63
N Yesterday at 12:56 AM by RainbowSquirrel53B
Join the 2025 Math and AI 4 Girls Competition for a chance to win up to $1,000!

Hey Everyone, I'm pleased to announce the dates for the 2025 MA4G Competition are set!
Applications will open on March 22nd, 2025, and they will close on April 26th, 2025 (@ 11:59pm PST).

Applicants will have one month to fill out an application with prizes for the top 50 contestants & cash prizes for the top 20 contestants (including $1,000 for the winner!). More details below!

Eligibility:
The competition is free to enter, and open to middle school female students living in the US (5th-8th grade).
Award recipients are selected based on their aptitude, activities and aspirations in STEM.

Event dates:
Applications will open on March 22nd, 2025, and they will close on April 26th, 2025 (by 11:59pm PST)
Winners will be announced on June 28, 2025 during an online award ceremony.

Application requirements:
Complete a 12 question problem set on math and computer science/AI related topics
Write 2 short essays

Prizes:
1st place: $1,000 Cash prize
2nd place: $500 Cash prize
3rd place: $300 Cash prize
4th-10th: $100 Cash prize each
11th-20th: $50 Cash prize each
Top 50 contestants: Over $50 worth of gadgets and stationary


Many thanks to our current and past sponsors and partners: Hudson River Trading, MATHCOUNTS, Hewlett Packard Enterprise, Automation Anywhere, JP Morgan Chase, D.E. Shaw, and AI4ALL.

Math and AI 4 Girls is a nonprofit organization aiming to encourage young girls to develop an interest in math and AI by taking part in STEM competitions and activities at an early age. The organization will be hosting an inaugural Math and AI 4 Girls competition to identify talent and encourage long-term planning of academic and career goals in STEM.

Contact:
mathandAI4girls@yahoo.com

For more information on the competition:
https://www.mathandai4girls.org/math-and-ai-4-girls-competition

More information on how to register will be posted on the website. If you have any questions, please ask here!


63 replies
audio-on
Jan 26, 2025
RainbowSquirrel53B
Yesterday at 12:56 AM
Turbo's en route to visit each cell of the board
Lukaluce   21
N Apr 23, 2025 by zRevenant
Source: EGMO 2025 P5
Let $n > 1$ be an integer. In a configuration of an $n \times n$ board, each of the $n^2$ cells contains an arrow, either pointing up, down, left, or right. Given a starting configuration, Turbo the snail starts in one of the cells of the board and travels from cell to cell. In each move, Turbo moves one square unit in the direction indicated by the arrow in her cell (possibly leaving the board). After each move, the arrows in all of the cells rotate $90^{\circ}$ counterclockwise. We call a cell good if, starting from that cell, Turbo visits each cell of the board exactly once, without leaving the board, and returns to her initial cell at the end. Determine, in terms of $n$, the maximum number of good cells over all possible starting configurations.

Proposed by Melek Güngör, Turkey
21 replies
Lukaluce
Apr 14, 2025
zRevenant
Apr 23, 2025
Turbo's en route to visit each cell of the board
G H J
Source: EGMO 2025 P5
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Lukaluce
267 posts
#1 • 8 Y
Y by farhad.fritl, TeodorVonBurg, radian_51, dangerousliri, Gato_combinatorio, qlip, mathleticguyyy, ehuseyinyigit
Let $n > 1$ be an integer. In a configuration of an $n \times n$ board, each of the $n^2$ cells contains an arrow, either pointing up, down, left, or right. Given a starting configuration, Turbo the snail starts in one of the cells of the board and travels from cell to cell. In each move, Turbo moves one square unit in the direction indicated by the arrow in her cell (possibly leaving the board). After each move, the arrows in all of the cells rotate $90^{\circ}$ counterclockwise. We call a cell good if, starting from that cell, Turbo visits each cell of the board exactly once, without leaving the board, and returns to her initial cell at the end. Determine, in terms of $n$, the maximum number of good cells over all possible starting configurations.

Proposed by Melek Güngör, Turkey
This post has been edited 1 time. Last edited by Lukaluce, Apr 14, 2025, 11:54 AM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
BR1F1SZ
562 posts
#2 • 5 Y
Y by GuvercinciHoca, CT17, radian_51, Gato_combinatorio, qlip
Great problem! :)

(Should have been IMO P5 instead...)
This post has been edited 1 time. Last edited by BR1F1SZ, Apr 14, 2025, 11:08 AM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
GuvercinciHoca
122 posts
#3 • 35 Y
Y by bin_sherlo, egxa, Assassino9931, Lukaluce, NicoN9, Sadigly, BR1F1SZ, alexanderhamilton124, MuradSafarli, Rg230403, farhad.fritl, vangelis, AlperenINAN, MS_asdfgzxcvb, giangtruong13, AnSoLiN, aidan0626, EpicBird08, Sedro, Euclid9876, hakN, TeodorVonBurg, Fibonacci_11235, Steff9, agwwtl03, solidgreen, radian_51, mariairam, SatisfiedMagma, khina, poirasss, X.Allaberdiyev, zaidova, Yiyj1, ehuseyinyigit
Proposed by Melek Güngör, Turkey (my problem :) ). Hope you all like it!!! It is the first problem in EGMO which proposed by Turkey since 2015 p2.
This post has been edited 1 time. Last edited by GuvercinciHoca, Apr 14, 2025, 11:38 AM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
DottedCaculator
7344 posts
#4 • 1 Y
Y by radian_51
If $n$ is odd, no cells can be good because there is no cycle visiting every cell once.

If $n$ is even, we claim the answer is $\frac{n^2}4$. Each good cell has a corresponding cycle on the grid. Note that if a cell is good, then every fourth cell on that cycle is also good because it traces the same cycle. Thus, $\frac{n^2}4$ is easy to construct by taking one cycle. Now, we show two distinct cycles are impossible. Consider the moment Turbo reaches the top left corner. There are two possible next moves: right and down, so there are at most two possible cycles. If both cycles are possible, then they approach the corner in opposite directions. Then, considering the approach from the bottom, the corner must have the following configuration, up to rotation:
D(L/U)
U

Considering the approach from the right, the corner must have the following configuration, up to rotation:
LL
(U/L)

These are contradictory.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
bin_sherlo
713 posts
#5 • 1 Y
Y by radian_51
This proof is not detailed, kind of a sketch.
First notice that if $n$ is odd, then there is no such route which can be seen by chessboard colouring. Let's show that the maximum is $\frac{n^2}{4}$ for even $n'$s.
Lower Bound: Pick any cyclic route, we see that if a square is good, the square reached after $4$ moves from that square must be also good. Thus, we get $\frac{n^2}{4}$ good squares.
Upper Bound: Let's start by presenting a lemma.

Lemma: Let $(i,j) $be the square in $i.$ row $j.$ column and $A(i,j)$ be the arrow in that square. If there is a route passing through $A(1,2),A(1,1),A(2,1)$ in this order, then $A(1,2)=A(1,1)$.
Proof. Working on $4$ cases give the result.

Suppose that two distinct cyclic routes exist. If these two routes are passing through $A(1,2),A(1,1),A(2,1)$ and $A(2,1),A(1,1),A(1,2)$ then $A(1,2)=A(1,1)=A(2,1)$. However the route starting from $A(2,1)$ cannot exist in this case.
These routes must go in the same direction. WLOG let both of them follow the route as $A(1,2),A(1,1),A(2,1)$. We have $A(1,2)=A(1,1)$. But this implies that these route are the same. We get a contradiction as desired.$\blacksquare$
This post has been edited 1 time. Last edited by bin_sherlo, Apr 14, 2025, 1:12 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
EeEeRUT
66 posts
#6 • 2 Y
Y by GuvercinciHoca, radian_51
If $n$ is odd, then color the board in chessboard manner, then there are more black square than white square, vice versa. That is no cycle exists.
Hence, consider even positive integer $n$.
We claim that the answer is $\frac{n^2}{4}$.
The construction is to construct a board with arrows forming cycles, then pick a square to start and then reverse the rotation to satisfy the condition.
Since, in every $4$ moves, the arrows return to its initial orientation, there are $\frac{n^2}{4}$ squares to start with. That is $\frac{n^2}{4}$ good cells.

Now, we are left to show that no board with more than $\frac{n^2}{4}$ good cells exists.
Suppose there exist some board with more good cells than $\frac{n^2}{4}$. Since, each cycle can gives us at most $\frac{n^2}{4}$ good cells, there exist another cycles in such squares. Call these $2$ cycle, $C_1$ and $C_2$. Suppose the good cells from cycles $C_1$ and $C_2$ are in squares of the same colors. Note that if at least one arrows when it is in the same orientation in both cycles, then the rest of the arrows in both cycles are same. For any arrow $A$, let $f(A)$ denote the number of moves done when the arrow $A$ is used in modulo $4$. Also, for any arrow $A$ in cycle $C_1$ in square $S$ at some moment, denote $-A$ as an arrow in $C_2$ in square $S$ in the exact same moment.
Hence, note that $$f(A) \neq f(-A)$$and since both cycle have good cells of the same colors, we have $$2 \mid f(A) - f(-A)$$Hence, $$| f(A) - f(-A)| = 2$$That is $-A$ is the reflection of $A$. So, we run into contradiction, since the squares in the corner will point out of the grids.
Hence, good cells in $C_1$ and $C_2$ are different colors. This mean $$2 \nmid f(A) - f(-A)$$.
In this case, there are no edge $E$ such that Turbo travel through $E$ in both cycles $C_1$ and $C_2$(By parity arguments of arrows). Hence, contradiction since, the corner square have only $2$ edges, which is inevitably used as edges to get in and get out of the squares. Hence, we are done. $\blacksquare$
This post has been edited 1 time. Last edited by EeEeRUT, Apr 14, 2025, 1:45 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
AleMM
17 posts
#7 • 3 Y
Y by GuvercinciHoca, XAN4, radian_51
Notice that if $n$ is odd, we can color the board in a checkerboard pattern to get that no cycles visiting every cell once can exist (just by looking at a raw path, without rotating cells).

If $n$ is even, we can get at least $\dfrac{n^2}{4}$ good cells, just construct a simple cycle and go through it rotating the $t^{\text{th}}$ cell you walk through (supposing the good starting cell is $t=0$) $t$ times clockwise, so it can be in the desired direction when you get there. Thus we force a cycle to exist and a cell to be good, the key observation is that every fourth cell on that cycle is good as well, because we're ceasing to rotate it by a multiple of 4 (and since 4 rotations get you back to the initial state, we can just consider everything modulo 4), thus getting the desired $\dfrac{n^2}{4}$ good cells$\ \square$

Now, let's prove that the only good cells are each fourth cell of a fixed cycle, so the number of good cells is at most $\dfrac{n^2}{4}$. Suppose there exist a good cell, otherwise it would be 0, and look at the cycle $\mathcal{C}$ that it would form starting on that cell. Label the cells accordingly to the cycle by walking through it starting on 0 from the good cell (all the way up to $n^2-1$), so if we pick a cell labeled $k$, we saw that if $k\equiv 0 \pmod{4}$, the cycle would preserve and that cell would also be good. Now, let's take a cell $k\not\equiv 0 \pmod{4}$, if at some point we arrive in a cell pointing to the same direction as in $\mathcal{C}$, we know that we're going to go to the same next cell as in $\mathcal{C}$ and the rotation will be the same (since for it to happen we need to be in the same time $t$ modulo 4 as in the original walk) and we can extend this reasoning to show that the entire cycle would have to be equal to $\mathcal{C}$, but since $k\not\equiv 0 \pmod{4}$ we have that the cell labeled $k$ will have arrows pointing to different directions, contradiction (because it wouldn't be the same exact cycle)! But then, look at the top right corner. Draw the arrows according to the final path of $\mathcal{C}$ and of $\mathcal{P}$ (the sencond cycle we're assuming to exist), we know that they don't match in any arrow, so the top right corner wouldn't as well. So, by looking at the top right most arrow, we know that they would have to be different, but there are only two possible options (otherwise Turbo would leave the board):

WLOG the $\color{green} \mathcal{C}$ path:

[asy]
usepackage("mathdots");
size(2cm, 2cm);
int rows = 3;
int cols = 3;
pen gridPen = black + 0.5bp;

// Draw the grid
for (int i = 0; i <= rows; ++i) {
draw((0, i)--(cols, i), gridPen);
}
for (int j = 0; j <= cols; ++j) {
draw((j, 0)--(j, rows), gridPen);
}

label("A", (1.5, 2.5), green);
label("B", (1.5, 1.5), green);
label("C", (2.5, 1.5), green);
label("$\downarrow$", (2.5, 2.5), green);

label("$\cdots$", (0.5, 2.5));
label("$\iddots$", (0.5, 0.7));
label("$\vdots$", (2.5, 0.7));
[/asy]

The $\color{red} \mathcal{P}$ path:

[asy]
usepackage("mathdots");
size(2cm, 2cm);
int rows = 3;
int cols = 3;
pen gridPen = black + 0.5bp;

// Draw the grid
for (int i = 0; i <= rows; ++i) {
draw((0, i)--(cols, i), gridPen);
}
for (int j = 0; j <= cols; ++j) {
draw((j, 0)--(j, rows), gridPen);
}

label("X", (1.5, 2.5), red);
label("Y", (1.5, 1.5), red);
label("Z", (2.5, 1.5), red);
label("$\leftarrow$", (2.5, 2.5), red);

label("$\cdots$", (0.5, 2.5));
label("$\iddots$", (0.5, 0.7));
label("$\vdots$", (2.5, 0.7));
[/asy]

Now notice that $\color{green} A$ has to be $\color{green} \rightarrow$ (because Turbo has to visit the $\color{green} \downarrow$), but from $\color{green} A$ to $\color{green} \downarrow$, it has rotated only once counterclockwise, so before Turbo leaving $\color{green} A$ it should be:

[asy]
usepackage("mathdots");
size(2cm, 2cm);
int rows = 3;
int cols = 3;
pen gridPen = black + 0.5bp;

fill((1, 2)--(2, 2)--(2, 3)--(1, 3)--cycle, palegrey+opacity(0.5));

// Draw the grid
for (int i = 0; i <= rows; ++i) {
draw((0, i)--(cols, i), gridPen);
}
for (int j = 0; j <= cols; ++j) {
draw((j, 0)--(j, rows), gridPen);
}

label("$\rightarrow$", (1.5, 2.5), green);
label("B", (1.5, 1.5), green);
label("C", (2.5, 1.5), green);
label("$\leftarrow$", (2.5, 2.5), green);

label("$\cdots$", (0.5, 2.5));
label("$\iddots$", (0.5, 0.7));
label("$\vdots$", (2.5, 0.7));
[/asy]

So $\color{green} A$ and $\color{green} \downarrow$ have to be a $180^{\circ}$ rotation apart from each other, which means that so do $\color{red} X$ and $\color{red} \leftarrow$. But from $\color{red} \leftarrow$ we go to $\color{red} X$ (so we rotate counterclockwise once to get to $\color{red} X$), which means that when we're on $\color{red} \leftarrow$, the $\color{red} \mathcal{P}$ looks like:

[asy]
usepackage("mathdots");
size(2cm, 2cm);
int rows = 3;
int cols = 3;
pen gridPen = black + 0.5bp;

fill((2, 2)--(3, 2)--(3, 3)--(2, 3)--cycle, palegrey+opacity(0.5));

// Draw the grid
for (int i = 0; i <= rows; ++i) {
draw((0, i)--(cols, i), gridPen);
}
for (int j = 0; j <= cols; ++j) {
draw((j, 0)--(j, rows), gridPen);
}

label("$\rightarrow$", (1.5, 2.5), red);
label("Y", (1.5, 1.5), red);
label("Z", (2.5, 1.5), red);
label("$\leftarrow$", (2.5, 2.5), red);

label("$\cdots$", (0.5, 2.5));
label("$\iddots$", (0.5, 0.7));
label("$\vdots$", (2.5, 0.7));
[/asy]

So then, after we arrive at $\color{red} X$, there should be a $90^{\circ}$ rotation counterclockwise, so on the final $\color{red} \mathcal{P}$ path it will be:

[asy]
usepackage("mathdots");
size(2cm, 2cm);
int rows = 3;
int cols = 3;
pen gridPen = black + 0.5bp;

// Draw the grid
for (int i = 0; i <= rows; ++i) {
draw((0, i)--(cols, i), gridPen);
}
for (int j = 0; j <= cols; ++j) {
draw((j, 0)--(j, rows), gridPen);
}

label("$\uparrow$", (1.5, 2.5), red);
label("Y", (1.5, 1.5), red);
label("Z", (2.5, 1.5), red);
label("$\leftarrow$", (2.5, 2.5), red);

label("$\cdots$", (0.5, 2.5));
label("$\iddots$", (0.5, 0.7));
label("$\vdots$", (2.5, 0.7));
[/asy]

So Turbo would leave the board in one of the two cycles if there were to exist two of them, so there has to be at most one cycle$\ \square$
This post has been edited 1 time. Last edited by AleMM, Apr 14, 2025, 2:21 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
YaoAOPS
1533 posts
#8 • 1 Y
Y by radian_51
For odd $n$, this is evidently impossible regardless of turning.

For even $n$, we claim the answer is $\frac{n^2}{4}$, which can be obtained by taking any Hamiltonian path and rotating squares in it so every fourth square in the path works.

Now, we prove this is optimal. Fix this Hamiltonian path $\mathcal{P}$ which is created by some good cell $c$ and index it so that the good squares are $0 \pmod{4}$. Suppose some non $0 \pmod{4}$ cell $c'$ worked. Note that if $c'$ ever ends up in the same cell $c$ does at the same parity, then it traces the rest of $c$'s path, which gives a contradiction as it implies the paths are the same.

Thus, if we consider the top left corner, the path that $g$ takes and the path $c'$ take must be flipped. We can check this is always impossible.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
BR1F1SZ
562 posts
#9 • 2 Y
Y by GuvercinciHoca, radian_51
GuvercinciHoca wrote:
Proposed by Melek Güngör, Turkey (my problem :) ). Hope you all like it!!! It is the first problem in EGMO which proposed by Turkey since 2015 p2.

Congrats! :D

My answer
This post has been edited 2 times. Last edited by BR1F1SZ, Apr 14, 2025, 4:03 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
CrazyInMath
457 posts
#10
Y by
solution
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
TeodorVonBurg
2 posts
#11 • 6 Y
Y by Davud29_09, farhad.fritl, Yunis019, ChessFM, Ismayil_Orucov, turann
Lukaluce wrote:
Let $n > 1$ be an integer. In a configuration of an $n \times n$ board, each of the $n^2$ cells contains an arrow, either pointing up, down, left, or right. Given a starting configuration, Turbo the snail starts in one of the cells of the board and travels from cell to cell. In each move, Turbo moves one square unit in the direction indicated by the arrow in her cell (possibly leaving the board). After each move, the arrows in all of the cells rotate $90^{\circ}$ counterclockwise. We call a cell good if, starting from that cell, Turbo visits each cell of the board exactly once, without leaving the board, and returns to her initial cell at the end. Determine, in terms of $n$, the maximum number of good cells over all possible starting configurations.

Proposed by Melek Güngör, Turkey

Türkiye :)
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Davud29_09
20 posts
#12 • 10 Y
Y by TeodorVonBurg, farhad.fritl, Yunis019, ChessFM, Ismayil_Orucov, Frd_19_Hsnzde, Nuran2010, MuradSafarli, Omerking, Sadigly
Lukaluce wrote:
Let $n > 1$ be an integer. In a configuration of an $n \times n$ board, each of the $n^2$ cells contains an arrow, either pointing up, down, left, or right. Given a starting configuration, Turbo the snail starts in one of the cells of the board and travels from cell to cell. In each move, Turbo moves one square unit in the direction indicated by the arrow in her cell (possibly leaving the board). After each move, the arrows in all of the cells rotate $90^{\circ}$ counterclockwise. We call a cell good if, starting from that cell, Turbo visits each cell of the board exactly once, without leaving the board, and returns to her initial cell at the end. Determine, in terms of $n$, the maximum number of good cells over all possible starting configurations.

Proposed by Melek Güngör, Turkey

Türkiye
This post has been edited 1 time. Last edited by Davud29_09, Apr 14, 2025, 5:40 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
cj13609517288
1895 posts
#13 • 1 Y
Y by radian_51
The answer is $0$ for $n$ odd and $\frac{n^2}{4}$ for $n$ even. $n$ odd is obvious and $n$ even construction is just taking your favorite Hamiltonian cycle then rotating arrows along the path accordingly.

For $n$ even bound, the important idea is that something on the border, if it is pointing perpendicularly to that border when Turbo arrives, must be pointing away from the border. Thus corners get two of these constraints. So if two good cells have the same checkerboard parity, they'll run into a corner at the same configuration, so they must be part of the same cycle. If they have opposite checkerboard parity, local analysis on a corner will work (done on paper, way too lazy to type up here). $\blacksquare$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
MathLuis
1514 posts
#14 • 1 Y
Y by radian_51
Trivially for $n$ odd there is no cycle by parity therefore we will only consider $n$ even.
For $n$ even we claim the answer is $\frac{n^2}{4}$, the construction is fairly simple, just oick a cool Hamiltonian cycle and assing the arrows acordingly, then here we can see from a starting point the next 4 steps will also serve as a starting point and so on which by counting gives what we wanted.
Now to prove there won't be more cells satisfying that if we start the cycle is completed after the whole process is finished, we suppose FTSOC one that is not 4-step with one of the $\frac{n^2}{4}$ chosen cells, if it reincorporated back into the cycle in some way, it would've skipped the next cell on the cycle so when it goes back it will go through this cell a second time before hitting it, thus reaching a contradiction.
So now the other alternative is that this new starting point develops a 2nd cycle with the same arrow setup, so suppose it did exist, then consider whenever it reaches a corner of the board, say top-left then in from directional checking we can see from whatever direction it came from, the cell before reaching the corner itself shares the same arrow direction, clearly this should imply that both cycles have the same entrance to the corner as else we would have these 3 cells with the same arrow direction and that just wouldn't work because both cycles are suppose to show two different ways to enter but due to the arrow equality there's only one that can be chosen. And to finish if they did have the same entrance direction there is 4 cells we are guaranteed to enter either way so this shows in fact both of the cycles were the same one this whole time which is a contradiction!, thus we are done :cool:.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
ravengsd
13 posts
#15 • 1 Y
Y by GuvercinciHoca
Cute problem! Congratulations to the proposer! :)

Define "walkable cycle" as a sequence of cells $c_1-c_2-\dots-c_{n^2}-c_1$ for which $c_i$ and $c_{i+1}$ are adjacent, $\forall 1\leq i \leq n^2$(indices taken modulo $n^2$) and in which each cell besides $c_1$ appears exactly once. Easily, by coloring the board like a chessboard, we may see that for odd $n$ there is no walkable cycle, so we will only consider the case where $n$ is even. If $n=2k, k \in \mathbb{N}$, we will prove the answer is $k^2$.

Proof of bound: Fix a good cell, denote it $c_1$ and then label the other cells $c_2, c_3, \dots c_{4k^2}$, such that $c_i$ is the $i$-th cell in the walkable cycle starting and ending in $c_1$. Suppose FTSoC that there could be more than $k^2$ good cells.
Claim: The cells $c_5, c_9 \dots c_{4k^2-3}$ are good.
Proof: Notice that, after $4$ moves, the arrangement of arrows on the board is the same as the initial arrangement of arrows. This initial arrangement of arrows was designed in such a way that $c_1-c_2-\dots-c_{4k^2}-c_1$ is a walkable cycle, if Turbo is initially on $c_1$. So, by periodicity modulo $4$ the claim is proved. $\square$
If there are more than $k^2$ good cells, we may pick $c_i$ a good cell such that $i$ isn't $1$(mod $4$).

We now look at the top left corner of the board. Turbo can either enter it from the right and leave it to go in the cell under it at the next move, in which case the arrow in the top left corner and the one next to it should be pointing "west" when Turbo moves to the top left corner, or she can enter it from below and leave it to go in the cell next to it at the next move, in which case the arrow under the top left corner should be pointing "north" and the arrow in the top left corner should be pointing "south" when Turbo moves to the top left corner.
If the placements of these two arrows are different when we walk the cycles from $c_i$ and $c_1$ we have a contradiction, because the way these two arrows point at eachother is invariant with respect to rotation. But, because $i$ isn't $1$(mod $4$), these two arrows will be in different orientation than the ones in the walkable path starting in $c_1$, therefore we either exit the board or never arrive in the top left corner, contradiction.

An example is easy to find, by just considering a cycle and arranging the arrows modulo $4$ accordingly, therefore the proof is complete. $\blacksquare$
This post has been edited 2 times. Last edited by ravengsd, Apr 16, 2025, 11:59 AM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
X.Allaberdiyev
103 posts
#16 • 2 Y
Y by farhad.fritl, GuvercinciHoca
GuvercinciHoca wrote:
Proposed by Melek Güngör, Turkey (my problem :) ). Hope you all like it!!! It is the first problem in EGMO which proposed by Turkey since 2015 p2.

Congrats, you fulfilled the dream of most IMO 2024 contestants by making the answer depend on n (you wrote that the IMO 2024 P5 was the biggest disappointment, so you came up with this??). Cute problem, and more interesting than IMO 2024 P5!
My solution similar to #7, so I won’t post it.
This post has been edited 3 times. Last edited by X.Allaberdiyev, Apr 15, 2025, 5:38 PM
Reason: .
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Assassino9931
1284 posts
#17
Y by
Turbo again made a show and coordinations finished at around 2 AM! The reason for prolonging is that there were thorough verifications for whether a student's argument really uses that the table has even length sides or works a bit by luck here, but not for a $(2i+1) \times (4j+2)$ table where some intermediate conclusions could be false - if the latter, then the solution was treated as incomplete. Moreover, 6 points were not attainable unless the only error in the solution is for the very easy case of $n$ being odd.
This post has been edited 2 times. Last edited by Assassino9931, Apr 16, 2025, 1:19 AM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Gato_combinatorio
15 posts
#18
Y by
Turbo the snail is back!!! :o

We'll work all numbers in subscripts at mod 4.
By chess coloring we can notice that the answer for $n$ odd is 0.
Now, let's see $n$ even: $n=2k$.
Let's call arrows to the arrows defined in the problem.
If Turbo makes his way to complete a cycle $Q$ on the board, then that's a directed graph, so let's call the edges "Q-arrows" (not normal arrows).
The board has 4 states of the normal arrows, let's call them $S_0, S_1, S_2, S_3$, where $S_0$ is the initial state.
We write a number $Q_x$ in the cell $c$ if Turbo can start in the cell $c$ at the state $S_x$ to complete the $Q$ cycle.
Note that if $c_1 \rightarrow c_2$ then $Q_x$ being written on $c_1$ implies $c_2$ has $Q_{x+1}$ written in it $...(\alpha)$

We can draw any cycle $Q$ containing all the cells.
Then Turbo can start in the corner and we can help him to complete the cycle by adding arrows as it's convenient to get $Q$.
By $(\alpha)$, one of each four cells has a $Q_0$ written in it, so we get an example with exactly $k^2$ good cells.

If it were possible to get more good cells than that, we would need another cycle $P$.
Note that the sets of Q-arrows and P-arrows are disjoint because otherwise the cycles would be constructed equally.
By chess coloring and $(\alpha)$ we can notice that for some $w$: $Q_w$ and $Q_{w+2}$ are written on exactly $k^2$ black cells each one,
and $Q_{w+1}$ and $Q_{w+3}$ are written on exactly $k^2$ white cells each one. Same thing happens with $P$.
The Q-arrow and P-arrow that come out from the corner are differentiated by an odd number of rotations.
So $w$ has different parity in $Q$ and $P$: for every cell $c$, the difference between the P-arrow and the Q-arrow that come out from $c$ is an odd number of rotations.
So, if $c$ is in the left column of the board, either the P-arrow or the Q-arrow will be a right arrow.
By the Pigeonhole Principle, either exactly one between $P$ or $Q$ will have at least $k$ right (P or Q)-arrows leaving the left column.
This is only possible when exactly $k$ are coming out of the left column and exactly $k$ are coming into the left column and they intercalate.
So same thing will happen with P and Q there (intercaling so that they don't coincide right P-arrows with Q-arrows)
We can apply the same logic in the four sides of the board but the P-arrows will not coincide in the corners, contradiction

So the maximum possible for $n=2k$ is $k^2$. Sorry for the long solution :oops:
This post has been edited 1 time. Last edited by Gato_combinatorio, Apr 16, 2025, 3:38 AM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
kamatadu
478 posts
#20 • 2 Y
Y by alexanderhamilton124, SilverBlaze_SY
Solved with SilverBlaze_SY.

We solve for $n$ odd first.
  • $n$ is odd: Color the board in chessboard pattern. Then note that if Turbo is able to travel via all the cells of the board and return back to the initial cell, then it must have traversed $n^2$ many cells. Note that each time it moves from one cell to another, the color of the cell alternates.

    But as Turbo is supposed to end at the initial cell, the number of color changes is supposed to be even, whereas $n^2$ is clearly odd. This implies that there are no good cells for an odd $n$.


  • $n$ is even: We focus on the cell in the bottom-right corner. Note that Turbo can enter the bottom-right corner either from the cell to its left, or from the cell above it.

    Note that if Turbo enters the cell from its left, then the configuration of the cells while Turbo is on the cell adjacent to the corner cell should be as shown in the diagram in order to ensure that Turbo does not get kicked out of the board.

    https://i.imgur.com/cIVR4th.png


    Again, if Turbo enters from the cell above, the configuration should be as shown below.

    https://i.imgur.com/SOCeTSO.png


    Now note that these two configurations are not interchangeable by rotation of arrows because the relative direction of the arrows always stays the same. For the first case, the arrows in the cells along the bottom edge are in the same direction whereas in the second case, they are not.

    So depending upon the initial configuration of the board, Turbo can enter the bottom-right cell only from one of its adjacent cells.

    WLOG assume Turbo enters the bottom-right corner from its left. Denote the cell to the left of the bottom-right corner as $P$. Then note that when Turbo is on $P$ then the arrow of this cell must be pointing towards the right.

    Now note that if $G$ is a good cell, after going through the entire board along its arrows, Turbo comes back to $G$. Then while going through the path, when Turbo lands on $P$ it points towards right. Following this path starting from $P$, we return to the cell where we started from. Then again from this cell, we can go to $P$.

    This means that $P$ is a good cell. Now note that after every fourth move, the entire board returns to its original configuration. Consider the path that is formed when we start from $P$. This means that every fourth cell on the path starting from $P$ is good.

    Now we show that none of the other cells are going to be good. FTSOC assume one of them is good which is not at a distance of $\equiv 0\pmod 4$ from $P$ along the path.

    Call this cell $Q$. Then as we start from $Q$, we must pass through $P$ at some point. Now we show that there is only one path from $Q$ to $P$. In order to show this, call the path from $Q$ back to itself via the cells as $\ell_1$. Also, call the path from $P$ back to itself as $\ell_2$. While Turbo goes through the path $\ell_1$, note that at some point it must land on $P$. From this point on, the paths $\ell_1$ and $\ell_2$ become identical as in both cases, the arrow in $P$ points towards the right when Turbo reaches $P$. Now after Turbo completes one trip around the entire board, it is supposed to follow the same path again. So we can conclude that the sub-path $Q\to P$ when Turbo starts at $Q$ is same as the sub-path $Q\to P$ when Turbo starts at $P$.

    But since the distance of $Q$ from $P$ along this path is not $\equiv 0\pmod 4$. When Turbo comes to $P$, the arrow is no longer pointing towards its right and Turbo fails to complete its trip.

    So the maximum number of good cells in a board is at most $\frac{n^2}{4}$.

    Now we give the construction.

    https://i.imgur.com/kdsTysJ.png


    Note that the given construction can easily be generalized and we are done.
This post has been edited 5 times. Last edited by kamatadu, Apr 18, 2025, 12:33 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
v_Enhance
6877 posts
#21 • 1 Y
Y by GuvercinciHoca
Solution from Twitch Solves ISL:

Odd $n$. When $n > 1$ is odd, there's no way to navigate loop through the board at all visiting every cell exactly once, and hence good cells cannot exist at all. The answer is $0$ in that case.
Even $n$. For even $n$, we claim that the answer is $n^2/4$. In fact, we prove something more strong: if there are any good cells at all, then there are exactly $n^2/4$ good cells.
We assume henceforth that there is some good cell and hence that there is at least one valid loop (and indeed for even $n$ there are valid directed Hamiltonian cycles of an $n \times n$ board so this case can occur). The number of steps in the loop is $n^2$ and hence divisible by $4$: thus it's easy to see that that every fourth cell along the loop is also good, because the same loop will be traced out. This gives $n^2/4$ good cells.
To prove that there can't be more good cells, it's sufficient to focus on the northwest corner.
Claim: There are only four methods for Turbo to pass through that corner, which we illustrate below. The subscript number indicates the order the cells are visited in relative to each other. \[ \begin{bmatrix} \downarrow_2 & \uparrow_3 \\ \uparrow_1 \end{bmatrix} \qquad \begin{bmatrix} \downarrow_2 & \leftarrow_3 \\ \uparrow_1 \end{bmatrix} \qquad \begin{bmatrix} \leftarrow_2 & \leftarrow_1 \\ \leftarrow_3 \end{bmatrix} \qquad \begin{bmatrix} \leftarrow_2 & \leftarrow_1 \\ \uparrow_3 \end{bmatrix} \]Proof. Clear. $\blacksquare$
From now on, we say two boards are rotations if one can be obtained from the other by rotating all the arrows the same amount (i.e.\ each board has four possible rotations).
The final observation is that in the four methods in the claim, none of the boards are rotations of each other. Hence for a given starting board, given a Hamiltonian cycle, the time modulo $4$ that Turbo passes through the northwest corner is uniquely determined. Then, by simply tracing out Turbo's trajectory from there, the entire directed Hamiltonian cycle is uniquely determined too, i.e.\ for every cell we know exactly which cell Turbo goes to next and the time modulo $4$ that Turbo visited the cell. This shows the good cells we asserted above are the only ones.
d
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Mathgloggers
75 posts
#22
Y by
My proof that starting from any cell $c_i \equiv 1,2,3(mod4) $ would result in the same path as of ur intial cycle $C$,
FTSOC, assume that a new path $d_{1 - d_2 - \ldots - d_k - d_1}$
does exists then we know that $d_{4p}-d{4p+1}$ this segment must lie in the direction of our cycle path, because after a multiple of "four" moves everything comes to its original position ,so now look at the top right corner where the cycle path has started from. WLOG, assume
in cycle $C$ it moved down ,but we know one thing that either $P \perp C$ or $ P$ COINCIDES WITH $C$,so it is clear that this path "$d_{4p}-d{4p+1}$" must be there on the down arrow, hence we must have the $C$ path to come down at least one step down again ,because if not then we would have "$d_{4p}-d{4p+1}$" and "$d_{4p+1}-d{4p+2}$" coincides with cycle $C$ ,but which generates contradiction, so on the square just below the top right corner would have two initial configuration> "$\rightarrow$":To satisfy cycle $C$
"$\downarrow$" because starting from that cell $c_i$ and taking $1(Mod4) $ to make left move would result in the "$\downarrow$" : To satisfy path $P$
Hence we again arrive at a contradiction .And the rest answer is explained above and easy for obvious reasons
This post has been edited 2 times. Last edited by Mathgloggers, Apr 23, 2025, 2:53 AM
Reason: n
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
zRevenant
14 posts
#23
Y by
(Livesolved on YouTube: Art of Olympiad Mathematics)

Answer: $0$ if $n$ is odd, and $\frac{n^2}{4}$ otherwise.

First, let's show that for odd $n$ it is impossible to have any $good$ cells. The reason is quite simple - colour the board into chessboard colouring. Then every path on the board is a change in colours - black, white, black, ... . Then, a closed loop is of even length, which means that it is impossible to have a path through all the cells.

Now, we start off by noting that if we have one $good$ cell, then we have $\frac{n^2}{4}$ good cells, because every fourth cell keeps the orientations in such a way, that the path Turbo visits is the same. Now, we clearly have an example for $\frac{n^2}{4}$ (just take a random Hamiltonian cycle and direct arrows in the way we need). However, if we now look at the right-up corner of the board, then there is only two ways we can pass through it ( right then down or up and then left). This means that there are at most two orientations of all arrows (keeping the orientations in between the same) that work. However, if we had an arrow that goes to the right and then moves down, then both of the arrows should be of opposite direction. This means that the cells adjacent to the corner have the same direction opposite to the arrow in the cell of the corner, and an obvious contradiction is yielded just by checking where we go after going into the second cell adjacent to the corner. So, we are done.
This post has been edited 1 time. Last edited by zRevenant, Apr 23, 2025, 10:02 AM
Z K Y
N Quick Reply
G
H
=
a