Summer is a great time to explore cool problems to keep your skills sharp!  Schedule a class today!

G
Topic
First Poster
Last Poster
k a May Highlights and 2025 AoPS Online Class Information
jlacosta   0
May 1, 2025
May is an exciting month! National MATHCOUNTS is the second week of May in Washington D.C. and our Founder, Richard Rusczyk will be presenting a seminar, Preparing Strong Math Students for College and Careers, on May 11th.

Are you interested in working towards MATHCOUNTS and don’t know where to start? We have you covered! If you have taken Prealgebra, then you are ready for MATHCOUNTS/AMC 8 Basics. Already aiming for State or National MATHCOUNTS and harder AMC 8 problems? Then our MATHCOUNTS/AMC 8 Advanced course is for you.

Summer camps are starting next month at the Virtual Campus in math and language arts that are 2 - to 4 - weeks in duration. Spaces are still available - don’t miss your chance to have an enriching summer experience. 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 upcoming events:
[list][*]May 9th, 4:30pm PT/7:30pm ET, Casework 2: Overwhelming Evidence — A Text Adventure, a game where participants will work together to navigate the map, solve puzzles, and win! All are welcome.
[*]May 19th, 4:30pm PT/7:30pm ET, What's Next After Beast Academy?, designed for students finishing Beast Academy and ready for Prealgebra 1.
[*]May 20th, 4:00pm PT/7:00pm ET, Mathcamp 2025 Qualifying Quiz Part 1 Math Jam, Problems 1 to 4, join the Canada/USA Mathcamp staff for this exciting Math Jam, where they discuss solutions to Problems 1 to 4 of the 2025 Mathcamp Qualifying Quiz!
[*]May 21st, 4:00pm PT/7:00pm ET, Mathcamp 2025 Qualifying Quiz Part 2 Math Jam, Problems 5 and 6, Canada/USA Mathcamp staff will discuss solutions to Problems 5 and 6 of the 2025 Mathcamp Qualifying Quiz![/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
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
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, 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
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
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
Tuesday, May 6 - Aug 19
Wednesday, Jun 4 - Sep 17
Sunday, Jun 22 - Oct 19
Friday, Jul 18 - Nov 14

Introduction to Geometry
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

Paradoxes and Infinity
Mon, Tue, Wed, & Thurs, Jul 14 - Jul 16 (meets every day of the week!)

Intermediate: Grades 8-12

Intermediate Algebra
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
Sunday, Jun 1 - Aug 24
Wednesday, Jun 18 - Sep 3

Precalculus
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
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
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

AIME Problem Series A
Thursday, May 22 - Jul 31

AIME Problem Series B
Sunday, Jun 22 - Sep 21

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
Mon, Tue, Wed & Thurs, Jun 23 - Jun 26 (meets every day of the week!)
0 replies
jlacosta
May 1, 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
D1039 : A strange and general result on series
Dattier   1
N an hour ago by alexheinis
Source: les dattes à Dattier
Let $f \in C([0,1];[0,1])$ bijective, $f(0)=0$ and $(a_k) \in [0,1]^\mathbb N$ with $ \sum \limits_{k=0}^{+\infty} a_k$ converge.

Is it true that $\sum \limits_{k=0}^{+\infty} f(a_k)\times f^{-1}(a_k)$ converge?
1 reply
Dattier
Friday at 10:33 PM
alexheinis
an hour ago
2023 Putnam A2
giginori   22
N an hour ago by yayyayyay
Let $n$ be an even positive integer. Let $p$ be a monic, real polynomial of degree $2 n$; that is to say, $p(x)=$ $x^{2 n}+a_{2 n-1} x^{2 n-1}+\cdots+a_1 x+a_0$ for some real coefficients $a_0, \ldots, a_{2 n-1}$. Suppose that $p(1 / k)=k^2$ for all integers $k$ such that $1 \leq|k| \leq n$. Find all other real numbers $x$ for which $p(1 / x)=x^2$.
22 replies
giginori
Dec 3, 2023
yayyayyay
an hour ago
Worst Sillies of All Time
pingpongmerrily   51
N 2 hours ago by EthanNg6
Share the worst sillies you have ever made!

Mine was probably on the 2024 MathCounts State Target Round Problem 8, where I wrote my answer as a fraction instead of a percent, which cost me a trip to Nationals that year.
51 replies
pingpongmerrily
Friday at 12:34 PM
EthanNg6
2 hours ago
SOLVE: CDR style problem quick algebra
ryfighter   6
N 2 hours ago by EthanNg6
It takes 3 people 10 minutes to mow 2 lawns. How many minutes will it take for 2 people to mow 10 lawns? Express your answer in hours as a decimal.

$(A)$ $1.25$
$(B)$ $75$
$(C)$ $01.025$
$(D)$ $1.5$
$(E)$ $15.25$
6 replies
ryfighter
Yesterday at 3:19 AM
EthanNg6
2 hours ago
Fun challange problem :)
TigerSenju   32
N 2 hours ago by maxamc
Scenario:

Master Alchemist Aurelius is renowned for his mastery of elemental fusion. He works with seven fundamental, yet mysterious, elements: Ignis (Fire), Aqua (Water), Terra (Earth), Aer (Air), Lux (Light), Umbra (Shadow), and Aether (Spirit). Each element possesses a unique 'potency' value, a positive integer crucial for his most complex fusions

Aurelius has lost his master log of these potencies. All he has left are seven cryptic scrolls, each containing a precise relationship between the potencies of various elements. He needs these values to complete his Grand Device. Can you help him deduce the exact potency of each element?

The Elements and Their Potencies:

Let I represent the potency of Ignis (Fire).
Let A represent the potency of Aqua (Water).
Let T represent the potency of Terra (Earth).
Let R represent the potency of Aer (Air).
Let L represent the potency of Lux (Light).
Let U represent the potency of Umbra (Shadow).
Let E represent the potency of Aether (Spirit).
The Cryptic Scrolls (System of Equations):

Aurelius's scrolls reveal the following relationships:

The combined potency of Ignis, Aqua, and Terra is equal to the potency of Aer plus Lux, plus a constant of two.

If you sum the potencies of Aqua and Umbra, it precisely equals the sum of Lux and Aether, minus one.

The sum of Terra and Aer potencies is the same as the sum of Ignis, Aqua, and Aether potencies, minus one.

Three times the potency of Ignis, plus the potency of Aer, is equal to the sum of Aqua, Terra, and Aether potencies, plus five.

The difference between Lux and Ignis potencies is identical to the difference between Umbra and Aqua potencies.

The sum of Umbra and Aether potencies, when decreased by the potency of Terra, results in twice the potency of Aqua.

The potency of Ignis added to Lux, minus the potency of Aer, is equivalent to the potency of Aether minus Umbra, plus one.

The Grand Challenge:

Using only the information from the cryptic scrolls, set up and solve the system of seven linear equations to determine the unique positive integer potency value for each of the seven elements: I,A,T,R,L,U,E.

good luck, and whoever finds the potencies first, gets a title of The SYSTEMS OF EQUATIONS MASTER

p.s. Yes, I did just come up with a whole story of words to make a ridiculously long problem, but hey, you're reading this, so you probably have nothing better to be doing. ;)
32 replies
TigerSenju
May 18, 2025
maxamc
2 hours ago
Warning!
VivaanKam   40
N 3 hours ago by ayeshaaq
This problem will try to trick you! :!:

40 replies
VivaanKam
May 5, 2025
ayeshaaq
3 hours ago
IMC 1994 D2 P3
j___d   4
N 3 hours ago by krigger
Let $f$ be a real-valued function with $n+1$ derivatives at each point of $\mathbb R$. Show that for each pair of real numbers $a$, $b$, $a<b$, such that
$$\ln\left( \frac{f(b)+f'(b)+\cdots + f^{(n)} (b)}{f(a)+f'(a)+\cdots + f^{(n)}(a)}\right)=b-a$$there is a number $c$ in the open interval $(a,b)$ for which
$$f^{(n+1)}(c)=f(c)$$
4 replies
j___d
Mar 6, 2017
krigger
3 hours ago
number theory problem
danilorj   1
N 5 hours ago by solidgreen
Let $t$ be an integer, show that there are infinite perfect squares of the form $3t^2+4t+5$
1 reply
danilorj
Yesterday at 1:37 PM
solidgreen
5 hours ago
MathDash help
Spacepandamath13   8
N 5 hours ago by Yiyj
AkshajK ORZ by the way invited me to do MathDash a few months ago and I did try it one day but haven't done it much after (Sorry). Now, I'm getting back into it and finding the format kind of weird. When selecting certain problem type sometimes it lets me pick immediately, other times not. Any fixes?
8 replies
Spacepandamath13
May 29, 2025
Yiyj
5 hours ago
MIT PRIMES STEP
pingpongmerrily   5
N Yesterday at 4:56 PM by pingpongmerrily
Anyone else applying? How cooked am I for the placement test... (106.5 AMC 10, 5 AIME, 36/27 States/Nationals)
5 replies
pingpongmerrily
Friday at 9:01 PM
pingpongmerrily
Yesterday at 4:56 PM
Combi counting
Caasi_Gnow   4
N Yesterday at 3:49 PM by Rabbit47
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)
4 replies
Caasi_Gnow
Mar 20, 2025
Rabbit47
Yesterday at 3:49 PM
Math with Connect4 Boards
Math-lover1   12
N Yesterday at 2:47 PM by Math-lover1
Hi! So I was playing Connect4 with my friends the other day and I wondered: how many "legal" arrangements of Connect4 can be reached at the ending position?

We assume that we do not stop the game when there is a four in a row, and we have 21 red pieces and 21 yellow pieces. We also drop the pieces one by one into a standard 7 by 6 board. We can start the game with any color piece.

https://en.wikipedia.org/wiki/Connect_Four

Initial Thoughts
Attempt to use one-to-one correspondences
12 replies
Math-lover1
May 1, 2025
Math-lover1
Yesterday at 2:47 PM
The daily problem!
Leeoz   216
N Yesterday at 1:42 PM by kjhgyuio
Every day, I will try to post a new problem for you all to solve! If you want to post a daily problem, you can! :)

Please hide solutions and answers, hints are fine though! :)

Problems usually get harder throughout the week, so Sunday is the easiest and Saturday is the hardest!

