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
k i Adding contests to the Contest Collections
dcouchman   1
N Apr 5, 2023 by v_Enhance
Want to help AoPS remain a valuable Olympiad resource? Help us add contests to AoPS's Contest Collections.

Find instructions and a list of contests to add here: https://artofproblemsolving.com/community/c40244h1064480_contests_to_add
1 reply
dcouchman
Sep 9, 2019
v_Enhance
Apr 5, 2023
k i Zero tolerance
ZetaX   49
N May 4, 2019 by NoDealsHere
Source: Use your common sense! (enough is enough)
Some users don't want to learn, some other simply ignore advises.
But please follow the following guideline:


To make it short: ALWAYS USE YOUR COMMON SENSE IF POSTING!
If you don't have common sense, don't post.


More specifically:

For new threads:


a) Good, meaningful title:
The title has to say what the problem is about in best way possible.
If that title occured already, it's definitely bad. And contest names aren't good either.
That's in fact a requirement for being able to search old problems.

Examples:
Bad titles:
- "Hard"/"Medium"/"Easy" (if you find it so cool how hard/easy it is, tell it in the post and use a title that tells us the problem)
- "Number Theory" (hey guy, guess why this forum's named that way¿ and is it the only such problem on earth¿)
- "Fibonacci" (there are millions of Fibonacci problems out there, all posted and named the same...)
- "Chinese TST 2003" (does this say anything about the problem¿)
Good titles:
- "On divisors of a³+2b³+4c³-6abc"
- "Number of solutions to x²+y²=6z²"
- "Fibonacci numbers are never squares"


b) Use search function:
Before posting a "new" problem spend at least two, better five, minutes to look if this problem was posted before. If it was, don't repost it. If you have anything important to say on topic, post it in one of the older threads.
If the thread is locked cause of this, use search function.

Update (by Amir Hossein). The best way to search for two keywords in AoPS is to input
[code]+"first keyword" +"second keyword"[/code]
so that any post containing both strings "first word" and "second form".


c) Good problem statement:
Some recent really bad post was:
[quote]$lim_{n\to 1}^{+\infty}\frac{1}{n}-lnn$[/quote]
It contains no question and no answer.
If you do this, too, you are on the best way to get your thread deleted. Write everything clearly, define where your variables come from (and define the "natural" numbers if used). Additionally read your post at least twice before submitting. After you sent it, read it again and use the Edit-Button if necessary to correct errors.


For answers to already existing threads:


d) Of any interest and with content:
Don't post things that are more trivial than completely obvious. For example, if the question is to solve $x^{3}+y^{3}=z^{3}$, do not answer with "$x=y=z=0$ is a solution" only. Either you post any kind of proof or at least something unexpected (like "$x=1337, y=481, z=42$ is the smallest solution). Someone that does not see that $x=y=z=0$ is a solution of the above without your post is completely wrong here, this is an IMO-level forum.
Similar, posting "I have solved this problem" but not posting anything else is not welcome; it even looks that you just want to show off what a genius you are.

e) Well written and checked answers:
Like c) for new threads, check your solutions at least twice for mistakes. And after sending, read it again and use the Edit-Button if necessary to correct errors.



To repeat it: ALWAYS USE YOUR COMMON SENSE IF POSTING!


Everything definitely out of range of common sense will be locked or deleted (exept for new users having less than about 42 posts, they are newbies and need/get some time to learn).

