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

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

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

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

Be sure to mark your calendars for the following events:
[list][*]March 5th (Wednesday), 4:30pm PT/7:30pm ET, HCSSiM Math Jam 2025. Amber Verser, Assistant Director of the Hampshire College Summer Studies in Mathematics, will host an information session about HCSSiM, a summer program for high school students.
[*]March 6th (Thursday), 4:00pm PT/7:00pm ET, Free Webinar on Math Competitions from elementary through high school. Join us for an enlightening session that demystifies the world of math competitions and helps you make informed decisions about your contest journey.
[*]March 11th (Tuesday), 4:30pm PT/7:30pm ET, 2025 MATHCOUNTS Chapter Discussion MATH JAM. AoPS instructors will discuss some of their favorite problems from the MATHCOUNTS Chapter Competition. All are welcome!
[*]March 13th (Thursday), 4:00pm PT/7:00pm ET, Free Webinar about Summer Camps at the Virtual Campus. Transform your summer into an unforgettable learning adventure! From elementary through high school, we offer dynamic summer camps featuring topics in mathematics, language arts, and competition preparation - all designed to fit your schedule and ignite your passion for learning.[/list]
Our full course list for upcoming classes is below:
All classes run 7:30pm-8:45pm ET/4:30pm - 5:45pm PT unless otherwise noted.

Introductory: Grades 5-10

Prealgebra 1 Self-Paced

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

Prealgebra 2 Self-Paced

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


Introduction to Algebra A Self-Paced

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

Introduction to Counting & Probability Self-Paced

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

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

Introduction to Algebra B Self-Paced

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

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

Intermediate: Grades 8-12

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

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

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

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

Advanced: Grades 9-12

Olympiad Geometry
Wednesday, Mar 5 - May 21
Tuesday, Jun 10 - Aug 26

Calculus
Sunday, Mar 30 - Oct 5
Tuesday, May 27 - Nov 11
Wednesday, Jun 25 - Dec 17

Group Theory
Thursday, Jun 12 - Sep 11

Contest Preparation: Grades 6-12

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

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

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

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

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

AMC 12 Final Fives
Sunday, May 18 - Jun 15

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

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


MathWOOT Level 1
MathWOOT Level 2
ChemWOOT
CodeWOOT
PhysicsWOOT

Programming

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

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

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

Physics

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

Physics 1: Mechanics
Tuesday, Mar 25 - Sep 2
Thursday, May 22 - Oct 30
Monday, Jun 23 - Dec 15

Relativity
Sat & Sun, Apr 26 - Apr 27 (4:00 - 7:00 pm ET/1:00 - 4:00pm PT)
Mon, Tue, Wed & Thurs, Jun 23 - Jun 26 (meets every day of the week!)
0 replies
jlacosta
Mar 2, 2025
0 replies
Number of modular sequences with different residues
PerfectPlayer   2
N 8 minutes ago by AnSoLiN
Source: Turkey TST 2025 Day 3 P9
Let \(n\) be a positive integer. For every positive integer $1 \leq k \leq n$ the sequence ${\displaystyle {\{ a_{i}+ki\}}_{i=1}^{n }}$ is defined, where $a_1,a_2, \dots ,a_n$ are integers. Among these \(n\) sequences, for at most how many of them does all the elements of the sequence give different remainders when divided by \(n\)?
2 replies
PerfectPlayer
Mar 18, 2025
AnSoLiN
8 minutes ago
Nice problem
hanzo.ei   7
N 14 minutes ago by Filipjack
Find all functions \( f: \mathbb{R} \to \mathbb{R} \) such that
\[
f(xy) = f(x)f(y) \;-\; f(x + y) \;+\; 1,
\quad \forall x, y \in \mathbb{R}.
\]
7 replies
1 viewing
hanzo.ei
Today at 4:31 PM
Filipjack
14 minutes ago
Maximizing score of permutations
navi_09220114   4
N 38 minutes ago by Manteca
Source: Malaysian IMO TST 2023 P2
Let $a_1, a_2, \cdots, a_n$ be a sequence of real numbers with $a_1+a_2+\cdots+a_n=0$. Define the score $S(\sigma)$ of a permutation $\sigma=(b_1, \cdots b_n)$ of $(a_1, \cdots a_n)$ to be the minima of the sum $$(x_1-b_1)^2+\cdots+(x_n-b_n)^2$$over all real numbers $x_1\le \cdots \le x_n$.

