G
Topic
First Poster
Last Poster
k a April Highlights and 2025 AoPS Online Class Information
jlacosta   0
3 hours ago
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 16th (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
3 hours ago
0 replies
k a My Retirement & New Leadership at AoPS
rrusczyk   1571
N Mar 26, 2025 by SmartGroot
I write today to announce my retirement as CEO from Art of Problem Solving. When I founded AoPS 22 years ago, I never imagined that we would reach so many students and families, or that we would find so many channels through which we discover, inspire, and train the great problem solvers of the next generation. I am very proud of all we have accomplished and I’m thankful for the many supporters who provided inspiration and encouragement along the way. I'm particularly grateful to all of the wonderful members of the AoPS Community!

I’m delighted to introduce our new leaders - Ben Kornell and Andrew Sutherland. Ben has extensive experience in education and edtech prior to joining AoPS as my successor as CEO, including starting like I did as a classroom teacher. He has a deep understanding of the value of our work because he’s an AoPS parent! Meanwhile, Andrew and I have common roots as founders of education companies; he launched Quizlet at age 15! His journey from founder to MIT to technology and product leader as our Chief Product Officer traces a pathway many of our students will follow in the years to come.

Thank you again for your support for Art of Problem Solving and we look forward to working with millions more wonderful problem solvers in the years to come.

And special thanks to all of the amazing AoPS team members who have helped build AoPS. We’ve come a long way from here:IMAGE
1571 replies
rrusczyk
Mar 24, 2025
SmartGroot
Mar 26, 2025
A property of divisors
rightways   10
N 12 minutes ago by akliu
Source: Kazakhstan NMO 2016, P1
Prove that one can arrange all positive divisors of any given positive integer around a circle so that for any two neighboring numbers one is divisible by another.
10 replies
rightways
Mar 17, 2016
akliu
12 minutes ago
Famous geo configuration appears on the district MO
AndreiVila   3
N 25 minutes ago by chirita.andrei
Source: Romanian District Olympiad 2025 10.4
Let $ABCDEF$ be a convex hexagon with $\angle A = \angle C=\angle E$ and $\angle B = \angle D=\angle F$.
[list=a]
[*] Prove that there is a unique point $P$ which is equidistant from sides $AB,CD$ and $EF$.
[*] If $G_1$ and $G_2$ are the centers of mass of $\triangle ACE$ and $\triangle BDF$, show that $\angle G_1PG_2=60^{\circ}$.
3 replies
AndreiVila
Mar 8, 2025
chirita.andrei
25 minutes ago
kind of well known?
dotscom26   2
N 27 minutes ago by alexheinis
Source: MBL
Let $ y_1, y_2, ..., y_{2025}$ be real numbers satisfying
$
y_1^2 + y_2^2 + \cdots + y_{2025}^2 = 1.
$
Find the maximum value of
$
|y_1 - y_2| + |y_2 - y_3| + \cdots + |y_{2025} - y_1|.
$

I have seen many problems with the same structure, Id really appreciate if someone could explain which approach is suitable here
2 replies
dotscom26
Yesterday at 4:11 AM
alexheinis
27 minutes ago
hard problem
Cobedangiu   0
27 minutes ago
Let $x,y,z>0$ and $xy+yz+zx=3$ : Prove that :
$\sum  \ \frac{x}{y+z}\ge\sum  \frac{1}{\sqrt{x+3}}$
0 replies
1 viewing
Cobedangiu
27 minutes ago
0 replies
No more topics!
Help with Problem!
sadas123   3
N Mar 31, 2025 by franklin2013
There are 51 senators in a Senate. The Senate needs to be divided into $n$ committees such that each senator is on exactly one committee. Each senator hates exactly three other senators. (If A hates B, then B does not necessarily hate A.) Find the smallest $n$ such that it is always possible to arrange the committees so that no senator hates another senator on his or her committee.
3 replies
sadas123
Mar 22, 2025
franklin2013
Mar 31, 2025
Help with Problem!
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.
sadas123
1103 posts
#1
Y by
There are 51 senators in a Senate. The Senate needs to be divided into $n$ committees such that each senator is on exactly one committee. Each senator hates exactly three other senators. (If A hates B, then B does not necessarily hate A.) Find the smallest $n$ such that it is always possible to arrange the committees so that no senator hates another senator on his or her committee.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
sadas123
1103 posts
#2
Y by
I found this problem while skimming over my books and then I was kind of stuck on this problem for an while so I need help and I have gotten nowhere. I solved every other problem in the chapter except this MOP problem.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
WallyWalrus
909 posts
#4
Y by
$\textbf{Definition: }$ We say that the senators $A$ and $B$ are $\textbf{enemies}$ if occurs one of the situations:
$\bullet\quad A$ hates $B$ and $B$ doesn't hate $A$;
$\bullet\quad B$ hates $A$ and $A$ doesn't hate $B$;
$\bullet\quad A$ hates $B$ and $B$ hates $A$.

Using the initial conditions, we construct $2$ graphs:

$\textbf{The graph G}_{\textbf{1}}: $ We construct a directed graph with $51$ vertices (the senators) and $3\cdot51=153$ arrows (an arrow from $A$ to $B$ means "$A$ hates $B$"). From each vertex go exactly $3$ arrows.

$\textbf{The graph G}_{\textbf{2}}:$ Using the previous graph, we construct an undirected graph:
a) We keep the $51$ vertices;
b) We transform the arrows from $\textbf{G}_{\textbf{1}}$ into edges in $\textbf{G}_{\textbf{2}}$. An edge connects two vertices $A$ and $B$ if and only if the corresponding senators are $\textbf{enemies}$.
Hence, an edge in $\textbf{G}_{\textbf{2}}$ replaces one or two arrows from $\textbf{G}_{\textbf{1}}$.
If two vertices $C$ and $D$ in the first graph are not connected by an arrow, then they are not connected by an edge in the second graph.
Results:
$\bullet$ the graph $\textbf{G}_{\textbf{2}}$ contains at most $153$ edges;
$\bullet$ in the graph $\textbf{G}_{\textbf{2}}$, each vertex has the degree at least $3$ (in the graph $\textbf{G}_{\textbf{1}}$, from each vertex start $3$ arrows).


