Plan ahead for the next school year. Schedule your class today!

G
Topic
First Poster
Last Poster
k a July Highlights and 2025 AoPS Online Class Information
jwelsh   0
Jul 1, 2025
We are halfway through summer, so be sure to carve out some time to keep your skills sharp and explore challenging topics at AoPS Online and our AoPS Academies (including the Virtual Campus)!

[list][*]Over 60 summer classes are starting at the Virtual Campus on July 7th - check out the math and language arts options for middle through high school levels.
[*]At AoPS Online, we have accelerated sections where you can complete a course in half the time by meeting twice/week instead of once/week, starting on July 8th:
[list][*]MATHCOUNTS/AMC 8 Basics
[*]MATHCOUNTS/AMC 8 Advanced
[*]AMC Problem Series[/list]
[*]Plus, AoPS Online has a special seminar July 14 - 17 that is outside the standard fare: Paradoxes and Infinity
[*]We are expanding our in-person AoPS Academy locations - are you looking for a strong community of problem solvers, exemplary instruction, and math and language arts options? Look to see if we have a location near you and enroll in summer camps or academic year classes today! New locations include campuses in California, Georgia, New York, Illinois, and Oregon and more coming soon![/list]

MOP (Math Olympiad Summer Program) just ended and the IMO (International Mathematical Olympiad) is right around the corner! This year’s IMO will be held in Australia, July 10th - 20th. Congratulations to all the MOP students for reaching this incredible level and best of luck to all selected to represent their countries at this year’s IMO! Did you know that, in the last 10 years, 59 USA International Math Olympiad team members have medaled and have taken over 360 AoPS Online courses. Take advantage of our Worldwide Online Olympiad Training (WOOT) courses
and train with the best! Please note that early bird pricing ends August 19th!
Are you tired of the heat and thinking about Fall? 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.

Our full course list for upcoming classes is below:
All classes start 7:30pm ET/4:30pm PT unless otherwise noted.

Introductory: Grades 5-10

Prealgebra 1 Self-Paced

Prealgebra 1
Wednesday, Jul 16 - Oct 29
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
Friday, Jul 25 - Nov 21
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
Tuesday, Jul 15 - Oct 28
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
Wednesday, Jul 2 - Sep 17
Sunday, Jul 27 - Oct 19
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
Tuesday, Jul 15 - Sep 30
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
Friday, Jul 18 - Nov 14
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
Monday, Jul 14 - Jan 19
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
Mon, Tue, Wed, & Thurs, Jul 14 - Jul 16 (meets every day of the week!)
Sat & Sun, Sep 13 - Sep 14 (1:00 - 4:00 PM PT/4:00 - 7:00 PM ET)

Intermediate: Grades 8-12

Intermediate Algebra
Sunday, Jul 13 - Jan 18
Thursday, Jul 24 - Jan 22
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
Tues & Thurs, Jul 8 - Aug 14 (meets twice a week!)
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
Tues & Thurs, Jul 8 - Aug 14 (meets twice a week!)
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
Tues & Thurs, Jul 8 - Aug 14 (meets twice a week!)
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
Jul 1, 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
Problem 4 of the HMO
GreekIdiot   14
N 2 minutes ago by Cats_on_a_computer
Prove that no perfect cube is of the form $y^2+108$ where $y \in \mathbb{Z}$.
14 replies
GreekIdiot
Feb 22, 2025
Cats_on_a_computer
2 minutes ago
Every popular person is the best friend of a popular person?
yunxiu   9
N 4 minutes ago by AshAuktober
Source: 2012 European Girls’ Mathematical Olympiad P6
There are infinitely many people registered on the social network Mugbook. Some pairs of (different) users are registered as friends, but each person has only finitely many friends. Every user has at least one friend. (Friendship is symmetric; that is, if $A$ is a friend of $B$, then $B$ is a friend of $A$.)
Each person is required to designate one of their friends as their best friend. If $A$ designates $B$ as her best friend, then (unfortunately) it does not follow that $B$ necessarily designates $A$ as her best friend. Someone designated as a best friend is called a $1$-best friend. More generally, if $n> 1$ is a positive integer, then a user is an $n$-best friend provided that they have been designated the best friend of someone who is an $(n-1)$-best friend. Someone who is a $k$-best friend for every positive integer $k$ is called popular.
(a) Prove that every popular person is the best friend of a popular person.
(b) Show that if people can have infinitely many friends, then it is possible that a popular person is not the best friend of a popular person.

Romania (Dan Schwarz)
9 replies
yunxiu
Apr 13, 2012
AshAuktober
4 minutes ago
Blackboard Erasures
WakeUp   3
N 8 minutes ago by mudkip42
A natural number is written on the blackboard. In each step, we erase the units digit and add four times the erased digit to the remaining number, and write the result on the blackboard instead of the initial number. Starting with the number $13^{2006}$, is it possible to obtain the number $2006^{13}$ by repeating this step finitely many times?
3 replies
WakeUp
Nov 10, 2010
mudkip42
8 minutes ago
conditional geo
Scilyse   0
10 minutes ago
Source: 2025 Apr 谜之竞赛-1
Let $ABC$ be an acute triangle with $AB \neq AC$. Let $A'$ be the reflection of point $A$ over the midpoint of segment $\overline{BC}$. Points $E$ and $F$ lie on the same side of $BC$ as $A$ and satisfy $\angle ACF = \angle ABE = 90^\circ$ and $EF \perp AA'$.

Suppose that the circumcircles of $\triangle EAF$ and $\triangle ABC$ are tangent. Prove that $\angle EA'F = 90^\circ$.
0 replies
+1 w
Scilyse
10 minutes ago
0 replies
AOPS MO Introduce
MathMaxGreat   83
N 11 minutes ago by Ciobi_
$AOPS MO$

