We have your learning goals covered with Spring and Summer courses available. Enroll today!

G
Topic
First Poster
Last Poster
k a March Highlights and 2025 AoPS Online Class Information
jlacosta   0
Mar 2, 2025
March is the month for State MATHCOUNTS competitions! Kudos to everyone who participated in their local chapter competitions and best of luck to all going to State! Join us on March 11th for a Math Jam devoted to our favorite Chapter competition problems! Are you interested in training for MATHCOUNTS? Be sure to check out our AMC 8/MATHCOUNTS Basics and Advanced courses.

Are you ready to level up with Olympiad training? Registration is open with early bird pricing available for our WOOT programs: MathWOOT (Levels 1 and 2), CodeWOOT, PhysicsWOOT, and ChemWOOT. What is WOOT? WOOT stands for Worldwide Online Olympiad Training and is a 7-month high school math Olympiad preparation and testing program that brings together many of the best students from around the world to learn Olympiad problem solving skills. Classes begin in September!

Do you have plans this summer? There are so many options to fit your schedule and goals whether attending a summer camp or taking online classes, it can be a great break from the routine of the school year. Check out our summer courses at AoPS Online, or if you want a math or language arts class that doesn’t have homework, but is an enriching summer experience, our AoPS Virtual Campus summer camps may be just the ticket! We are expanding our locations for our AoPS Academies across the country with 15 locations so far and new campuses opening in Saratoga CA, Johns Creek GA, and the Upper West Side NY. Check out this page for summer camp information.

