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
k i A Letter to MSM
Arr0w   23
N Sep 19, 2022 by scannose
Greetings.

I have seen many posts talking about commonly asked questions, such as finding the value of $0^0$, $\frac{1}{0}$,$\frac{0}{0}$, $\frac{\infty}{\infty}$, why $0.999...=1$ or even expressions of those terms combined as if that would make them defined. I have made this post to answer these questions once and for all, and I politely ask everyone to link this post to threads that are talking about this issue.
[list]
[*]Firstly, the case of $0^0$. It is usually regarded that $0^0=1$, not because this works numerically but because it is convenient to define it this way. You will see the convenience of defining other undefined things later on in this post.

[*]What about $\frac{\infty}{\infty}$? The issue here is that $\infty$ isn't even rigorously defined in this expression. What exactly do we mean by $\infty$? Unless the example in question is put in context in a formal manner, then we say that $\frac{\infty}{\infty}$ is meaningless.

[*]What about $\frac{1}{0}$? Suppose that $x=\frac{1}{0}$. Then we would have $x\cdot 0=0=1$, absurd. A more rigorous treatment of the idea is that $\lim_{x\to0}\frac{1}{x}$ does not exist in the first place, although you will see why in a calculus course. So the point is that $\frac{1}{0}$ is undefined.

[*]What about if $0.99999...=1$? An article from brilliant has a good explanation. Alternatively, you can just use a geometric series. Notice that
\begin{align*}
\sum_{n=1}^{\infty} \frac{9}{10^n}&=9\sum_{n=1}^{\infty}\frac{1}{10^n}=9\sum_{n=1}^{\infty}\biggr(\frac{1}{10}\biggr)^n=9\biggr(\frac{\frac{1}{10}}{1-\frac{1}{10}}\biggr)=9\biggr(\frac{\frac{1}{10}}{\frac{9}{10}}\biggr)=9\biggr(\frac{1}{9}\biggr)=\boxed{1}
\end{align*}
[*]What about $\frac{0}{0}$? Usually this is considered to be an indeterminate form, but I would also wager that this is also undefined.
[/list]
Hopefully all of these issues and their corollaries are finally put to rest. Cheers.

2nd EDIT (6/14/22): Since I originally posted this, it has since blown up so I will try to add additional information per the request of users in the thread below.

INDETERMINATE VS UNDEFINED

What makes something indeterminate? As you can see above, there are many things that are indeterminate. While definitions might vary slightly, it is the consensus that the following definition holds: A mathematical expression is be said to be indeterminate if it is not definitively or precisely determined. So how does this make, say, something like $0/0$ indeterminate? In analysis (the theory behind calculus and beyond), limits involving an algebraic combination of functions in an independent variable may often be evaluated by replacing these functions by their limits. However, if the expression obtained after this substitution does not provide sufficient information to determine the original limit, then the expression is called an indeterminate form. For example, we could say that $0/0$ is an indeterminate form.

But we need to more specific, this is still ambiguous. An indeterminate form is a mathematical expression involving at most two of $0$, $1$ or $\infty$, obtained by applying the algebraic limit theorem (a theorem in analysis, look this up for details) in the process of attempting to determine a limit, which fails to restrict that limit to one specific value or infinity, and thus does not determine the limit being calculated. This is why it is called indeterminate. Some examples of indeterminate forms are
\[0/0, \infty/\infty, \infty-\infty, \infty \times 0\]etc etc. So what makes something undefined? In the broader scope, something being undefined refers to an expression which is not assigned an interpretation or a value. A function is said to be undefined for points outside its domain. For example, the function $f:\mathbb{R}^{+}\cup\{0\}\rightarrow\mathbb{R}$ given by the mapping $x\mapsto \sqrt{x}$ is undefined for $x<0$. On the other hand, $1/0$ is undefined because dividing by $0$ is not defined in arithmetic by definition. In other words, something is undefined when it is not defined in some mathematical context.

WHEN THE WATERS GET MUDDIED

So with this notion of indeterminate and undefined, things get convoluted. First of all, just because something is indeterminate does not mean it is not undefined. For example $0/0$ is considered both indeterminate and undefined (but in the context of a limit then it is considered in indeterminate form). Additionally, this notion of something being undefined also means that we can define it in some way. To rephrase, this means that technically, we can make something that is undefined to something that is defined as long as we define it. I'll show you what I mean.