Problems: post it as a private message to me or @jerryZYang, please post it in $LATEX$ and have answers

6 Problems for two rounds, easier than $IMO$

If you want to do the problems or be interested, reply ’+1’
Want to post a problem reply’+2’ and message me
Want to be in the problem selection committee, reply’+3’
83 replies
MathMaxGreat
Jul 12, 2025
Ciobi_
11 minutes ago
Convex quad
MithsApprentice   83
N 42 minutes ago by mathprodigy2011
Source: USAMO 1993
Let $\, ABCD \,$ be a convex quadrilateral such that diagonals $\, AC \,$ and $\, BD \,$ intersect at right angles, and let $\, E \,$ be their intersection. Prove that the reflections of $\, E \,$ across $\, AB, \, BC, \, CD, \, DA \,$ are concyclic.
83 replies
MithsApprentice
Oct 27, 2005
mathprodigy2011
42 minutes ago
Areas of triangles AOH, BOH, COH
Arne   72
N an hour ago by mudkip42
Source: APMO 2004, Problem 2
Let $O$ be the circumcenter and $H$ the orthocenter of an acute triangle $ABC$. Prove that the area of one of the triangles $AOH$, $BOH$ and $COH$ is equal to the sum of the areas of the other two.
72 replies
1 viewing
Arne
Mar 23, 2004
mudkip42
an hour ago
Cauchy-Schwarz proof
Nguyenhuyen_AG   1
N an hour ago by Nguyenhuyen_AG
Let $a, \, b, \, c$ be non-negative real numbers. Prove that
\[\frac{8a}{b+2c}+\frac{48b}{c+3a}+\frac{c}{a+4b} \geqslant 4.\]\[\frac{16a}{b+2c}+\frac{85b}{c+3a}+\frac{2c}{a+4b} \geqslant 8.\]hide
1 reply
Nguyenhuyen_AG
an hour ago
Nguyenhuyen_AG
an hour ago
inequality
SunnyEvan   3
N an hour ago by SunnyEvan
Source: Own
Let $ x \in [\frac{\pi}{2}-1, 1) $, try to prove or disprove that :
$$ \frac{(\sqrt2 cosx -1)^2}{cos2x+tan\frac{\pi}{8}}-\frac{(\sqrt2 sinx -1)^2}{cos2x-tan\frac{\pi}{8}} \geq \frac{1}{2}(\frac{tanx-1}{tanx+1})^2 $$
3 replies
SunnyEvan
Yesterday at 1:24 PM
SunnyEvan
an hour ago
Easy Combinatorial Geometry
EthanWYX2009   0
an hour ago
Source: 2025 February 谜之竞赛-4
Given integer $n\ge 2$. Define set
\[V_n:=\{(a_1,\cdots ,a_n)\in\mathbb R^n\mid a_1,\cdots ,a_n\ge 0\text{ and }a_1+\cdots +a_n=1\}.\]For $\alpha =(a_1,\cdots ,a_n)$, $\beta =(b_1,\cdots ,b_n)\in V_n$, define $d(\alpha ,\beta):=\sum\limits_{i=1}^n|a_i-b_i|.$

Determine the minimum real number $\lambda$, such that for all $v_1,v_2,\cdots ,v_{n+2}\in V_n$, there exists $1\le i<j\le n+2$ such that $d(x_i,x_j)\le\lambda$.

Created by Cheng Jiang
0 replies
EthanWYX2009
an hour ago
0 replies
Arc Midpoints Form Cyclic Quadrilateral
ike.chen   58
N 2 hours ago by YaoAOPS
Source: ISL 2022/G2
In the acute-angled triangle $ABC$, the point $F$ is the foot of the altitude from $A$, and $P$ is a point on the segment $AF$. The lines through $P$ parallel to $AC$ and $AB$ meet $BC$ at $D$ and $E$, respectively. Points $X \ne A$ and $Y \ne A$ lie on the circles $ABD$ and $ACE$, respectively, such that $DA = DX$ and $EA = EY$.
Prove that $B, C, X,$ and $Y$ are concyclic.
58 replies
ike.chen
Jul 9, 2023
YaoAOPS
2 hours ago
A geo shortlist is not a shortlist without a config
Assassino9931   9
N 2 hours ago by ihategeo_1969
Source: RMM Extralist 2021 G4
Let $ABC$ be an acute triangle, let $H$ and $O$ be its orthocentre and circumcentre, respectively,
and let $S$ and $T$ be the feet of the altitudes from $B$ to $AC$ and from $C$ to $AB$, respectively.
Let $M$ be the midpoint of the segment $ST$, and let $N$ be the midpoint of the segment $AH$. The line
through $O$, parallel to $BC$, crosses the sides $AC$ and $AB$ at $F$ and $G$, respectively. The line $NG$
meets the circle $BGO$ again at $K$, and the line $NF$ meets the circle $CFO$ again at $L$. Prove that
the triangles $BCM$ and $KLN$ are similar.
9 replies
Assassino9931
Sep 18, 2023
ihategeo_1969
2 hours ago
AD=BE implies ABC right
v_Enhance   119
N 2 hours ago by mudkip42
Source: European Girl's MO 2013, Problem 1
The side $BC$ of the triangle $ABC$ is extended beyond $C$ to $D$ so that $CD = BC$. The side $CA$ is extended beyond $A$ to $E$ so that $AE = 2CA$. Prove that, if $AD=BE$, then the triangle $ABC$ is right-angled.
119 replies
v_Enhance
Apr 10, 2013
mudkip42
2 hours ago
Inequality
SunnyEvan   3
N 2 hours ago by SunnyEvan
Source: Own
Let $ a,b,c>0 $, try to prove or disprove that: $$ \sum_{\text{cyc}} \frac{14}{39a^4b^2 + 12b^4c^2 + 12c^4a^2} \leq \frac{1}{a^4b^2 + b^4c^2 + c^4a^2} + \sum_{\text{cyc}} \frac{1}{3(b^4c^2 + c^4a^2 + ab^2c^3 )} $$
3 replies
SunnyEvan
Jul 8, 2025
SunnyEvan
2 hours ago
conditional sequence
MithsApprentice   17
N Jul 9, 2025 by Ilikeminecraft
Source: USAMO 1995
Suppose $\, q_{0}, \, q_{1}, \, q_{2}, \ldots \; \,$ is an infinite sequence of integers satisfying the following two conditions:

(i) $\, m-n \,$ divides $\, q_{m}-q_{n}\,$ for $\, m > n \geq 0,$
(ii) there is a polynomial $\, P \,$ such that $\, |q_{n}| < P(n) \,$ for all $\, n$

Prove that there is a polynomial $\, Q \,$ such that $\, q_{n}= Q(n) \,$ for all $\, n$.
17 replies
MithsApprentice
Oct 23, 2005
Ilikeminecraft
Jul 9, 2025
Source: USAMO 1995
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
MithsApprentice
2390 posts
#1 • 4 Y
Y by Adventure10, Rounak_iitr, Mango247, cubres
Suppose $\, q_{0}, \, q_{1}, \, q_{2}, \ldots \; \,$ is an infinite sequence of integers satisfying the following two conditions:

(i) $\, m-n \,$ divides $\, q_{m}-q_{n}\,$ for $\, m > n \geq 0,$
(ii) there is a polynomial $\, P \,$ such that $\, |q_{n}| < P(n) \,$ for all $\, n$

Prove that there is a polynomial $\, Q \,$ such that $\, q_{n}= Q(n) \,$ for all $\, n$.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
silversheep
77 posts
#2 • 15 Y
Y by Mediocrity, SidVicious, deimis1231, HolyMath, anantmudgal09, mijail, Lcz, Adventure10, Mango247, Tastymooncake2, MS_asdfgzxcvb, and 4 other users
Step 1: Suppose $P$ has degree $d$. Let $Q$ be the polynomial of degree at most $d$ with $Q(x)=q_x$ for $0\leq x\leq d$. Since the $q_x$ are all integers, $Q$ has rational coefficients, and there exists $k$ so that $kQ$ has integer coefficients. Then $m-n|kQ(m)-kQ(n)$ for all $m,n\in \mathbb N_0$.

Step 2 We show that $Q$ is the desired polynomial.

Let $x>n$ be given. Now
\[kq_x\equiv kq_m\pmod{x-m}\text{ for all integers }m\in[0,d]\]
Since $kQ(x)$ satisfies these relations as well, and $kq_m=kQ(m)$,
\[kq_x\equiv kQ(x)\pmod{x-m}\text{ for all integers }m\in[0,d]\]
and hence
\[kq_x\equiv kQ(x)\pmod{\text{lcm}(x,x-1,\ldots, x-d)}. \;(1)
\]
Now
\begin{align*}
\text{lcm}(x,x-1,\ldots, x-i-1)&=\text{lcm}[\text{lcm}(x,x-1,\ldots, x-i),x-i-1]\\
&=\frac{\text{lcm}(x,x-1,\ldots, x-i)(x-i-1)}{\text{gcd}[\text{lcm}(x,x-1,\ldots, x-i),(x-i-1)]}\\
&\geq \frac{\text{lcm}(x,x-1,\ldots, x-i)(x-i-1)}{\text{gcd}[x(x-1)\cdots(x-i),(x-i-1)]}\\
&\geq \frac{\text{lcm}(x,x-1,\ldots, x-i)(x-i-1)}{(i+1)!}
\end{align*}
so by induction $\text{lcm}(x,x-1,\ldots, x-d)\geq \frac{x(x-1)\cdots (x-d)}{d!(d-1)!\cdots 1!}$. Since $P(x), Q(x)$ have degree $d$, for large enough $x$ (say $x>L$) we have $\left|Q(x)\pm\frac{x(x-1)\cdots (x-d)}{kd!(d-1)!\cdots 1!}\right|>P(x)$. By (1) $kq_x$ must differ by a multiple of $\text{lcm}(x,x-1,\ldots, x-d)$ from $kQ(x)$; hence $q_x$ must differ by a multiple of $\frac{x(x-1)\cdots (x-d)}{kd!(d-1)!\cdots 1!}$ from $Q(x)$, and for $x>L$ we must have $q_x=Q(x)$.

Now for any $y$ we have $kQ(y)\equiv kQ(x)\equiv kq_x \equiv kq_y\pmod{x-y}$ for any $x>L$. Since $x-y$ can be arbitrarily large, we must have $Q(y)=q_y$, as needed.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Atlas_ha78
69 posts
#3 • 2 Y
Y by Adventure10, Mango247
Does anyone have a shorter solution?
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
anantmudgal09
1980 posts
#4 • 4 Y
Y by Wizard_32, Aryan-23, Adventure10, Mango247
Nice!