$\textbf{An evaluation of the minimum value of \textit{n}}$
1) If the graph $\textbf{G}_{\textbf{2}}$ contains a clique (complete subgraph) with $r$ vertices, then $n\ge r$.
The conclusion results immediately: any two vertices of the clique are connected by an edge, hence the corresponding senators cannot be members of the same committee.

2) The graph $\textbf{G}_{\textbf{2}}$ can contain cliques with at most $7$ vertices.
A subgraph $\textbf{S}\subset\textbf{G}_{\textbf{1}}$ with $r$ vertices can contain at most $3r$ arrows: from each vertex of $\textbf{S}$ start at most $3$ arrows with the endpoints in $\textbf{S}$. Results: the number of arrows in $\textbf{S}$ is maximum $3r$.
The number of edges in a clique with $r$ vertices in $\textbf{G}_{\textbf{2}}$ is $\dfrac{r(r-1)}{2}$.
We proved previously: the number of edges in a subset of $\textbf{G}_{\textbf{2}}$ is less or equal to the number of arrows in the corresponding subgraph from $\textbf{G}_{\textbf{1}}$.
Results: $\dfrac{r(r-1)}{2}\le 3r\Longrightarrow r\le7$.

3) We can form a clique with $7$ vertices in the graph $\textbf{G}_{\textbf{2}}$.
Denote the vertices $1,2,3,4,5,6,7$.
Consider in $\textbf{G}_{\textbf{1}}$ the $21$ arrows:
$1\to2\to3\to4\to5\to6\to7\to1$;
$1\to3\to5\to7\to2\to4\to6\to1$;
$1\to4\to7\to3\to6\to2\to5\to1$.
Each pair of vertices is connected by exactly one arrow and results the number of edges $E=21=\dfrac{7\cdot6}{2}$, hence exactly the number of edges in the clique with $7$ vertices.