One example of making something undefined into something defined is the extended real number line, which we define as
\[\overline{\mathbb{R}}=\mathbb{R}\cup \{-\infty,+\infty\}.\]So instead of treating infinity as an idea, we define infinity (positively and negatively, mind you) as actual numbers in the reals. The advantage of doing this is for two reasons. The first is because we can turn this thing into a totally ordered set. Specifically, we can let $-\infty\le a\le \infty$ for each $a\in\overline{\mathbb{R}}$ which means that via this order topology each subset has an infimum and supremum and $\overline{\mathbb{R}}$ is therefore compact. While this is nice from an analytic standpoint, extending the reals in this way can allow for interesting arithmetic! In $\overline{\mathbb{R}}$ it is perfectly OK to say that,
\begin{align*}
a + \infty = \infty + a & = \infty, & a & \neq -\infty \\
a - \infty = -\infty + a & = -\infty, & a & \neq \infty \\
a \cdot (\pm\infty) = \pm\infty \cdot a & = \pm\infty, & a & \in (0, +\infty] \\
a \cdot (\pm\infty) = \pm\infty \cdot a & = \mp\infty, & a & \in [-\infty, 0) \\
\frac{a}{\pm\infty} & = 0, & a & \in \mathbb{R} \\
\frac{\pm\infty}{a} & = \pm\infty, & a & \in (0, +\infty) \\
\frac{\pm\infty}{a} & = \mp\infty, & a & \in (-\infty, 0).
\end{align*}So addition, multiplication, and division are all defined nicely. However, notice that we have some indeterminate forms here which are also undefined,
\[\infty-\infty,\frac{\pm\infty}{\pm\infty},\frac{\pm\infty}{0},0\cdot \pm\infty.\]So while we define certain things, we also left others undefined/indeterminate in the process! However, in the context of measure theory it is common to define $\infty \times 0=0$ as greenturtle3141 noted below. I encourage to reread what he wrote, it's great stuff! As you may notice, though, dividing by $0$ is undefined still! Is there a place where it isn't? Kind of. To do this, we can extend the complex numbers! More formally, we can define this extension as
\[\mathbb{C}^*=\mathbb{C}\cup\{\tilde{\infty}\}\]which we call the Riemann Sphere (it actually forms a sphere, pretty cool right?). As a note, $\tilde{\infty}$ means complex infinity, since we are in the complex plane now. Here's the catch: division by $0$ is allowed here! In fact, we have
\[\frac{z}{0}=\tilde{\infty},\frac{z}{\tilde{\infty}}=0.\]where $\tilde{\infty}/\tilde{\infty}$ and $0/0$ are left undefined. We also have
\begin{align*}
z+\tilde{\infty}=\tilde{\infty}, \forall z\ne -\infty\\
z\times \tilde{\infty}=\tilde{\infty}, \forall z\ne 0
\end{align*}Furthermore, we actually have some nice properties with multiplication that we didn't have before. In $\mathbb{C}^*$ it holds that
\[\tilde{\infty}\times \tilde{\infty}=\tilde{\infty}\]but $\tilde{\infty}-\tilde{\infty}$ and $0\times \tilde{\infty}$ are left as undefined (unless there is an explicit need to change that somehow). One could define the projectively extended reals as we did with $\mathbb{C}^*$, by defining them as
\[{\widehat {\mathbb {R} }}=\mathbb {R} \cup \{\infty \}.\]They behave in a similar way to the Riemann Sphere, with division by $0$ also being allowed with the same indeterminate forms (in addition to some other ones).
23 replies
Arr0w
Feb 11, 2022
scannose
Sep 19, 2022
k i Marathon Threads
LauraZed   0
Jul 2, 2019
Due to excessive spam and inappropriate posts, we have locked the Prealgebra and Beginning Algebra threads.

We will either unlock these threads once we've cleaned them up or start new ones, but for now, do not start new marathon threads for these subjects. Any new marathon threads started while this announcement is up will be immediately deleted.
0 replies
LauraZed
Jul 2, 2019
0 replies
k i Basic Forum Rules and Info (Read before posting)
jellymoop   368
N May 16, 2018 by harry1234
f (Reminder: Do not post Alcumus or class homework questions on this forum. Instructions below.) f
Welcome to the Middle School Math Forum! Please take a moment to familiarize yourself with the rules.

