Join our FREE webinar on May 1st to learn about managing anxiety.

G
Topic
First Poster
Last Poster
k a April Highlights and 2025 AoPS Online Class Information
jlacosta   0
Apr 2, 2025
Spring is in full swing and summer is right around the corner, what are your plans? At AoPS Online our schedule has new classes starting now through July, so be sure to keep your skills sharp and be prepared for the Fall school year! Check out the schedule of upcoming classes below.

WOOT early bird pricing is in effect, don’t miss out! If you took MathWOOT Level 2 last year, no worries, it is all new problems this year! Our Worldwide Online Olympiad Training program is for high school level competitors. AoPS designed these courses to help our top students get the deep focus they need to succeed in their specific competition goals. Check out the details at this link for all our WOOT programs in math, computer science, chemistry, and physics.

Looking for summer camps in math and language arts? Be sure to check out the video-based summer camps offered at the Virtual Campus that are 2- to 4-weeks in duration. There are middle and high school competition math camps as well as Math Beasts camps that review key topics coupled with fun explorations covering areas such as graph theory (Math Beasts Camp 6), cryptography (Math Beasts Camp 7-8), and topology (Math Beasts Camp 8-9)!

Be sure to mark your calendars for the following events:
[list][*]April 3rd (Webinar), 4pm PT/7:00pm ET, Learning with AoPS: Perspectives from a Parent, Math Camp Instructor, and University Professor
[*]April 8th (Math Jam), 4:30pm PT/7:30pm ET, 2025 MATHCOUNTS State Discussion
April 9th (Webinar), 4:00pm PT/7:00pm ET, Learn about Video-based Summer Camps at the Virtual Campus
[*]April 10th (Math Jam), 4:30pm PT/7:30pm ET, 2025 MathILy and MathILy-Er Math Jam: Multibackwards Numbers
[*]April 22nd (Webinar), 4:00pm PT/7:00pm ET, Competitive Programming at AoPS (USACO).[/list]
Our full course list for upcoming classes is below:
All classes run 7:30pm-8:45pm ET/4:30pm - 5:45pm PT unless otherwise noted.

Introductory: Grades 5-10

Prealgebra 1 Self-Paced

Prealgebra 1
Sunday, Apr 13 - Aug 10
Tuesday, May 13 - Aug 26
Thursday, May 29 - Sep 11
Sunday, Jun 15 - Oct 12
Monday, Jun 30 - Oct 20
Wednesday, Jul 16 - Oct 29

Prealgebra 2 Self-Paced

Prealgebra 2
Sunday, Apr 13 - Aug 10
Wednesday, May 7 - Aug 20
Monday, Jun 2 - Sep 22
Sunday, Jun 29 - Oct 26
Friday, Jul 25 - Nov 21

Introduction to Algebra A Self-Paced

Introduction to Algebra A
Monday, Apr 7 - Jul 28
Sunday, May 11 - Sep 14 (1:00 - 2:30 pm ET/10:00 - 11:30 am PT)
Wednesday, May 14 - Aug 27
Friday, May 30 - Sep 26
Monday, Jun 2 - Sep 22
Sunday, Jun 15 - Oct 12
Thursday, Jun 26 - Oct 9
Tuesday, Jul 15 - Oct 28

Introduction to Counting & Probability Self-Paced

Introduction to Counting & Probability
Wednesday, Apr 16 - Jul 2
Thursday, May 15 - Jul 31
Sunday, Jun 1 - Aug 24
Thursday, Jun 12 - Aug 28
Wednesday, Jul 9 - Sep 24
Sunday, Jul 27 - Oct 19

Introduction to Number Theory
Thursday, Apr 17 - Jul 3
Friday, May 9 - Aug 1
Wednesday, May 21 - Aug 6
Monday, Jun 9 - Aug 25
Sunday, Jun 15 - Sep 14
Tuesday, Jul 15 - Sep 30

Introduction to Algebra B Self-Paced

Introduction to Algebra B
Wednesday, Apr 16 - Jul 30
Tuesday, May 6 - Aug 19
Wednesday, Jun 4 - Sep 17
Sunday, Jun 22 - Oct 19
Friday, Jul 18 - Nov 14

Introduction to Geometry
Wednesday, Apr 23 - Oct 1
Sunday, May 11 - Nov 9
Tuesday, May 20 - Oct 28
Monday, Jun 16 - Dec 8
Friday, Jun 20 - Jan 9
Sunday, Jun 29 - Jan 11
Monday, Jul 14 - Jan 19

Intermediate: Grades 8-12

Intermediate Algebra
Monday, Apr 21 - Oct 13
Sunday, Jun 1 - Nov 23
Tuesday, Jun 10 - Nov 18
Wednesday, Jun 25 - Dec 10
Sunday, Jul 13 - Jan 18
Thursday, Jul 24 - Jan 22

Intermediate Counting & Probability
Wednesday, May 21 - Sep 17
Sunday, Jun 22 - Nov 2

Intermediate Number Theory
Friday, Apr 11 - Jun 27
Sunday, Jun 1 - Aug 24
Wednesday, Jun 18 - Sep 3

Precalculus
Wednesday, Apr 9 - Sep 3
Friday, May 16 - Oct 24
Sunday, Jun 1 - Nov 9
Monday, Jun 30 - Dec 8

Advanced: Grades 9-12

Olympiad Geometry
Tuesday, Jun 10 - Aug 26

Calculus
Tuesday, May 27 - Nov 11
Wednesday, Jun 25 - Dec 17

Group Theory
Thursday, Jun 12 - Sep 11

Contest Preparation: Grades 6-12

MATHCOUNTS/AMC 8 Basics
Wednesday, Apr 16 - Jul 2
Friday, May 23 - Aug 15
Monday, Jun 2 - Aug 18
Thursday, Jun 12 - Aug 28
Sunday, Jun 22 - Sep 21
Tues & Thurs, Jul 8 - Aug 14 (meets twice a week!)

MATHCOUNTS/AMC 8 Advanced
Friday, Apr 11 - Jun 27
Sunday, May 11 - Aug 10
Tuesday, May 27 - Aug 12
Wednesday, Jun 11 - Aug 27
Sunday, Jun 22 - Sep 21
Tues & Thurs, Jul 8 - Aug 14 (meets twice a week!)

AMC 10 Problem Series
Friday, May 9 - Aug 1
Sunday, Jun 1 - Aug 24
Thursday, Jun 12 - Aug 28
Tuesday, Jun 17 - Sep 2
Sunday, Jun 22 - Sep 21 (1:00 - 2:30 pm ET/10:00 - 11:30 am PT)
Monday, Jun 23 - Sep 15
Tues & Thurs, Jul 8 - Aug 14 (meets twice a week!)

AMC 10 Final Fives
Sunday, May 11 - Jun 8
Tuesday, May 27 - Jun 17
Monday, Jun 30 - Jul 21

