Join our free webinar April 22 to learn about competitive programming!

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
trolling geometry problem
iStud   1
N 20 minutes ago by iStud
Source: Monthly Contest KTOM April P3 Essay
Given a cyclic quadrilateral $ABCD$ with $BC<AD$ and $CD<AB$. Lines $BC$ and $AD$ intersect at $X$, and lines $CD$ and $AB$ intersect at $Y$. Let $E,F,G,H$ be the midpoints of sides $AB,BC,CD,DA$, respectively. Let $S$ and $T$ be points on segment $EG$ and $FH$, respectively, so that $XS$ is the angle bisector of $\angle{DXA}$ and $YT$ is the angle bisector of $\angle{DYA}$. Prove that $TS$ is parallel to $BD$ if and only if $AC$ divides $ABCD$ into two triangles with equal area.
1 reply
iStud
3 hours ago
iStud
20 minutes ago
basically INAMO 2010/6
iStud   3
N 21 minutes ago by iStud
Source: Monthly Contest KTOM April P1 Essay
Call $n$ kawaii if it satisfies $d(n)+\varphi(n)=n+1$ ($d(n)$ is the number of positive factors of $n$, while $\varphi(n)$ is the number of integers not more than $n$ that are relatively prime with $n$). Find all $n$ that is kawaii.
3 replies
iStud
3 hours ago
iStud
21 minutes ago
GCD of a sequence
oVlad   7
N 41 minutes ago by grupyorum
Source: Romania EGMO TST 2017 Day 1 P2
Determine all pairs $(a,b)$ of positive integers with the following property: all of the terms of the sequence $(a^n+b^n+1)_{n\geqslant 1}$ have a greatest common divisor $d>1.$
7 replies
oVlad
Yesterday at 1:35 PM
grupyorum
41 minutes ago
Another System
worthawholebean   3
N an hour ago by P162008
Source: HMMT 2008 Guts Problem 33
Let $ a$, $ b$, $ c$ be nonzero real numbers such that $ a+b+c=0$ and $ a^3+b^3+c^3=a^5+b^5+c^5$. Find the value of
$ a^2+b^2+c^2$.
3 replies
worthawholebean
May 13, 2008
P162008
an hour ago
No more topics!
Number-erasing game with multiples of 3
p108771953   4
N Apr 2, 2025 by conejita
Source: 2024 Mexican Mathematical Olympiad, Problem 6
Ana and Beto play on a blackboard where all integers from 1 to 2024 (inclusive) are written. On each turn, Ana chooses three numbers $a,b,c$ written on the board and then Beto erases them and writes one of the following numbers:
$$a+b-c, a-b+c, ~\text{or}~ -a+b+c.$$The game ends when only two numbers are left on the board and Ana cannot play. If the sum of the final numbers is a multiple of 3, Beto wins. Otherwise, Ana wins. ¿Who has a winning strategy?
4 replies
p108771953
Nov 6, 2024
conejita
Apr 2, 2025
Number-erasing game with multiples of 3
G H J
G H BBookmark kLocked kLocked NReply
Source: 2024 Mexican Mathematical Olympiad, Problem 6
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
p108771953
7 posts
#1
Y by
Ana and Beto play on a blackboard where all integers from 1 to 2024 (inclusive) are written. On each turn, Ana chooses three numbers $a,b,c$ written on the board and then Beto erases them and writes one of the following numbers:
$$a+b-c, a-b+c, ~\text{or}~ -a+b+c.$$The game ends when only two numbers are left on the board and Ana cannot play. If the sum of the final numbers is a multiple of 3, Beto wins. Otherwise, Ana wins. ¿Who has a winning strategy?
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
bin_sherlo
705 posts
#3 • 1 Y
Y by YaoAOPS
Made an obvious mistake, will be fixed
This post has been edited 1 time. Last edited by bin_sherlo, Nov 20, 2024, 2:49 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
IMD2
41 posts
#4
Y by
bin_sherlo wrote:
We claim that $B$ wins.
Rephrased Problem: There are $675$ times $1$,$675$ times $2$ and $674$ times $0$ on a board. On each turn, $A$ chooses $a,b,c$ and $B$ writes one of $(a+b+c)+\{a,b,c\}$ and erases $a,b,c$. After some turns, there will be two numbers on the board. If sum of the numbers written on the board is a multiple of $3$, then $B$ wins and $A$ wins otherwise. Who wins?
We work on modulo $3$.
$$
\begin{array}{|c|c|c|c|c|c|c|c|c|c|c|c|} \hline
0&0&0&\rightarrow&0\\\hline
0&0&1&\rightarrow&1\\\hline
0&0&2&\rightarrow&2\\\hline
0&1&1&\rightarrow&0\\\hline
0&2&2&\rightarrow&0\\\hline
0&1&2&\rightarrow&0\\\hline
1&2&2&\rightarrow&1\\\hline
1&1&2&\rightarrow&2\\\hline
1&1&1&\rightarrow&1\\\hline
2&2&2&\rightarrow&2\\\hline
\end{array}
$$The parity of number of $1$-number of $2$ does not change during this operations. Hence there will exist $0,0$ or $1,2$ at the end of the game as desired.$\blacksquare$