Overview:
[list]
[*] When you're posting a new topic with a math problem, give the topic a detailed title that includes the subject of the problem (not just "easy problem" or "nice problem")
[*] Stay on topic and be courteous.
[*] Hide solutions!
[*] If you see an inappropriate post in this forum, simply report the post and a moderator will deal with it. Don't make your own post telling people they're not following the rules - that usually just makes the issue worse.
[*] When you post a question that you need help solving, post what you've attempted so far and not just the question. We are here to learn from each other, not to do your homework. :P
[*] Avoid making posts just to thank someone - you can use the upvote function instead
[*] Don't make a new reply just to repeat yourself or comment on the quality of others' posts; instead, post when you have a new insight or question. You can also edit your post if it's the most recent and you want to add more information.
[*] Avoid bumping old posts.
[*] Use GameBot to post alcumus questions.
[*] If you need general MATHCOUNTS/math competition advice, check out the threads below.
[*] Don't post other users' real names.
[*] Advertisements are not allowed. You can advertise your forum on your profile with a link, on your blog, and on user-created forums that permit forum advertisements.
[/list]

Here are links to more detailed versions of the rules. These are from the older forums, so you can overlook "Classroom math/Competition math only" instructions.
Posting Guidelines
Update on Basic Forum Rules
What belongs on this forum?
How do I write a thorough solution?
How do I get a problem on the contest page?
How do I study for mathcounts?
Mathcounts FAQ and resources
Mathcounts and how to learn

As always, if you have any questions, you can PM me or any of the other Middle School Moderators. Once again, if you see spam, it would help a lot if you filed a report instead of responding :)

Marathons!
Relays might be a better way to describe it, but these threads definitely go the distance! One person starts off by posting a problem, and the next person comes up with a solution and a new problem for another user to solve. Here's some of the frequently active marathons running in this forum:
[list][*]Algebra
[*]Prealgebra
[*]Proofs
[*]Factoring
[*]Geometry
[*]Counting & Probability
[*]Number Theory[/list]
Some of these haven't received attention in a while, but these are the main ones for their respective subjects. Rather than starting a new marathon, please give the existing ones a shot first.

You can also view marathons via the Marathon tag.

Think this list is incomplete or needs changes? Let the mods know and we'll take a look.
368 replies
jellymoop
May 8, 2015
harry1234
May 16, 2018
hard ............ (2)
Noname23   2
N 8 minutes ago by mathprodigy2011
problem
2 replies
Noname23
Yesterday at 5:10 PM
mathprodigy2011
8 minutes ago
Abelkonkurransen 2025 3a
Lil_flip38   5
N 10 minutes ago by ariopro1387
Source: abelkonkurransen
Let \(ABC\) be a triangle. Let \(E,F\) be the feet of the altitudes from \(B,C\) respectively. Let \(P,Q\) be the projections of \(B,C\) onto line \(EF\). Show that \(PE=QF\).
5 replies
Lil_flip38
Yesterday at 11:14 AM
ariopro1387
10 minutes ago
Inequality by Po-Ru Loh
v_Enhance   54
N 22 minutes ago by Marcus_Zhang
Source: ELMO 2003 Problem 4
Let $x,y,z \ge 1$ be real numbers such that \[ \frac{1}{x^2-1} + \frac{1}{y^2-1} + \frac{1}{z^2-1} = 1. \] Prove that \[ \frac{1}{x+1} + \frac{1}{y+1} + \frac{1}{z+1} \le 1. \]
54 replies
v_Enhance
Dec 29, 2012
Marcus_Zhang
22 minutes ago
Problem 5
Functional_equation   14
N 35 minutes ago by ali123456
Source: Azerbaijan third round 2020(JBMO Shortlist 2019 N6)
$a,b,c$ are non-negative integers.
Solve: $a!+5^b=7^c$

Proposed by Serbia
14 replies
Functional_equation
Jun 6, 2020
ali123456
35 minutes ago
Does Beast Academy Fully Cover Common Core?
markonthird   3
N 2 hours ago by Andyluo
I was thinking about switching my son to the Beast Academy books but there aren't many reviews of this book series and it is relatively new. Do you happen to know if there are any reviews of the Beast Academy books from highly reputable sources? I am going to use the Beast Academy books as a supplemental but I was thinking about using them as the primary math books.