From 1), 2), 3) results: $n\ge7$.

$\textbf{The minimum value of \textit{n} is 7. The construction of the 7 committees.}$
We will prove: it is always possible to divide the Senate into $7$ committees so that no senator hates another senator on his or her committee.

$\textbf{Step A: }$ The graph $\textbf{S}_{\textbf{0}}=\textbf{G}_{\textbf{2}}$ contains $M_0=51$ vertices. Denote $m_v$ the degree of the vertex $v\in\{1,2,...,50,51\}$ in the graph $\textbf{S}_{\textbf{0}}$.
The number of edges in $\textbf{S}_{\textbf{0}}$ is $E_0=\dfrac{1}{2}\cdot \sum_{v=1}^{51}m_v\le153$.
Let be $M_1$ the number of vertices with the degree $m_v\ge7$ in $\textbf{S}_{\textbf{0}}$ and $51-M_1$ the number of vertices with the degree $3\le m_v\le6$.
Results: $7M_1+3(51-M_1)\le2\cdot E_0\le2\cdot153\Longrightarrow M_1\le 38$. Denote $\textbf{S}_{\textbf{1}}$ the set which contains the $M_1$ vertices with the degree $m_v\ge7$.

$\textbf{Step B: }$ For $k=1,2,...$ and the subset $\textbf{S}_{\textbf{k}}\subset\textbf{G}_{\textbf{2}}$ with $M_k$ vertices, we apply successively the algorithm: we select the $M_{k+1}$ vertices with the degree $m_v\ge7$ in $\textbf{S}_{\textbf{k}}$. These vertices form a new subset $\textbf{S}_{\textbf{k+1}}\subset\textbf{S}_{\textbf{k}}$.
a) the number of edges in the subgraph $\textbf{S}_{\textbf{k}}$ is $E_k\le 3M_k$.
b) the number of vertices with the degree $m_v\ge7$ in $\textbf{S}_{\textbf{k}}$ is $M_{k+1}$.
c) results: $7M_{k+1}\le 2E_{k}\le 2\cdot3M_k\Longrightarrow M_{k+1}\le\dfrac{6}{7}\cdot M_k<M_k$.

After a finite number of steps, we obtain a subset $\textbf{S}_{\textbf{N}}$ with $M_{_{N}}$ vertices such that $M_{_{N}}\le 7$ and $M_{_{N-1}}>7$.

$\textbf{Step C: }$ The construction of the committees.
We obtain a succession of subsets of $\textbf{S}_{\textbf{0}}:\;\textbf{S}_{\textbf{N}}\subset \textbf{S}_{\textbf{N-1}}\subset...\textbf{S}_{\textbf{1}}\subset\textbf{S}_{\textbf{0}}$ and
$M_{_{N}}\le 7<M_{_{N-1}}<...<M_1<M_0=51$.
1) The $M_{_{N}}$ senators from $\textbf{S}_{\textbf{N}}$ are "chiefs of committees" (the first member in committee). We complete the remaining $7-M_{_{N}}$ "chiefs of committees" with senators from the set $\textbf{S}_{\textbf{N-1}}$.
2) We place in committees the remaining senators from $\textbf{S}_{\textbf{N-1}}$, then the senators from $\textbf{S}_{\textbf{N-2}}$ and we continue the process until we distribute all senators.
This step is always possible: any vertex $V\in\textbf{S}_{\textbf{k}}\setminus\textbf{S}_{\textbf{k+1}}\ne\phi$ has the degree $m_{_V}\le6$ in the subgraph $\textbf{S}_{\textbf{k}}$. The vertices from $\textbf{S}_{\textbf{k}}$ connected with $V$ by an edge belong to $n_{_V}\le m_{_V}\le6$ committees and we can place the vertex $V$ in one of the remaining $7-n_{_V}$ committees.