Be sure to mark your calendars for the following events:
[list][*]March 5th (Wednesday), 4:30pm PT/7:30pm ET, HCSSiM Math Jam 2025. Amber Verser, Assistant Director of the Hampshire College Summer Studies in Mathematics, will host an information session about HCSSiM, a summer program for high school students.
[*]March 6th (Thursday), 4:00pm PT/7:00pm ET, Free Webinar on Math Competitions from elementary through high school. Join us for an enlightening session that demystifies the world of math competitions and helps you make informed decisions about your contest journey.
[*]March 11th (Tuesday), 4:30pm PT/7:30pm ET, 2025 MATHCOUNTS Chapter Discussion MATH JAM. AoPS instructors will discuss some of their favorite problems from the MATHCOUNTS Chapter Competition. All are welcome!
[*]March 13th (Thursday), 4:00pm PT/7:00pm ET, Free Webinar about Summer Camps at the Virtual Campus. Transform your summer into an unforgettable learning adventure! From elementary through high school, we offer dynamic summer camps featuring topics in mathematics, language arts, and competition preparation - all designed to fit your schedule and ignite your passion for learning.[/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, Mar 2 - Jun 22
Friday, Mar 28 - Jul 18
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
Tuesday, Mar 25 - Jul 8
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
Sunday, Mar 23 - Jul 20
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
Sunday, Mar 16 - Jun 8
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
Monday, Mar 17 - Jun 9
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
Sunday, Mar 2 - Jun 22
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
Tuesday, Mar 4 - Aug 12
Sunday, Mar 23 - Sep 21
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
Sunday, Mar 16 - Sep 14
Tuesday, Mar 25 - Sep 2
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
Sunday, Mar 23 - Aug 3
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
Sunday, Mar 16 - Aug 24
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
Wednesday, Mar 5 - May 21
Tuesday, Jun 10 - Aug 26

Calculus
Sunday, Mar 30 - Oct 5
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
Sunday, Mar 23 - Jun 15
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
Tuesday, Mar 4 - May 20
Monday, Mar 31 - Jun 23
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
Monday, Mar 24 - Jun 16
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
Sunday, Mar 30 - Jun 22
Wednesday, May 21 - Aug 6
Sunday, Jun 15 - Sep 14
Monday, Jun 23 - Sep 15

Physics 1: Mechanics
Tuesday, Mar 25 - Sep 2
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
Mar 2, 2025
0 replies
Function Equation
Dynic   1
N 2 minutes ago by pco
Find all $f:\mathbb{R} \to \mathbb{R}$ such that
$$f(x-f(y))=f(x+f(y)+y^5)+f(2f(y)+y^5)+2025,\forall x,y\in \mathbb{R}$$
1 reply
+1 w
Dynic
an hour ago
pco
2 minutes ago
Cubic function from Olymon
Adywastaken   2
N 4 minutes ago by MS_asdfgzxcvb
Source: Olymon Volume 11 2010 663
Find all $f:\mathbb{R}\rightarrow\mathbb{R}$ such that
$x^2y^2(f(x+y)-f(x)-f(y))=3(x+y)f(x)f(y)$ $\forall$ $x,y \in \mathbb{R}$
2 replies
Adywastaken
2 hours ago
MS_asdfgzxcvb
4 minutes ago
Colouring numbers
kitun   2
N 31 minutes ago by quasar_lord
What is the least number required to colour the integers $1, 2,.....,2^{n}-1$ such that for any set of consecutive integers taken from the given set of integers, there will always be a colour colouring exactly one of them? That is, for all integers $i, j$ such that $1<=i<=j<=2^{n}-1$, there will be a colour coloring exactly one integer from the set $i, i+1,.... , j-1, j$.
2 replies
kitun
Nov 15, 2021
quasar_lord
31 minutes ago
Mathhhhh
mathbetter   4
N 33 minutes ago by Amkan2022
Three turtles are crawling along a straight road heading in the same
direction. "Two other turtles are behind me," says the first turtle. "One turtle is
behind me and one other is ahead," says the second. "Two turtles are ahead of me
and one other is behind," says the third turtle. How can this be possible?
4 replies
mathbetter
Yesterday at 11:21 AM
Amkan2022
33 minutes ago
No more topics!
IMO Shortlist 2013, Number Theory #3
lyukhson   46
N Mar 17, 2025 by hgomamogh
Source: IMO Shortlist 2013, Number Theory #3
Prove that there exist infinitely many positive integers $n$ such that the largest prime divisor of $n^4 + n^2 + 1$ is equal to the largest prime divisor of $(n+1)^4 + (n+1)^2 +1$.
46 replies
lyukhson
Jul 10, 2014
hgomamogh
Mar 17, 2025
IMO Shortlist 2013, Number Theory #3
G H J
Source: IMO Shortlist 2013, Number Theory #3
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
lyukhson
127 posts
#1 • 14 Y
Y by mathuz, Davi-8191, tenplusten, myh2910, jhu08, TFIRSTMGMEDALIST, Infinityfun, Adventure10, Mango247, NicoN9, and 4 other users
Prove that there exist infinitely many positive integers $n$ such that the largest prime divisor of $n^4 + n^2 + 1$ is equal to the largest prime divisor of $(n+1)^4 + (n+1)^2 +1$.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
mnbvmar
7 posts
#2 • 7 Y
Y by bzh, blooker, Adventure10, Mango247, and 3 other users
my solution
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
YESMAths
829 posts
#3 • 5 Y
Y by MNJ2357, A_Math_Lover, Adventure10, and 2 other users
I just wonder, but this problem had been posted earlier, without any mention of ISL 2013, but soon was deleted.
That time I wondered why it was deleted, as I had posted my solution there, but now I know why it might have been deleted! :D :P

[mod: indeed!]
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
randomusername
1059 posts
#4 • 6 Y
Y by adityaguharoy, Adventure10, Mango247, rafayaashary1, and 2 other users
Different solution
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
v_Enhance
6862 posts
#5 • 28 Y
Y by mathuz, ZODIACORACLE, SidVicious, tenplusten, yayups, A_Math_Lover, meet18, myh2910, ks_789, TETris5, Jc426, TFIRSTMGMEDALIST, math31415926535, W.R.O.N.G, HamstPan38825, Mathlover_1, Goldenpigkhtn, Adventure10, Mango247, Bataw, Stuffybear, bin_sherlo, NicoN9, and 5 other users
Define $f(n) = n^2+n+1$. Then \[ n^4 + n^2 + 1 = (n^2+n+1)(n^2-n+1) = f(n)f(n-1). \] So it suffices to show that $\textstyle\max_p f(n)$ is at least the larger of $\textstyle\max_p f(n-1)$ and $\textstyle\max_p f(n+1)$ infinitely often, where $\textstyle\max_p(n)$ is the largest prime dividing $n$.

If not, either $\textstyle\max_p f(1), \textstyle\max_p f(2), \dots$ is eventually strictly increasing or strictly decreasing. Since the latter is impossible for integer sequences, we only need to show this sequence cannot decrease monotonically. But $f(n^2) = f(n)f(n-1)$, so $\textstyle\max_p f(n)^2$ is at most $\textstyle\max \left( \textstyle\max_p f(n), \textstyle\max_p f(n-1) \right)$, so the sequence cannot be strictly increasing at any time.

This is similar to a Russian 2010 problem, which asked to show infinitely many distinct $a$, $b$, $c$ satisfied $\textstyle\max_p (a^2+1) = \textstyle\max_p (b^2+1) = \textstyle\max_p (c^2+1)$.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Naysh
2134 posts
#6 • 3 Y
Y by Adventure10 and 2 other users
Solution
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
mathuz
1510 posts
#7 • 4 Y
Y by Adventure10, Mango247, and 2 other users
I think it's very nice problem, but some easier.
You can use by: \[ n^4+n^2+1=(n^2+n+1)((n-1)^2+(n-1)+1) \] let $a_n=n^2+n+1$ and $a_{n^2}=a_{n}a_{n-1}$. It means \[ max_p(a_{n^2})\le max(max_p(a_n),max_p(a_{n-1})) . \] :wink:
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
leminscate
109 posts
#8 • 4 Y
Y by MathbugAOPS, Adventure10, and 2 other users
Quite a nice problem. Let $f(n)=n^2+n+1$, and $g(n)$ be the greatest prime dividing $f(n)$. The key observation is that $f(n^2)=n^4+n^2+1=f(n)f(n-1)$.
So we are done if we can show that there are infinitely many positive integers $n$ such that $g(n) < g(n+1) > g(n+2)$. Assume this is not the case. Then after some stage the sequence $g(1), g(2), ...$ must be strictly increasing or decreasing (note consecutive $g(i)$ can never be equal as $(i^2+i+1, (i+1)^2+(i+1)+1)=1$ for positive integers $i$). If eventually it is strictly decreasing, we have a contradiction as primes are discrete with a lower bound. But it cannot eventually be always strictly increasing since $f(n^2)=f(n)f(n-1) \implies g(n^2)=g(n)$ or $g(n-1)$ for all n.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
JuanOrtiz
366 posts
#9 • 2 Y
Y by Adventure10, Mango247
After finding the factorization this problem is relatively easy, one must simply consider the function $g$ that takes the greatest prime divisor of $n^2+n+1$. However, finding the factorization is not so easy! :/ Took me some time...
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
#10 • 2 Y
Y by Adventure10, Mango247
Let $f(n)$ be the greatest prime factor of $n^2+n+1$. Then note $f(n)\neq f(n+1)$ as they are relatively prime. Moreover, we want to show that $f(n)>f(n-1), f(n+1)$ for infinitely many $n$. But this is equivalent to showing that $f$ is not monotone strictly increasing or decreasing, which is easy to show since $\text{max}(f(n-1), f(n))=f(n^2)$, so we cannot be infinitely increasing.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
AMN300
563 posts
#11 • 2 Y
Y by Adventure10, Mango247
Beautiful problem!

Solution
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
test20
988 posts
#12 • 2 Y
Y by Adventure10, Mango247
This problem badly overlaps with ARO 2011 11-7:
https://artofproblemsolving.com/community/c6h404321_aro_2011_117

(Note in particular the solution by "yugrey" in post #10.)
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
mastermind.hk16
143 posts
#13 • 2 Y
Y by Adventure10, Mango247
Solution
This post has been edited 1 time. Last edited by mastermind.hk16, Jul 29, 2021, 5:02 AM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
pad
1671 posts
#14 • 3 Y
Y by Adventure10, Mango247, nbsplv
Let $f(n)$ be the greatest prime factor of $n$. Since
\begin{align*}
n^4+n^2+1 &=(n^2+n+1)(n^2-n+1)\\
(n+1)^4+(n+1)^2+1 &= (n^2+n+1)(n^2+3n+3)
\end{align*}we want to show that there are infinitely many $n$ such that $f(n^2+n+1) > f(n^2-n+1)$ and $f(n^2+n+1)>f(n^2+3n+3)$. Let $g(n)=n^2+n+1$. We want to show there are infinitely many $n$ such that $f(g(n)) > f(g(n-1)), f(g(n+1))$. This is only impossible if the sequence $\{ f(g(n)) \}$ becomes monotonic starting at some point. Note that we cannot have $f(g(n)) = f(g(n+1))$ since $\text{gcd}(g(n),g(n+1))=1$ by Euclidean Algorithm. It cannot be monotonically decreasing, so it must be increasing.

Now, note that $g(n)g(n-1)=g(n^2)$. This means $f(g(n)g(n-1)) = f(g(n^2))$. But
\[ f(g(n)g(n-1)) = \max(f(g(n)), f(g(n-1))),\]which is a contradiction.

Remarks
This post has been edited 1 time. Last edited by pad, Aug 5, 2019, 7:24 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Edgylength
2 posts
#15 • 1 Y
Y by Adventure10
Well, I guess it was just too simply easy
Z K Y
G
H
=
a