School starts soon! Add problem solving to your schedule with our math, science, and/or contest classes!

G
Topic
First Poster
Last Poster
k a August Highlights and 2025 AoPS Online Class Information
jwelsh   0
Friday at 2:14 PM
CONGRATULATIONS to all the competitors at this year’s International Mathematical Olympiad (IMO)! The US Team took second place with 5 gold medals and 1 silver - we are proud to say that each member of the 2025 IMO team has participated in an AoPS WOOT (Worldwide Online Olympiad Training) class!

"As a parent, I'm deeply grateful to AoPS. Tiger has taken very few math courses outside of AoPS, except for a local Math Circle that doesn't focus on Olympiad math. AoPS has been one of the most important resources in his journey. Without AoPS, Tiger wouldn't be where he is today — especially considering he's grown up in a family with no STEM background at all."
— Doreen Dai, parent of IMO US Team Member Tiger Zhang

Interested to learn more about our WOOT programs? Check out the course page here or join a Free Scheduled Info Session. Early bird pricing ends August 19th!:
CodeWOOT Code Jam - Monday, August 11th
ChemWOOT Chemistry Jam - Wednesday, August 13th
PhysicsWOOT Physics Jam - Thursday, August 14th
MathWOOT Math Jam - Friday, August 15th

There is still time to enroll in our last wave of summer camps that start in August at the Virtual Campus, our video-based platform, for math and language arts! From Math Beasts Camp 6 (Prealgebra Prep) to AMC 10/12 Prep, you can find an informative 2-week camp before school starts. Plus, our math camps don’t have homework and cover cool enrichment topics like graph theory. Our language arts courses will build the foundation for next year’s challenges, such as Language Arts Triathlon for levels 5-6 and Academic Essay Writing for high school students.

Lastly, Fall is right around the corner! You can plan your Fall schedule now with classes at either AoPS Online, AoPS Academy Virtual Campus, or one of our AoPS Academies around the US. We’ve opened new Academy locations in San Mateo, CA, Pasadena, CA, Saratoga, CA, Johns Creek, GA, Northbrook, IL, and Upper West Side (NYC), New York.

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, Aug 17 - Dec 14
Tuesday, Aug 26 - Dec 16
Friday, Sep 5 - Jan 16
Monday, Sep 8 - Jan 12
Tuesday, Sep 16 - Jan 20 (4:30 - 5:45 pm ET/1:30 - 2:45 pm PT)
Sunday, Sep 21 - Jan 25
Thursday, Sep 25 - Jan 29
Wednesday, Oct 22 - Feb 25
Tuesday, Nov 4 - Mar 10
Friday, Dec 12 - Apr 10

Prealgebra 2 Self-Paced

Prealgebra 2
Sunday, Aug 17 - Dec 14
Tuesday, Sep 9 - Jan 13
Thursday, Sep 25 - Jan 29
Sunday, Oct 19 - Feb 22
Monday, Oct 27 - Mar 2
Wednesday, Nov 12 - Mar 18

Introduction to Algebra A Self-Paced

Introduction to Algebra A
Sunday, Aug 17 - Dec 14
Wednesday, Aug 27 - Dec 17
Friday, Sep 5 - Jan 16
Thursday, Sep 11 - Jan 15
Sunday, Sep 28 - Feb 1
Monday, Oct 6 - Feb 9
Tuesday, Oct 21 - Feb 24
Sunday, Nov 9 - Mar 15
Friday, Dec 5 - Apr 3

Introduction to Counting & Probability Self-Paced

Introduction to Counting & Probability
Monday, Aug 11 - Nov 3
Wednesday, Sep 3 - Nov 19
Sunday, Sep 21 - Dec 14 (1:00 - 2:30 pm ET/10:00 - 11:30 am PT)
Friday, Oct 3 - Jan 16
Sunday, Oct 19 - Jan 25
Tuesday, Nov 4 - Feb 10
Sunday, Dec 7 - Mar 8

Introduction to Number Theory
Wednesday, Aug 13 - Oct 29
Friday, Sep 12 - Dec 12
Sunday, Oct 26 - Feb 1
Monday, Dec 1 - Mar 2

Introduction to Algebra B Self-Paced

