Stay ahead of learning milestones! Enroll in a class over the summer!

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
real+ FE
pomodor_ap   2
N 9 minutes ago by waterbottle432
Source: Own, PDC001-P7
Let $f : \mathbb{R}^+ \to \mathbb{R}^+$ be a function such that
$$f(x)f(x^2 + y f(y)) = f(x)f(y^2) + x^3$$for all $x, y \in \mathbb{R}^+$. Determine all such functions $f$.
2 replies
1 viewing
pomodor_ap
3 hours ago
waterbottle432
9 minutes ago
Function
Musashi123   0
16 minutes ago
f:R\{0} ->R\{0}
f(x/y+y/x)=f(x)/f(y)+f(y)/f(x)
f(xy)=f(x).f(y)
0 replies
Musashi123
16 minutes ago
0 replies
hard problem
Cobedangiu   1
N 16 minutes ago by m4thbl3nd3r
Let $a,b,c>0$ and $a+b+c=3$. Prove that:
$\dfrac{4}{a+b}+\dfrac{4}{b+c}+\dfrac{4}{c+a} \le \dfrac{1}{a}+\dfrac{1}{b}+\dfrac{1}{c}+3$
1 reply
Cobedangiu
an hour ago
m4thbl3nd3r
16 minutes ago
Similar triangles formed by angular condition
Mahdi_Mashayekhi   5
N 35 minutes ago by sami1618
Source: Iran 2025 second round P3
Point $P$ lies inside of scalene triangle $ABC$ with incenter $I$ such that $:$
$$ 2\angle ABP = \angle BCA , 2\angle ACP = \angle CBA $$Lines $PB$ and $PC$ intersect line $AI$ respectively at $B'$ and $C'$. Line through $B'$ parallel to $AB$ intersects $BI$ at $X$ and line through $C'$ parallel to $AC$ intersects $CI$ at $Y$. Prove that triangles $PXY$ and $ABC$ are similar.
5 replies
Mahdi_Mashayekhi
Apr 19, 2025
sami1618
35 minutes ago
No more topics!
a really nice polynomial problem
Etemadi   8
N Apr 4, 2025 by amirhsz
Source: Iranian TST 2018, third exam day 1, problem 3
$n>1$ and distinct positive integers $a_1,a_2,\ldots,a_{n+1}$ are  given. Does there exist a polynomial $p(x)\in\Bbb{Z}[x]$ of degree  $\le n$ that satisfies the following conditions?
a. $\forall_{1\le i < j\le n+1}: \gcd(p(a_i),p(a_j))>1 $
b. $\forall_{1\le i < j < k\le n+1}: \gcd(p(a_i),p(a_j),p(a_k))=1 $

Proposed by Mojtaba Zare
8 replies
Etemadi
Apr 18, 2018
amirhsz
Apr 4, 2025
a really nice polynomial problem
G H J
Source: Iranian TST 2018, third exam day 1, problem 3
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Etemadi
24 posts
#1 • 2 Y
Y by Adventure10, Mango247
$n>1$ and distinct positive integers $a_1,a_2,\ldots,a_{n+1}$ are  given. Does there exist a polynomial $p(x)\in\Bbb{Z}[x]$ of degree  $\le n$ that satisfies the following conditions?
a. $\forall_{1\le i < j\le n+1}: \gcd(p(a_i),p(a_j))>1 $
b. $\forall_{1\le i < j < k\le n+1}: \gcd(p(a_i),p(a_j),p(a_k))=1 $