About how well does Beast Academy cover common core? Does it cover it very thoroughly?

Background: My son is an advanced math learner. I want him to do AMC 8. I am teaching him with Into Math by HMH--he will be done with its 4th grade book at the end of this summer, I estimate. He is currently in 1st grade. At his school, he is in their 2nd/3rd grade math class. Into Math by HMH follows common core closely and he is doing well with it, so I'm hesitant to change. Into Math is also a well-reviewed book series.


3 replies
markonthird
3 hours ago
Andyluo
2 hours ago
MATHCOUNTS on ESPN
rrusczyk   21
N 3 hours ago by MathRook7817
ESPN noon EST - the Countdown round of Nationals.

(Disclaimer: yours truly is an 'analyst' for the broadcast.)
21 replies
rrusczyk
May 27, 2003
MathRook7817
3 hours ago
Angle problem
FlyingDragon21   24
N 4 hours ago by FlyingDragon21
In Isosceles triangle ABC where AB equals AC and point D lies on line AB, line CD splits line AB so that AD equals BC. If angle BAC is 20 degrees, what is the measure of angle DCA?
24 replies
FlyingDragon21
Mar 18, 2025
FlyingDragon21
4 hours ago
Combi counting
Caasi_Gnow   1
N 5 hours ago by franklin2013
Find the number of different ways to arrange seven people around a circular meeting table if A and B must sit together and C and D cannot sit next to each other. (Note: the order for A and B might be A,B or B,A)
1 reply
Caasi_Gnow
Yesterday at 7:39 AM
franklin2013
5 hours ago
Mathcounts Challenge: Area and Perimeter
Syntax Error   20
N 6 hours ago by mathelvin
If the perimeter of an isosceles triangle is 36cm and the altitude to its base is 12cm, what is the area, in square centimeters, of the triangle?


this was a countdown round, so do it fast
20 replies
Syntax Error
Sep 9, 2003
mathelvin
6 hours ago
Tangent Spheres in a plane
ReticulatedPython   13
N Yesterday at 6:02 PM by ChaitraliKA
Three mutually tangent spheres with radius $6$ rest on a plane. A sphere with radius $10$ is tangent to all of them, but does not intersect nor lie on the plane. A sphere with radius $r$ lies on the plane, and is tangent to all three spheres with radius $6.$ Compute the shortest distance between the sphere with radius $r$ and the sphere with radius $10.$

Source: Own
13 replies
ReticulatedPython
Wednesday at 9:44 PM
ChaitraliKA
Yesterday at 6:02 PM
state mathcounts colorado
aoh11   55
N Yesterday at 2:35 PM by Nioronean
I have state mathcounts tomorrow. What should I do to get prepared btw, and what are some tips for doing sprint and cdr?
55 replies
aoh11
Mar 15, 2025
Nioronean
Yesterday at 2:35 PM
Why was this poll blocked
jkim0656   10
N Yesterday at 2:16 PM by iwastedmyusername
Hey AoPS ppl!
I made a poll about Pi vs Tau over here:
https://artofproblemsolving.com/community/c3h3527460
But after a few days it got blocked but i don't get why?
how is this harmful or different from other polls?
It really wasn't that harmful or popular i got to say tho... :noo:
10 replies
jkim0656
Mar 18, 2025
iwastedmyusername
Yesterday at 2:16 PM
Amc10 prep question
Shadow6885   20
N Yesterday at 1:57 PM by hashbrown2009
My question is how much of the geo and IA textbooks is relevant to AMC 10?
20 replies
Shadow6885
Mar 17, 2025
hashbrown2009
Yesterday at 1:57 PM
quadratics
luciazhu1105   17
N Yesterday at 1:55 PM by Charizard_637
I really need help on quadratics and I don't know why I also kinda need a bit of help on graphing functions and finding the domain and range of them.
17 replies
luciazhu1105
Feb 14, 2025
Charizard_637
Yesterday at 1:55 PM
gcd (a^n+b,b^n+a) is constant
EthanWYX2009   77
N Feb 25, 2025 by quantam13
Source: 2024 IMO P2
Determine all pairs $(a,b)$ of positive integers for which there exist positive integers $g$ and $N$ such that
$$\gcd (a^n+b,b^n+a)=g$$holds for all integers $n\geqslant N.$ (Note that $\gcd(x, y)$ denotes the greatest common divisor of integers $x$ and $y.$)