What about $1,1$ or $2,2$?
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
IMUKAT
86 posts
#5
Y by
bin_sherlo wrote:
We claim that $B$ wins.
Rephrased Problem: There are $675$ times $1$,$675$ times $2$ and $674$ times $0$ on a board. On each turn, $A$ chooses $a,b,c$ and $B$ writes one of $(a+b+c)+\{a,b,c\}$ and erases $a,b,c$. After some turns, there will be two numbers on the board. If sum of the numbers written on the board is a multiple of $3$, then $B$ wins and $A$ wins otherwise. Who wins?
We work on modulo $3$.
$$
\begin{array}{|c|c|c|c|c|c|c|c|c|c|c|c|} \hline
0&0&0&\rightarrow&0\\\hline
0&0&1&\rightarrow&1\\\hline
0&0&2&\rightarrow&2\\\hline
0&1&1&\rightarrow&0\\\hline
0&2&2&\rightarrow&0\\\hline
0&1&2&\rightarrow&0\\\hline
1&2&2&\rightarrow&1\\\hline
1&1&2&\rightarrow&2\\\hline
1&1&1&\rightarrow&1\\\hline
2&2&2&\rightarrow&2\\\hline
\end{array}
$$The parity of number of $1$-number of $2$ does not change during this operations. Hence there will exist $0,0$ or $1,2$ at the end of the game as desired.$\blacksquare$

As above points out, this is an incomplete solution, and you need to be more careful to avoid 1, 1 and 2, 2 endings. Interestingly, the problem was proposed with this fakesolve as the solution, although the comitee was able to fix it. Indeed, several students fakesolved the problem this way during the exam.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
conejita
242 posts
#6 • 1 Y
Y by MS_asdfgzxcvb
Beto has a winning strategy. Look at $1,2,...,2024$ using mod 3. Denote $n_1, n_2$ and $n_0$ to the number of 1’s, 2’s and 0’s in the list at a given point in the game. Hence, the game starts with $n_1=n_2=675$ and $n_0 = 674$. In other words, the game starts with an odd number of 1's and 2's, and an even number of 0's.

Beto’s strategy will begin by following the steps in Rule A (below). He’ll follow this rule until Ana selects (0,1,2).

$$
\text{Rule A} = \begin{array}{|c|c|c|c|c|c|c|c|c|c|c|c|} \hline
0&1&2&\rightarrow&0 \\\hline
0&0&1&\rightarrow&1 \\\hline
0&0&2&\rightarrow&2 \\\hline
0&1&1&\rightarrow&0 \\\hline
0&2&2&\rightarrow&0 \\\hline
1&2&2&\rightarrow&1 \\\hline
1&1&2&\rightarrow&2 \\\hline
0&0&0&\rightarrow&0 \\\hline
1&1&1&\rightarrow&1 \\\hline
2&2&2&\rightarrow&2 \\\hline
\end{array}
$$
Say the game ends without Ana selecting (0,1,2). Note that none of the steps in Rule A change the parity of $n_1, n_2$ and $n_0$, except for step (0,1,2) -> 0. Therefore, in this scenario, the only possibility for the game to end is with $n_1=n_2=1$ and $n_0=0$. That is, the final numbers are (1,2), which sum is a multiple of 3. Beto wins.

Now, say Ana selects (0,1,2) before the game ends. Beto will follow step (0,1,2) -> 0, and immediately change its strategy. The new strategy is described in Rule B.

$$
\text{Rule B} = \begin{array}{|c|c|c|c|c|c|c|c|c|c|c|c|} \hline
0&1&2&\rightarrow&0 \\\hline
0&0&1&\rightarrow&2 \\\hline
0&0&2&\rightarrow&1 \\\hline
0&1&1&\rightarrow&0 \\\hline
0&2&2&\rightarrow&0 \\\hline
1&2&2&\rightarrow&1 \\\hline
1&1&2&\rightarrow&2 \\\hline
0&0&0&\rightarrow&0 \\\hline
1&1&1&\rightarrow&1 \\\hline
2&2&2&\rightarrow&2 \\\hline
\end{array}
$$
Note that the only differences between Rule A and Rule B are cases (0,0,1) and (0,0,2).

Once Beto switches his strategy to Rule B, he’ll follow it until Ana selects one of these cases: (0,1,2), (0,0,1), (0,0,2). Note that these cases are the only ones in Rule B that change the parity of $n_1, n_2, n_0$. Say the game ends while Beto is following Rule B, and Ana didn’t select any of the cases (0,1,2), (0,0,1), (0,0,2). Observe that, when Beto performed the step (0,1,2) -> 0, the parity of $n_1, n_2$ was flipped from odd to even, while keeping the parity of $n_0$ (even). Moreover, since $n_0$ is even, then $n_0 \geq 2$. Thus, in this scenario, the game ends with $n_1=n_2=0$ and $n_0=2$. That is, the final numbers are (0,0), which sum is a multiple of 3. Beto wins.

Finally, if Ana selects any of (0,1,2), (0,0,1), (0,0,2) while Beto is following Rule B, then the parity of $n_1, n_2, n_0$ will return to their initial state (i.e., odd, odd, even; respectively). Thus, Beto will switch its strategy back to Rule A. This switching strategy demonstrates that Beto can always win the game.
Z K Y
N Quick Reply
G
H
=
a