$\textbf{Final answer:}$
The smallest $n$ such that it is always possible to arrange the committees so that no senator hates another senator on his or her committee is $n_{min}=7$.

$\textbf{Observation: }$ Applying this method, results $n_{min}=7$ for any value $M_0\ge7$.

$$\textbf{Example with M}_{\textbf{0}}\textbf{=12 vertices and E}_{\textbf{0}}\textbf{=36 edges}$$
Consider the graph $\textbf{G}_{\textbf{1}}$ with $12$ vertices numbered $\{1,2,...,11,12\}$:
a) the vertices $1,2,3,4,5,6,7$ form a clique with $21$ arrows
$1\to2\to3\to4\to5\to6\to7\to1$;
$1\to3\to5\to7\to2\to4\to6\to1$;
$1\to4\to7\to3\to6\to2\to5\to1$.
b) $8\to\{1,2,12\};\;9\to\{3,4,12\};\;10\to\{5,6,12\};\;11\to\{6,7,12\}$;
c) $12\to\{1,2,3\}$.

The corresponding graph $\textbf{S}_{\textbf{0}}=\textbf{G}_{\textbf{2}}$ contains $12$ vertices and $36$ edges.

$\textbf{Step A: }$ We identify in $\textbf{S}_{\textbf{0}}$ the vertices $v$ with degree $m_v\ge7:\;\textbf{S}_{\textbf{1}}=\{1,2,3,4,5,6,7,12\}$, hence $M_1=8$.

$\textbf{Step B: }$ We identify the vertices $v$ with degree $m_v\ge7$ in $\textbf{S}_{\textbf{1}}:\;\textbf{S}_{\textbf{2}}=\{1,2,3\}$, hence $M_2=3$.

$\textbf{Step C: }$
We construct the committees $C_1,C_2,...,C_7$:

a) The first $3$ chiefs of committees from $\textbf{S}_{\textbf{2}}:\quad 1\in C_1;\;2\in C_2;\;3\in C_3$;

b) The next $4$ chiefs of committees from $\textbf{S}_{\textbf{1}}\setminus\textbf{S}_{\textbf{2}}:\quad 4\in C_4;\;5\in C_5;\;6\in C_6;\;7\in C_7$;

c) We place the remaining senators from $\textbf{S}_{\textbf{1}}\setminus\textbf{S}_{\textbf{2}}:\quad 12\in C_4$;

d) We place the remaining senators from $\textbf{S}_{\textbf{0}}\setminus\textbf{S}_{\textbf{1}}:\quad 8\in C_3;\;9\in C_1;\;10\in C_1;\;11\in C_1$.

Result the committees:

$C_1=\{1,9,10,11\};\quad C_2=\{2\};\quad C_3=\{3,8\};\quad C_4=\{4,12\}$;

$C_5=\{5\};\;C_6=\{6\};\;C_7=\{7\}$.

Of course, the distribution of the senators is not unique. In the previous example, we placed each senator in the first free committee. But are possible other more equilibrated distributions, for example:

$C_1=\{1,9\};\quad C_2=\{2,10\};\quad C_3=\{3,8\};\quad C_4=\{4,12\}$;

$C_5=\{5,11\};\;C_6=\{6\};\;C_7=\{7\}$.
Attachments:
This post has been edited 1 time. Last edited by WallyWalrus, Mar 31, 2025, 5:24 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
franklin2013
221 posts
#5
Y by
sadas123 wrote:
There are 51 senators in a Senate. The Senate needs to be divided into $n$ committees such that each senator is on exactly one committee. Each senator hates exactly three other senators. (If A hates B, then B does not necessarily hate A.) Find the smallest $n$ such that it is always possible to arrange the committees so that no senator hates another senator on his or her committee.

I was confused on this problem too in the Three year mathcounts marathon, thanks so much for the solution!
Z K Y
N Quick Reply
G
H
=
a