Introduction to Algebra B
Thursday, Aug 7 - Nov 20
Monday, Aug 18 - Dec 15
Sunday, Sep 7 - Jan 11
Thursday, Sep 11 - Jan 15
Wednesday, Sep 24 - Jan 28
Sunday, Oct 26 - Mar 1
Tuesday, Nov 4 - Mar 10
Monday, Dec 1 - Mar 30

Introduction to Geometry
Wednesday, Aug 13 - Feb 11
Tuesday, Aug 26 - Feb 24
Sunday, Sep 7 - Mar 8
Thursday, Sep 11 - Mar 12
Wednesday, Sep 24 - Mar 25
Sunday, Oct 26 - Apr 26
Monday, Nov 3 - May 4
Friday, Dec 5 - May 29

Paradoxes and Infinity
Sat & Sun, Sep 13 - Sep 14 (1:00 - 4:00 PM PT/4:00 - 7:00 PM ET)

Intermediate: Grades 8-12

Intermediate Algebra
Friday, Aug 8 - Feb 20
Tuesday, Aug 26 - Feb 24
Sunday, Sep 28 - Mar 29
Wednesday, Oct 8 - Mar 8
Sunday, Nov 16 - May 17
Thursday, Dec 11 - Jun 4

Intermediate Counting & Probability
Sunday, Sep 28 - Feb 15
Tuesday, Nov 4 - Mar 24

Intermediate Number Theory
Wednesday, Sep 24 - Dec 17

Precalculus
Wednesday, Aug 6 - Jan 21
Tuesday, Sep 9 - Feb 24
Sunday, Sep 21 - Mar 8
Monday, Oct 20 - Apr 6
Sunday, Dec 14 - May 31

Advanced: Grades 9-12

Calculus
Sunday, Sep 7 - Mar 15
Wednesday, Sep 24 - Apr 1
Friday, Nov 14 - May 22

Contest Preparation: Grades 6-12

MATHCOUNTS/AMC 8 Basics
Sunday, Aug 17 - Nov 9
Wednesday, Sep 3 - Nov 19
Tuesday, Sep 16 - Dec 9
Sunday, Sep 21 - Dec 14 (1:00 - 2:30 pm ET/10:00 - 11:30 am PT)
Monday, Oct 6 - Jan 12
Thursday, Oct 16 - Jan 22
Tues, Thurs & Sun, Dec 9 - Jan 18 (meets three times a week!)

MATHCOUNTS/AMC 8 Advanced
Sunday, Aug 17 - Nov 9
Tuesday, Aug 26 - Nov 11
Thursday, Sep 4 - Nov 20
Friday, Sep 12 - Dec 12
Monday, Sep 15 - Dec 8
Sunday, Oct 5 - Jan 11
Tues, Thurs & Sun, Dec 2 - Jan 11 (meets three times a week!)
Mon, Wed & Fri, Dec 8 - Jan 16 (meets three times a week!)

AMC 10 Problem Series
Sunday, Aug 10 - Nov 2
Thursday, Aug 14 - Oct 30
Tuesday, Aug 19 - Nov 4
Mon & Wed, Sep 15 - Oct 22 (meets twice a week!)
Mon, Wed & Fri, Oct 6 - Nov 3 (meets three times a week!)
Tue, Thurs & Sun, Oct 7 - Nov 2 (meets three times a week!)

AMC 10 Final Fives
Friday, Aug 15 - Sep 12
Sunday, Sep 7 - Sep 28
Tuesday, Sep 9 - Sep 30
Monday, Sep 22 - Oct 13
Sunday, Sep 28 - Oct 19 (1:00 - 2:30 pm ET/10:00 - 11:30 am PT)
Wednesday, Oct 8 - Oct 29
Thursday, Oct 9 - Oct 30

AMC 12 Problem Series
Wednesday, Aug 6 - Oct 22
Sunday, Aug 10 - Nov 2
Monday, Aug 18 - Nov 10
Mon & Wed, Sep 15 - Oct 22 (meets twice a week!)
Tues, Thurs & Sun, Oct 7 - Nov 2 (meets three times a week!)

AMC 12 Final Fives
Thursday, Sep 4 - Sep 25
Sunday, Sep 28 - Oct 19
Tuesday, Oct 7 - Oct 28

AIME Problem Series A
Thursday, Oct 23 - Jan 29

AIME Problem Series B
Tuesday, Sep 2 - Nov 18