AMC 12 Problem Series
Tuesday, May 27 - Aug 12
Thursday, Jun 12 - Aug 28
Sunday, Jun 22 - Sep 21
Wednesday, Aug 6 - Oct 22

AMC 12 Final Fives
Sunday, May 18 - Jun 15

F=ma Problem Series
Wednesday, Jun 11 - Aug 27

WOOT Programs
Visit the pages linked for full schedule details for each of these programs!


MathWOOT Level 1
MathWOOT Level 2
ChemWOOT
CodeWOOT
PhysicsWOOT

Programming

Introduction to Programming with Python
Thursday, May 22 - Aug 7
Sunday, Jun 15 - Sep 14 (1:00 - 2:30 pm ET/10:00 - 11:30 am PT)
Tuesday, Jun 17 - Sep 2
Monday, Jun 30 - Sep 22

Intermediate Programming with Python
Sunday, Jun 1 - Aug 24
Monday, Jun 30 - Sep 22

USACO Bronze Problem Series
Tuesday, May 13 - Jul 29
Sunday, Jun 22 - Sep 1

Physics

Introduction to Physics
Wednesday, May 21 - Aug 6
Sunday, Jun 15 - Sep 14
Monday, Jun 23 - Sep 15

Physics 1: Mechanics
Thursday, May 22 - Oct 30
Monday, Jun 23 - Dec 15

Relativity
Sat & Sun, Apr 26 - Apr 27 (4:00 - 7:00 pm ET/1:00 - 4:00pm PT)
Mon, Tue, Wed & Thurs, Jun 23 - Jun 26 (meets every day of the week!)
0 replies
jlacosta
Apr 2, 2025
0 replies
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
Geometry with orthocenter config
thdnder   2
N 5 minutes ago by thdnder
Source: Own
Let $ABC$ be a triangle, and let $AD, BE, CF$ be its altitudes. Let $H$ be its orthocenter, and let $O_B$ and $O_C$ be the circumcenters of triangles $AHC$ and $AHB$. Let $G$ be the second intersection of the circumcircles of triangles $FDO_B$ and $EDO_C$. Prove that the lines $DG$, $EF$, and $A$-median of $\triangle ABC$ are concurrent.
2 replies
thdnder
Yesterday at 5:26 PM
thdnder
5 minutes ago
problem interesting
Cobedangiu   3
N 6 minutes ago by tom-nowy
Let $a=3k^2+3k+1 (a,k \in N)$
$i)$ Prove that: $a^2$ is the sum of $3$ square numbers
$ii)$ Let $b \vdots a$ and $b$ is the sum of $3$ square numbers. Prove that: $b^n$ is the sum of $3$ square numbers
3 replies
Cobedangiu
Today at 5:06 AM
tom-nowy
6 minutes ago
Choose P on (AOB) and Q on (AOC)
MarkBcc168   7
N 7 minutes ago by akasht
Source: ELMO Shortlist 2024 G5
Let $ABC$ be a triangle with circumcenter $O$ and circumcircle $\omega$. Let $D$ be the foot of the altitude from $A$ to $\overline{BC}$. Let $P$ and $Q$ be points on the circumcircles of triangles $AOB$ and $AOC$, respectively, such that $A$, $P$, and $Q$ are collinear. Prove that if the circumcircle of triangle $OPQ$ is tangent to $\omega$ at $T$, then $\angle BTD=\angle CAP$.

Tiger Zhang
7 replies
1 viewing
MarkBcc168
Jun 22, 2024
akasht
7 minutes ago
Do not try to bash on beautiful geometry
ItzsleepyXD   2
N 14 minutes ago by moony_
Source: Own , Mock Thailand Mathematic Olympiad P9
Let $ABC$be triangle with point $D,E$ and $F$ on $BC,AB,CA$
such that $BE=CF$ and $E,F$ are on the same side of $BC$
Let $M$ be midpoint of segment $BC$ and $N$ be midpoint of segment $EF$
Let $G$ be intersection of $BF$ with $CE$ and $\dfrac{BD}{DC}=\dfrac{AC}{AB}$
Prove that $MN\parallel DG$
2 replies
ItzsleepyXD
3 hours ago
moony_
14 minutes ago
Can someone explain this one
hawa   10
N Yesterday at 8:23 PM by VivaanKam
Suppose n is the largest integer obtained by solving the following inequality:

3+9+18+30+...+n
n < 2021.
10 replies
hawa
Yesterday at 1:36 AM
VivaanKam
Yesterday at 8:23 PM
Alcumus specs
YeohZY   5
N Yesterday at 7:23 PM by PikaPika999
Hi, can I ask about how Alcumus gives you points? (I mean the number on the red/orange/green/blue line on top that gains once you get correct answers. I'll just call it the score). I want to get my score up to 100, but I always can't and get stuck at like 98 or sth. Why is this so, and also how does alcumus make that "score" higher?
5 replies
YeohZY
Apr 27, 2025
PikaPika999
Yesterday at 7:23 PM
Math Problem I cant figure out how to do without bashing
equalsmc2   3
N Yesterday at 3:55 PM by NovaFrost
Hi,
I cant figure out how to do these 2 problems without bashing. Do you guys have any ideas for an elegant solution? Thank you!
Prob 1.
An RSM sports field has a square shape. Poles with letters M, A, T, H are located at the corners of the square (see the diagram). During warm up, a student starts at any pole, runs to another pole along a side of the square or across the field along diagonal MT (only in the direction from M to T), then runs to another pole along a side of the square or along diagonal MT, and so on. The student cannot repeat a run along the same side/diagonal of the square in the same direction. For instance, she cannot run from M to A twice, but she can run from M to A and at some point from A to M. How many different ways are there to complete the warm up that includes all nine possible runs (see the diagram)? One possible way is M-A-T-H-M-H-T-A-M-T (picture attached)

Prob 2.
In the expression 5@5@5@5@5 you replace each of the four @ symbols with either +, or, or x, or . You can insert one or more pairs of parentheses to control the order of operations. Find the second least whole number that CANNOT be the value of the resulting expression. For example, each of the numbers 25=5+5+5+5+5 and 605+(5+5)×5+5 can be the value of the resulting expression.

Prob 3. (This isnt bashing I don't understand how to do it though)
Suppose BC = 3AB in rectangle ABCD. Points E and F are on side BC such that BE = EF = FC. Compute the sum of the degree measures of the four angles EAB, EAF, EAC, EAD.

P.S. These are from an RSM olympiad. The answers are
3 replies
equalsmc2
Apr 6, 2025
NovaFrost
Yesterday at 3:55 PM
Counting Problems
mithu542   1
N Yesterday at 3:30 PM by Bummer12345
Hello!

Here are some challenging practice counting problems. Enjoy! (You're allowed to use a calculator) hint


1.
Yan rolls 9 standard six-sided dice.
What is the probability that at least one pair of dice has a sum of 8?
Round your answer to 3 decimal places.

2.
Each face of a cube is painted one of 5 colors: red, blue, green, yellow, or white.
What is the probability that no two adjacent faces are painted the same color?
Round your answer to 3 decimal places.

3.
You roll 8 standard six-sided dice in a row.
What is the probability that at least one pair of adjacent dice differ by exactly 2?
Round your answer to 3 decimal places.

4.
A 4×4×4 cube (made of 64 mini-cubes) is randomly painted, each mini-cube colored independently either black or white.
What is the probability that at least one mini-cube adjacent to the center mini-cube is black?
Round your answer to 3 decimal places.

5.
Yan rolls 7 dice, each numbered 11 to 88.
What is the probability that at least two dice show the same number?
Round your answer to 3 decimal places.

6.
Each vertex of a cube is randomly colored either red, blue, or green.
What is the probability that there exists at least one face whose four vertices are all the same color?
Round your answer to 3 decimal places.

7.
You roll 6 standard six-sided dice.
What is the probability that the sum of all six dice is divisible by 4?
Round your answer to 3 decimal places.

8.
Each face of a cube is randomly colored red, blue, green, or yellow.
What is the probability that no two opposite faces are painted the same color?
Round your answer to 3 decimal places.

9.
Yan flips a fair coin 12 times.
What is the probability that there is at least one sequence of 4 consecutive heads?
Round your answer to 3 decimal places.

10.
Each edge of a cube is randomly colored either red, blue, or green.
What is the probability that no face of the cube has all three edges the same color?
Round your answer to 3 decimal places.
1 reply
mithu542
Monday at 9:02 PM
Bummer12345
Yesterday at 3:30 PM
1234th Post!
PikaPika999   253
N Yesterday at 3:11 PM by ZMB038
I hit my 1234th post! (I think I missed it, I'm kinda late, :oops_sign:)

But here's a puzzle for you all! Try to create the numbers 1 through 25 using the numbers 1, 2, 3, and 4! You are only allowed to use addition, subtraction, multiplication, division, and parenthesis. If you're post #1, try to make 1. If you're post #2, try to make 2. If you're post #3, try to make 3, and so on. If you're a post after 25, then I guess you can try to make numbers greater than 25 but you can use factorials, square roots, and that stuff. Have fun!

1: $(4-3)\cdot(2-1)$
253 replies
PikaPika999
Apr 21, 2025
ZMB038
Yesterday at 3:11 PM
random problem i just thought about one day
ceilingfan404   28
N Yesterday at 11:26 AM by PikaPika999
i don't even know if this is solvable
Prove that there are finite/infinite powers of 2 where all the digits are also powers of 2. (For example, $4$ and $128$ are numbers that work, but $64$ and $1024$ don't work.)
28 replies
ceilingfan404
Apr 20, 2025
PikaPika999
Yesterday at 11:26 AM
9 What is the most important topic in maths competition?
AVIKRIS   60
N Yesterday at 3:44 AM by valisaxieamc
I think arithmetic is the most the most important topic in math competitions.
60 replies
AVIKRIS
Apr 19, 2025
valisaxieamc
Yesterday at 3:44 AM
300 MAP Goal??
Antoinette14   76
N Yesterday at 3:42 AM by valisaxieamc
Hey, so as a 6th grader, my big goal for MAP this spring is to get a 300 (ambitious, i know). I'm currently at a 285 (288 last year though). I'm already taking a intro to counting and probability course (One of my weak points), but is there anything else you recommend I focus on to get a 300?
76 replies
Antoinette14
Jan 30, 2025
valisaxieamc
Yesterday at 3:42 AM
Purple Comet Math Meet Recources
RabtejKalra   6
N Monday at 8:59 PM by LXC007
I heard that you can take a packet of information to the Purple Comet examination with some formulas, etc. Does anybody have a copy of a guidebook with all the important formulas? I'm just too lazy to write one myself.......
6 replies
RabtejKalra
Apr 24, 2025
LXC007
Monday at 8:59 PM
Preparing for Higher AIME+
PhoenixMathClub   8
N Monday at 7:57 PM by BS2012
Hello, I am going to be a 7th grader next year and I really want to qualify for USAJMO in 8th grade, so far I have these goals reached

1. AMC 10 Honor Roll A and B 2025
2. AMC 8 DHR and HR
3. AIME 3 :(

This year on AIME something happened and I got a 3 :( on the AMC's I got a 105 on AMC 10 A and I got a 114 on AMC 10 B. I want to improve mostly on AIME but since the AMC 10 is coming up quicker what would you guys recommend for getting 110+ on both of the AMC 10's and getting a 6+ on AIME? So far I am only doing Alcumus and have no books so far.... Checking the table of contents on the books Alcumus provides the same topics. I was thinking to take WOOT 1 and AMC 10 Problem Series.
8 replies
PhoenixMathClub
Apr 19, 2025
BS2012
Monday at 7:57 PM
A magician has one hundred cards numbered 1 to 100
Valentin Vornicu   49
N Apr 23, 2025 by YaoAOPS
Source: IMO 2000, Problem 4, IMO Shortlist 2000, C1
A magician has one hundred cards numbered 1 to 100. He puts them into three boxes, a red one, a white one and a blue one, so that each box contains at least one card. A member of the audience draws two cards from two different boxes and announces the sum of numbers on those cards. Given this information, the magician locates the box from which no card has been drawn.

How many ways are there to put the cards in the three boxes so that the trick works?
49 replies
Valentin Vornicu
Oct 24, 2005
YaoAOPS
Apr 23, 2025
A magician has one hundred cards numbered 1 to 100
G H J
Source: IMO 2000, Problem 4, IMO Shortlist 2000, C1
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Valentin Vornicu
7301 posts
#1 • 6 Y
Y by SSaad, junioragd, Adventure10, ImSh95, Mango247, and 1 other user
A magician has one hundred cards numbered 1 to 100. He puts them into three boxes, a red one, a white one and a blue one, so that each box contains at least one card. A member of the audience draws two cards from two different boxes and announces the sum of numbers on those cards. Given this information, the magician locates the box from which no card has been drawn.

How many ways are there to put the cards in the three boxes so that the trick works?
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
grobber
7849 posts
#2 • 6 Y
Y by ValidName, Adventure10, ImSh95, Mango247, Sagnik123Biswas, and 1 other user
We represent the card distribution as a sequence of $100$ symbols from the set $S=\{r,w,b\}$ (if the $i$'th symbol is $x\in S$, then $i$ is in the box with color whose first letter is $x$ :)). A "run" is a maximal subsequence of consecutive symbols which are all the same.

If $x\ne y\in S$ and at some point an $x$-run is followed by a $y$-run, then all $x$-runs are followed by $y$-runs (except if it ends the $100$-symbol string, of course), and the same holds if we replace "are followed by" with "are preceded by". Also notice that if $x,y,z$ is a permutation of $S$ and $xx$ appears in the string, then $yz$ cannot appear. There are now two possibilities:

(1) No $xx$ ever appears in the string for $x\in S$

If the string begins with $x$, then it can't continue $xyx$, because then it would have only $x$ and $y$, meaning that one of the boxes is not used. This means that for some permutation $x,y,z$ of $S$ the string must be $xyzxyz\ldots$, and there are $6$ possibilities.

(2) There is some $x\in S$ for which $xx$ appears in the string

Assume $x,y,z$ is a permutation of $S$ s.t. in our string $x$-runs are always followed by $y$-runs and always preceded by $z$-runs. An $x$-run in which $xx$ appears cannot be followed by a $y$-run and then a $z$-run because then we could find $yz$, so it's followed by at most a $y$-run. In the same way, it's preceded by at most a $z$-run. By applying these same observations to the $z$ and $y$-runs which precede/follow $x$, we conclude that they must be made up of exactly one symbol, or, in other words, our string must look like this: $zxx\ldots xy$. Again, there are $6$ possibilities for such an arrangement, according to the permutation $x,y,z$ of $S$ that we choose.

This means that in total, there are $12$ ways to arrange the cards, and they have been described above.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
bambaman
345 posts
#3 • 2 Y
Y by ImSh95, Adventure10
Inspired by some generating-function solutions, can the following observation be completed into a solution? :
We are looking for non-zero polynomials $ f_{1,2,3}$ with coefficients either 0 or 1, such that:
(i) $ f_{1}(x)+f_{2}(x)+f_{3}(x)=\sum_{i=1}^{100} x^i$,
and (ii) The exponents in $ f_{1}f_{2}$, $ f_{1}f_{3}$, $ f_{2}f_{3}$ are distinct.

I tried to found some nice mathematical reformulation of the 2nd condition and couldn't find any...

[and maybe generating functions aren't supposed to solve everything...]
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Zhero
2043 posts
#4 • 8 Y
Y by Nelu2003, Guardiola, mueller.25, Taopopai, ImSh95, Adventure10, Mango247, and 1 other user
For any sets $X$ and $Y$, let $X+Y = \{ x + y : x \in X, y \in Y\}$.

Lemma: For any sets of real numbers $X$ and $Y$, $|X+Y| \geq |X| + |Y| - 1$, with equality holding if and only if $|X| = 1$, $|Y| = 1$, or the elements of $X$ and $Y$ form arithmetic sequences with the same common difference.
Proof: Let $X = \{x_1, x_2, \ldots, x_m\}$ and $Y = \{y_1, y_2, \ldots, y_n\}$. Since $\{x_1 + y_1, x_2 + y_1, \ldots, x_m + y_1, x_m + y_2, \ldots, x_m + y_n\} \subseteq X+Y$, and $x_1 + y_1 < x_2 + y_1 < \ldots < x_m + y_1 < x_m + y_2 < \ldots < x_m + y_n$, we have $|X+Y| \geq m+n-1$.

That equality holds when the elements of $X$ and $Y$ form arithmetic sequences with the same common difference, when $|X| = 1$ or when $|Y| = 1$ is trivial. Suppose now that $|X+Y| = m+n-1$. If $m=1$ or $n=1$, the result is trivial, so we assume that $m, n \geq 2$. For $2 \leq k \leq m+n$, let $S_k = \{x_i + y_j : i + j = k \}$. Because each $S_k$ is non-empty and there are $m+n-1$ different $S_k$'s, each $S_k$ must have exactly one element. Hence, whenever $p+q = r+s$ with $1 \leq p, r \leq m$ and $1 \leq q, s \leq n$, $x_p + y_q = x_r + y_s$. For any $2 \leq p \leq n$, setting $r=p-1$, $s = 2$, and $q=1$ yields $x_p - x_{p-1} = y_2 - y_1$. Since the differences of consecutive terms of $\{x_i\}$ are constant, $\{x_i\}$ must be an arithmetic sequence. Similarly, $\{y_i\}$ must be an arithmetic sequence. Finally, setting $p=2$, we find that $x_2 = x_1 = y_2 - y_1$, so $\{x_i\}$ and $\{y_i\}$ indeed have the same common difference.


This problem is equivalent to finding the number of triples of sets $(A,B,C)$ such that $A \cup B \cup C = \{1, 2, \ldots, 100\}$; $A$, $B$, and $C$ are pairwise disjoint; and $A+B$, $B+C$, and $C+A$ are pairwise disjoint. It is clear that $A+B, B+C, C+A \subseteq \{3, 4, \ldots, 199\}$, so $(A+B) \cup (B+C) \cup (C+A) \subseteq \{3, 4, \ldots, 199\}$. Since $A+B, B+C, C+A$ are pairwise disjoint, we have $|A+B| + |B+C| + |C+A| \leq 197$. But by the lemma,
\[ |A+B| + |B+C| + |C+A| \geq (|A| + |B| - 1) + (|B| + |C| - 1) + (|C|  + |A| - 1) = 2(|A| + |B| + |C|) - 3 = 197,\] so we must have $|A+B| = |A| + |B| - 1$, $|B+C| = |B| + |C| - 1$, and $|C+A| = |C| + |A| - 1$. If no more than one of $A$, $B$, and $C$ have cardinality 1, then by the lemma, each of $A$, $B$, and $C$ are terms of an arithmetic sequence with the same common difference. Hence, we have the following cases:
  • Exactly two of $A$, $B$, and $C$ have 1 element. We will solve this when $A = \{a\}, B = \{b\}$, and $a < b$, and then multiply our answer by $3!$. If $a > 1$, then $0 < b-a+1 < b, 101$, so if $b-a-1 \neq a$, then $b-a-1 \in C$, whence $1+b = (b-a+1)+a \in (C+B) \cap (C+A)$, which is a contradiction, so either $b-a+1 = a$ or $a=1$. If the former case is true, we claim that $a=2$. If not, then $a > 2$, so $0<b-a+2<b,101$. Since $b-a+2 = a+1 \neq a$, $2+b = (b-a+2)+a \in (C+B) \cap (C+A)$, which is a contradiction. Hence, $a = 2$ and $b = 2a - 1 = 3$. But then $7 = 5+a = 4 + b \in (C+A) \cap (C+B)$, which is impossible, so $a = 1$. If $b < 100$, then $100 > 101 - b > 1$ and $101 - b \neq b$, so $101 - b \in C$, whence $1+100 = b+(101-b) \in (A + C) \cap (B+C)$, which is a contradiction, so $b=100$. If $a=1$ and $b=100$, then $A+B = \{101\}$, $B+C = \{102, 103, \ldots, 199\}$. and $C+A = \{3, 4, \ldots, 100\}$, which indeed satisfy the conditions of the problem, so we have a total of 6 triples in this case.
  • The elements of $A$, $B$, and $C$ form arithmetic sequences with common difference at least 3, and at most one of $A,B,C$ has exactly one element: Let $d$ be the common difference of $A$, $B$, and $C$. Since the elements of $A \cup B \cup C$ contain at most 3 distinct residue classes mod $d$, $d \leq 3$, so $d=3$. Hence, the elements of $A$, $B$, and $C$ must form all of the residue classes mod 3. The only way for this to happen is for $A$, $B$, and $C$ to equal $\{1, 4, 7, \ldots, 100\}, \{2, 5, \ldots, 98\}. \{3, 6, 9, \ldots, 99\}$ in some order. That $A+B$, $B+C$, and $C+A$ are disjoint follows from the fact that the elements in $A+B$, $B+C$, and $C+A$ must be 0 mod 3, 1 mod 3, and 2 mod 3 in some order, so when $d=3$ we have $3! = 6$ triples $(A,B,C)$.
  • The elements of $A$, $B$, and $C$ form arithmetic sequences with common difference 2, and at most one of $A,B,C$ has exactly one element: We claim that there are no solutions. If there is a solution, then the parities of the elements of at least one of $A,B,C$, say, $A,$ must be distinct from the parities of the other two; hence, it must contain all integers between 1 and 100 inclusive of that parity. Let $b$ be the smallest element of $B$, let $c$ be the smallest element of $C$, and suppose without loss of generality that $b > c$. Because $2 \leq b-c \leq 98$, we can find elements $a_1, a_2$ in $A$ such that $a_1 - a_2 = b - c$, so $a_1 + c = a_2 + b$, so $A+B$ and $A+C$ are not disjoint, which is a contradiction.
  • The elements of $A$, $B$, and $C$ form arithmetic sequences with common difference 1, and at most one of $A,B,C$ has exactly one element: $A$, $B$, and $C$ must, in some order, be $U = \{1, 2, \ldots, p\}$, $V = \{p+1, p+2, \ldots, q\}$, and $W = \{q+1, q+2, \ldots, 100\}$, where $1 \leq p < q \leq 99$. If $p \geq 2$, then $2+q = 1+(q+1) \in (U+V) \cap (U+W)$, which is a contradiction, so we must have $p=1$. If $q \leq 98$, then $1+(q+2)=2+(q+1) \in (U+W) \cap (V+W)$, which is a contradiction, so $q=99$. But then $U$ and $W$ both have exactly one element, which is a contradiction.
Combining these cases, we arrive at a final answer of $\boxed{12}$.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
utkarshgupta
2280 posts
#5 • 11 Y
Y by Wizard_32, Lukaluce, mueller.25, michaelwenquan, ImSh95, Adventure10, Mango247, Titibuuu, fearsum_fyz, megarnie, and 1 other user
I think these solutions are a bit complicated for C1.

Can anybody provide the official solutions ?
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
infiniteturtle
1131 posts
#6 • 3 Y
Y by ImSh95, Adventure10, Mango247
We'll prove by induction that there are $2\cdot 6=12$ ways regardless of the number of cards $n$. Note that this is true for $n=4$; group $1,4$ in the first and $2,3$ in the second, then permute. Notice that all solutions are either the mod $3$ one or the extreme case of $1$ alone, $n$ alone, and all the rest together. Now for $n+1$ cards, if we remove $1$ the remaining $n$ must be a valid arrangement, unless the only case where $n+1$ is alone. In this case note that by looking at the numbers $n+1,1$ we get $n,2$ in the same group, by looking at $n+1,2$ we get $n,3$ in the same group. Continue in this fashion, the numbers $2$ through $n$ must be in the same group, and hence $1$ must fill the last. It is easy to verify that this works, since the pairwise sums split into $\le n+1, n+2, \ge n+3$. Now assume the only solutions for $n$ cards are the mod 3 and the extreme case. Check that the extreme case fails when we try to add in $n+1$ and that we must continue the mod 3 fashion. So there is always $2\cdot 6$ by induction.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
DrMath
2130 posts
#7 • 2 Y
Y by ImSh95, Adventure10
Induct

I got some motivation for my solution from the generating function idea:
bambaman wrote:
Inspired by some generating-function solutions, can the following observation be completed into a solution? :
We are looking for non-zero polynomials $ f_{1,2,3}$ with coefficients either 0 or 1, such that:
(i) $ f_{1}(x)+f_{2}(x)+f_{3}(x)=\sum_{i=1}^{100} x^i$,
and (ii) The exponents in $ f_{1}f_{2}$, $ f_{1}f_{3}$, $ f_{2}f_{3}$ are distinct.

I tried to found some nice mathematical reformulation of the 2nd condition and couldn't find any...

[and maybe generating functions aren't supposed to solve everything...]

Namely, the backwards induction step I mentioned came from this.
This post has been edited 1 time. Last edited by DrMath, Jun 28, 2015, 5:20 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
shinichiman
3212 posts
#8 • 2 Y
Y by ImSh95, Adventure10
Denote $A,B,C$ as the boxes. We consider the general problem for $n$. For now, we temporarily ignore the distinction of the boxes, just say all boxes have the same colour.

More stronger, we can prove that the only possible partitions are $A= \{ 1  \}, B= \{ 2,3, \cdots , n-1 \}, C= \{ n \}$ or $A= \left \{ x | x \le n, x \equiv 0 \pmod{3}  \right \}, B= \left \{ x | x \le n, x \equiv 1 \pmod{3}  \right \}$ and $C= \left \{ x | x \le n, x \equiv 2 \pmod{3}  \right \}$. The permutations of this two solutions will give $2 \cdot 3!=12$, which is the answer of the question.

Induction solution.

This solution has a similar approach with India TST 2003.
This post has been edited 1 time. Last edited by shinichiman, Mar 30, 2016, 7:02 AM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
v_Enhance
6877 posts
#9 • 10 Y
Y by Nelu2003, Wizard_32, ValidName, v4913, michaelwenquan, ImSh95, CahitArf, Adventure10, Mango247, Sagnik123Biswas
There are $2 \cdot 3! = 12$ ways, which amount to:
  • Partitioning the cards modulo $3$, or
  • Placing $1$ alone in a box, $100$ alone in a second box, and all remaining cards in the third box.
These are easily checked to work so we prove they are the only ones.

Let $A$, $B$, $C$ be the sets of cards in the three boxes. Then $A+B$, $B+C$, $C+A$ should be disjoint, and contained in $\{3, 4, \dots, 199\}$. On the other hand, we have the following famous fact.

Claim: Let $X$ and $Y$ be finite nonempty sets of real numbers. We have $|X+Y| \ge |X|+|Y|-1$, with equality if and only if $X$ and $Y$ are arithmetic progressions with the same common difference, or one of $X$ and $Y$ is a singleton set.

Putting these two together gives the estimates \[ 197 \ge |A+B| + |B+C| + |C+A| 	\ge 2\left( |A|+|B|+|C| \right)-3 = 197. \]So all the inequalities must be sharp. Consequently we conclude that:

Claim: Either the sets $A$, $B$, $C$ are disjoint arithmetic progressions with the same common difference $d = \min_{x \neq y \text{ in same set}} |x-y|$, or two of the sets are two singleton. Moreover, $\{3, 4, \dots, 199\} 		= (A+B) \sqcup (B+C) \sqcup (C+A)$.

From here it is not hard to deduce the layouts above are the only ones, but there are some details. First, we make the preliminary observation that $3=1+2$, $4=1+3$, $198=98+100$, $199=99+100$ and these numbers can't be decomposed in other ways; thus from the remark about the disjoint union:

Claim: [Convenient corollary] The pairs $(1,2)$, $(1,3)$, $(98,100)$, $(99,100)$ are all in different sets.

We now consider the four cases.
  • If two of the boxes are singletons, it follows from the corollary that we should have $A = \{1\}$, $B = \{100\}$ and $C = \{2, \dots, 99\}$, up to permutation.
  • Otherwise $A$, $B$, $C$ are disjoint arithmetic progressions with the same common difference $d$. As two of $\{1,2,3,4\}$ are in the same box (by pigeonhole), we must have $d \le 3$.
    • If $d=3$, then no two elements of different residues modulo $3$ can be in the same box, so we must be in the first construction claimed earlier.
    • If $d=2$, then the convenient corollary tells us we may assume WLOG that $1 \in A$ and $2 \in B$, hence $3 \in C$ (since $3 \notin A$ by convenient corollary, and $3 \notin B$ because common difference $2$). Thus we must have $A = \{1\}$, $B = \{2, 4, \dots, 100\}$ and $C = \{3, 5, \dots 99\}$ which does not work since $1+4 = 2+3$. Therefore there are no solutions in this case.
    • If $d=1$, then by convenient corollary the numbers $1$ and $2$ are in different sets, as are $99$ and $100$. So we must have $A = \{1\}$, $B = \{2, \dots, 99\}$, $C = \{100\}$ which we have already seen is valid.

Remark: A more direct solution is to replace $100$ by $n \ge 3$ and then proceed by induction on $n$. Indeed, any working configuration for $\{1, \dots, n\}$ immediately gives a working configuration for $n-1$.
This post has been edited 4 times. Last edited by v_Enhance, Apr 14, 2019, 2:16 PM
Reason: fix mistake
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 • 3 Y
Y by ImSh95, Adventure10, Titibuuu
We claim that the only ways this can be done are by either splitting the numbers $\pmod{3}$, or placing $1$ and $100$ each in their own singleton boxes, with everything else in the other box. This gives a final answer of $\boxed{12}$.

Let $A$, $B$, $C$ be the sets of numbers of the three boxes. The problem condition is saying that $A,B,C$ partition $[100]$ and that $A+B$, $B+C$, and $C+A$ are all disjoint. However,
\[A+B,B+C,C+A\subseteq [3,199],\]and furthermore,
\[|A+B|+|B+C|+|C+A|\ge(|A|+|B|-1)+(|B|+|C|-1)+(|C|+|A|-1)=197.\]Thus, we have that $A+B$, $B+C$, and $C+A$ partition exactly $[3,199]$, so as a corollary, we must have
\begin{align*}
|A+B|&=|A|+|B|-1 \\
|B+C|&=|B|+|C|-1 \\
|C+A|&=|C|+|A|-1. \\
\end{align*}We now have a key lemma that all but destroys the difficulty of the problem.

Lemma: Given sets of positive integers $A$ and $B$, we have $|A+B|=|A|+|B|-1$ if and only if either of the sets is a singleton, or $A$ and $B$ are arithmetic progressions of the same common difference.

Proof: The result is well known, so we simply sketch a proof. The if direction is easy to check, so start by assuming that $|A+B|=|A|+|B|-1$, and we'll show that $\{A,B\}$ is of the desired form.

Order $A=\{a_1<\ldots<a_m\}$ and $B=\{b_1<\ldots<b_n\}$. Suppose that $m,n\ge 2$. Note that any path which goes only to the left and down in the array
\[\begin{bmatrix}a_1+b_1 & a_1+b_2 &\cdots &a_1+b_n\\a_2+b_1 & a_2+b_2 &\cdots &a_2+b_n \\ \vdots & \vdots & \ddots & \vdots \\ a_m+b_1 & a_m+b_2 &\cdots &a_m+b_n\end{bmatrix}\]from the top left to the bottom right forms a sequence of $m+n-1$ numbers in $A+B$, so by varying the paths, the upper right to lower left diagonals in this array are constant. Thus, $a_1+b_i=a_2+b_{i-1}$ for all $i$, so $B$ is an arithmetic sequence with difference $a_2-a_1$, and similarly for $A$, so the result follows.

Thus, we have two cases. Either two of $A,B,C$ are singletons, or they are all arithmetic progressions of the same common difference.

Say we have $A=\{a\}$ and $B=\{b\}$. If $a+b\ne 101$, then $(101-a)+a\in A+C$ and $(101-b)+b\in A+B$, which is a contradiction, so $a+b=101$. If $\{a,b\}\ne\{1,100\}$, then $(100-a)+a\in A+C$ and $(100-b)+b\in A+B$, so we must have $\{a,b\}=\{1,100\}$, which is one of the claimed solutions at the start.

Now, we have $A$, $B$, and $C$ are all arithmetic progressions of common difference $d$. We need to cover at least $\min\{d,100\}$ residues $\pmod{d}$, so $d\le 3$.

If $d=1$, then $A=[1,a]$, $B=[a+1,b]$, and $C=[b+1,100]$. If $a\ge 2$, then $1+(b+1)\in A+C$ and $2+b\in A+B$, so we have $a=1$. We now see that
\begin{align*}
A+B &= [3,b+1]\\
B+C &= [b+2,101]\\
C+A &= [b+3,100],\\
\end{align*}so $b=99$, which is the same claimed solution at the start.

If $d=2$, then by the residue argument, one of $A,B,C$ is either all the odds, or all the evens. If $A$ is all the odds, then $B$ and $C$ are of the form $[2,2n]\cap E$ and $[2n+2,100]\cap E$ where $E$ is the set of even numbers. We get a contradiction as $2+99\in B+A$ and $1+100\in A+C$. Now, if $A$ is all the evens, then $B$ and $C$ are of the form $[1,2n-1]\cap O$ and $[2n+1,99]\cap O$ where $O$ is the set of odd numbers. We again get a contradiction as $1+100\in B+A$ and $99+2\in A+C$. So there is no solution with $d=2$.

Finally if $d=3$, we see that $A,B,C$ are all distinct $\pmod{3}$, so we have the $\pmod{3}$ splitting solution claimed at the start.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Idio-logy
206 posts
#11 • 2 Y
Y by ImSh95, Adventure10
Denote the boxes by $A$, $B$ and $C$. The problem statement means that there doesn't exist distinct $a,b,c,d$ such that $a,c\in A$, $b\in B$, $d\in C$, and $a+b=c+d$. So we use the shorthand $(aA,bB; cA,dC)$ for contradiction cases.

First, we discuss about the positions of 1, 2, 3. If they are not in distinct boxes, there are three cases: $1,2\in A$, $3\in B$; $1,3\in A$, $2\in B$; or $1\in A$, $2,3\in B$.

Case 1. $1,2\in A$, $3\in B$. Then 4 can't be in $C$ because of the pair $(1A,4C;2A,3B)$. Thus 4 must be in either $A$ or $B$. If $k\notin C$, $k\ge 4$, we prove that $k+1\notin C$. Assume otherwise. If $k\in A$, then $(2A,(k+1)C; kA,3B)$ yields contradiction. If $k\in B$, then $(1A,(k+1)C; 2A,kB)$ yields contradiction. Thus, by induction, $C=\varnothing$, contradiction.

Case 2. $1,3\in A$, $2\in B$. Then 4 can't be in $C$ because of the pair $(1A,4C;3A,2B)$. Thus 4 must be in either $A$ or $B$. If $k\notin C$, $k\ge 4$, we prove that $k+1\notin C$. Assume otherwise. If $k\in A$, then $(1A,(k+1)C; kA,2B)$ yields contradiction. If $k\in B$, then $(2B,(k+1)C; 3A,kB)$ yields contradiction. Thus, by induction, $C=\varnothing$, contradiction.

Case 3. $1\in A$, $2,3\in B$. Suppose $k$ is the smallest number in $C$, $k\ge 4$. If $k-1\in A$, then $(1A,kC; (k-1)A,2B)$ yields contradiction, so $k-1\in B$. For $1\le i \le k-3$, We prove that if $k-i\in B$, then $i+3\in B$. This is true because if $i+3\in A$, then $((i+3)A, (k-i)B; 3B, kC)$ gives contradiction. We also prove that if $i+3\in B$, then $k-i-1\in B$. This is true because if $k-i-1\in A$, then $((k-i-1)A, (i+3)B; 2B, kC)$ gives contradiction. Thus, by induction, all $i\in B$ for $2\le i\le k-1$. Now if $k+1\le 100$, then it can't be in any of these sets. Indeed, if $(k+1)\in A$ then $((k+1)A,2B; 3B,kC)$; if $(k+1)\in B$ then $(1A,(k+1)B; 2B,kC)$; if $(k+1)\in C$ then $(1A, (k+1)C; 2B, kC)$. Thus, this leads to contradiction except the case when $1\in A$, $2,3,\dots,99\in B$, and $100\in C$. We can check that this case is a solution.

Thus, now we assume that 1, 2, 3 are in boxes $A,B,C$ respectively. We claim that this ensures that $4\in A$, and then by induction we can finish. If $4\in B$, $(1A,4B;2B,3C)$ leads to contradiction. If $4\in C$, then by checking the cases we have $5\in A$, and $6$ can't belong in any of these sets.

Hence, there are two classes of solutions: cards are divided according to their residue modulo 3, or $1\in A$, $100\in C$, and the rest are in $B$. This gives us $2\times 6=12$ ways.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Stormersyle
2786 posts
#13 • 2 Y
Y by ImSh95, Adventure10
Let $R, B, W$ be the three sets, and we want to partition 1 through $n$ such that $R+B, R+W, W+B$ are disjoint. I claim that $(1), (n), (2, ..., n-1)$ and the mod 3 partition are the only one that work. To prove this, we will use induction. The base case is trivial. For the inductive step, suppose the claim holds for $n-1$. Then, we do cases for $n$:

1) 1 through $n-1$ are in the mod 3 partition. Suppose $n$ is not in its mod 3 group; then, by doing cases on what $n\pmod{3}$ is and which group it's in, we'll find a contradiction by finding a common element of two of the sumsets (for instance, if $n\equiv 0\pmod{3}$ and $n$ is in the $1\pmod{3}$ group, then $n-1+3=n+2$, contradiction, and the other cases are similar).

2) 1 through $n-1$ is in $R=(1), W=(n-1), B=(2, ..., n-2)$. If $n\in R$, then $n+2=n-1+3$, contradiction. If $n\in W$, then $1+n=n-1+2$, contradiction. If $n\in B$, then $1+n=n-1+2$, contradiction. Thus this case can't happened.

3) 1 through $n-1$ is not in a valid partition. Then, $n$ is by itself, so let $n\in R$. Let $1\in W$, and suppose $2\in W$. Then, note $n-1$ in $W$ or else $n+1=2+n-1$, contradiction. Now, note if $k\in W$, then $n+k\in R+W$, so $k+1$ is not in $B$, meaning $k+1\in W$. But this would mean nothing is in $B$, contradiction; hence, $2\in B$. This means that $n-1\in B$ or else $1+n=2+n-1$, contradiction; and now note that if $k\in B$, then $n+k\in R+B$, so $k+1\in B$. Therefore, $R=(n), W=(1), B=(2, ..., n-1)$.

Hence, we have proven the claim, so the answer is 12.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
sa2001
281 posts
#14 • 2 Y
Y by ImSh95, Mango247
We solve the problem for all $n \ge 3$. We claim that the answer for $n = 3$ is $6$, with $S_1 = \{1\}, S_2 = \{2\}, S_3 = \{3\}$, and permutations being the construction, and for $n > 3$, the answer is $12$, with $S_1, S_2, S_3$ being the three residue classses modulo $3$, and $S_1 = \{1\}, S_2 = \{2, ..., n-1\}, S_3 = \{n\}$, and permutations, being the constructions. These clearly work.

Observation: Note that if none of the three sets is $\{n\}$, we can remove $n$ from its set to reduce to a construction for $n-1$.

Lemma: If $S_3 = \{n\}$, and $n-1$ belongs to $S_2$, then $S_1 = \{1\}, S_2 = \{2, ..., n-1\}$.
Proof: Suppose $k > 1$ is the largest element in $S_1$. Then $(k-1) + n = k + (n-1)$ gives a contradiction.

By the above observation and lemma, it is easy to manually check that our main claim holds till $n = 6$.
We prove our main claim inductively. Base case is $n = 6$. Supposing our claim holds till $n = k, k \ge 6$, we prove it for $n = k+1$.
If $S_1 = \{1\}, S_2 = \{2, ..., k-1\}, S_3 = \{k\}$, then adding $k+1$ to: $S_1$ gives $(k+1) + 2 = k + 3$, $S_2$ gives $(k+1) + 1 = k + 2$, $S_3$ gives $(k+1) + 1 = k + 2$. So this can't be extended to a construction for $k+1$.
If $S_1$, $S_2$, $S_3$ are the three distinct residue classes modulo $3$, and $k+1$ belongs to, WLOG, $S_1$, but we added it, WLOG, to $S_2$, the $(k+1) + a = (k-2) + (a+3)$, where $a$ is the smallest member of $S_3$, gives a contradiction.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
AleksaS
41 posts
#15 • 1 Y
Y by ImSh95
Got solution by intuition, then proved it by mathematical induction. :)
Problem is very long because of cases.
Claim: There are $12$ ways, and the trick is that we are sorting cards by their remainder when divided by $3$ or to put $1$ and $n$ in different boxes and all the others in last box.

Place cards by their remainder when divided by 3 into boxes. For remainders $1, 2, 0$ place them in boxes $B_1$, $B_2$, $B_3$. For $n = 3$ and $n = 4$ this us easy to see.
Now let's suppose it works for $n \geq 4$ and we want to prove that it also works for $n + 1$. Then we divide this into two cases.
$1$) $n + 1$ is alone in the box
$2$) there are other cards with $n + 1$ in the box.

In the second case if we remove $n + 1$ then trick still works since there are no empty boxes.
By induction hypothesis we get that there are two possible strategies for the cards from $1$ to $n$. If $1$ and $n$ are alone then if we place $n + 1$ with $1$ then we can choose pairs $(n, 3)$ and $(n + 1, 2)$ so this doesn't work. If $n + 1$ and $n$ are in the same box then we can choose pairs $(n + 1, 1)$, $(n, 2)$ and again it doesn't work. If $n + 1$ is with the other cards, we can choose $(n + 1, 1)$ and $(n, 2)$ and again trick doesn't work. So other strategy must work (place cards by their remainder when divided by $3$). Let's prove it. If $n + 1$ and $n$ are in the same box then by choosing pairs $(n + 1, n - 2)$, $(n, n - 1)$ trick doesn't work. Similarly if $n + 1$ is with $n - 1$ then by choosing pairs $(n + 1, n - 2)$, $(n - 1, n)$ then trick doesn't work. From this $n + 1$ and $n - 2$ are in same box so other strategy works, so there are $3!$ possible ways of sorting cards in three distinct boxes.

In the first case we should prove that first strategy works. Let's consider elements $(n + 1, k)$ and $(n, k + 1)$ with condition $n > k \geq 1$. First pair has different boxes because $n + 1$ is alone. Now we see that $n$ and $k + 1$ must be in same box because they can't share it with $n + 1$. Last box must contain $1$ because it mustn't be empty. From this we obtain that $1$ and $n + 1$ are alone and the rest of cards are jn the last box, let's show that this work because this will complete induction.
If $1$ and $n$ are alone using pair $(1, \psi)$ where $2n - 1 > \psi >2$ we get the sums from $3$ to $n$. With the cards $1$ and $n$ we only get sum $n + 1$. With the cards from $2$ and $n - 1$ and the card $n$ we get sums from $n + 2$ to $2n - 1$. Thus the first strategy works. For the second strategy, it doesn't works because it depends on two boxes where the numbers were chosen. Then if we repeat the sum, we repeat the boxes too. Hence we arw done with this case which has also $3!$ ways of placing.
Thus final answer is $3! + 3! = 12$.
Comment: We just watched case $n = 100$
This post has been edited 1 time. Last edited by AleksaS, Aug 14, 2020, 6:21 PM
Reason: Comment
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
#16 • 1 Y
Y by ImSh95
Let $X,Y,Z$ be the sets of cards in the 3 boxes, respectively. The condition implies $X+Y$, $Y+Z$, $Z+X$ are disjoint, since $x+y$ for $x\in X$ and $y\in Y$ must be in exactly one of the 3 aforementioned sumsets. Let $x=|X|$, $y=|Y|$, $z=|Z|$.

It is well-known that $|A+B|\ge |A|+|B|-1$ for any sets $A,B$, with equality when (1) $A$ or $B$ is a singleton; the other can then be any set, or (2) the elements of $A$ and $B$ both form arithmetic sequences with the same common difference. So \[ |X+Y| \ge x+y-1, \ |Y+Z|\ge y+z-1, \ |Z+X| \ge z+x-1. \]Summing gives \[ |X+Y|+|Y+Z|+|Z+X| \ge 2x+2y+2z-3 = 197. \]Since $X+Y\subseteq \{3,4,\ldots,199\}$ and similarly for the other two, and since the 3 sumsets are disjoint, \[ |X+Y|+|Y+Z|+|Z+X| \le 197. \]Therefore, equality is achieved in all 3 bounds we applied. So $X+Y,Y+Z,Z+X$ partition $[3,199]$.
  • Case 1: None of $X,Y,Z$ is a singleton. Then $X=\{a,a+d,\ldots,a+(x-1)d\}$, $Y=\{b,b+d,\ldots,b+(y-1)d\}$, $Z=\{c,c+d,\ldots,c+(z-1)d\}$ for some $a,b,c$ and common difference $d$. Note that $(x-1)d \le a+(x-1)d \le 100$, so $x\le 100/d+1$, and similarly for $y,z$. Summing gives $x+y+z \le 300/d+3$, i.e. $97 \le 300/d$, so $d\le 3$.
    • Subcase 1.1: $d=1$. So $X=[1,m]$, $Y=[m+1,n]$, $Z=[n+1,100]$ for some $m,n$. If $m\ge 2$, then we can never get 3 as a sum, since the minimum is $m+2$; so $m=1$. Similarly, unless $n=99$ we cannot get 199 as a sum, since the maximum is $100+n$. Therefore, $X=\{1\}$, $Y=[2,99]$, $Z=\{100\}$, or any permutation. There are $3!$ ways to order.
    • Subcase 1.2: $d=2$. By Pigeonhole, one of $X,Y,Z$ is all the odds or all the evens. Suppose $X$ is all the odds. Then $Y,Z$ split the evens down the middle at some point. Now $X+Y$ contains $99+2$ and $X+Z$ contains $1+100$, contradiction. We can get a similar contradiction if $X$ is all the evens.
    • Subcase 1.3: $d=3$. Then $X,Y,Z$ are all distinct mod 3, they each take one mod 3 class. There are $3!$ ways here to order.
  • Case 2: Exactly one of $X,Y,Z$ is a singleton. Then the other two must be arithmetic sequences with the same common difference, and the singleton is technically to. Now refer to Case 1.
  • Case 3: Exactly two of $X,Y,Z$ are singletons. Suppose $x=y=1$. Suppose $X=\{m\}, Y=\{n\}$ for some distinct $m,n$; WLOG $m<n$. Then $Z=[1,100]\setminus \{m,n\}$. Then $X+Y=\{m+n\}$, $X+Z=[m+1,m+100]\setminus \{2m,m+n\}$, and $Y+Z=[n+1,n+100]\setminus \{m+n,2n\}$. But since 199 must be one of these, we must have $n=99$ or $m=99$, but since $m<n$, $n=99$. Similarly 3 must be in one, so $m=1$. Now we get the same as Subcase 1.1.
In total, there are $3!+3!=\boxed{12}$ ways; the mod 3 partition or 1,100 as singletons and the rest together.
This post has been edited 1 time. Last edited by pad, Sep 18, 2020, 6:33 AM
Z K Y
G
H
=
a