Past Problems!
216 replies
Leeoz
Mar 21, 2025
kjhgyuio
Yesterday at 1:42 PM
Geometry question !
kjhgyuio   1
N Yesterday at 11:13 AM by whwlqkd
........
1 reply
kjhgyuio
Yesterday at 10:13 AM
whwlqkd
Yesterday at 11:13 AM
Putnam 2019 A5
hoeij   17
N Apr 19, 2025 by Ilikeminecraft
Let $p$ be an odd prime number, and let $\mathbb{F}_p$ denote the field of integers modulo $p$. Let $\mathbb{F}_p[x]$ be the ring of polynomials over $\mathbb{F}_p$, and let $q(x) \in \mathbb{F}_p[x]$ be given by $q(x) = \sum_{k=1}^{p-1} a_k x^k$ where $a_k = k^{(p-1)/2}$ mod $p$. Find the greatest nonnegative integer $n$ such that $(x-1)^n$ divides $q(x)$ in $\mathbb{F}_p[x]$.
17 replies
hoeij
Dec 10, 2019
Ilikeminecraft
Apr 19, 2025
Putnam 2019 A5
G H J
G H BBookmark kLocked kLocked NReply
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
hoeij
35 posts
#1 • 1 Y
Y by Adventure10
Let $p$ be an odd prime number, and let $\mathbb{F}_p$ denote the field of integers modulo $p$. Let $\mathbb{F}_p[x]$ be the ring of polynomials over $\mathbb{F}_p$, and let $q(x) \in \mathbb{F}_p[x]$ be given by $q(x) = \sum_{k=1}^{p-1} a_k x^k$ where $a_k = k^{(p-1)/2}$ mod $p$. Find the greatest nonnegative integer $n$ such that $(x-1)^n$ divides $q(x)$ in $\mathbb{F}_p[x]$.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
hoeij
35 posts
#3 • 3 Y
Y by OmicronGamma, Guardiola, Adventure10
Answer: For $f(x) \in \mathbb{F}_p[x] - \{0\}$ let $m(f)$ denote its multiplicity at $x=1$ so $f(x) = (x-1)^{m(f)} g(x)$ for some $g(x) \in \mathbb{F}_p[x]$ with $g(1) \neq 0$. If $m(f) \not\equiv 0$ mod $p$, then $m(f') = m(f)-1$ by the product rule. We are asked to compute $m(q)$.

Let $f_n := \sum_{k=0}^{p-1} k^n x^k \in \mathbb{F}_p[x]$. Then $f_0 = x^{p-1}+\cdots+x^0 = (x^p-1)/(x-1) = (x-1)^{p-1}$ using the fact that $x^p-1 = (x-1)^p$ in $\mathbb{F}_p[x]$. Since $f_{n+1} = x f_n'$ it follows that $m(f_n) = m(f_0) - n$ for $n = 1,2,\ldots, m(f_0)$. In particular $m(q) = m(f_{(p-1)/2}) = m(f_0) - (p-1)/2 = (p-1)/2$.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Anzoteh
126 posts
#4 • 3 Y
Y by Guardiola, Adventure10, Mango247
Kiran's solution uses the transformation $D^m(f)=xf'$, which is way neater. Here's a solution that repeats the above, i.e. $D^m(f)=f'$ and as usual we find the smallest $n$ with $D^n(f)(1)\neq 0$. Finding derivative term wise, get
$$
D^m(q)(1) = \sum_{k=1}^{p-1} k^{(p-1)/2}k(k-1)\cdots (k-m+1)
$$(some explanation needed as $k-m$ could go to 0. We can now write the above in terms of the following polynomial:
$$
s_m(x)=x^{(p-1)/2}x(x-1)\cdots (x-m+1)
=\sum_{k=1}^{m}b_kx^{(p-1)/2+k}
$$and
$$
D^m(q)(1) = \sum_{j=1}^{p-1}s_m(j)
=\sum_{k=1}^m b_k\sum_{x=1}^{p-1}x^{(p-1)/2+k}
$$Now for $k<\frac{p-1}{2}$ each term $\sum_{x=1}^{p-1}x^{(p-1)/2+k}=0$ (primitive root argument), which means the sum will be $0$ for $0\le m<\frac{p-1}{2}$. For $m=\frac{p-1}{2}$, only $k=m=\frac{p-1}{2}$ is left and
$$D^m(q)(1)=\sum_{k=1}^m b_k(-1)$$but $b_k$ is the coefficient of the monic polynomial $s_m(x)$, hence equal 1, so $D^m(q)(1)=-1\neq 0$ for $m=\frac{p-1}{2}$.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
hoeij
35 posts
#5 • 2 Y
Y by Adventure10, Mango247
Note that the exponent $(p-1)/2$ in the problem is irrelevant. If you replace it by another positive integer $n<p$ then the answer is simply $p-1-n$.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
TheStrangeCharm
290 posts
#6 • 2 Y
Y by Adventure10, Mango247
We first claim that for each $0\leq \ell < \frac{p - 1}{2}$, we have that
\[
(*) \sum_{k\in \mathbb{F}_p^{\times}}k^{\ell}a_k = 0.
\]Indeed, the above sum can be written as
\[
\sum_{k\in \mathbb{F}_p^{\times 2}}k^{\ell} - \sum_{k\in \mathbb{F}_p^{\times} - \mathbb{F}_p^{\times 2}}k^{\ell}.
\]But we have that
\[
\sum_{k\in \mathbb{F}_p^{\times 2}}k^{\ell} + \sum_{k\in \mathbb{F}_p^{\times} - \mathbb{F}_p^{\times 2}}k^{\ell} = \sum_{k\in \mathbb{F}_p^{\times}}k^{\ell} = 0.
\]To see this, take some $\alpha\in \mathbb{F}_p^{\times}$ with $\alpha^{\ell} \neq 1$, which is possible as $\ell < p - 1$, to see that
\[
\sum_{k\in \mathbb{F}_p^{\times}}k^{\ell} = \sum_{k\in \mathbb{F}_p^{\times}}(\alpha k)^{\ell} \implies (1 - \alpha^{\ell})\sum_{k\in \mathbb{F}_p^{\times}}k^{\ell} = 0 \implies \sum_{k\in \mathbb{F}_p^{\times}}k^{\ell} = 0.
\]Thus, we have that
\[
\sum_{k\in \mathbb{F}_p^{\times 2}}k^{\ell} - \sum_{k\in \mathbb{F}_p^{\times} - \mathbb{F}_p^{\times 2}}k^{\ell} = 2\sum_{k\in \mathbb{F}_p^{\times 2}}k^{\ell} = \sum_{m\in \mathbb{F}_p^{\times}}m^{2\ell} = 0,
\]as $2\ell < p - 1$, so we can use the trick of taking some $\alpha\in \mathbb{F}_p^{\times}$ with $\alpha^{2\ell}\neq 1$ as above, thus establishing $(*)$.

Now, return to our polynomial
\[
\sum_{k = 1}^{p - 1}a_kx^k. 
\]Note that this polynomial always vanishes at $x = 1$ by taking $(*)$ with $\ell = 0$. Suppose we take $\ell > 0$ derivatives of this expression and evaluate the result at $1$. The result will be
\[
\sum_{k = 1}^{p - 1}k(k - 1)\cdots k(k - \ell + 1)a_k. 
\]But we can expand out $k(k - 1)\cdots k(k - \ell + 1)$ as some polynomial in $k$ with integer coefficients and degree $\ell$. Thus, as long as $\ell < \frac{p - 1}{2}$, this expression will vanish by repeatedly applying (*). Thus, $(x - 1)^{\ell}$ divides our polynomial for $\ell < \frac{p - 1}{2}$. To see that $(x - 1)^{\frac{p - 1}{2}}$ does not divide our polynomial, it suffices to show that
\[
\sum_{k\in \mathbb{F}_p^{\times}}k^{\frac{p - 1}{2}}a_k \neq 0,
\]by expanding out $k(k - 1)\cdots k(k - \frac{p - 1}{2} + 1)$ as a polynomial in $k$ and applying $(*)$ to all $\ell < \frac{p - 1}{2}$. But this sum is just
\[
\sum_{k\in \mathbb{F}_p^{\times}}k^{p - 1} = p - 1\neq 0. \text{     }\square
\]
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
DVDthe1st
341 posts
#7 • 2 Y
Y by JohnDoeSmith, Adventure10
Let $\chi(k) = k^{(p-1)/2} = \left(\frac{k}{p}\right)$. Then $q(x)^2 \equiv \sum_{k=0}^{p-1} (\chi\ast\chi)(k)x^k \pmod{x^p - 1}$. But it's fairly well known that $\chi \ast \chi$ is a non-zero constant.

(Note: $(\chi\ast\chi)(k) = \sum_{i\in \mathbb F_p} \chi(i)\chi(k-i) $.)
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
hoeij
35 posts
#8 • 1 Y
Y by Adventure10
Short proof for A5: Let $f = 1+x+\cdots+x^{p-1} = (x-1)^{p-1}$ and denote $D(f) = xf'$. Then $q(x) = D^{(q-1)/2}(f)$. For $n=0,1,\ldots,p-1$, the multiplicity of $x-1$ in $D^n(f)$ is $p-1-n$
(because any time the multiplicity is not 0 mod p, it drops by 1 when you differentiate).
This post has been edited 1 time. Last edited by hoeij, Dec 10, 2019, 3:57 AM
Reason: added "because any time..."
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
trumpeter
3332 posts
#9 • 1 Y
Y by Adventure10
The answer is $\boxed{\frac{p-1}{2}}$.

The only number theoretic fact necessary is that the $m$th moment of $\mathbb{F}_p$ for $m\not\equiv0\pmod{p-1}$ is $0$. There are a few different reasons this is true: (number theory) plug in a primitive root and use geometric series, (group theory) the sum is a multiple of the sum of a subgroup with zero sum, (algebra) use Newton sums on the polynomial $x^{p-1}-1$.

An immediate corollary is that for any polynomial that has $0$ as a root has degree $\leq p-2$, the sum of the polynomial over $\mathbb{F}_p$ is $0$.

Take the $j$th derivative; we get
\[
	q^{(j)}(1)=\sum_{a\in\mathbb{F}_p}a^{\frac{p-1}{2}}a^{\underline{j}}
\]where $x^{\underline{j}}=x(x-1)\cdots(x-j+1)$ is the falling factorial. When $j=0,\ldots,\frac{p-3}{2}$, this is $0$ by the corollary. When $j=\frac{p-1}{2}$, the corollary implies that
\[
	q^{(j)}(1)=\sum_{a\in\mathbb{F}_p}a^{p-1}=-1.
\]So the first $\frac{p-1}{2}-1$ derivatives of $q$ at $1$ (a root of $q$) are $0$, so $1$ has multiplicity $\frac{p-1}{2}$ in $q$.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
yayups
1614 posts
#10 • 4 Y
Y by pad, Vfire, Adventure10, Mango247
All statements in this solution will be over $\mathbb{F}_p[x]$. Let $q^{(m)}(x)$ denote the $m$th derivative of $q(x)$. We have the following well known lemma.

Lemma 1: Suppose we have an integer $1\le n\le p$. Then $(x-1)^n\mid q(x)$ if and only if $q^{(m)}(1)=0$ for all $m=0,1,\ldots,n-1$.

Proof: Use the division algorithm for polynomials repeatedly to write $q(x)$ in the form \[q(x)=b_0+b_1(x-1)+b_2(x-1)^2+\cdots+b_{p-1}(x-1)^{p-1}.\]In this setting, it's clear that $(x-1)^n\mid q(x)$ if and only if $b_m=0$ for all $m=0,1,\ldots,n-1$. Differentiating $m$ times, we see that $m!b_m=q^{(m)}(1)$, and since $m\le n-1\le p-1$, we thus have $b_m=0\iff q^{(m)}(1)=0$, so the result follows. $\blacksquare$

In our setting, we have \[q^{(m)}(1)=\sum_{k=m}^{p-1}k^{\frac{p-1}{2}}k(k-1)\cdots(k-m+1)=\sum_{k=0}^{p-1}k^{\frac{p-1}{2}}k(k-1)\cdots(k-m+1).\]To evaluate this, we have the following useful lemma.

Lemma 2: For any integer $r=1,2,\ldots,p-2$, we have \[\sum_{k=0}^{p-1}k^r=0.\]Recall that we are working over $\mathbb{F}_p$.

Proof: Let $g$ be a primitive root mod $p$. Then, the sum is \[\sum_{\ell=0}^{p-2}(g^\ell)^r=\sum_{\ell=0}^{p-2}=\frac{(g^r)^{p-1}-1}{g^r-1}=0,\]which works since $g^r-1$, due to $1\le r\le p-2$. $\blacksquare$

Lemma 2 clearly implies that $q^{(m)}(1)=0$ for $m=0,\ldots,\frac{p-1}{2}-1$. It also implies that \[q^{\left(\frac{p-1}{2}\right)}(1)=\sum_{k=0}^{p-1} k^{p-1}=p-1\ne 0,\]so the maximal $n$ such that $(x-1)^n\mid q(x)$ is $n=\boxed{\frac{p-1}{2}}$ by lemma 1.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
hoeij
35 posts
#11 • 2 Y
Y by Adventure10, Mango247
Trumpeter: The only number theoretic fact needed for this exercise is the Freshman's dream: $(x-1)^p = x^p - 1$. The rest is calculus: the formula for a geometric sum, the fact that $x d/dx$ applied to $x^k$ gives $k x^k$, and the fact that if a multiplicity of a root is not zero in our field then it decreases by 1 when you differentiate. Nothing else is needed for the proof.

Complete proof for A5: The geometric sum $f := 1+x+\cdots+x^{p-1}$ can be written as $f = (x^p-1)/(x-1) = (x-1)^{p-1}$. Starting with $f$ and its multiplicity $p-1$, keep applying $x d/dx$ until you reach $q(x)$ and its multiplicity.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
donot
1180 posts
#12 • 2 Y
Y by Adventure10, Mango247
It seems I'm late, but I had a more number-theoretic solution
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Alex2
168 posts
#13 • 1 Y
Y by Adventure10
Sol
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
v_Enhance
6882 posts
#14 • 3 Y
Y by XbenX, Mathematicsislovely, v4913
Solution from Twitch Solves ISL:

The answer is $n = \frac{1}{2}(p-1)$ as claimed.

We use derivatives in the following way.
Claim: Define $q_0 = q$, and $q_{i+1} = x \cdot q_i'$. Suppose $n$ is such that $q_1$, \dots, $q_{n-1}$ has $x=1$ as a root, but $q_n$ does not have $x=1$ as a root. Then $n$ is the multiplicity of $x=1$ in $q$.
Proof. This follows from the fact that $q_{i+1}$ will have multiplicity of $x=1$ one less than in $q_i$. $\blacksquare$
On the other hand, we may explicitly compute \[ q_n(1) = \sum_{k=1}^{p-1} k^n \left( \frac kp \right) = 		\sum_{k \text{ qr}} k^n - 		\underbrace{2 \sum_{k=1}^{p-1} k^n}_{=0 \text{ for } n < p-1} \]Let $g$ be a primitive root modulo $p$. The first sum then equals \[ g^0 + g^{2n} + g^{4n} + \dots + g^{(p-3) n} \]which equals $\frac{p-1}{2}$ if $n = (p-1)/2$ but $\frac{g^{(p-1)n}-1}{g^{2n}-1} = 0$ otherwise.
Consequently, the answer is $n = \frac{1}{2}(p-1)$ as claimed.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
amuthup
779 posts
#15 • 1 Y
Y by SK_pi3145
I believe this is a new solution, can someone confirm that it works?

The answer is $\boxed{\frac{p-1}{2}}.$

Work in $\mathbb{F}_p,$ and let $f(n)=n^{(p-1)/2}.$ Additionally, define $S_k(n)$ inductively by $S_0(n)=1$ and $S_{k}(n)=\sum_{i=1}^{n}S_{k-1}(i).$

By synthetic division, it suffices to show the following. $$\sum_{i=1}^{p-1}S_{0}(i)f(i)=\sum_{i=1}^{p-1}S_{1}(i-1)f(i)=\sum_{i=1}^{p-1}S_{2}(i-2)f(i)=\dots=\sum_{i=1}^{p-1}S_{(p-3)/2}\left(i-\frac{p-1}{2}\right)f(i)=0,$$$$\sum_{i-1}^{p-1}S_{(p-1)/2}\left(i-\frac{p-1}{2}\right)f(i)\ne 0.$$To show that the sums on top evaluate to $0,$ induct from left to right; the base case follows from the fact that the number of nonzero QRs and QNRs are equal.

Now consider the $k$th sum from the left. By the inductive hypothesis, we may shift to obtain $\sum_{i=1}^{p-1}S_{k-1}(i)f(i).$ Therefore, since $S_{k-1}$ is a polynomial of degree $k-1,$ it suffices to show that $\sum_{i=1}^{p-1}i^{k-1}f(i)=0.$

This follows from Newton's sums on the polynomials $x^{(p-1)/2}\pm 1$ precisely when $k\ne\frac{p-1}{2},$ so we are done.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
HamstPan38825
8872 posts
#16
Y by
Kind of a boring problem; you just keep taking derivatives.

The answer is $\frac{p-1}2$. Notice that including all terms with negative powers that evaluate to zero, the $n$th derivative of $q(x)$ is equal to $$q^(n')(x) =\sum_{k=1}^{p-1} k^{\frac{p-1}2} \cdot k(k-1)(k-2)\cdots(k-n+1) x^{k-n}.$$In particular, for $n < \frac{p-1}2$, we can always split this into sums of the form $c\sum_{k=1}^{p-1} k^i$ for some $c \in \mathbb Z$ and $0 \leq i \leq p-2$. All these sums evaluate to zero modulo $p$, hence $q^(n')(1) = 0$.

On the other hand, when $n = \frac{p-1}2$, the leading $k$ term has exponent $p-1$, and the sum $c\sum_{k=1}^{p-1} k^{p-1}$ evaluates to $-1$, and hence the process terminates. It follows by the definition of derivative that the multiplicity of $1$ in $q$ is $\frac{p-1}2$.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
john0512
4191 posts
#17
Y by
The answer is $n=\frac{p-1}{2}$.

Using the Legendre symbol, define $$P(x)=\sum_{k=1}^{p-1} \left ( \frac{k}{p}  \right )x^k.$$
The problem is asking to find the smallest positive integer $n$ such that
$$P^{(n)}(1)\not\equiv 0\pmod{p}.$$
Using the definition of $P(x)$, we can explictly write $P^{(n)}(x)$ as
$$P^{(n)}(1)=\sum_{QR}r(r-1)\dots(r-n+1)-\sum_{NQR}r(r-1)\dots(r-n+1).$$
However, since
$$\sum_{NQR}r(r-1)\dots(r-n+1)=\sum_r r(r-1)\dots(r-n+1)-\sum_{QR}r(r-1)\dots(r-n+1),$$we have
$$P^{(n)}(1)=2\sum_{QR}r(r-1)\dots(r-n+1)-\sum_r r(r-1)\dots(r-n+1)$$$$=\sum_{r}(r^2)(r^2-1)\dots (r^2-n+1)-\sum_r r(r-1)\dots(r-n+1).$$
Now, we will use the following lemma (well-known):
Quote:
The sum of $k^m$ over $k=1,2,\dots,p-1$ vanishes mod $p$ unless $p-1\mid m$.

When $n<\frac{p-1}{2}$, everything is degree less than $p-1$, and the constant terms are the same, so everything vanishes. However, when $n=\frac{p-1}{2}$, the first sum has a non-vanishing component $r^{p-1}$, so it will not be zero as everything else vanishes. Thus, $n=\frac{p-1}{2}$ fails and we are done.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
OronSH
1748 posts
#18 • 1 Y
Y by centslordm
Answer $\tfrac{p-1}2$.

Fix a primitive root $g$ so that $a_{g^i}=(-1)^i$. Then notice we can write $\sum_{k=1}^{p-1}a_kk^n$ as a sum of $q(1),q'(1),\dots,q^{(n)}(1)$. In particular to preserve degrees the last term is added once. Thus the first time $q^{(n)}(1)\ne 0$ is the same as the first time $\sum_{k=1}^{p-1}a_kk^n\ne 0$. However, the idea is that we can rewrite this as $\sum_{i=1}^{p-1}(-g^n)^i$ which equals $g^n\frac{(-g^n)^{p-1}-1}{g^n+1}$ so if this is $\ne 0$ then we must have $g^n=-1$ so $n=\frac{p-1}2$. In fact for this $n$ we get $\sum_{k=1}^{p-1}a_kk^n=\sum_{k=1}^{p-1}a_k^2=p-1\ne 0$ as desired.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Ilikeminecraft
674 posts
#19
Y by
Differentiate and multiply by $x$ $\frac{p - 1}{2} - 1$ times. We are left with \[P(x) = \sum_{k = 1}^{p - 1}\frac1{k}x^k\]. Plugging in $x = 1,$ we get that the sum is diviisble by $x - 1.$ Differentiate one more time and we get \[\sum_{k = 1}^{p - 1}x^k = \frac{x^k - 1}{x - 1}\]which obviously has 0 powers of $x - 1.$ This implies that there are exactly $\frac{p - 1}{2}$ factors of $x - 1$ in the original expression.
Z K Y
N Quick Reply
G
H
=
a