F=ma Problem Series
Tuesday, Sep 16 - Dec 9
Friday, Oct 17 - Jan 30

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, Aug 14 - Oct 30
Sunday, Sep 7 - Nov 23
Tuesday, Dec 2 - Mar 3

Intermediate Programming with Python
Friday, Oct 3 - Jan 16

USACO Bronze Problem Series
Wednesday, Sep 3 - Dec 3
Thursday, Oct 30 - Feb 5
Tuesday, Dec 2 - Mar 3

Physics

Introduction to Physics
Tuesday, Sep 2 - Nov 18
Sunday, Oct 5 - Jan 11
Wednesday, Dec 10 - Mar 11

Physics 1: Mechanics
Sunday, Sep 21 - Mar 22
Sunday, Oct 26 - Apr 26
0 replies
jwelsh
Friday at 2:14 PM
0 replies
Geometry Problem
Hopeooooo   14
N 21 minutes ago by Royal_mhyasd
Source: SRMC 2022 P1
Convex quadrilateral $ABCD$ is inscribed in circle $w.$Rays $AB$ and $DC$ intersect at $K.\ L$ is chosen on the diagonal $BD$ so that $\angle BAC= \angle DAL.\ M$ is chosen on the segment $KL$ so that $CM \mid\mid BD.$ Prove that line $BM$ touches $w.$
(Kungozhin M.)
14 replies
1 viewing
Hopeooooo
May 23, 2022
Royal_mhyasd
21 minutes ago
Police officers catching thief
JustPostNorthKoreaTST   0
41 minutes ago
Source: 2016 North Korea TST P6
There are $n$ stations in the sky, and any two stations are connected by exactly one bridge; every bridge has the same length and does not intersect with any other. $n$ police officers are standing at these stations (there may be more than one police officer at a station), and a thief is standing on a bridge. During a patrol, each police officer can choose to cross a bridge to move to the next station or remain in place, but at least one police officer must move. The thief can choose to move from one bridge to another if he is willing to. Assume that each police officer moves at the same speed and the thief moves at five times the speed of the police officers. If a thief and a police officer are in the same location at a certain moment, then the thief will be caught.
Given a positive integer $k$, show that for any initial position of the police officers, the thief has an initial position such that for any $k$ patrols, the thief has a strategy to avoid being caught during the $k$ patrols.
0 replies
JustPostNorthKoreaTST
41 minutes ago
0 replies
IMO ShortList 1998, combinatorics theory problem 7
orl   10
N an hour ago by legogubbe
Source: IMO ShortList 1998, combinatorics theory problem 7
A solitaire game is played on an $m\times n$ rectangular board, using $mn$ markers which are white on one side and black on the other. Initially, each square of the board contains a marker with its white side up, except for one corner square, which contains a marker with its black side up. In each move, one may take away one marker with its black side up, but must then turn over all markers which are in squares having an edge in common with the square of the removed marker. Determine all pairs $(m,n)$ of positive integers such that all markers can be removed from the board.
10 replies
orl
Oct 22, 2004
legogubbe
an hour ago
hard 3 vars symetric
perfect_square   0
an hour ago
Let $a,b,c \ge 0$ which satisfy:
$ \begin{cases}
    a+b+c=4 \\
    a^4+b^4+c^4 =18 
    \end{cases} $