Proposed by Valentio Iverson, Indonesia
77 replies
EthanWYX2009
Jul 16, 2024
quantam13
Feb 25, 2025
gcd (a^n+b,b^n+a) is constant
G H J
G H BBookmark kLocked kLocked NReply
Source: 2024 IMO P2
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
SomeonesPenguin
123 posts
#72 • 2 Y
Y by zzSpartan, cubres
Solution
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
VicKmath7
1385 posts
#73 • 8 Y
Y by GeoKing, iamnotgentle, Assassino9931, AlexCenteno2007, oolite, ehuseyinyigit, X.Allaberdiyev, cubres
Today I tried the problem again and found another way to spot the $ab+1$ trick (which I don't see above), so I decided to post this solution along with some comments on my in-contest experience (despite not solving it there).

Solution
This post has been edited 6 times. Last edited by VicKmath7, Aug 4, 2024, 7:45 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
math90
1474 posts
#74 • 1 Y
Y by cubres
Answer: $(1,1)$.

Proof that answer works: in this case
$$\gcd(a^n+b,b^n+a)=2$$for all $n\in\mathbb N$, so $(1,1)$ works.

Now we prove that $(a,b)=(1,1)$. Observe that $\gcd(a,ab+1)=\gcd(b,ab+1)=1$. By choosing $n=\varphi(ab+1)N-1$ and using Euler's theorem, we have

$$a^n+b\equiv a^{-1}+b\equiv 0\pmod{ab+1}.$$so $ab+1\mid a^n+b$. Similarly $ab+1\mid b^n+a$ so
$$ab+1\mid \gcd(a^n+b,b^n+a)=g.$$As a result we have $ab+1\mid a^n+b$ for all $n\ge N$, so $\{a^n\}$ is eventually constant modulo $ab+1$. As $\gcd(a,ab+1)=1$, this implies that
$$a\equiv 1\pmod{ab+1}.$$If $a\ne 1$, then $ab+1\le a-1$, which is impossible. Hence $a=1$. Similarly $b=1$ so $(a,b)=(1,1)$.
This post has been edited 1 time. Last edited by math90, Aug 21, 2024, 8:19 AM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Assassino9931
1197 posts
#75 • 1 Y
Y by cubres
Did anyone mention that this problem appeared in the IMSC China International camp 2024 and benefitted some students??? :)

(P.S. I am not blaming anyone that a setup has been made; in fact I can assure that no such thing has happened, I am just giving a fun fact here.)
This post has been edited 3 times. Last edited by Assassino9931, Sep 11, 2024, 5:13 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
straight
406 posts
#76 • 1 Y
Y by cubres
Assassino9931 wrote:
Did anyone mention that this problem appeared in the IMSC China International camp 2024 and benefitted some students??? :)

(P.S. I am not blaming anyone that a setup has been made; in fact I can assure that no such thing has happened, I am just giving a fun fact here.)

@above I also realized this and I think it's very unfair indeed. It is completely the same idea with completely the same construction. If I recall proposer of that problem was Navid Safaei (forgive me if I'm wrong) . So far I haven't heard of anyone claiming to have known this problem before the IMO though
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Assassino9931
1197 posts
#77 • 1 Y
Y by cubres
straight wrote:
Assassino9931 wrote:
Did anyone mention that this problem appeared in the IMSC China International camp 2024 and benefitted some students??? :)

(P.S. I am not blaming anyone that a setup has been made; in fact I can assure that no such thing has happened, I am just giving a fun fact here.)

@above I also realized this and I think it's very unfair indeed. It is completely the same idea with completely the same construction. If I recall proposer of that problem was Navid Safaei (forgive me if I'm wrong) . So far I haven't heard of anyone claiming to have known this problem before the IMO though

