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
Inequality with a,b,c
GeoMorocco   0
33 minutes ago
Source: Morocco Training 2025
Let $   a,b,c   $ be positive real numbers such that : $   ab+bc+ca=3   $ . Prove that : $$\frac{a\sqrt{3+bc}}{b+c}+\frac{b\sqrt{3+ca}}{c+a}+\frac{c\sqrt{3+ab}}{a+b}\ge a+b+c $$
0 replies
GeoMorocco
33 minutes ago
0 replies
Problem 5
SlovEcience   3
N 2 hours ago by GioOrnikapa
Let \( n > 3 \) be an odd integer. Prove that there exists a prime number \( p \) such that
\[
p \mid 2^{\varphi(n)} - 1 \quad \text{but} \quad p \nmid n.
\]
3 replies
SlovEcience
Today at 1:15 PM
GioOrnikapa
2 hours ago
IMO ShortList 2002, geometry problem 2
orl   27
N 2 hours ago by ZZzzyy
Source: IMO ShortList 2002, geometry problem 2
Let $ABC$ be a triangle for which there exists an interior point $F$ such that $\angle AFB=\angle BFC=\angle CFA$. Let the lines $BF$ and $CF$ meet the sides $AC$ and $AB$ at $D$ and $E$ respectively. Prove that \[ AB+AC\geq4DE. \]
27 replies
orl
Sep 28, 2004
ZZzzyy
2 hours ago
FE based on (x+1)(y+1)
CrazyInMath   4
N 2 hours ago by jasperE3
Source: 2023 CK Summer MSG I-A
Find all functions $f:\mathbb{R}\to\mathbb{R}$ such that \[f(xf(y)+f(x+y)+1)=(y+1)f(x+1)\]holds for all $x,y\in\mathbb{R}$.

Proposed by owoovo.shih and CrazyInMath
4 replies
CrazyInMath
Aug 14, 2023
jasperE3
2 hours ago
No more topics!
IMO 2017 Problem 1
cjquines0   154
N Apr 3, 2025 by blueprimes
Source: IMO 2017 Problem 1
For each integer $a_0 > 1$, define the sequence $a_0, a_1, a_2, \ldots$ for $n \geq 0$ as
$$a_{n+1} = 
\begin{cases}
\sqrt{a_n} & \text{if } \sqrt{a_n} \text{ is an integer,} \\
a_n + 3 & \text{otherwise.}
\end{cases}
$$Determine all values of $a_0$ such that there exists a number $A$ such that $a_n = A$ for infinitely many values of $n$.

Proposed by Stephan Wagner, South Africa
154 replies
cjquines0
Jul 18, 2017
blueprimes
Apr 3, 2025
IMO 2017 Problem 1
G H J
Source: IMO 2017 Problem 1
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
cjquines0
510 posts
#1 • 48 Y
Y by dagezjm, DrMath, claserken, MathSlayer4444, rightways, rafayaashary1, A_Math_Lover, GoJensenOrGoHome, anantmudgal09, laegolas, alphamom, brianapa, mira74, nmd27082001, kk108, jt314, Davi-8191, thepiercingarrow, Ultroid999OCPN, Mathuzb, Tawan, Lwande, integrated_JRC, Nelu2003, mathleticguyyy, Pluto1708, Purple_Planet, Lcz, fidgetboss_4000, itslumi, Pluto04, Hamroldt, HamstPan38825, centslordm, rama1728, megarnie, Quidditch, ImSh95, Rounak_iitr, sabkx, Lamboreghini, Adventure10, Mango247, deplasmanyollari, Sedro, dangerousliri, ItsBesi, cubres
For each integer $a_0 > 1$, define the sequence $a_0, a_1, a_2, \ldots$ for $n \geq 0$ as
$$a_{n+1} = 
\begin{cases}
\sqrt{a_n} & \text{if } \sqrt{a_n} \text{ is an integer,} \\
a_n + 3 & \text{otherwise.}
\end{cases}
$$Determine all values of $a_0$ such that there exists a number $A$ such that $a_n = A$ for infinitely many values of $n$.

Proposed by Stephan Wagner, South Africa
This post has been edited 4 times. Last edited by djmathman, Jun 16, 2020, 4:13 AM
Reason: problem author
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
cjquines0
510 posts
#2 • 6 Y
Y by MarkBcc168, megarnie, ImSh95, Adventure10, Mango247, cubres
First approximation based on this post.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
MathSlayer4444
1631 posts
#3 • 7 Y
Y by Piazolla13, megarnie, ImSh95, Dhruv777, Adventure10, Mango247, cubres
It should be "for each integer," not "for an integer," I think.