Prove that $S(\sigma)$ attains the maxima over all permutations $\sigma$, if and only if for all $1\le k\le n$, $$b_1+b_2+\cdots+b_k\ge 0.$$
Proposed by Anzo Teh Zhao Yang
4 replies
2 viewing
navi_09220114
Apr 29, 2023
Manteca
38 minutes ago
not all sufficiently large integers are clean
ABCDE   26
N an hour ago by mathfun07
Source: 2015 IMO Shortlist C6, Original 2015 IMO #6
Let $S$ be a nonempty set of positive integers. We say that a positive integer $n$ is clean if it has a unique representation as a sum of an odd number of distinct elements from $S$. Prove that there exist infinitely many positive integers that are not clean.
26 replies
ABCDE
Jul 7, 2016
mathfun07
an hour ago
No more topics!
Couples in a Sauna
mathisfun7   3
N Nov 28, 2019 by Pathological
Source: 2013 Baltic Way, Problem 8
There are $n$ rooms in a sauna, each has unlimited capacity. No room may be attended by a female and a male simultaneously. Moreover, males want to share a room only with males that they don't know and females want to share a room only with females that they know. Find the biggest number $k$ such that any $k$ couples can visit the sauna at the same time, given that two males know each other if and only if their wives know each other.
3 replies
mathisfun7
Dec 31, 2013
Pathological
Nov 28, 2019
Couples in a Sauna
G H J
G H BBookmark kLocked kLocked NReply
Source: 2013 Baltic Way, Problem 8
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
mathisfun7
418 posts
#1 • 2 Y
Y by Adventure10 and 1 other user
There are $n$ rooms in a sauna, each has unlimited capacity. No room may be attended by a female and a male simultaneously. Moreover, males want to share a room only with males that they don't know and females want to share a room only with females that they know. Find the biggest number $k$ such that any $k$ couples can visit the sauna at the same time, given that two males know each other if and only if their wives know each other.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
mavropnevma
15142 posts
#2 • 7 Y
Y by FlakeLCR, hakN, Adventure10, Mango247, and 3 other users
That maximal $k$ is equal to $n-1$. We can easily see this is true for $n=1$ (and as easy for $n=2$), and if $n$ couples all know each other, then they need $1$ room for the females and $n$ rooms for the males, so $k<n$.
Assume by induction that $n-1$ couples can be accomodated by a sauna with $n$ rooms, and consider a sauna with $n+1$ rooms. Then for any $n$ couples, set one aside and accomodate the remaining $n-1$ couples in $n$ rooms, by the induction step. If actually less than $n$ rooms are used, there remain two rooms to accomodate the members of the leftover couple, so assume $n$ rooms are used. The only way the male of the leftover couple cannot share an already occupied room is if he knows (at least) one male in each of the $m$ rooms occupied by males. The only way the female of the leftover couple cannot share an already occupied room is if she does not know (at least) one female in each of the $f$ rooms occupied by females. But $m+f = n$, while the number of couples known / not known by the leftover couple is only $n-1$. This means the male or the female of the leftover couple should be able to share an already occupied room, and the other may use the empty $(n+1)$-th room.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
mavropnevma
15142 posts
#3 • 7 Y
Y by FlakeLCR, AlastorMoody, Adventure10, Mango247, and 3 other users
Re-used (or re-discovered) here http://www.artofproblemsolving.com/Forum/viewtopic.php?f=42&t=607589&p=3655031#p3655031.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Pathological
578 posts
#4 • 2 Y
Y by alinazarboland, Adventure10
Here's an interesting algorithmic solution.

The answer is $\boxed{n-1}.$

To see that $n$ fails, simply let none of the couples know each other.

Now, let's show that $n-1$ works.

For a graph $G$, we will let $f(G)$ denote the minimum number of sets that its vertices can be split into such that the induced subgraph of $G$ by each of the sets is complete.

Let $\overline{G}$ denote the complement of a graph $G.$

We claim that $f(G) + f(\overline{G}) \le |v(G)| + 1$, for any graph $G.$ This would clearly imply the problem.

Set $f(G) = k,$ and let $|v(G)| = n.$

We will show that $f(\overline{G}) \le n+1-k$, which would finish.

Let $A_1 \cup A_2 \cup \cdots \cup A_k$ be a partition of $v(\overline{G})$ so that the subgraph of $\overline{G}$ induced by $A_i$ is empty for all $1 \le i \le k.$

Define the value of a complete graph to be its number of vertices minus $1.$ We wish to show that $\overline{G}$ can be partitioned into some number of complete graphs with total value at least $k-1.$ This would finish.

Notice that there is always an edge between some vertex in $A_i$ and some vertex in $A_j$, for each $1 \le i < j \le k.$ WLOG we can assume that there is exactly one edge connecting a vertex in $A_i$ and a vertex in $A_j$, as else we can just remove one to make this problem strictly harder.

Create another graph on $k$ vertices which is initially complete. Associate to each vertex one of the sets $A_1, A_2, \cdots, A_k.$ Keep track of a list of complete graphs, which is initially just the entire graph. We will perform some steps, after which the sum of the values of the complete graphs is always $k-1.$

Now, we will perform the following $k$ steps in order. In the $i$th step, we will "split" the vertex corresponding to $A_i$ into however many vertices are in $A_i.$ These vertices of our new graph correspond to the vertices in $A_i$ of the original graph $\overline{G}.$

For each complete graph in the list which contained the vertex $A_i$ (which is now split into different vertices), we can split it into smaller complete graphs with total value the same as its original total value. For instance, if there was a complete graph with vertex-set $A_1, a, b, c, d$, and we split $A_1$ into vertices $v, w, x$, then we consider the complete graphs on vertex-sets $\{v, a, b\},$ $\{w, c\}$, and $\{x, d\}$ instead, where $a, b$ are connected to $v$ in the original graph $\overline{G}$, etc.

After applying these $i$ steps, our graph is now identical to our original graph $\overline{G}$, and we now have vertex-disjoint cliques with total value $k-1.$ This means there are at most $n-k+1$ of them, and so the problem is solved.

The answer is $\boxed{n-1}.$

$\square$
Z K Y
N Quick Reply
G
H
=
a