No, the origin of the problem I put is Ukraine 2019 8.8/9.7 by Arsenii Nikolaev (who was actually Observer B at IMO 2024 if I am not mistaken, so in particular not part of the leaders/observer A problem voting). And, well, I did hear about at least one student benefitting from that, but prefer keep the identity of the country confidential.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Cali.Math
128 posts
#78 • 1 Y
Y by cubres
We uploaded our solution https://calimath.org/pdf/IMO2024-2.pdf on youtube https://youtu.be/daboPS8Dtyk.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Assassino9931
1197 posts
#79 • 3 Y
Y by pavel kozlov, VicKmath7, cubres
Here is the (primitive root)-styled solution, in spirit of what VicKmath7 wrote above.

Let $p \geq 3$ be a prime. Consider firstly the following: when is there an integer $n$ such that $a^n + b \equiv 0 \pmod p$? If $g$ is a primitive root mod $p$ (where $p$ is a prime not dividing $a$ or $b$!), then writing $a \equiv g^A$, $b \equiv g^B$ transfers to the equivalent $g^{B}(g^{nA-B}+1) \equiv 0 \pmod p$, i.e. $nA - B \equiv \frac{p-1}{2} \pmod {p-1}$. Similarly, for $b^n+a$ to be divisible by $p$ we must have $nB - A \equiv \frac{p-1}{2} \pmod {p-1}$. Now if it is the case that $A+B\equiv \frac{p-1}{2} \pmod {p-1}$, then taking $n\equiv -1 \pmod {p-1}$ would work not only for $a^n+b$, but also for $b^n + a$.

But note that $A + B \equiv \frac{p-1}{2} \pmod {p-1}$ if and only if $g^{A+B} \equiv -1 \pmod p$, i.e. $p$ divides $ab+1$. Therefore if we initially take $p$ to be an odd prime divisor of $ab+1$ (note that such does not divide $a$ or $b$), then there are infinitely many $n$, for which the required greatest common divisor is divisible by $p$. However, it cannot be the case that $p$ divides $a^n+b$ and $b^n+a$ for all large $n$ -- otherwise, $p$ would divide $a^{n+1} + ab \equiv a^{n+1} - 1$, so $p$ would divide $a-1$ (due to $a^{n+1} \equiv a^{n+2} \equiv 1 \pmod p$ and $\gcd(a,ab+1) = 1$), similarly $p$ would divide $b-1$, but now $ab+1 \equiv 0 \pmod p$ implies that $p$ must also divide $a+1$ and hence $(a+1) - (a-1) = 2$, contradicting $p\geq 3$.

Therefore, if $a$ and $b$ are such that $ab+1$ has an odd prime divisor, then they cannot satisfy the problem conditions. Finally, suppose $ab+1$ is a power of $2$. Fortunately, we only need that $ab+1$ is divisible by $4$ (unless $a=b=1$, which satisfies the problem conditions). Indeed, we may assume $a\equiv 3 \pmod 4$ and $b \equiv 1 \pmod 4$ and now if $n$ is even, then $a^n + b$ is divisible by $2$, but not by $4$ (and $b^n + a$ is divisible by $4$), while if $n$ is odd, then both $a^n + b$ and $b^n + a$ are divisible by $4$, so $\gcd(a^n+b,b^n+a)$ is infinitely often divisible by $4$ and not divisible by $4$, contradiction.
This post has been edited 3 times. Last edited by Assassino9931, Sep 18, 2024, 8:22 AM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
L13832
249 posts
#80 • 2 Y
Y by radian_51, cubres
What an amazing problem, kudos to the problem proposer :)
$\textbf{Answer:}$ $a=b=1$
Let $p$ be a prime such that $p\mid g$, so $p\mid b^{n-1}(a^n+b)-b^n-a\implies p\mid ab-1$ if $p\nmid a$.
Finally checking if $ab+1\mid g$ and choosing $n\equiv -1\pmod{\phi(ab+1)}$(this is possible because $\gcd(ab+1,a)=\gcd(b,ab+1)=1$) we have
$$a^n+b\equiv a^{-1}+b\equiv \frac{ab+1}{a}\equiv 0\pmod{ab+1}$$$$b^n+1\equiv a+b^{-1}\equiv \frac{ab+1}{b}\equiv 0\pmod{ab+1}$$Motivation
The last part comes from the fact that $a,b$ can be inverted modulo ${ab+1}$. Similarly we obtain $b^n+a\equiv 0\pmod{ab+1}$ which gives us $ab+1\mid g\implies p\mid ab+1$
Now we take $n \equiv 0 \pmod{p-1}$, we get that $p \mid g  = \gcd(a^n + b, b^n + a)$, so by FLT, $p \mid a + 1, p \mid b + 1 \implies p \mid 2\implies p=2$.
If $ab+1=2$ then $\boxed{a=b=1}$
Otherwise $ab+1\equiv 0\pmod{4}\implies a,b\equiv \pm 1\pmod{4}$.
WLOG $a \equiv -1 \pmod{4}$ and $b \equiv 1 \pmod{4}$. If $n$ is odd then we obtain that $a^n + b$ and $b^n + a$ are both divisible by $4$, and therefore $4 \mid g$. But having $n$ even we get $a^n + b \equiv 2 \pmod{4}$ and $4 \nmid a^n + b$, a contradiction, so we are done! :yoda:
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Golden_Verse
5 posts
#81 • 1 Y
Y by cubres
Answer
Solution
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Vedoral
89 posts
#82 • 1 Y
Y by cubres
Click to reveal hidden text
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
AshAuktober
927 posts
#83 • 1 Y
Y by cubres
Note that $ab+1 \mid g \mid a-b$, so indeed we must have $a  =b $, from where the only working pair is $(1, 1).
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
zaidova
83 posts
#84 • 1 Y
Y by cubres
For all n, which are positive integers ($a=b=1$) is the only solution.
This post has been edited 3 times. Last edited by zaidova, Jan 3, 2025, 7:43 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
cursed_tangent1434
549 posts
#85 • 1 Y
Y by ihategeo_1969
I just can't believe I didn't manage to solve this problem in contest. The idea of considering $ab+1$ is not that random either, especially since it is almost natural to consider $a+b$ at which point you decide that the considered expression had better be symmetric but also relatively prime to both $a$ and $b$, which leads to the considered form.