The above rules will be applied from next monday (5. march of 2007).
Feel free to discuss on this here.
49 replies
ZetaX
Feb 27, 2007
NoDealsHere
May 4, 2019
Congruence related perimeter
egxa   3
N a few seconds ago by nervy
Source: All Russian 2025 9.8 and 10.8
On the sides of triangle \( ABC \), points \( D_1, D_2, E_1, E_2, F_1, F_2 \) are chosen such that when going around the triangle, the points occur in the order \( A, F_1, F_2, B, D_1, D_2, C, E_1, E_2 \). It is given that
\[
AD_1 = AD_2 = BE_1 = BE_2 = CF_1 = CF_2.
\]Prove that the perimeters of the triangles formed by the lines \( AD_1, BE_1, CF_1 \) and \( AD_2, BE_2, CF_2 \) are equal.
3 replies
egxa
Friday at 5:08 PM
nervy
a few seconds ago
true or false ?
SunnyEvan   2
N a few seconds ago by GeoMorocco
Let $ a,b,c \geq 0 $ Prove that :
$$ \frac{3k}{k^4+k+1} \leq \frac{ka}{a+k^4b+kc}+\frac{kb}{b+k^4c+ka}+\frac{kc}{c+k^4a+kb} \leq k $$Where $ k \geq 1 $
2 replies
SunnyEvan
3 hours ago
GeoMorocco
a few seconds ago
Inspired by Bet667
sqing   5
N 5 minutes ago by sqing
Source: Own
Let $x,y\ge 0$ such that $k(x+y)=1+xy. $ Prove that $$x+y+\frac{1}{x}+\frac{1}{y}\geq 4k $$Where $k\geq 1. $
5 replies
sqing
Today at 2:34 AM
sqing
5 minutes ago
Inspired by old results
sqing   7
N 7 minutes ago by sqing
Source: Own
Let $ a,b>0. $ Prove that
$$\frac{(a+1)^2}{b}+\frac{(b+k)^2}{a} \geq4(k+1) $$Where $ k\geq 0. $
$$\frac{a^2}{b}+\frac{(b+1)^2}{a} \geq4$$
7 replies
sqing
Yesterday at 2:43 AM
sqing
7 minutes ago
Junior Balkan Mathematical Olympiad 2024- P2
Lukaluce   18
N 8 minutes ago by Primeniyazidayi
Source: JBMO 2024
Let $ABC$ be a triangle such that $AB < AC$. Let the excircle opposite to A be tangent to the lines $AB, AC$, and $BC$ at points $D, E$, and $F$, respectively, and let $J$ be its centre. Let $P$ be a point on the side $BC$. The circumcircles of the triangles $BDP$ and $CEP$ intersect for the second time at $Q$. Let $R$ be the foot of the perpendicular from $A$ to the line $FJ$. Prove that the points $P, Q$, and $R$ are collinear.

(The excircle of a triangle $ABC$ opposite to $A$ is the circle that is tangent to the line segment $BC$, to the ray $AB$ beyond $B$, and to the ray $AC$ beyond $C$.)

Proposed by Bozhidar Dimitrov, Bulgaria
18 replies
Lukaluce
Jun 27, 2024
Primeniyazidayi
8 minutes ago
Same radius geo
ThatApollo777   3
N an hour ago by ThatApollo777
Source: Own
Classify all possible quadrupes of $4$ distinct points in a plane such the circumradius of any $3$ of them is the same.
3 replies
ThatApollo777
Yesterday at 7:37 AM
ThatApollo777
an hour ago
Hard geo from UKR TST
mshtand1   7
N 3 hours ago by bin_sherlo
Source: Ukraine IMO 2023 TST P9
Let $ABC$ be a triangle and let its incircle, centred at $I$, touches the side $BC$ at $D$. A line through $A$ intersects the lines $BC$, $BI$ and $CI$ at $X$, $Y$ and $Z$, respectively. The circle $(ABC)$ intersects the circles $(AIY)$ and $(AIZ)$ again at $U$ and $V$, respectively. Prove that the points $D$, $U$, $V$ and $X$ are concyclic.
Proposed by Fedir Yudin and Mykhailo Shtandenko
7 replies
mshtand1
May 5, 2023
bin_sherlo
3 hours ago
Guessing Point is Hard
MarkBcc168   31
N 3 hours ago by wu2481632
Source: IMO Shortlist 2023 G5
Let $ABC$ be an acute-angled triangle with circumcircle $\omega$ and circumcentre $O$. Points $D\neq B$ and $E\neq C$ lie on $\omega$ such that $BD\perp AC$ and $CE\perp AB$. Let $CO$ meet $AB$ at $X$, and $BO$ meet $AC$ at $Y$.