We consider the polynomial $f$ of the minimal degree such that $a_n \le f(n)$ for all but finitely many $n$. Let $d$ be the degree of $f$. We consider a polynomial $g$ of degree $d$ such that $g(i)=a_i$ for $1 \le i \le d+1$. By the Lagrange Interpolation formula, this polynomial is of rational coefficients and uniquely defined. Let $N>0$ be a constant such that $h(x)=Ng(x)$ is a polynomial with integer coefficients. We replace the sequence $a_n$ by $b_n=Na_n$. This does not affect our divisibility relation and the other conditions are scaled accordingly. Choose $m$ sufficiently large, in particular $m>c$ where $c>0$ is a constant we shall disclose later in the proof. Now, we have \begin{align*} m-i \mid (b_m-b_i)-(h(m)-h(i)) = (b_m-h(m)) \end{align*}where $1 \le i \le d+1$. Therefore, we have the relation: \begin{align*} \operatorname{lcm}(m-1,\dots, m-d, m-d-1) \mid |b_m-h(m)| \end{align*}and we observe that $|b_m-h(m)|_{m \ge 1}$ is bounded above by a polynomial of degree $d$, i.e., there exists a constant $a>0$ such that $|b_m-h(m)| \le am^d$. However, we see that the relation \begin{align*} x_1\cdot \dots \cdot x_k \mid \operatorname{lcm}(x_1,\dots, x_k)\cdot \Pi \gcd (x_i,x_j) \end{align*}holds for all integers $x_1,\dots, x_k$, where in the last product the gcd is taken over all pairs $1 \le i < j \le k$. This result is established by comparing the $v_p$'s on each side. Now, this directly translates into an inequality $A \le B$ if $A \mid B$. Notice that $\gcd (a,b) \le |a-b|$. Therefore, we have \begin{align*} am^d \ge \operatorname{lcm}(m-1,...,m-d-1) \ge \frac{(m-1)\cdot \dots \cdot (m-d-1)}{\Pi_{1 \le i<j \le d+1} \gcd(m-i,m-j)} \ge \frac{(m-1)\cdot \dots \cdot (m-d-1)}{\Pi_{1 \le i < j \le d+1} (j-i)}=O(m^{d+1}), \end{align*}yielding a contradiction for all sufficiently large $m$, unless $b_m=h(m)$. We deduce that $b_m=h(m)$ for all sufficiently large $m$, i.e., for all $m>M$ for some constant $M>0$. Now, we take $n \le M$ and notice that $m-n \mid b_m-b_n$ implies that $m-n \mid |b_n-h(n)|$ which further yields, due to the size of $m$, that $b_n=h(n)$.

In summary, we conclude from the above deductions that $b_n=h(n)$ for all $n \in \mathbb{N}$ and so, $a_n=g(n)$ for all $n \in \mathbb{N}$. The result follows.

Comment The result is sharp, namely, we cannot reduce it to showing that $g \in \mathbb{Z}[X]$. A counter example can be the sequence $a_n=\binom{n}{2}+2016$ which clearly, satisfies all our conditions but is not in $\mathbb{Z}[X]$.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
yayups
1614 posts
#5 • 1 Y
Y by Adventure10
Let $d=\deg P$. Let $Q(x)$ be the unique polynomial with degree at most $d$ such that $Q(x)=q_x$ for all $0\le x\le d$. It exists because we can set up a system of $d+1$ variables and linear equations, and the solution exists and is unique because the Vandermonde determinant is nonzero. This also shows that $H$ has rational coefficients. Pick $k\in\mathbb{Z}$ such that $H=kQ\in\mathbb{Z}[x]$, and let $a_n=kq_n$. It now suffices to show that $a_n=H(n)$ for all $n\ge 0$, where we know that $H(n)=n$ for all $0\le n\le d$, $\deg H\le d$, and $m-n\mid a_m-a_n$ for all $m\not=n$.

Suppose $n\ge d+1$. Then, we have that
\begin{align*}
a_n &\equiv a_0 = H(0)\pmod{n} \\
a_n &\equiv a_1 = H(1)\pmod{n-1} \\
&\vdots \\
a_n &\equiv a_d = H(d) \pmod{n-d}.
\end{align*}By the Chinese Remainder Theorem, this has a unique solution $\pmod{f(n)}$ where $f(n):=\mathrm{lcm}(n-d,n-d+1,\ldots,n-1,n)$. Note that one solution that definitely works is $H(n)$ since $H\in\mathbb{Z}[x]$. Thus, $a_n\equiv H(n)\pmod{f(n)}$. The key point is that $n^{d+1}/f(n)$ is bounded above by some constant that only depends on $n$ (I think something like $d\cdot (d-1)^2\cdots 2^{d-1}$ works), so in particular, $f(n)$ grows faster than $P(n)$. Eventually then, we must have $f(n)>100k P(n)$, and since $|a_n|<k P(n)$ and $a_n\equiv H(n)\pmod{f(n)}$, we see that $a_n=H(n)$ for sufficiently large $n$. So $a_n=H(n)$ for all $n\ge N$.

It remains to show that $a_n=H(n)$ for all $n<N$. We see that $a_n\equiv a_m=H(m)\equiv H(n)\pmod{m-n}$ for all $m\ge N$, so by taking $m$ to be sufficiently large, we learn that $a_n=H(n)$, as desired. Dividing by $k$, we get that $q_n=Q(n)$ for all $n$.
This post has been edited 1 time. Last edited by yayups, Oct 3, 2018, 5:12 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
fattypiggy123
616 posts
#6 • 2 Y
Y by Superguy, rafayaashary1
For those interested, here is a massive generalization (posted today!)
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
TheUltimate123
1741 posts
#7 • 5 Y
Y by Mathematicsislovely, MatBoy-123, JG666, hakN, Rounak_iitr
Let \(d\) be the degree of \(P\), and let \(Q\) be the (unique) rational polynomial with \(Q(i)=q_i\) for \(i=0,\ldots,d\). Appropriately scale up everything so that \(Q\) has integer coefficients.