The entirety of the problem is the following key claim.

Claim : For any such pair $(a,b)$ we must have $ab+1$ a power of two.

Proof : Consider a prime $p\mid ab+1$. Then, since $\gcd(ab+1,a)=\gcd(ab+1,b)=1$ it follows that $p\nmid a,b$ and so letting $n=k(p-1)-1$ for sufficiently large positive integers $k$ we have,
\[a^n+b \equiv \frac{1}{a}+b \equiv \frac{ab+1}{a} \equiv 0 \pmod{p}\]and
\[a+b^n \equiv a+\frac{1}{b} \equiv \frac{ab+1}{b} \equiv 0 \pmod{p}\]which implies that $p \mid \gcd(a^n+b,b^n+a)$. But then, if the $\gcd$ is eventually constant, we have that $p \mid \gcd(a^n+b,b^n+a)$ for all sufficiently large positive integers $n$. But then, considering $n=k(p-1)$ for sufficiently large positive integers $k$ we have that,
\[0 \equiv a^n+b \equiv b+1 \pmod{p}\]And similarly, $a+1 \equiv 0 \pmod{p}$. But then, since $p\mid ab+1$ and $p \mid a+1$ it follows that $p \mid b-1$ which in conjunction with $p\mid b+2$ implies that $p=2$. This means that there cannot exist any odd prime $p$ dividing $ab+1$ proving the claim.

Now, if $ab+1>2$ and
\[ab+1=2^r\]for some $r \ge 2$, it follows that $ab \equiv 3 \pmod{4}$. Thus, $a\equiv 1 \pmod{4}$ and $b \equiv 3 \pmod{4}$ (or vice versa). But note that this means for even $n$,
\[a^n + b \equiv 1+3 \equiv 0 \pmod{4}\]but
\[a+b^n \equiv 1+1 \equiv 2 \pmod{4} \]Thus, $\nu_2(\gcd(a^n+b,b^n+a))=1$. But note that for odd $n$ we have,
\[a^n+b \equiv 1 + 3 \equiv 0 \pmod{4}\]and
\[a+b^n \equiv 1 + 3 \equiv 0 \pmod{4}\]which implies that $4\mid \gcd(a^n+b,b^n+a)$. But, if the $\gcd$ is eventually constant this is a clear contradiction, which implies that we must have $ab+1=2$ and thus, $a=b=1$ as desired.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
quantam13
96 posts
#86
Y by
Cute solution. The main idea is to consider the sequence modulo $ab+1$, which can be motivated by "$n=-1$".
Z K Y
N Quick Reply
G
H
=
a