Prove that the circumcircles of triangles $BXD$ and $CYE$ have an intersection lie on line $AO$.

Ivan Chan Kai Chin, Malaysia
31 replies
MarkBcc168
Jul 17, 2024
wu2481632
3 hours ago
IMO Shortlist 2014 G4
hajimbrak   27
N 3 hours ago by jp62
Consider a fixed circle $\Gamma$ with three fixed points $A, B,$ and $C$ on it. Also, let us fix a real number $\lambda \in(0,1)$. For a variable point $P \not\in\{A, B, C\}$ on $\Gamma$, let $M$ be the point on the segment $CP$ such that $CM =\lambda\cdot  CP$ . Let $Q$ be the second point of intersection of the circumcircles of the triangles $AMP$ and $BMC$. Prove that as $P$ varies, the point $Q$ lies on a fixed circle.

Proposed by Jack Edward Smith, UK
27 replies
hajimbrak
Jul 11, 2015
jp62
3 hours ago
Equal Distances in an Isosceles Setting
mojyla222   2
N 4 hours ago by Mahdi_Mashayekhi
Source: IDMC 2025 P4
Let $ABC$ be an isosceles triangle with $AB=AC$. The circle $\omega_1$, passing through $B$ and $C$, intersects segment $AB$ at $K\neq B$. The circle $\omega_2$ is tangent to $BC$ at $B$ and passes through $K$. Let $M$ and $N$ be the midpoints of segments $AB$ and $AC$, respectively. The line $MN$ intersects $\omega_1$ and $\omega_2$ at points $P$ and $Q$, respectively, where $P$ and $Q$ are the intersections closer to $M$. Prove that $MP=MQ$.

Proposed by Hooman Fattahi
2 replies
mojyla222
Today at 5:05 AM
Mahdi_Mashayekhi
4 hours ago
Prove that the line $MN$ is tangent to the inscribed circle
janssv.200603   9
N 4 hours ago by Captainscrubz
Source: Peru TST
Let $I$ be the incenter of the $ABC$ triangle. The circumference that passes through $I$ and has center
in $A$ intersects the circumscribed circumference of the $ABC$ triangle at points $M$ and
$N$. Prove that the line $MN$ is tangent to the inscribed circle of the $ABC$ triangle.
9 replies
janssv.200603
Feb 3, 2019
Captainscrubz
4 hours ago
Equal distances between pairs of orthocenters in cyclic quad
Shu   2
N 4 hours ago by Nari_Tom
Source: XVII Tuymaada Mathematical Olympiad (2010), Senior Level
In a cyclic quadrilateral $ABCD$, the extensions of sides $AB$ and $CD$ meet at point $P$, and the extensions of sides $AD$ and $BC$ meet at point $Q$. Prove that the distance between the orthocenters of triangles $APD$ and $AQB$ is equal to the distance between the orthocenters of triangles $CQD$ and $BPC$.
2 replies
Shu
Jul 31, 2011
Nari_Tom
4 hours ago
Euler line of incircle touching points /Reposted/
Eagle116   5
N 5 hours ago by Tsikaloudakis
Let $ABC$ be a triangle with incentre $I$ and circumcentre $O$. Let $D,E,F$ be the touchpoints of the incircle with $BC$, $CA$, $AB$ respectively. Prove that $OI$ is the Euler line of $\vartriangle DEF$.
5 replies
Eagle116
Yesterday at 2:48 PM
Tsikaloudakis
5 hours ago
Bunch of midpoints
Retemoeg   0
5 hours ago
Source: Own
Let $ABC$ be a scalene triangle with orthocenter $H$ and medial triangle $MNP$. Let $F$ be a point on $AC$ such that $\angle HMF = 90^{\circ}$. If $L$ is the midpoint of segment $BF$, show that $\triangle NLP$ is isoceles.
0 replies
Retemoeg
5 hours ago
0 replies
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