Prove that: $ab+bc+ca \le 5$
0 replies
perfect_square
an hour ago
0 replies
Limit of expression
enter16180   8
N Today at 5:13 AM by YaoAOPS
Source: IMC 2025, Problem 10
For any positive integer $N$, let $S_N$ be the number of pairs of integers $1 \leq a, b \leq N$ such that the number $\left(a^2+a\right)\left(b^2+b\right)$ is a perfect square. Prove that the limit
$$
\lim _{N \rightarrow \infty} \frac{S_N}{N}
$$exists and find its value.
8 replies
enter16180
Jul 31, 2025
YaoAOPS
Today at 5:13 AM
expected value of maximum of random process
enter16180   4
N Today at 12:01 AM by Agsh2005
Source: IMC 2025, Problem 9
Let $n$ be a positive integer. Consider the following random process which produces $n$ sequence of $n$ distinct positive integers $X_1, X_2 \ldots, X_n$.
First, $X_1$ is chosen randomly with $\mathbb{P}\left(X_1=i\right)=2^{-i}$ for every positive integer $i$. For $1 \leq j \leq n-1$. having chosen $X_1, \ldots, X_j$, arrange the remaining positive integers in increasing order as $n_1<n_2<$ $\cdots$, and choose $X_{j+1}$ randomly with $\mathbb{P}\left(X_{j+1}=n_i\right)=2^{-i}$ for every positive integer $i$.
Let $Y_n=\max \left\{X_1, \ldots, X_n\right\}$. Show that
$$
\mathbb{E}\left[Y_n\right]=\sum_{i=1}^n \frac{2^i}{2^i-1}
$$where $\mathbb{E}\left[Y_n\right]$ is the expected value of $Y_n$.
4 replies
enter16180
Jul 31, 2025
Agsh2005
Today at 12:01 AM
Fourier Series
EthanWYX2009   0
Yesterday at 11:35 PM
Source: 2025 Spring NSTE(2)-3
Let \( x_1, x_2, \cdots, x_n \) be real numbers. Define \(\|x\| = \min_{n \in \mathbb{Z}} |x - n|\). Prove that:
\[
\sum_{1 \leq i, j \leq n} 2^{\|x_i - x_j\|} \leq \sum_{1 \leq i, j \leq n} 2^{\|x_i - x_j + \frac{1}{2}\|}.
\]Proposed by Site Mu
0 replies
EthanWYX2009
Yesterday at 11:35 PM
0 replies
Putnam 2016 A5
Kent Merryfield   10
N Yesterday at 9:29 PM by ransun
Suppose that $G$ is a finite group generated by the two elements $g$ and $h,$ where the order of $g$ is odd. Show that every element of $G$ can be written in the form
\[g^{m_1}h^{n_1}g^{m_2}h^{n_2}\cdots g^{m_r}h^{n_r}\]with $1\le r\le |G|$ and $m_n,n_1,m_2,n_2,\dots,m_r,n_r\in\{1,-1\}.$ (Here $|G|$ is the number of elements of $G.$)
10 replies
Kent Merryfield
Dec 4, 2016
ransun
Yesterday at 9:29 PM
Rotation of matrix and eignavalues
enter16180   2
N Yesterday at 9:05 PM by ZNatox
Source: IMC 2025, Problem 8
For an $n \times n$ real matrix $A \in M_n(\mathbb{R})$, denote by $A^{\mathbb{R}}$ its counter-clockwise $90^{\circ}$ rotation.
(10 points) For example,
$$
\left[\begin{array}{lll}
1 & 2 & 3 \\
4 & 5 & 6 \\
7 & 8 & 9
\end{array}\right]^R=\left[\begin{array}{lll}
3 & 6 & 9 \\
2 & 5 & 8 \\
1 & 4 & 7
\end{array}\right]
$$Prove that if $A=A^R$ then for any eigenvalue $\lambda$ of $A$, we have $\operatorname{Re} \lambda=0$ or $\operatorname{Im} \lambda=0$.
2 replies
enter16180
Jul 31, 2025
ZNatox
Yesterday at 9:05 PM
Easy Limit problem
Fermat_Fanatic108   2
N Yesterday at 3:12 PM by Fermat_Fanatic108
Evaluate
\[
\lim_{x \to 0^+} \left\{ \lim_{n \to \infty} \left( \frac{\left\lfloor 1^2 (\sin x)^x \right\rfloor + \left\lfloor 2^2 (\sin x)^x \right\rfloor + \cdots + \left\lfloor n^2 (\sin x)^x \right\rfloor}{n^3} \right) \right\},
\]where $\left\lfloor \cdot \right\rfloor$ denotes the floor function
2 replies
Fermat_Fanatic108
Jul 31, 2025
Fermat_Fanatic108
Yesterday at 3:12 PM
2024 Putnam A5
KevinYang2.71   10
N Yesterday at 8:21 AM by ray66
Consider the circle $\Omega$ with radius $9$ and center at the origin $(0,\,0)$, and a disk $\Delta$ with radius $1$ and center at $(r,\,0)$, where $0\leq r\leq 8$. Two points $P$ and $Q$ are chosen independently and uniformly at random on $\Omega$. Which value(s) of $r$ minimize the probability that the chord $\overline{PQ}$ intersects $\Delta$?
10 replies
1 viewing
KevinYang2.71
Dec 10, 2024
ray66
Yesterday at 8:21 AM
An Integral
Saucepan_man02   1
N Yesterday at 7:50 AM by Calcul8er
$\int_0^1\min_{n\ \in Z^+}\left|nx-1\right|$
1 reply
Saucepan_man02
Friday at 1:53 PM
Calcul8er
Yesterday at 7:50 AM
2024 Putnam A2
KevinYang2.71   10
N Yesterday at 7:46 AM by ray66
For which real polynomials $p$ is there a real polynomial $q$ such that
\[
p(p(x))-x=(p(x)-x)^2q(x)
\]for all real $x$?
10 replies
KevinYang2.71
Dec 10, 2024
ray66
Yesterday at 7:46 AM
2024 Putnam A1
KevinYang2.71   25
N Yesterday at 7:04 AM by ray66
Determine all positive integers $n$ for which there exists positive integers $a$, $b$, and $c$ satisfying
\[
2a^n+3b^n=4c^n.
\]
25 replies
KevinYang2.71
Dec 10, 2024
ray66
Yesterday at 7:04 AM
An algorithm for discovering prime numbers?
Lukaluce   4
N May 30, 2025 by alexanderhamilton124
Source: 2025 Junior Macedonian Mathematical Olympiad P3
Is there an infinite sequence of prime numbers $p_1, p_2, ..., p_n, ...,$ such that for every $i \in \mathbb{N}, p_{i + 1} \in \{2p_i - 1, 2p_i + 1\}$ is satisfied? Explain the answer.
4 replies
Lukaluce
May 18, 2025
alexanderhamilton124
May 30, 2025
An algorithm for discovering prime numbers?
G H J
Source: 2025 Junior Macedonian Mathematical Olympiad P3
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Lukaluce
286 posts
#1
Y by
Is there an infinite sequence of prime numbers $p_1, p_2, ..., p_n, ...,$ such that for every $i \in \mathbb{N}, p_{i + 1} \in \{2p_i - 1, 2p_i + 1\}$ is satisfied? Explain the answer.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
grupyorum
1469 posts
#2
Y by
We first show that there is an $n_0$ and $\epsilon\in\{-1,1\}$ such that for every $n\ge n_0$, $p_{n+1} = 2p_n+\epsilon$.