Proposed by Mojtaba Zare
This post has been edited 8 times. Last edited by Etemadi, Apr 21, 2018, 4:35 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
lminsl
544 posts
#2 • 5 Y
Y by medhasrisairavi, meowchan, hakN, Adventure10, Mango247
Bumping this :)
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
pavel kozlov
615 posts
#3 • 2 Y
Y by Adventure10, Mango247
For $p(x)\in\Bbb{Q}[x]$ it is easy, the main problem is to be more accurate fo get integer coefficients.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
l1090107005
97 posts
#4 • 4 Y
Y by pavel kozlov, Mathematicsislovely, Adventure10, Mango247
pavel kozlov wrote:
For $p(x)\in\Bbb{Q}[x]$ it is easy, the main problem is to be more accurate fo get integer coefficients.
Let $M=\left|\prod_{i\neq j}(a_i-a_j)\right|$ and $x_1,x_2,\cdots,x_{n+1}\in\mathbb{N}^*$, the Lagrange interpolation formula tells us that a polynomial $p\in\mathbb{Z}[x]$ with degree $\le n$ exists, such that $p(a_i)=x_i M+1,i=1,2,\cdots,n+1$.
Then by the CRT it's easy to get proper $x_1,x_2,\cdots,x_{n+1}\in\mathbb{N}^*$ satisfying the condition.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Rickyminer
343 posts
#5 • 4 Y
Y by pavel kozlov, sholly, Adventure10, Mango247
after arriving at $p(a_i)=x_i M+1,i=1,2,\cdots,n+1$ as above, one can use Dirichlet Theorem to find infinitely many primes $\equiv 1 \pmod M$, and let $p(a_i)$ be the product of some primes.
This post has been edited 1 time. Last edited by Rickyminer, Jul 15, 2018, 9:27 AM
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
#6 • 2 Y
Y by Adventure10, Mango247
Darn this solution has basically already been found above :(, but I'll write it up.



The answer is $\boxed{yes}.$

Define $M = \left | \prod_{i \neq j} (a_i - a_j) \right |.$ For each $1 \le i < j \le n+1$, select a prime $p_{ij}$ which is congruent to $1$ (mod $M$). Select these primes in such a way so that all $\binom{n+1}{2}$ of them are distinct, which is doable by Dirichlet's Theorem. By convention, we will let $p_{ji}$ for $j > i$ denote $p_{ij}.$

Now, consider the unique polynomial $P \in \mathbb{R} [x]$ of degree $\le n$ such that:

$$P(a_i) = \prod_{j \neq i} p_{ij},$$
for each $1 \le i \le n+1.$ It's easily checked that this polynomial satisfies the conditions of the problem, so all that remains is to check that it has integral coefficients. Indeed, observe that $P(a_i)$ is an integer congruent to $1$ (mod $M$) for each $1 \le i \le n.$ Therefore, the following claim solves the problem.

Claim. For any polynomial $Q$ of degree $\le n$ so that $Q(a_i)$ is an integer divisible by $M$ for each $1 \le i \le n+1$, $Q \in \mathbb{Z}[x].$

Proof. By Lagrange's Interpolation Formula, we know that $Q$ is given by:

$$\sum_{i = 1}^{n+1} \frac{Q(a_i)}{\prod_{j \neq i} (a_i - a_j)} \cdot \prod_{j \neq i} (x-a_j).$$
It suffices only to observe that $\frac{Q(a_i)}{\prod_{j \neq i} (a_i-a_j)} \in \mathbb{Z}$ since $\prod_{j \neq i} (a_i - a_j)  | M | Q(a_i).$

$\blacksquare$

Now, applying the claim on $P - 1$, we've shown that $P -1  \in \mathbb{Z}[x] \Rightarrow P \in \mathbb{Z}[x],$ so we're done.

$\square$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Aryan-23
558 posts
#9 • 1 Y
Y by AlastorMoody
A bit too straightforward for a TST #3.
Nevertheless , a cool problem :)
Solution
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
CANBANKAN
1301 posts
#10
Y by
Let $N$ be the product of primes up to $\max\{a_1,\cdots, a_m\}$. We can get $N^k-1$ to be divisible by primes $p_{i,j}$ for $1\le i<j\le n+1$

We construct $P(x)=N^k(x^2+tx)+c$. We want $P(x)\equiv (x-a_i)(x-a_j)$ in $\mathbb{Z}_{p_{ij}}$ so we need $t\equiv a_j+a_i (\bmod\; p_{i,j})$ since $N^k\equiv 1(\bmod\; p_{i,j})$. We select $c$ such that $c\equiv 1(\bmod\; N)$ and $c\equiv a_ia_j(\bmod\; p_{i,j})$. We can construct $t,c$ via the Chinese Remainder Theorem since $\gcd(N, p_{i,j})=1$.

I claim $P$ works. Note $p_{i,j}|P(a_i)$ and $p_{i,j}|P(a_j)$. Assume for contradiction $p$ divides $P(a_i), P(a_j)$ and $P(a_k)$. We know $P(x)\equiv 1(\bmod\; p)$ for all primes less than $\max\{a_1,\cdots,a_{n+1}\}$ so $a_1,\cdots,a_{n+1}$ must be injective mod $p$. Then in $\mathbb{Z}_p[x]$, $(x-a_i)(x-a_j)(x-a_k)|P(x)$. Since $\deg P=2$ it follows that $P$ is the zero polynomial. However, $\gcd(N^k,c)=1$ so p cannot divide both simultaneously, contradiction!
This post has been edited 1 time. Last edited by CANBANKAN, Mar 8, 2022, 6:42 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
amirhsz
18 posts
#11
Y by
Nice; Let $M = \left | \prod_{i \neq j} (a_i - a_j) \right |.$. And $b_i = p(a_i)$. By Lagrange interpolation formula we have there exist a polynomial with rational coefficients that fits on $a_i$ with $b_i$. We just need to ensure its coefficients are in integers; I'll choose $b_i$ such that $M|b_i-b_j$ for all $1 \leq i, j \leq n+1$ and it's easy to see the coefficients of $p$ will be integers. For this just induct on $n$. we will prove for all positive integer $M$; there exist an arbitrary large sequence(not infinite) like $b_i$ such that that $b_i \equiv 1 (mod M)$ and $\gcd(b_i,b_j)>1$ and $\gcd(b_i,b_j,b_k)=1$. For adding new element to the sequence like $b_{n+1}$ just choose arbitrary large( larger than any previous elements) distinct primes like $p_1,p_2,...,p_n$ such that $p_i \equiv 1 (mod M)$. Just set $c_i = b_i \times p_i$ for $1\leq i \leq n$ and $c_{n+1} = p_1...p_n$. You can see this sequence of $c_i$ satisfies the conditions...
This post has been edited 1 time. Last edited by amirhsz, Apr 4, 2025, 10:28 AM
Z K Y
N Quick Reply
G
H
=
a