Lemma: For all \(d\), \[\operatorname{lcm}(n,n-1,\ldots,n-d)=O\big(n^{d+1}\big).\]
Proof. Evidently \(\operatorname{lcm}(n,n-1,\ldots,n-d)\le n(n-1)\cdots(n-d)=O\big(n^{d+1}\big)\). The lower bound can be attained easily via basically any bound; for instance, \[\operatorname{lcm}(n,\ldots,n-d)\ge\frac{n(n-1)\cdots(n-d)}{\prod_{i<j}\gcd(n-i,n-j)}\ge\frac{n(n-1)\cdots(n-d)}{\prod_{i<j}(j-i)}=O\big(n^{d+1}\big).\]\(\blacksquare\)

Claim: For sufficiently large \(n\), we have \(q_n=Q(n)\).

Proof. We must have \(q_n\equiv q_i=Q(i)\equiv Q(n)\pmod{n-i}\) for \(i=0,\ldots,d\), so \[q_n\equiv Q(n)\pmod{\operatorname{lcm}(n,\ldots,n-d)}.\]If \(q_n\ne Q(n)\), then for some nonzero \(k\) we have \(q_n=Q(n)+k\operatorname{lcm}(n,\ldots,n-d)=O\big(n^{d+1}\big)\), which will exceed \(P(n)\) in absolute value for sufficiently large \(n\). \(\blacksquare\)

To finish the proof, observe that for every \(m\), we have \(q_m\equiv q_n=Q(n)\equiv Q(m)\pmod{n-m}\) for sufficiently large \(n\). By taking \(n\) large, \(q_m=Q(m)\), as needed.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
GeronimoStilton
1520 posts
#8
Y by
Let $P$ have degree $k$. Let the polynomial $Q$ of minimal degree such that $Q(i)=q_i$ for each $0\le i\le k$ be $Q^*$. Note that $Q^*$ is a rational polynomial with degree at most $k$. Let $d\in\mathbb{Z}_{>0}$ be minimal with $dQ^*\in\mathbb{Z}[x]$. Define $p_i=dq_i$ for each $i$ and note the $p_i$ satisfy the same properties as the $q_i$ by considering $P'=dP(n)$, and moreover the minimal polynomial of $p_0,\dots,p_k$ is an integer polynomial $\tilde{Q}$. Now, consider $n>k$. Observe that we must have $\tilde{Q}(n)\equiv p_n\pmod{n-i}$ for each $0\le i\le k$ because of the condition and the fact that $\tilde{Q}$ is an integer polynomial. Note that any $n-i,n-j$ have common divisor dividing $k!$, hence we can write
\[n\cdot \binom{n}{k} \mid \tilde{Q}(n)-p_n.\]For large values of $n$, $|\tilde{Q}(n)+ an\cdot \binom{n}{k}|>10|P(n)|$ for all $a\ne0$ so $p_n=\tilde{Q}(n)$. Now, use large $n$ to uniquely determine every value of $p_i$ for which the previous argument does not work, and note that $p_i=\tilde{Q}(i)$ is the only feasible solution $p_i$ to the modular equations we get. Hence, $q_n=Q^*(n)$ for each $n$, as desired.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
IndoMathXdZ
694 posts
#9
Y by
MithsApprentice wrote:
Suppose $\, q_{0}, \, q_{1}, \, q_{2}, \ldots \; \,$ is an infinite sequence of integers satisfying the following two conditions:

(i) $\, m-n \,$ divides $\, q_{m}-q_{n}\,$ for $\, m > n \geq 0,$
(ii) there is a polynomial $\, P \,$ such that $\, |q_{n}| < P(n) \,$ for all $\, n$

Prove that there is a polynomial $\, Q \,$ such that $\, q_{n}= Q(n) \,$ for all $\, n$.

Suppose $\text{deg} \ P = d$. Then let by Lagrange Interpolation formula, there exists $Q \in \mathbb{Q}[x]$ of degree $d$ such that $Q(i) = q_i$ for $0 \le i \le d$. For now, we alter $q_i \to kq_i$, $P \to kP = P'$ and $Q \to kQ = Q'$ such that $Q' \in \mathbb{Z}[x]$, and the problem is still true.