To see this, suppose $p_1>3$. If $p_1\equiv 1\pmod{3}$ then $p_{n+1}=2p_n-1$ must hold necessarily (otherwise $3\mid 2p_n+1$ but $p_n>3$). Likewise if $p_1\equiv -1\pmod{3}$ then $p_{n+1}\equiv 2p_n+1$ must hold. If $p_1\le 3$, then $p_j>3$ for some $j>1$, so the same argument carries through. Shifting if necessary, we will analyze the sequence $p_{n+1} =2p_n-1$ and $p_{n+1}=2p_n+1$ for $p_1>3$.

Case 1. Let $p_{n+1} = 2p_n-1$ for $n\ge 1$. Set $b_n:=p_n-1$ to obtain $b_{n+1} = 2b_n$. Iterating, we find $b_n = 2^{n-1}b_1$. Consequently, $p_n = 2^{n-1}(p_1-1)+1$. Taking $n=k(p_1-1)+1$ for suitably large $k$, Fermat's theorem asserts $2^{n-1}\equiv 1\pmod{p_1}$. So, $p_1\mid p_n$ but $p_n>p_1$, hence $p_n$ cannot be a prime.

Case 2. Let $p_{n+1}=2p_n+1$ for $n\ge 1$. Set $b_n:=p_n+1$ to obtain $p_n = 2^{n-1}(p_1+1)-1$. The same choice of $n$ ensures $p_1\mid p_n$, a contradiction.

So, no such infinite sequence exists.

Remark. This is an old Bulgarian problem (between 2003-2010 I think), though I don't remember the exact year.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Assassino9931
1553 posts
#3
Y by
@above Hm, haven't seen this in Bulgaria, but it is popular from Baltic Way 2004.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
TopGbulliedU
24 posts
#4 • 1 Y
Y by alexanderhamilton124
hahaha I was in the comp,after i got out I told everyone that nobody could solve this after the results came it was only me :-D
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
alexanderhamilton124
407 posts
#5
Y by
TopGbulliedU wrote:
hahaha I was in the comp,after i got out I told everyone that nobody could solve this after the results came it was only me :-D

orz gj man
Z K Y
N Quick Reply
G
H
=
a