(or maybe for every integer. Either way, it doesn't make much of a difference)
This post has been edited 1 time. Last edited by MathSlayer4444, Jul 18, 2017, 5:19 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
djmathman
7936 posts
#4 • 7 Y
Y by HamstPan38825, megarnie, ImSh95, Jndd, Adventure10, Mango247, cubres
Sketch by 1=2 and i (which seems too simple????): if a0 is 0 mod 3, then bounding shows that you get 3 -> 6 -> 9 -> 3 ->...

If a0 is 2 mod 3, then you always increase by 3 and so its not periodic.
If a0 is 1 mod 3, then we also fail. Use strong induction. Base cases of a0 =1, a0=4 work. For IS, look at guys in the interval (m^2, (m+1)^2]. Youll eventually hit the upper bound of this sequence, and so next term is m+1, which is smaller than (m-1)^2 for large enough m.
This post has been edited 1 time. Last edited by djmathman, Jul 18, 2017, 5:23 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
WizardMath
2487 posts
#5 • 5 Y
Y by Mathlover1292, ImSh95, Adventure10, Mango247, cubres
Just plain bounding and cycles. Why is the problem so case bashy?
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
rafayaashary1
2541 posts
#6 • 4 Y
Y by PRMOisTheHardestExam, Adventure10, Mango247, cubres
Maybe I'm missing something, but: obviously $a_0\equiv 2\pmod{3}$ is a bust (it can't be periodic 'cause it adds and thus increases infinitely). If a term is not $2\pmod{3}$, then it will eventually reach a perfect square in the "additive phase." Consider the case with $a_0\equiv 1\pmod{3}$. From the above it suffices to consider the squares that are $1\pmod{3}$. Indeed, it is fairly straightforward to show with some bounding that the structure is "downward directed" (a.k.a. essentially decreasing), and eventually funnels into $16\to4\to 2$ if they don't end up at the square of something that's $2\pmod{3}$, which ends up adding infinitely from above. The $3\mid a_0$ case can be carried out similarly, but there are some solutions (obvious ones are $a_0\in\{3,6,9\}$)

Edit: they should all funnel into the $3\to 6\to 9$ cycle for the same reasons as before.
Sniped :(
This post has been edited 2 times. Last edited by rafayaashary1, Jul 18, 2017, 5:27 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
DrMath
2130 posts
#7 • 3 Y
Y by Adventure10, Mango247, cubres
Idea: multiples of 3 work, you can show by strong induction you eventually hit either $3,6,9$, which is gg.

2 mod 3 fails for obvious reasons.

1 mod 3 fails by strong induction - you have to hit a number that's 2 mod 3 eventually

also @above, technically it doesn't always funnel into 16 --> 4 --> 2, it could funnel into some other square that has the form $(3k+2)^2$ like 25 --> 5.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
rafayaashary1
2541 posts
#8 • 4 Y
Y by Adventure10, Mango247, alexgsi, cubres
@above true, this is what happens when you only worry about the most pathological cases and forget the easier ones you threw away :wallbash:
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
TheTeaPot
19 posts
#15 • 2 Y
Y by Adventure10, cubres
1 mod 3 works for negatives
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
claserken
1772 posts
#16 • 14 Y
Y by alphamom, tarkus, mathematiculperson, PeppaBear, Tedi, Evenprime123, mathleticguyyy, ayan_mathematics_king, lahmacun, centslordm, Schur-Schwartz, Adventure10, Mango247, cubres
Just for completeness.
Solution
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
plagueis
157 posts
#17 • 3 Y
Y by Adventure10, Mango247, cubres
It says $a_0>1$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Tintarn
9031 posts
#18 • 7 Y
Y by Sumgato, Safal_db, Adventure10, Mango247, RobertRogo, Sedro, cubres
The point why this problem is so remarkably easy seems to be the fact that, by checking the behaviour for small initial values (and what else are you going to do when confronted with such a problem?) you do not only see immediately what happens, but also pretty much why this happens. Converting these observations into a formal proof shouldn't be difficult for anyone who has seen the concept of mathematical induction (and, after all, any IMO contestant should belong to this group, right?).
I shall be very much surprised if this problem does not admit a conceivably higher average score compared to the first problems in recent IMOs.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
manuel153
324 posts
#19 • 4 Y
Y by Submathematics, Toinfinity, Adventure10, cubres
@Tintarn:
Over the last few years, a lot of new countries has entered IMO. Many students of these countries have little or no training. I would guess that the intention of the jury was to offer a problem that is understandable (and solvable!) even for very un-experienced participants.
(As a side-effect, this might raise the bronze cut-off by one or two points.)
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Tintarn
9031 posts
#20 • 9 Y
Y by manuel153, Safal_db, Toinfinity, Adventure10, Mango247, Sedro, RobertRogo, Math_DM, cubres
Oh sure. Note that I just tried to objectively explain what makes this problem so easy (in my eyes) and made a score prediction. I didn't (and didn't intend to) criticise this at all. :)
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Gluncho
654 posts
#21 • 3 Y
Y by elecaii1981, Adventure10, cubres
Yh i think this problem is not imo level :D
Z K Y
G
H
=
a