We wll know prove that $Q'$ satisfies the requirement of the problem.
Fix an integer $\ell > d$. Notice that we have
\[ \ell - i \mid kq_{\ell} - kq_i, \ \forall 0 \le i \le d \]and since $Q'(i) = kq_i$ for $0 \le i \le d$, we have $\ell - i \mid kq_{\ell} - Q'(i)$. But since $Q' \in \mathbb{Z}[x]$, we have $\ell - i \mid Q'(\ell) - Q'(i)$, which forces
\[ \ell - i \mid kq_{\ell} - Q'(\ell) \ \text{for } 0 \le i \le d \]This forces
\[ \text{lcm} ( \ell, \ell - 1, \dots, \ell - d) \mid kq_{\ell} - Q'(\ell) \]Claim. $\text{lcm}(\ell, \ell - 1, \dots, \ell - d) = O(\ell^{d + 1})$.
Proof. We know that $\text{lcm}(\ell, \ell - 1, \dots, \ell - d) \le \ell(\ell - 1) \dots (\ell - d) = O(\ell^{d + 1})$, and the lower bound is attained by
\[ \text{lcm}(\ell, \dots, \ell - d) \ge \frac{\ell(\ell - 1)\dots (\ell - d)}{\prod_{i < j} \gcd(\ell - i, \ell - j)} \ge \frac{\ell(\ell - 1) \dots (\ell - d)}{\prod_{i <j} \gcd(i,j)} = O(\ell^{d + 1}) \]
Claim. $Q'(n) = kq_n$ for all sufficiently large integer $n$.
Proof. From the condition of the problem, we have $|kq_n| < P'(n)$ for all $n \in \mathbb{N}$.
So, $kq_{\ell} - Q'(\ell) \le |Q'(\ell)| + |P'(\ell)|$, and therefore for sufficiently large $n$, if $Q'(n) \not= kq_n$, we must have
\[ n(n - 1) \dots (n - d) \le |kq_n - Q'(n)| \le |P'(n)| + |Q'(n)| \]which is a contradiction as $P' + Q'$ is of degree $d$.
Claim. $Q'(n) = kq_n$ for all positive integers $n$.
Proof. Suppose there exists a positive integer $\ell$ such that $Q'(\ell) \not= kq_{\ell}$. We have
\[ n - {\ell} \mid Q'(n) - Q'(\ell) \ \text{and} \ n - \ell \mid kq_n - kq_{\ell} \]for all sufficiently large $n$. Since $kq_n = Q'(n)$ for all sufficiently large $n$, then we must have
\[ n - {\ell} \mid Q'(\ell) - kq_{\ell} \]for all sufficiently large $n$. However, this is a contradiction, as we can take $n - \ell > |Q'(\ell) - kq_{\ell}| + 10^{100}$, and we are done.

To conclude, we have $kQ(n) = Q'(n) = kq_n$, which forces $Q(n) = q_n$ for all $n \in \mathbb{N}$.
This post has been edited 1 time. Last edited by IndoMathXdZ, Dec 14, 2020, 5:45 AM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
peppapig_
283 posts
#10 • 1 Y
Y by mulberrykid
Let $P(x)$ have degree $k$. Suppose that $Q(x)$ is the polynomial of degree $k$ such that $Q(x)=q_x$ for $1\leq{}x\leq{}k$. We now claim that if we fix the first $k$ terms of the sequence $q_i$ such that it satisfies the conditions, the rest of the sequence is fixed. (If it is fixed, it also must be equivalent to the polynomial $Q(x)$, since $Q(x)$ satisfies the conditions).


Notice that $Q$ must be a polynomial with rational coefficients (comes from finite differences), therefore there is an integer $c$ such that $cQ$ is a polynomial with integer coefficients. For some very large $x>n$, we find that
\[\text{lcm}{}(x,x-1,\dots{},x-k)\geq{}\frac{x(x-1)\dots{}(x-k)}{ck!(k-1)!\dots{}1!}\]and by bounding on $q_x$ (Since by the second condition, we must have that $|q_x|<P(x)$), we find that we must have $Q(x)=q_x$ for all $x$, and we are done.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
HamstPan38825
8902 posts
#11 • 1 Y
Y by Rounak_iitr
The hardest part of the problem is really getting started.

Fix $\deg Q = d = \deg P$, and let $Q$ be the polynomial with degree $d$ that agrees with $q_i$ for $0 \leq i \leq d$. We can assume that $Q$ is an integer polynomial; otherwise just transform $Q \to kQ$ where $kQ \in \mathbb Z[X]$ and show that $kQ(n) = kq_n$ for every $n$.

Now, for any $n \geq d$, note that $$q_n \equiv Q(n) \pmod {\operatorname{lcm}(n, n-1, \dots, n-d)}.$$Call this $A_n$.

Claim. $A_n = O(n^{d+1})$.

Proof. Intuitively, this is because for large $n$, the numbers ``don't share many common factors." More rigorously, $$A_n > \frac{n(n-1)\dots(n-d)}{\prod_{i<j} \gcd(i, j)} = O(n^{d+1}). \ \blacksquare$$
To finish, pick very large $n$ and suppose that $q_n \neq Q(n)$; then it follows that $|q_n - Q(n)| > A_n$. But by the claim this implies $|q_n| > P(n)$, contradiction! Thus, $q_n$ and $Q(n)$ agree at infinitely many values, and $Q(n) = q_n$ for all $n$.
This post has been edited 1 time. Last edited by HamstPan38825, Dec 2, 2023, 7:44 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
thdnder
199 posts
#12
Y by
Let $N$ be a sufficiently large integer and let $Q$ be the interpolation polynomial of the points $(0, q_0), (1, q_1), \dots, (N, q_N)$. We'll show that $Q$ is the desired polynomial. We can assume that $Q$ is an integer polynomial; otherwise just transform $Q \to kQ$ where $kQ \in \mathbb Z[X]$ and show that $kQ(n) = kq_n$ for every $n$. We'll do it by induction. Base case is clear. For induction step, assume $Q(n) \neq q_n$ for some $n$. Since $q_n \equiv q_i = Q(i) \equiv Q(n) (n - i)$, so $\text{lcm}(1, 2, \dots, n-1) \mid q_n - Q(n)$. Therefore there exists $k$ such that $q_n = Q(n) + \text{lcm}(1, 2, \dots, n-1)k$. Now consider the following claim:

Claim: $\text{lcm}(1, 2, \dots, n)$ grows faster than any polynomial.

Proof. Assume not. Then there exists $k$ such that $n^k > \text{lcm}(1, 2, \dots n)$ for all sufficiently large integer $n$. But we have $\text{lcm}(1, 2, \dots, n) > \prod_{p \le n} p^{\log_p(n) - 1} = \prod_{p \le n} \frac{n}{p} = \frac{n^{\pi(n)}}{p_1p_2\cdots p_{\pi(n)}} > \frac{n^{k+1}}{p_1p_2\cdots p_{k+1}}$, hence we get $n^k > \frac{n^{k+1}}{p_1p_2\cdots p_{k+1}}$ for all sufficiently large $n$, a contradiction. $\blacksquare$

Note that $|Q(i)| < P(i)$ for all $0 \le i \le N$, so $\deg Q \le \deg P$. Thus $q_n$ has to be equal to $Q(n)$, otherwise we get $\text{lcm}(1, 2, \dots, n)$ is bounded by some polynomial, contradicting the claim. Hence the induction step is proved. $\blacksquare$

Remark. In fact, we have $\text{lcm}(1, 2,  \dots, n) = n \cdot \text{lcm}(\binom{n-1}{0}, \binom{n-1}{1}, \dots, \binom{n-1}{n-1}) \ge \binom{n-1}{0} + \binom{n-1}{1} + \dots + \binom{n-1}{n-1} = 2^{n-1}$, which immediately implies the claim.
This post has been edited 2 times. Last edited by thdnder, Feb 9, 2024, 4:41 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Pyramix
419 posts
#13
Y by
The main idea of this problem is the following lemma:

Lemma. For all non-negative integers $d$, we have
\[\text{lcm}(n,n-1,\ldots,n-d)=O(n^{d+1})\]Proof. For the upper bound, simply note that
\[\text{lcm}(n,n-1,\ldots,n-d)\leq n(n-1)\cdots(n-d)=O(n^{d+1}),\]while for the lower bound, we use the fact that for $1\leq i < j\leq d$, we have $\gcd(n-i, n-j)\leq j-i$, which means
\[\text{lcm}(n,n-1,\ldots,n-d)\geq \frac{n(n-1)\cdots(n-d)}{\prod_{1\leq i < j\leq n}(j-i)}=O(n^{d+1}),\]so the lemma is true. $\blacksquare$

Let $d$ be the degree of $P$. So, $q_n=o(P(n))=o(n^d)$ for sufficiently large $n$.
By Lagrange Interpolation, there exists a unique rational polynomial $R$ of degree at most $d$ such that $R(i)=q_i$ for each $0\leq i\leq d$.

Claim: $R(n)=q_n$ for all sufficiently large $n$.
Proof. Note that we have
\[q_n\equiv q_i\equiv R(i)\equiv R(n)\pmod{n-i}\]for each $0\leq i\leq d$. Hence, we have
\[q_n\equiv R(n)\pmod{\text{lcm}(n-1,n-2,\ldots,n-d)}\Longrightarrow q_n=k\ \text{lcm}(n-1,n-2,\ldots,n-d)+R(n)\]So, if $k\neq0$, then $q_n=O(n^{d+1})$. But we also have $q_n=o(n^d)$ for sufficiently large $n$. This means $O(n^{d+1})=o(n^d)$, which is absurd. Hence, $k=0$ is forced for large $n$, which means $q_n=R(n)$, as desired. $\blacksquare$

Finish:
Note that for any $m$ and sufficiently large $n$, we have that
\[q_m\equiv q_n\equiv R(n)\equiv R(m)\pmod{n-m}\]So, $n-m\mid q_m-R(m)$ for all sufficiently large $n$, which forces $q_m=R(m)$.

So, $R$ is the required construction for $Q$. $\blacksquare$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
megarnie
5685 posts
#14
Y by
First we clearly see that $P$ must have positive leading coefficient as it is positive for all $n$.

Consider the polynomial constructed by Lagrange Interpolation with rational coefficients and degree the same as that of $P$ so that $i$ maps to $q_i$ for all $ i \in \{0, 1, \ldots, d\}$ and $N$ be a positive integer satisfying that this polynomial times $N$ has integer coefficients. Let $R(x)$ be this polynomial with integer coefficients. Additionally, let $x_i = N q_i$ for each $i$. It suffices to show there exists a polynomial $S$ with $S(n) = x_n$ for all $n$. Clearly $m - n \mid x_m - x_n$ for all $m,n$. WLOG that $R(x)$ has a nonnegative leading coefficient (since we can switch $x_i$ with $- x_i$ and all the conditions stay the same).

We see that $R(i) = x_i \forall i\in \{0,1, \ldots,d\}$.

Claim: For all sufficiently large positive integers $n$, we have $R(n) = x_n$.
Proof: Suppose otherwise for some large $n$. We have $n - i \mid x_n - x_i$ for any $0 \le i \le d$, so $x_n \equiv R(i) \pmod{n-i}$.

Hence $x_n \equiv R(n) \pmod{n-i}$, so\[x_n \equiv R(n) \pmod{\mathrm{lcm}(n-d, n-(d-1), \ldots, n)}\]Now, we see that\[\mathrm{lcm}(n-d, n-(d-1), \ldots, n) \ge \frac{\prod_{i=0}^d (n - (d - i)) }{\prod_{n-d \le i < j \le n}\gcd(i,j) } \ge \frac{\prod_{i=0}^d (n - (d - i)) }{\prod_{n-d \le i < j \le n} (j-i)} \ge \frac{\prod_{i=0}^d (n - (d - i)) }{d^{d^2}} \]The RHS is a polynomial with degree $d + 1$ and positive leading coefficient, so for sufficiently large $n$, it exceeds $N P(n) + R(n) + 1434$.

Suppose that $x_n \ne R(n)$ for some sufficiently large $n$. Then $|x_n|$ is at least $|R(n) - \mathrm{lcm}(n-d,n-(d-1), \ldots, n)|$. As $n$ is large, $\mathrm{lcm}(n-d, n-(d-1),\ldots, n)$ exceeds $N P(n) + R(n) + 1434$, so $|x_n| \ge N P(n) + 1434 > N P(n)$, which is a contradiction since $|x_n|= N |q_n| < N P(n)$. $\square$

Let $r$ be any positive integer and $m$ be any positive integer with $q_m = R(m)$. We have $m - r \mid R(m) - x_r$, however, we also have $m - r \mid R(m) - R(r)$, so\[ m - r \mid (R(m) - R(r)) - (R(m) - x_r) = x_r - R(r),\]so taking $m$ sufficiently large gives that $x_r = R(r)$, so we can just set $S(x) = R(x)$ (in particular $Q(x) = \frac{R(x)}{N} $ ).
This post has been edited 1 time. Last edited by megarnie, Apr 29, 2024, 7:18 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
N3bula
314 posts
#15
Y by
Let $Q(x)$ be the polynomial such that $Q(0)=q_0$, $Q(1)=q_1$, \dots, $Q(d)=q_d$ where $d$ is the degree of $P(n)$, note that for all $n$ we have $q_n\equiv Q(n) \pmod{\text{lcm}(n(n-1)(n-2)\dots(n-d))}$,
thus by taking large enough $n$ and using the fact that $\text{lcm}(n(n-1)(n-2)\dots(n-d))\geq \frac{n(n-1)(n-2)\dots(n-d)}{1!\cdot 2!\cdot 3!\dots d!}$ we get that for all large enough $n$ that $q_n=Q(n)$
and thus from the bound on small $n$ we can also get that for all $n$ $Q(n)=q_n$.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
quantam13
147 posts
#16
Y by
Let the degree of $P$ be $d$, and let $Q(x)$ be the unique polynomial of degree $d$ such that $Q(i)=q_i$ for $i=0,1,2,\dots ,d$, and assume it has integer coefficients by scaling.

Lemma: For integers $d$, we get that $$\operatorname{lcm}(n,n-1,n-2,\dots n-d)=\Theta(n^{d+1})$$Proof of lemma: We have that $\operatorname{lcm}(n,n-1,n-2,\dots n-d)\le n(n-1)(n-2)\dots (n-d)=O(n^{d+1})$. To see the lower bound, we get that
\begin{align*}
\operatorname{lcm}(n,n-1,n-2,\dots n-d) &\ge \frac{n(n-1)(n-2)(n-3)\dots (n-d)}{\Pi_{i<j} \gcd(n-i,n-j)}\\
&\ge  \frac{n(n-1)(n-2)(n-3)\dots (n-d)}{\Pi_{i<j} (i-j)}\\
 &=\Omega(n^{d+1})
\end{align*}Combining the two bounds, we get the desired lemma $\square$.

I use this lemma to show the result for sufficiently large $n$ and then interpolate it to all integers $n$.

Claim: For sufficiently large integers $n$, we get that $q_n=Q(n)$
Proof of claim: We have that $q_n\equiv q_i\equiv Q(i)\equiv Q(n) \pmod{n-i}$ for $i$ in $0,1,2,\dots, d$ and thus $q_n\equiv Q(n) \pmod{\operatorname{lcm}(n,n-1,n-2,\dots,n-d)}$ so this gives us the desired claim due to the previous lemma noting that $P$ is a polynomial of degree $d$. $\square$

Now to finish, we want to show $q_m=Q(m)$ for all integers $m$. For this, notice that $$q_m\equiv q_n=Q(n)\equiv Q(m)\pmod{n-m}$$for sufficiently large $n$, which finishes. $\blacksquare$
This post has been edited 2 times. Last edited by quantam13, Mar 31, 2025, 6:50 AM
Reason: formatting
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
shendrew7
816 posts
#17
Y by
Consider interpolating $q_x$ on $x = 0, \ldots, k$, where $k$ is the degree of $P(x)$, to get a polynomial $Q(x)$ with degree at most $k$. We claim that $q_n = Q(n)$ for all $n$.

Note that $Q(x) \in \mathbb Q[x]$, but we can resolve this by simply multiplying by an integer $c$ so that $cQ(x) \in \mathbb Z[x]$. Next, observe that
\[cQ(M) \equiv cQ(n) \equiv cq_n \equiv cq_M \pmod{M-n} \text{ when } n = 0, \ldots, k\]\[\implies cQ(M) = cq_M + a \cdot \operatorname{lcm}(M, M-1, \ldots, M-k)\]
for some integer $a$. However, since
\[\operatorname{lcm}(M, M-1, \ldots, M-k) = O(n^{d+1}) > O(n^d) \ge Q(m),\]
we must have $a=0$ and thus $Q(M) = q_M$ for all sufficiently large $M$. To finish, if we suppose $N$ is an index which we have not guaranteed $Q(N) = q_N$, then
\[Q(N) \equiv Q(M) = q_M \equiv q_M \implies Q(N) \equiv q_N \pmod{M-N}.\]
But since $M-N$ takes infinitely many values, we indeed have $Q(N) = q_N$. $\blacksquare$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Ilikeminecraft
731 posts
#18
Y by
Let $\deg P = d,$ and determine the rational polynomial satisfying $\deg Q \leq d$ and $Q(k) = d_k$ for $k = 0, 1, \cdots, d.$ This exists by lagrange interpolation.
Suppose $N\cdot Q(k)\in \mathbb Z[x].$ Replace $q_k\to N\cdot q_k.$ All conditions stated within the problem are still satisfied, and if we prove this new sequence doesn’t work, then our original obviously doesn’t work either.
Now, replace $q_k\to q_k - Q(k).$ Thus, $q_k= 0$ for $k = 0, 1, \cdots, d,$ while both conditions must be satisfied as $Q$ is integer polynomial and $m - n \mid Q(m) - Q(n).$
Now, apply $n = 0, 1, \cdots, d$ and we get $\operatorname{lcm}(m, m - 1, \cdots, m - d)|q_m.$ Hence, $|q_m| \geq \operatorname{lcm}(m, \cdots, m - d)$ which grows at $O(n^{d + 1})$. However, $P$ grows at a speed of $O(n^d),$ so this forces $q$ to be 0 at some sufficiently large value. Take $m$ at this value and we are done.
Z K Y
N Quick Reply
G
H
=
a