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

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

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

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

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

Introductory: Grades 5-10

Prealgebra 1 Self-Paced

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

Prealgebra 2 Self-Paced

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


Introduction to Algebra A Self-Paced

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

Introduction to Counting & Probability Self-Paced

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

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

Introduction to Algebra B Self-Paced

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

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

Intermediate: Grades 8-12

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

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

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

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

Advanced: Grades 9-12

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

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

Group Theory
Thursday, Jun 12 - Sep 11

Contest Preparation: Grades 6-12

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

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

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

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

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

AMC 12 Final Fives
Sunday, May 18 - Jun 15

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

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


MathWOOT Level 1
MathWOOT Level 2
ChemWOOT
CodeWOOT
PhysicsWOOT

Programming

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

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

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

Physics

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

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

Relativity
Sat & Sun, Apr 26 - Apr 27 (4:00 - 7:00 pm ET/1:00 - 4:00pm PT)
Mon, Tue, Wed & Thurs, Jun 23 - Jun 26 (meets every day of the week!)
0 replies
jlacosta
Mar 2, 2025
0 replies
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
n! divides product of (2^n-2^k) for k=0,..,n-1
efoski1687   11
N 5 minutes ago by Assassino9931
Source: Turkish NMO 1996, 5. Problem
Prove that $\prod\limits_{k=0}^{n-1}{({{2}^{n}}-{{2}^{k}})}$ is divisible by $n!$ for all positive integers $n$.
11 replies
efoski1687
Jul 31, 2011
Assassino9931
5 minutes ago
2^n+n=m!
crazyfehmy   12
N 19 minutes ago by Assassino9931
Source: Turkey National Olympiad Second Round 2013 P4
Find all positive integers $m$ and $n$ satisfying $2^n+n=m!$.
12 replies
crazyfehmy
Nov 28, 2013
Assassino9931
19 minutes ago
Problem 6 of Fourth round
GeorgeRP   3
N 20 minutes ago by Assassino9931
Source: XIII International Festival of Young Mathematicians Sozopol 2024, Theme for 10-12 grade
Let $P(x)$ be a polynomial in one variable with integer coefficients. Prove that the number of pairs $(m,n)$ of positive integers such that $2^n + P(n) = m!$, is finite.
3 replies
GeorgeRP
Sep 10, 2024
Assassino9931
20 minutes ago
Symmetric Tangents Concur on CD
ike.chen   43
N 31 minutes ago by Frd_19_Hsnzde
Source: ISL 2022/G3
Let $ABCD$ be a cyclic quadrilateral. Assume that the points $Q, A, B, P$ are collinear in this order, in such a way that the line $AC$ is tangent to the circle $ADQ$, and the line $BD$ is tangent to the circle $BCP$. Let $M$ and $N$ be the midpoints of segments $BC$ and $AD$, respectively. Prove that the following three lines are concurrent: line $CD$, the tangent of circle $ANQ$ at point $A$, and the tangent to circle $BMP$ at point $B$.
43 replies
+1 w
ike.chen
Jul 9, 2023
Frd_19_Hsnzde
31 minutes ago
Find maximum number of pairs whose product is at least 1
Photaesthesia   15
N an hour ago by Bluesoul
Source: 2024 China MO, Day 2, Problem 4
Let $a_1, a_2, \ldots, a_{2023}$ be nonnegative real numbers such that $a_1 + a_2 + \ldots + a_{2023} = 100$. Let $A = \left \{ (i,j) \mid 1 \leqslant i \leqslant j \leqslant 2023, \, a_ia_j \geqslant 1 \right\}$. Prove that $|A| \leqslant 5050$ and determine when the equality holds.

Proposed by Yunhao Fu
15 replies
Photaesthesia
Nov 29, 2023
Bluesoul
an hour ago
f(2) = 7, find all integer functions [Taiwan 2014 Quizzes]
v_Enhance   55
N an hour ago by Burmf
Find all increasing functions $f$ from the nonnegative integers to the integers satisfying $f(2)=7$ and \[ f(mn) = f(m) + f(n) + f(m)f(n) \] for all nonnegative integers $m$ and $n$.
55 replies
v_Enhance
Jul 18, 2014
Burmf
an hour ago
This problem has unintended solution, found by almost all who solved it :(
mshtand1   4
N an hour ago by Ilikeminecraft
Source: Ukrainian Mathematical Olympiad 2025. Day 2, Problem 11.7
Given a triangle \(ABC\), an arbitrary point \(D\) is chosen on the side \(AC\). In triangles \(ABD\) and \(CBD\), the angle bisectors \(BK\) and \(BL\) are drawn, respectively. The point \(O\) is the circumcenter of \(\triangle KBL\). Prove that the second intersection point of the circumcircles of triangles \(ABL\) and \(CBK\) lies on the line \(OD\).

Proposed by Anton Trygub
4 replies
mshtand1
Today at 1:00 AM
Ilikeminecraft
an hour ago
USAMO 2001 Problem 4
MithsApprentice   32
N 2 hours ago by HamstPan38825
Let $P$ be a point in the plane of triangle $ABC$ such that the segments $PA$, $PB$, and $PC$ are the sides of an obtuse triangle. Assume that in this triangle the obtuse angle opposes the side congruent to $PA$. Prove that $\angle BAC$ is acute.
32 replies
MithsApprentice
Sep 30, 2005
HamstPan38825
2 hours ago
APMO 2016: Line is tangent to circle
shinichiman   41
N 2 hours ago by Ilikeminecraft
Source: APMO 2016, problem 3
Let $AB$ and $AC$ be two distinct rays not lying on the same line, and let $\omega$ be a circle with center $O$ that is tangent to ray $AC$ at $E$ and ray $AB$ at $F$. Let $R$ be a point on segment $EF$. The line through $O$ parallel to $EF$ intersects line $AB$ at $P$. Let $N$ be the intersection of lines $PR$ and $AC$, and let $M$ be the intersection of line $AB$ and the line through $R$ parallel to $AC$. Prove that line $MN$ is tangent to $\omega$.

Warut Suksompong, Thailand
41 replies
shinichiman
May 16, 2016
Ilikeminecraft
2 hours ago
Parallelogram and a simple cyclic quadrilateral
Noob_at_math_69_level   5
N 2 hours ago by awesomeming327.
Source: DGO 2023 Individual P1
Let $ABC$ be an acute triangle with point $D$ lie on the plane such that $ABDC$ is a parallelogram. $H$ is the orthocenter of $\triangle{ABC}.$ $BH$ intersects $CD$ at $Y$ and $CH$ intersects $BD$ at $X.$ The circle with diameter $AH$ intersects the circumcircle of $\triangle{ABC}$ again at $Q.$ Prove that: The circumcircle of $\triangle{XQY}$ passes through the reflection point of $D$ over $BC.$

Proposed by MathLuis
5 replies
Noob_at_math_69_level
Dec 18, 2023
awesomeming327.
2 hours ago
Line through incenter tangent to a circle
Kayak   31
N 2 hours ago by ihategeo_1969
Source: Indian TST D1 P1
In an acute angled triangle $ABC$ with $AB < AC$, let $I$ denote the incenter and $M$ the midpoint of side $BC$. The line through $A$ perpendicular to $AI$ intersects the tangent from $M$ to the incircle (different from line $BC$) at a point $P$> Show that $AI$ is tangent to the circumcircle of triangle $MIP$.

Proposed by Tejaswi Navilarekallu
31 replies
Kayak
Jul 17, 2019
ihategeo_1969
2 hours ago
Changeable polynomials, can they ever become equal?
mshtand1   3
N 3 hours ago by CHESSR1DER
Source: Ukrainian Mathematical Olympiad 2025. Day 2, Problem 11.5
Initially, two constant polynomials are written on the board: \(0\) and \(1\). At each step, it is allowed to add \(1\) to one of the polynomials and to multiply another one by the polynomial \(45x + 2025\). Can the polynomials become equal at some point?

Proposed by Oleksii Masalitin
3 replies
mshtand1
Today at 12:47 AM
CHESSR1DER
3 hours ago
Finally my algebra that I am proud of
mshtand1   1
N 3 hours ago by RagvaloD
Source: Ukrainian Mathematical Olympiad 2025. Day 2, Problem 8.7
Find the smallest real number \(a\) such that for any positive integer number \(n > 2\) and any arrangement of the numbers from 1 to \(n\) on a circle, there exists a pair of adjacent numbers whose ratio (when dividing the larger number by the smaller one) is less than \(a\).

Proposed by Mykhailo Shtandenko
1 reply
mshtand1
Yesterday at 11:59 PM
RagvaloD
3 hours ago
Floor double summation
CyclicISLscelesTrapezoid   50
N 4 hours ago by Ilikeminecraft
Source: ISL 2021 A2
Which positive integers $n$ make the equation \[\sum_{i=1}^n \sum_{j=1}^n \left\lfloor \frac{ij}{n+1} \right\rfloor=\frac{n^2(n-1)}{4}\]true?
50 replies
CyclicISLscelesTrapezoid
Jul 12, 2022
Ilikeminecraft
4 hours ago
NT Arithmetic Progression
IndoMathXdZ   19
N Sep 22, 2024 by Kingsbane2139
Source: IMO SL 2018 N7
Let $n \ge 2018$ be an integer, and let $a_1, a_2, \dots, a_n, b_1, b_2, \dots, b_n$ be pairwise distinct positive integers not exceeding $5n$. Suppose that the sequence
\[ \frac{a_1}{b_1}, \frac{a_2}{b_2}, \dots, \frac{a_n}{b_n} \]forms an arithmetic progression. Prove that the terms of the sequence are equal.
19 replies
IndoMathXdZ
Jul 17, 2019
Kingsbane2139
Sep 22, 2024
NT Arithmetic Progression
G H J
Source: IMO SL 2018 N7
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
IndoMathXdZ
691 posts
#1 • 3 Y
Y by rama1728, Adventure10, NO_SQUARES
Let $n \ge 2018$ be an integer, and let $a_1, a_2, \dots, a_n, b_1, b_2, \dots, b_n$ be pairwise distinct positive integers not exceeding $5n$. Suppose that the sequence
\[ \frac{a_1}{b_1}, \frac{a_2}{b_2}, \dots, \frac{a_n}{b_n} \]forms an arithmetic progression. Prove that the terms of the sequence are equal.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
v_Enhance
6857 posts
#2 • 7 Y
Y by brokendiamond, Wizard_32, Superguy, v4913, HamstPan38825, megarnie, Adventure10
We present a variation of the official solution by using a lemma mentioned in solutions to the 2010 Romanian Masters in Math; see https://aops.com/community/c6h334682p1798256.

Lemma: Let $P$ be a set of $k$ primes. An arithmetic progression $x_1 < x_2 < \dots$ of positive integers is given, such that no prime in $P$ divides all terms in the progression. Then there exists $1 \le i \le 2^k$ such that $x_i$ is not divisible by any prime in $P$.

Assume the arithmetic progression is decreasing and write it as \[ 	\frac{a_1}{b_1} = \frac{a+(n-1)r}{d}, \quad 	\frac{a_2}{b_2} = \frac{a+(n-2)r}{d}, \quad 	\dots, \quad 	\frac{a_n}{b_n} = \frac{a}{d} \]for some positive integers $a$, $r$, $d$ with $\gcd(a,r,d) = 1$. Note that one can choose $d$ in such a way that $d \mid b_1 b_2$, hence $d \le (5n)^2$.

The idea is to again find numerators not divisible by $d$, by applying the lemma to the set $P$ of primes dividing $d$. Let $k = |P|$. We consider two cases.
  • Assume $d \le 5n$. We claim that $n > 36 \cdot 2^k$ in this case. Indeed, since $n \ge 2018$ we only consider $k \ge 6$ (since $36 \cdot 2^5 < 2018$). But then \[ d \ge 2 \cdot 3 \cdot 5 \cdot 7 \cdot 11 \cdot 13 \cdot 17^{k-6} 	\ge 30030 \cdot 2^{k-6} > 5 \cdot 36 \cdot 64 \cdot 2^{k-6}= 5 \cdot 36 \cdot 2^k. \]Hence $n \ge \frac15d = 36 \cdot 2^k$, as claimed.

    We now derive a contradiction by noting that among the first $6 \cdot 2^k$ fractions, at least six of them have denominator divisible by $d$, since the numerators share no common factor with $d$. Hence one of the fractions, say the $i$th one, must have denominator at least $6d$. The corresponding numerator is then at least \[ 6[a + (n-i)r] \ge 6[a + (n-6\cdot2^k)r] 	> 6\left[a + \frac56 n \cdot r\right] > 5n \]which is a contradiction.
  • Assume $d > 5n$, but still $d \le (5n)^2$. We claim that $n > 2^k$ in this case. Indeed, since $n \ge 2018$ we only consider $k \ge 11$ (since $2^{10} < 2018$). Then \[ d \ge 2 \cdot 3 \cdot 5 \cdot \dots \cdot 31 \cdot 37^{k-11} 	> 4^{11} \cdot 25 \cdot 4^{k-11} = 25 \cdot 4^{k}. \]Then $n \ge \sqrt{d/25} > 2^k$.

    But now among the first $2^k$ fractions, one of them is irreducible again, but then its denominator is a multiple of $d$, despite $d > 5n$. This is again a contradiction.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
MarkBcc168
1593 posts
#3 • 3 Y
Y by sabkx, Adventure10, ihategeo_1969
This problem is proposed by Pakawut Jiradilok and Warut Suksompong, Thailand, also my favorite problem in ISL (minus IMO).
We begin with the following crucial $p$-adic lemma.

Lemma: Let $a_1,a_2,...,a_n$ be an arithmetic progression of rational number and $k\in\mathbb{Z}^+$. Let $t=\min\{\nu_p(a_1),\nu_p(a_2),...,\nu_p(a_n)\}$. Then at most $\left\lceil\frac{n}{p^k}\right\rceil$ of them have $\nu_p$ greater of equal to $t+k$.

Proof: By suitable scaling, WLOG $a_1,a_2,...,a_n$ are integer such that $\gcd(a_1,a_2,...,a_n)=1$. Then $t=0$. Let $a_i = a+ib$ and take $S=\{i : p^k\mid a_i\}$. Then if $i,j\in S$, then
$$p^k\mid (a+ib) - (a+jb) = (i-j)b.$$If $p\mid b$ then $p\mid a$, contradiction to $t=0$. Thus $i,j\in S\implies p^k\mid i-j$. Thus $S$ is subset of some residue class $\pmod{p^k}$, implying the conclusion.
Using our lemma, we give the key claim.

Claim: For each prime power $q=p^k > 5$, we have $\nu_p(\frac{a_i}{b_i}) > -k$ for each $i=1,2,...,n$.

Proof: Assume for the contradiction that $\min\{\nu_p(\frac{a_1}{b_1}), \nu_p(\frac{a_2}{b_2}),,...,\nu_p(\frac{a_n}{b_n})\} < -k$ then by our lemma, at most $\left\lceil\frac{n}{p^k}\right\rceil$ of all fractions have $\nu_p$ greater or equal to zero.

If $\nu_p(\frac{a_i}{b_i})<0$, then $p\mid b_i$. As there are at most $\frac{5n}{p}$ multiples of $p$ in $\{b_1,...,b_n\}$, we get
$$n - \frac{n}{q} - 1 \leqslant \frac{5n}{p} \leqslant \frac{5n}{q}$$, a contradiction for $q \geqslant 7$.
The claim implies $60\cdot\frac{a_i}{b_i}\in\mathbb{Z}$ for each $i=1,2,...,n$. Let $x_i = \frac{60a_i}{b_i}$, we split into two cases.

Case I. $\gcd(x_1,x_2,...,x_n)=1$}

Then at least $\frac{4}{15}$ of $x_i$ are relatively prime to $60$, these terms force $b_i$ to be multiple of $60$. However, there are at most $\frac{5}{60}=\frac{1}{12}$ multiples of $60$, contradiction.

Case II. $\gcd(x_1,x_2,...,x_n)>1$

Then $x_i\geqslant 2i$ for each $i$. Thus
$$2\cdot 4\cdot 6\cdot...\cdot 2n = x_1x_2...x_n = \frac{60^n(a_1a_2...a_n)}{b_1b_2...b_n} \leqslant \frac{60^n(4n+1)(4n+2)...(5n)}{n!}$$or $(n!)^2(4n)!\leqslant 30^n(5n)!$. An integral estimation implies $(\frac{n}{e})^n < n! < (\frac{n+1}{e})^{n+1} < (\frac{n}{2.5})^n$ for $n\geqslant 2018$. After rearranging terms, we get
$$\left(30\cdot 2^5\cdot \frac{e^6}{4^4}\right)^n \geqslant n^n \implies n \leqslant 30\cdot 2^5 \cdot \frac{e^6}{4^4} < 1920$$, contradiction. (The computation is resonably derived by noting that $e^6 < 512 \iff e^2 < 8$.)
This post has been edited 2 times. Last edited by MarkBcc168, Jul 17, 2019, 2:38 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
DrMath
2130 posts
#4 • 2 Y
Y by MarkBcc168, Adventure10
Let $x_i = a_i/b_i$ and suppose $x_1 < x_2 < \cdots < x_n$. Let $d = x_2 - x_1$. We claim the following:

Lemma: If $v_p(d) = -M$ for $M>0$, then

1. $\frac{2017}{2018} < \frac{5}{p^M} + \frac{1}{p}$

2. If $v_p(x_k) > -M$ then $k\equiv r\pmod{p}$ for some fixed integer $r$.

Proof: We do this by showing $p^M$ must divide at least $n - n/p-1$ of the $b_i$'s. We do this via casework on $v_p(x_1)$:

1. $v_p(x_1) < v_p(d)$. In this case, $v_p(x_k) = v_p(x_1 + (k-1)d)$. Since $v_p(x_1) < v_p((k-1)d)$, it follows $v_p(x_k) = v_p(x_1) < -M$ for all $k$, so $v_p(b_k) > M$ and thus $p^M$ divides all $n$ of the $b_i$'s.

2. $v_p(x_1) \ge v_p(d)$. This is equivalent to $v_p(p^Mx_k) > 0$, or $v_p(p^Mx_1 + (k-1)p^Md) > 0$. Now, note that $v_p(p^Md) = 0$ and $v_p(p^Mx_1)\ge 0$, so we can treat this as a modular expression: $(p^Mx_1) + (k-1) (p^Md)\equiv 0\pmod{p}$. Then it follows $k \equiv 1 - (p^Md)^{-1} (p^Mx_1)\pmod{p}$ where taking the modular inverse is defined since $v_p(p^Md) = 0$.

Now, the number of integers between $1$ and $n$ that are equivalent to $k\pmod{p}$ is less than $n/p + 1$, so more than $n - n/p - 1$ values of $k$ do not satisfy $k\equiv r\pmod{p}$, implying more than $n-n/p - 1$ values of $k$ satisfy $v_p(x_k) = -M$. For these values of $k$, we have $v_p(b_k) \ge M$, so we have $p^M$ divides more than $n-n/p - 1$ of the $b_i$'s.

On the other hand, the $b_i$'s are distinct, and there are at most $5n/p^M$ multiples of $p^M$ among them, so we must have $n-n/p-1<5n/p^M$ which implies $\frac{n-1}{n}  < \frac{1}{p} + \frac{5}{p^M}$. Since $n \ge 2018$, we get the desired lemma. $\blacksquare$

Now, solving the inequality easily gives $p^M\in \{2, 4, 8, 3, 5\}$, so if $v_p(d) < 0$ then $p\in \{2, 3, 5\}$. Now, suppose $x_k$ and $d$ have the same denominator when simplified; that is, $v_p(x_k) = v_p(d)$ whenever $v_p(d) < 0$. Then by CRT and the lemma above, it follows that there are at least $8$ residues $r$ such that we can have $k\equiv r\pmod{30}$.

Let $D$ be the denominator of $d$ when written in lowest terms. Then by the above discussion, it follows that $D\mid b_i$ for at least $\lfloor n/30\rfloor\cdot 8$ of the $b_i$'s. It thus remains to bound $D$. Now, clearly $d\ge \frac{1}{D}$, so $x_k > \frac{k-1}{D}$. Moreover, among the fractions $x_i$, note that $b_i\ge n/2$ for at least $n/2$ of the $b_i$'s. For these terms, note that $x_i = a_i/b_i \le (5n)/(n/2) = 10$, so it follows $x_{n/2} \le 10$. Then $\frac{n/2-1}{D} < 10$, so $n < 2(10D + 1) = 20D + 2$. Thus $n\le 20D+1$, so there are at most $5n/D \le 105$ multiples of $D$ between $1$ and $5n$. But $D\mid b_i$ for at least $\lfloor n/30\rfloor\cdot 8 < 8(n/30 - 1)$ of the $b_i$'s. Thus $8(n/30 - 1) \le 105$ which is an obvious contradiction, as desired. $\square$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
DrMath
2130 posts
#5 • 2 Y
Y by Adventure10, Mango247
In fact, we can generalize $5n$ to $n^{3/2-\epsilon}$ for $n$ large enough. Let $f(n) = n^{1/2-\epsilon}$; then, replacing $5$ with $f(n)$ in the problem, and adopting the notation above, we see that if $D$ is the denominator of common difference, then for $p\mid D$ we must have $\frac{n-1}{n} < \frac{1}{p} + \frac{f(n)}{p^M}$, which is equivalent to $p < f(n) + 1$.

Next, by CRT, the fraction of $b_i$'s that are divisible by $D$ is at least $\prod_{p < f(n) + 1} \left(1-\frac{1}{p}\right) \approx \prod_{p < f(n) + 1} e^{-1/p} \approx \frac{1}{\ln (f(n) + 1)}$, so there must be at least $n/\ln (f(n) + 1)$ multiples of $D$ less than $n\cdot f(n)$. On the other hand, we get $n\le 4f(n)\cdot D+ 1$ so the number of multiples of $D$ less than $f(n)\cdot n$ is at most roughly $f(n)(4f(n) + 1)$. But $f(n)(4f(n) + 1) = O(n^{1-2\epsilon})$ while $n/\ln (f(n) + 1) = O(n/\ln n)$ which gives our contradiction.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Gomes17
132 posts
#6
Y by
For simplicity, let say the AP is $\frac{a_0}{b_0},...,\frac{a_{n-1}}{b_{n-1}}$ given by $\frac{a_k}{b_k}= \frac{u+kt}{v}$. We choose $u,v,t$ in such a way that $\gcd (u,v,t) =1$.

Assume WLOG $t>0$ (if $t=0$ we are done and if $t<0$ we can reverse the sequence. )

Notice that since the denominators are distinct,

$$\min( \frac{a_{n-1}}{b_{n-1}}, ... , \frac{a_{n-k}}{b_{n-k}}) \le \frac{5n}{k}$$
Hence $$\frac{(n-k)t}{v} < \frac{u+(n-k)t}{v} \le \frac{5n}{k}$$
By taking $k= \frac{n}{2}$ or $\frac{n-1}{2}$ if $n$ is odd, we get

$$t<\frac{20nv}{n^2-1}$$
Now we prove that $v$ must be very small. Together with the last bound on $t$, we will get $t <1$, contradicting our hypothesis that $t \neq 0$.

Suppose that a prime power $p^e$ divides $v$. Hence we must have that, since $p$ doesn't divide $\gcd (u,t)$, that at most one reminder $r \mod p$ gives $p|u+rt$. The conclusion is that $p^e$ must divide $b_i$ for all but, at most, $\lceil \frac{n}{p} \rceil < \frac{n}{p} +1$ values of $i$.

Therefore, since all $b_i$ are distinct, we must have $(n- \frac{n}{p}-1)p^e \le 5n$ (here we are counting the number of multiples of $p^e$ less than $5n$). Its easy to verify that if $p \ge 7$ is any prime or $p^e \ge 9$, then the last inequality fails. Therefore $v \le 8 \times 3 \times 5 = 120$.

We will prove that it can not happen that $3$ and $5$ divide $v$ simultaneously. If that happened, we can see that there are $4$ reminders $r \mod 5$ such that $5$ divides $b_i$ when $i \equiv r \mod 5$. With the same idea, there are two such reminders $\mod 3$. Hence, for at least each $8$ of every $15$ consecutive $i$, we have $15 | b_i$. Therefore $8 \lfloor \frac{n}{15} \rfloor \le \frac{5n}{15}$ (counting the multiples of $15$ less than $5n$), which is clearly not true when $n \ge 2018$.

Now we see that $v \le 40$, hence $t < \frac{800n}{n^2-1} <1$, contradiction.

Remark. Notice that this last step of proving that $3$ and $5$ couldn't divide $v$ at the same time was very important, since without this step we would have only proved our statement for $n \ge 2400$.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
L567
1184 posts
#8
Y by
Nice problem! Solved with Pujnk. (There are possibly flaws in this proof, please do point out any if you spot them)

Assume WLOG the sequence is increasing and let the common difference be $\frac{c}{d}$ with $c,d$ coprime with $d > 0$. So we have $\frac{a_i}{b_i} + (j-i)\frac{c}{d} = \frac{a_j}{b_j}$ $$\implies d(a_jb_i - a_ib_j) = (j-i)cb_ib_j$$Call this $(1)$. In particular, this means $d | (j-i)b_ib_j$ since $c,d$ coprime.

The main idea of the problem is that many of the $b_i$ have to be divisible by primes dividing $d$ and since the $b_i$ cant be big, $d$ itself must be small. But if $d$ is small, then the sequence grows too fast to have only small $a_i, b_i$

Claim: $d \le 120$

Proof: Let $p$ be the largest prime dividing $d$. We have that $p | (j-i)b_ib_j$ for all $i,j$. Suppose $b_k$ is a term such that $p \nmid b_k$ and say $k \equiv r \pmod p$. For every index $i$ such that $p \nmid i-k$, we have that $p | b_i$. Since there are $p-1$ such indices, we have that among $b_1, b_2, \cdots b_n$, we have at least $\left \lfloor \frac{n(p-1)}{p} \right \rfloor$ terms divisible by $p$. Since we have $b_i \le 5n$, there are at most $\left \lfloor \frac{5n}{p} \right \rfloor$ numbers divisible by $p$ and $\le 5n$, (ignore floors because the inequality works anyway), $\frac{n(p-1)}{p} \le \frac{5n}{p} \implies p \le 6$. So, $d$ has only prime factors $2,3,5$

Next, we bound the highest power of these primes that can divide $d$. Say $d = 2^x 3^y 5^z$. Let $p$ be a prime and from $(1)$, we have that $v_p(d) \le \max(v_p(b_i), v_p(b_j)) + v_p(j-i)$ since there's at least a $v_p$ of $\min(v_p(b_i), v_p(b_j))$ from the LHS. We will only use the fact that if $p \nmid j-i$, then $\max(v_p(b_i), v_p(b_j)) \ge v_p(d)$

Similar to before, let $b_k$ denote the term with minimal $v_p$ and say $k \equiv r \pmod p$ then everything that is not $r \pmod p$ has $v_p$ at least $v_p(d)$, so $\frac{n(p-1)}{p} \le \frac{5n}{p^{v_p(d)}} \implies p^{v_p(d) - 1}(p-1) \le 5$. Taking $p = 5$, we have that $z \le 1$, similarly we get $y \le 1$ and $x \le 3$. So, $d \le (2^3)(3)(5) = 120$, as claimed. $\square$

Now, we will show that because $d$ is small, the entire sequence $\frac{a_i}{b_i}$ grows too fast to have only numbers $\le 5n$. We split into two cases:

Case 1: $5 \nmid d$

Proof: In this case, we have $d \le 24$. So, $\frac{a_n}{b_n} > \frac{n}{24} > 84$. Consider all the terms that are $> 15$. There must be at least $n - 15(24) = n-360$ such terms. But for $\frac{a_i}{b_i} > 15$, we must have $a_i < \frac{5n}{15} = \frac{n}{3}$, so at most $\frac{n}{3}$ such terms can exist. So, $\frac{n}{3} > n-360 \iff n < 540$, which is not true. $\square$.

Case 2: $5 | d$

Proof: In this case we only have $d \le 120$, however, we know that at least $\frac{4n}{5}$ of the $b_i$ are divisible by $5$. So, consider terms among these which are $> 2$. There must be at least $\frac{4n}{5} - 240$ such terms. The point is that since we have $5 | b_i$, there can be at most $\frac{5n}{10} = \frac{n}{2}$ terms.

So, we must have $\frac{4n}{5} - 240 < \frac{n}{2} \iff n < 800$, a contradiction. $\square$

Since this is not possible, we must have had $\frac{c}{d} = 0$, so the entire sequence is just constant, as desired. $\blacksquare$

Note
This post has been edited 3 times. Last edited by L567, Sep 21, 2021, 3:07 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Sprites
478 posts
#9
Y by
............
This post has been edited 10 times. Last edited by Sprites, Dec 4, 2021, 4:19 AM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Inconsistent
1455 posts
#10
Y by
Mistakes, will fix later
This post has been edited 2 times. Last edited by Inconsistent, Dec 24, 2021, 8:32 AM
Reason: edit
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
bora_olmez
277 posts
#11 • 14 Y
Y by megarnie, lneis1, ilikemath40, L567, Pranav1056, SPHS1234, MrOreoJuice, Nuterrow, CyclicISLscelesTrapezoid, HamstPan38825, Kingsbane2139, David-Vieta, sabkx, alexanderhamilton124
My two hundredth post :D I reached my 199th post three months ago and wanted to use my 200th post for a more special problem.I believe I have found said problem. Both a very natural statement and a natural solution, a problem where trying to imagine what the final solution should look like may be in fact be detrimental. This problem took me approximately four times longer to write-up than to solve. I do not have any regrets and prefer both writing and reading solutions with motivational remarks.

Our motto in this solution will be: "More bounds are better than stronger bounds". This is a problem in which quantity may outweigh quality and the main reason is that one can almost immediately conclude that the problem holds for all sufficiently large $n \in \mathbb{N}$ and therefore one almost reduces to a "finite case check". I have tried to include as much of the motivation for the steps. Even though this is not a good way of advertising a solution, the solution below is the weakest on the thread, in the sense that if $2018$ was replaced by $2017$, the proof doesn't immediately follow, we actually use the constant $2018$! Nevertheless, I am sorry about the length of this solution but hope that you will enjoy.

Notation

Assume for the sake of contradiction that we have a non-constant arithmetic progression satisfying the condition, let $\frac{a}{b} > 0$ for $gcd(a,b) = 1$ be the common difference, we have that $$\frac{a_i}{b_i} + \frac{a}{b} = \frac{a_{i+1}}{b_{i+1}}$$
$\color{blue} \boxed{\textbf{Approach 1: p-adic valuation}}$

As we are not able to get any algebraic constraints using the fact that the integers are at most $5n$, we are motivated consider the size constraint as a bound on the number of integers among the $2n$ integers that are divisible by some $k \in \mathbb{N}$, we shall therefore closely examine $\nu_p(\frac{a_i}{b_i})$.

The first lemma is possibly one of the most natural constraints that one gets from the arithmetic progression, the above motivation immediately gives us $\textbf{Lemma 2}$ as we roughly have that if $k \mid a_{c_1}, \cdots, a_{c_m}, b_{d_1}, \cdots, b_{d_t}$ with $c_i \neq c_j$ and $d_i \neq d_j$ for $i \neq j$ in $\{1, \cdots, n\}$, then $k(m+t) \leq 5n$.


$\textbf{Lemma 1:}$ If $\nu_p(b) > \nu_p(b_i)$ then $\nu_p(b_{i+1}) \geq \nu_p(b)$ for all $i \in \{1,2, \cdots, n-1\}$
Proof: If you missed, you will hit next time

$\textbf{Lemma 2:}$ $p^{\nu_p(b)} < 10$ for all primes $p$.
Proof: Hits Lead to Bounds

$\textbf{Corollary to Lemma 2:}$
$b = 2^{\alpha} \cdot 3^{\beta} \cdot 5^{\gamma} \cdot 7^{\delta}$ for $\alpha \leq 3, \beta \leq 2, \gamma \leq 1, \delta \leq 1$.

$\textbf{Lemma 3:}$ If for some prime $p \mid b$, there is some $i \in \{1,2, \cdots, n\}$ such that $$\nu_p(\frac{a_i}{b_i}) < \nu_p(\frac{a}{b})$$then $p=2$.
Proof: Well-known p-adic Bound

In order to preserve the chronological order in which I completed the steps, we have the following section where we try and lower bound $b$.

$\color{red} \boxed{\textbf{Approach 2: Sub-sequence of Integral Difference in Rational Arithmetic Progression}}$

The motivation for this section is pretty clear and before explaining what the main idea will be, I shall present the following case, which will easily generalize to different $b \in \mathbb{N}$.

$\textbf{Lemma 4:}$ It is not possible that $\frac{a}{b} \in \mathbb{N}$ in other words that $b = 1$.
Proof: Size

Motivation: Local Arguments Can Actually Help, Sometimes

We will slightly reformulate the sub-problem that is to be solved for the sake of simpler notation.

$\textbf{Goal:}$ Let us find an upper bound on $M$ depending on $n \geq 2018$ where $M$ is the length of the longest possible sequence $\mu_1, \cdots, \mu_M$ such that $(\mu_u)_{i \geq 1}$ is an arithmetic progression with integral common difference and $\mu_i = \frac{x_i}{y_i}$ for some $x_i,y_i \in \{1, \cdots, 5n\}$ with all $2M$ integers distinct.

$\textbf{Lemma 5:}$ $M \leq \sqrt{20n+1}$
Proof: Smoothing and Size


We will now conclude that $b > 10$.

$\textbf{Lemma 6:}$ $b > 10$
Proof: Pure Luck and Lemma 5

$\color{blue} \boxed{\textbf{Section 3: Algebraic Conclusions Based on p-adic Analysis}}$
It seems as though we have not gotten much out of $\color{red} \textbf{Approach 2}$, we shall see if $b > 10$ was much progress. Given the existence of $\textbf{Lemma 2}$ any sort of bound we can get should be useful after all.

In order to get a better traction of the $\nu_p(\frac{a_i}{b_i})$ for each $i \in \{1, \cdots, n\}$ write $\frac{a_i}{b_i} = \frac{x_i}{y_i}$ with $x_i,y_i \in \mathbb{N}, gcd(x_i,y_i) = 1$.

For what is to follow, we will assume for the sake of contradiction that $b \neq 12$. We wil analyze the case $b=12$ later.

$\color{red} \boxed{\textbf{Section 4: Main Global Idea}}$
Before revealing the idea, which seems to be unique when compared to the previous posters as well as the solution on the shortlist packet, we will bound $b$ above because the current bound of $b \leq 2560$ by $\textbf{Lemma 1}$ is not sufficient as it is currently possible that $b>n$.

$\textbf{Lemma 7: More Local Combinatorial Arguments}$
$b \leq \frac{2520}{6} = 420$
Proof: IMO 2021/1

Motivation (Key Idea): Multiplicative Inverses of Relatively Prime Integers

In order to have a more linear presentation of the solution, we will first bound $\varphi(b)$ and then apply our bounds to conclude the case when $b > 12$.

$\textbf{Lemma 8:}$ If $m \mid 2^3 \cdot 3^2 \cdot 5 \cdot 7$ and $m > 12$, then $\varphi(m) \geq 6$
Proof: Small Enough Cases can be Bashed

Now, applying $\textbf{Lemma 7}$ for $m=b$, we can notice that $\varphi(b) \geq 6$ as by the corollary of $\textbf{Lemma 2}$, we know that $b \mid 2^3 \cdot 3^2 \cdot 5 \cdot 7$.

We will now split into two cases for the sake of clarity, even though the bounds that we get from one of the cases will be strictly stronger than the other, which will allow us to rule said case out.

First of all, write $\frac{x_1}{y_1} = \frac{t}{kb}$ for some minimal $k \in \mathbb{N}$ and an appropriate $t \in \mathbb{N}$ and rewrite $\frac{a_i}{b_i} = \frac{t+ka(i-1)}{kb}$.
By $\textbf{Lemma 3}$, $gcd(k,b) \mid 2$.

$\textbf{Case 1)}$ $gcd(k,b) = 2$
Covered By Case 2 and Thus Hidden

$\textbf{Case 2:)}$ $gcd(k,b) = 1$
The same reasoning with the previous notation allows us to conclude that among each of the $\lfloor \frac{n}{b} \rfloor$ $b$-tuplets, $\{1,2, \cdots, n\}$ into subsets $\{1, \cdots, b\}, \{b+1, \cdots, 2b\}, \cdots, \{(\lfloor \frac{n}{b} \rfloor -1)b+1, \cdots, \lfloor \frac{n}{b} \rfloor \cdot b\}$ contain at least $\phi(b)$ integers such that $b \mid b_i$ this gives us the bound $b\phi(b) \cdot \lfloor \frac{n}{b} \rfloor \leq 5n$, as this bound is weaker than that we got in $\textbf{Case 1}$, we will analyze this inequality instead.

$$b\phi(b) \cdot (\frac{n}{b}-1) \leq b\phi(b) \cdot \lfloor \frac{n}{b} \rfloor \leq 5n$$after rearranging this gives us that $$n \leq \frac{b\phi(b)}{\phi(b)-5} \leq 6b$$because $\phi(b) \geq 6$ by $\textbf{Lemma 8}$.

Then as $b \mid 2520$ and $b \leq 420$ by $\textbf{Lemma 2}$ and $\textbf{Lemma 7}$, we get that $b \in \{360,420\}$ because $2018 \leq n \leq 6b$, in these cases it is easy to verify that $n \leq b\phi(b)(\phi(b)-5) < 2018$, a contradiction. As mentioned before, this concludes $\textbf{Case 1}$ as well. $\blacksquare$

We have dealt with $b \neq 12$!

$\color{red} \boxed{\textbf{Specificity Allows for Improvements}}$
Even though none of the previous methods were able to eliminate the case $b=12$ due to the fact that $\phi(12) = 4$, we will not struggle in dealing with the case $b=12$ because it is a very specific case and we should intuitively be able to exploit the constant itself to improve various bounds.

In the way that it has previously been done in $\color{red} \textbf{Approach 2}$, we will again look at sub-sequences of integral difference but this time rather than focusing on the sub-sequence $\frac{a_1}{b_1}, \frac{a_{12+1}}{b_{12+1}}, \frac{a_{2 \cdot 12+1}}{b_{2 \cdot 12+1}}, \cdots$, we will look at each of the $12$ sub-sequences created by starting at $\frac{a_i}{b_i}$ for $i \in \{1, \cdots, 12\}$.

$\textbf{Lemma 9:}$ $b \neq 12$
Proof: Repeat Approach 2

Ultimately, $\textbf{Approach 2}, \textbf{Section 3}$ and $\textbf{Lemma 9}$ exhaust all possible cases for $b > 0$ and due to the contradictions in each of the cases, we must have that the sequence is constant. $\blacksquare$

I will now again discuss the motivation behind the solution, these remarks will be a lot more general than those I have included before the individual lemmas.
Motivation 1: p-adic Motivation
Motivation 2: Quantity or Quality
Motivation 3: Using Approach 1 to Bound
Motivation 4: Now Improve Quality
Comments on Other Solutions
This post has been edited 1 time. Last edited by bora_olmez, Dec 24, 2021, 12:13 AM
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
#12
Y by
Solution
This post has been edited 4 times. Last edited by CANBANKAN, Jan 7, 2022, 5:14 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
NoctNight
108 posts
#13 • 4 Y
Y by PRMOisTheHardestExam, Mango247, Mango247, Mango247
Solution
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Marinchoo
407 posts
#14 • 1 Y
Y by lazizbek42
Let the common difference of the arithmetic progression be $\frac{c}{d}$ (FTSOC assume that $c\neq 0$) where $\gcd(c,d)=1$. WLOG assume that $\frac{c}{d}>0$.
Claim 1. We must have $d>\frac{n}{20}>100$.

Proof: We have that $\frac{a_{i+1}}{b_{i+1}}=\frac{a_{i}}{b_{i}}+\frac{c}{d}\geq \frac{a_{i}}{b_{i}}+\frac{1}{d}$ for all $i$, so $\frac{a_{i}}{b_{i}}\geq \frac{i-1}{d}+\frac{a_{1}}{b_{1}}\geq \frac{i-1}{d}+\frac{1}{5n}$ by induction. Now consider the set (here $s=\lfloor\frac{n+1}{2}\rfloor$):
\[\left\{\frac{a_{s}}{b_{s}},\frac{a_{s+1}}{b_{s+1}},\dots ,\frac{a_{n}}{b_{n}}\right\}\]and let $b_{j}=\max_{s\leq i\leq n} b_{i}$. As there are $n-s+1$ different positive integers among $b_{s},b_{s+1},\dots ,b_{n}$, we get $b_{j}\geq n-s+1$. Now we have the following inequality chain:
\[\frac{s-1}{d}+\frac{1}{5n}\leq \frac{j-1}{d}+\frac{1}{5n}\leq\frac{a_{j}}{b_{j}}\leq \frac{5n}{n-s+1}\]We examine two cases depending on the parity of $n$:
  • $n$ is even. Then $n=2s$ and the inequality above transforms into:
    \[\frac{s-1}{d}+\frac{1}{10s}\leq \frac{10s}{s+1}\]\[\Longrightarrow 10s(s^2-1)+(s+1)d\leq 100s^2d\]\[\Longrightarrow d\geq \frac{10s^3-10s}{100s^2-s-1}\geq \frac{s}{10}=\frac{n}{20}\geq \frac{2018}{20}>100\]
  • $n$ is odd. Then $n=2s-1$ and the inequality above transforms into:
    \[\frac{s-1}{d}+\frac{1}{10s-5}\leq \frac{10s-5}{s}\]\[\Longrightarrow s(s-1)(10s-5)+ds\leq d(10s-5)^2\]\[\Longrightarrow d\geq \frac{s(s-1)(10s-5)}{(10s-5)^2-s}\geq \frac{s-\frac{1}{2}}{10}=\frac{n}{20}>100\]We got that $d\geq \frac{n}{20}$ in both cases, so we're done. Now because $d>1$ we can write $d=p_{1}^{\alpha_{1}}p_{2}^{\alpha_{2}}\dots p_{k}^{\alpha_{k}}$.
Claim 2. We must have $p_{i}\leq 5$ for all $i$.

Proof: Assume that $p\mid d$ for some prime $p\geq 7$. Then at least $n-\lceil\frac{n}{p}\rceil$ of the $n$ simplified fractions have a denominator divisible by $p$. Indeed, in the set $\left\{\frac{a_{i}}{b_{i}},\frac{a_{i+1}}{b_{i+1}},\dots ,\frac{a_{i+p-1}}{b_{i+p-1}}\right\}$ at most one fraction has a denominator not divisible by $p$. If we assume otherwise, that means that there exist $i\leq j_{1}<j_{2}\leq i+p-1$ such that $p$ doesn't divide the denominator in the simplified fractions $\frac{a_{j_{1}}}{b_{j_{1}}}$ and $\frac{a_{j_{2}}}{b_{j_{2}}}$, so:
\[0\leq \min\left\{v_{p}\left(\frac{a_{j_{1}}}{b_{j_{1}}}\right), v_{p}\left(\frac{a_{j_{2}}}{b_{j_{2}}}\right)\right\}\leq v_{p}\left(\frac{a_{j_{1}}}{b_{j_{1}}}-\frac{a_{j_{2}}}{b_{j_{2}}}\right)=v_{p}\left(\frac{c(j_{2}-j_{1})}{d}\right)=\]\[=v_{p}(c)+v_{p}(j_{2}-j_{1})-v_{p}(d)=-v_{p}(d)<0\]as $p\mid d$, $\gcd(c,d)=1\Longrightarrow p\nmid c$ and $0<j_{2}-j_{1}<p\Longrightarrow v_{p}(j_{2}-j_{1})=0$. Therefore there are at most $\lceil\frac{n}{p}\rceil$ of those $n$ simplified fractions which don't have a denominator divisible by $p$. Now, the fractions which have a $p$ in their simplified denominator must have $p\mid b_{i}$. However, there are only $\lfloor\frac{5n}{p}\rfloor$ such integers between $1$ and $5n$ inclusive, therefore:
\[n-\left\lceil\frac{n}{p}\right\rceil\leq \left\lfloor\frac{5n}{p}\right\rfloor\]Using the weak inequalities $n-\left\lceil\frac{n}{p}\right\rceil\geq n-\frac{n}{p}-\frac{p-1}{p}$ and $\lfloor\frac{5n}{p}\rfloor\leq \frac{5n}{p}$ we get:
\[n-\frac{n}{p}-\frac{p-1}{p}\leq n-\left\lceil\frac{n}{p}\right\rceil\leq \left\lfloor\frac{5n}{p}\right\rfloor\leq \frac{5n}{p}\]\[\Longrightarrow 0\leq (6-p)n+p-1\]However, $p\geq 7$, so $6-p<0$ and thus we have:
\[(6-p)n+p-1\leq (6-p)2018+p-1=12107-2017p\leq 12107-7\cdot 2017=-2012<0\]which is a contradiction with out assumption, so the proof is complete.

Let $d=2^{\alpha_{1}}3^{\alpha_{2}}5^{\alpha_{3}}$. Note that from the first claim we know that $d>100$, so we must have $\alpha_{1}\geq 3$, $\alpha_{2}\geq 2$ or $\alpha_{3}\geq 2$ as otherwise $d\leq 2^2.3.5=60<100$. We consider the following three cases:
  • Case 1. $\alpha_{1}\geq 4$. Then at least $n-\lceil\frac{n}{2}\rceil$ of the $n$ simplified fractions have a denominator divisible by $8$. Indeed, in the set $\left\{\frac{a_{i}}{b_{i}},\frac{a_{i+1}}{b_{i+1}}\right\}$ at most one fraction has a denominator not divisible by $16$. If we assume otherwise, then $16$ doesn't divide the denominators in the simplified fractions $\frac{a_{i}}{b_{i}}$ and $\frac{a_{i+1}}{b_{i+1}}$, so:
    \[-3\leq \min\left\{v_{2}\left(\frac{a_{i}}{b_{i}}\right), v_{2}\left(\frac{a_{i+1}}{b_{i+1}}\right)\right\}\leq v_{2}\left(\frac{a_{i}}{b_{i}}-\frac{a_{i+1}}{b_{i+1}}\right)=v_{2}\left(\frac{c(i+1-i)}{d}\right)=\]\[=v_{2}(c)-v_{2}(d)\leq -4\]as $16\mid d$, $\gcd(c,d)=1\Longrightarrow 2\nmid c$. Therefore there are at most $\lceil\frac{n}{2}\rceil$ of those $n$ simplified fractions which don't have a denominator divisible by $16$. Now, the fractions which have a $16$ in their simplified denominator must have $16\mid b_{i}$. However, there are only $\lfloor\frac{5n}{16}\rfloor$ such integers between $1$ and $5n$ inclusive, therefore:
    \[n-\left\lceil\frac{n}{2}\right\rceil\leq \left\lfloor\frac{5n}{16}\right\rfloor\Longrightarrow n-\frac{n}{2}-\frac{1}{2}\leq n-\left\lceil\frac{n}{2}\right\rceil\leq \left\lfloor\frac{5n}{16}\right\rfloor\leq \frac{5n}{16}\Longrightarrow 3n\leq 8\]However, $n\geq 2018$, so this is obviously wrong.
  • Case 2. $\alpha_{2}\geq 2$. Then at least $n-\lceil\frac{n}{3}\rceil$ of the $n$ simplified fractions have a denominator divisible by $9$. Indeed, in the set $\left\{\frac{a_{i}}{b_{i}},\frac{a_{i+1}}{b_{i+1}},\frac{a_{i+2}}{b_{i+2}}\right\}$ at most one fraction has a denominator not divisible by $9$. If we assume otherwise, that means that there exist $i\leq j_{1}<j_{2}\leq i+2$ such that $9$ doesn't divide the denominator in the simplified fractions $\frac{a_{j_{1}}}{b_{j_{1}}}$ and $\frac{a_{j_{2}}}{b_{j_{2}}}$, so:
    \[-1\leq \min\left\{v_{3}\left(\frac{a_{j_{1}}}{b_{j_{1}}}\right), v_{3}\left(\frac{a_{j_{2}}}{b_{j_{2}}}\right)\right\}\leq v_{3}\left(\frac{a_{j_{1}}}{b_{j_{1}}}-\frac{a_{j_{2}}}{b_{j_{2}}}\right)=v_{3}\left(\frac{c(j_{2}-j_{1})}{d}\right)=\]\[=v_{3}(c)+v_{3}(j_{2}-j_{1})-v_{3}(d)\leq -2\]as $9\mid d$, $\gcd(c,d)=1\Longrightarrow 3\nmid c$ and $0<j_{2}-j_{1}<3\Longrightarrow v_{3}(j_{2}-j_{1})=0$. Therefore there are at most $\lceil\frac{n}{3}\rceil$ of those $n$ simplified fractions which don't have a denominator divisible by $9$. Now, the fractions which have a $9$ in their simplified denominator must have $9\mid b_{i}$. However, there are only $\lfloor\frac{5n}{9}\rfloor$ such integers between $1$ and $5n$ inclusive, therefore:
    \[n-\left\lceil\frac{n}{3}\right\rceil\leq \left\lfloor\frac{5n}{9}\right\rfloor\Longrightarrow n-\frac{n}{3}-\frac{2}{3}\leq n-\left\lceil\frac{n}{3}\right\rceil\leq \left\lfloor\frac{5n}{9}\right\rfloor\leq \frac{5n}{9}\Longrightarrow n\leq 6\]However, $n\geq 2018$, so this is obviously wrong.
  • Case 3. $\alpha_{3}\geq 2$. Then at least $n-\lceil\frac{n}{5}\rceil$ of the $n$ simplified fractions have a denominator divisible by $25$. Indeed, in the set $\left\{\frac{a_{i}}{b_{i}},\frac{a_{i+1}}{b_{i+1}},\dots ,\frac{a_{i+4}}{b_{i+4}}\right\}$ at most one fraction has a denominator not divisible by $25$. If we assume otherwise, that means that there exist $i\leq j_{1}<j_{2}\leq i+4$ such that $25$ doesn't divide the denominator in the simplified fractions $\frac{a_{j_{1}}}{b_{j_{1}}}$ and $\frac{a_{j_{2}}}{b_{j_{2}}}$, so:
    \[-1\leq \min\left\{v_{5}\left(\frac{a_{j_{1}}}{b_{j_{1}}}\right), v_{5}\left(\frac{a_{j_{2}}}{b_{j_{2}}}\right)\right\}\leq v_{5}\left(\frac{a_{j_{1}}}{b_{j_{1}}}-\frac{a_{j_{2}}}{b_{j_{2}}}\right)=v_{5}\left(\frac{c(j_{2}-j_{1})}{d}\right)=\]\[=v_{5}(c)+v_{5}(j_{2}-j_{1})-v_{5}(d)\leq -2\]as $25\mid d$, $\gcd(c,d)=1\Longrightarrow 5\nmid c$ and $0<j_{2}-j_{1}<5\Longrightarrow v_{5}(j_{2}-j_{1})=0$. Therefore there are at most $\lceil\frac{n}{5}\rceil$ of those $n$ simplified fractions which don't have a denominator divisible by $25$. Now, the fractions which have a $25$ in their simplified denominator must have $25\mid b_{i}$. However, there are only $\lfloor\frac{n}{5}\rfloor$ such integers between $1$ and $5n$ inclusive, therefore:
    \[n-\left\lceil\frac{n}{5}\right\rceil\leq \left\lfloor\frac{n}{5}\right\rfloor\Longrightarrow n-\frac{n}{5}-\frac{4}{5}\leq n-\left\lceil\frac{n}{5}\right\rceil\leq \left\lfloor\frac{n}{5}\right\rfloor\leq \frac{n}{5}\Longrightarrow 3n\leq 4\]However, $n\geq 2018$, so this is obviously wrong.
As a result, we get that $\alpha_{1}\leq 3$, $\alpha_{2}\leq 1$, $\alpha_{3}\leq 1$. If any of these inequalities isn't an equality, then $d<100$, so we must have $d=2^3.3.5=120$. However, now we do the same trick for $15$:
  • Case 4. $\alpha_{2}=1$ and $\alpha_{3}=1$. Then at least $n-\lceil\frac{n}{3}\rceil$ of the $n$ simplified fractions have a denominator divisible by $15$. Indeed, in the set $\left\{\frac{a_{i}}{b_{i}},\frac{a_{i+1}}{b_{i+1}},\frac{a_{i+2}}{b_{i+2}}\right\}$ at most one fraction has a denominator not divisible by $15$. If we assume otherwise, that means that there exist $i\leq j_{1}<j_{2}\leq i+2$ such that $15$ doesn't divide the denominator in the simplified fractions $\frac{a_{j_{1}}}{b_{j_{1}}}$ and $\frac{a_{j_{2}}}{b_{j_{2}}}$, so:
    \[0\leq \min\left\{v_{15}\left(\frac{a_{j_{1}}}{b_{j_{1}}}\right), v_{15}\left(\frac{a_{j_{2}}}{b_{j_{2}}}\right)\right\}\leq v_{15}\left(\frac{a_{j_{1}}}{b_{j_{1}}}-\frac{a_{j_{2}}}{b_{j_{2}}}\right)=v_{15}\left(\frac{c(j_{2}-j_{1})}{d}\right)=\]\[=v_{15}(c(j_{2}-j_{1}))-v_{15}(120)=-1\]as $15\mid d$, $\Longrightarrow\gcd(c,15)=1$ and $0<j_{2}-j_{1}<3\Longrightarrow \gcd(15,j_{2}-j_{1})=1$. Therefore there are at most $\lceil\frac{n}{3}\rceil$ of those $n$ simplified fractions which don't have a denominator divisible by $15$. Now, the fractions which have a $15$ in their simplified denominator must have $15\mid b_{i}$. However, there are only $\lfloor\frac{n}{3}\rfloor$ such integers between $1$ and $5n$ inclusive, therefore:
    \[n-\left\lceil\frac{n}{3}\right\rceil\leq \left\lfloor\frac{n}{3}\right\rfloor\Longrightarrow n-\frac{n}{3}-\frac{2}{3}\leq n-\left\lceil\frac{n}{3}\right\rceil\leq \left\lfloor\frac{n}{3}\right\rfloor\leq \frac{n}{3}\Longrightarrow n\leq 2\]However, $n\geq 2018$, so this is obviously wrong.
Therefore we reached a contradiction with the result from the first claim and so $c=0$.
This post has been edited 1 time. Last edited by Marinchoo, Oct 2, 2022, 8:33 AM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
CyclicISLscelesTrapezoid
371 posts
#16
Y by
We start by considering the $p$-adic structure of arithmetic progressions.

Claim 1: Let $c_1,\ldots,c_m$ be an arithmetic progression with common difference $d$. If $p$ is a prime and $k=\min(\nu_p(d),\nu_p(c_1))$, then every term of the sequence has a $p$-adic valuation of $k$ or exactly one of every $p$ consecutive terms has a $p$-adic valuation other than $k$.

Proof: If $\nu_p(d)>\nu_p(c_1)$, then all terms of the sequence have a $p$-adic valuation of $\nu_p(c_1)$. If $\ell=\nu_p(d) \le \nu_p(c_1)$, then $p^{-\ell} d$ exists and is nonzero modulo $p$. Thus, $0,p^{-\ell} d,\ldots,(p-1)p^{-\ell} d$ forms a complete residue class modulo $p$, so exactly one of \[p^{-\ell} c_i,p^{-\ell} c_i+p^{-\ell} d,\ldots,p^{-\ell} c_i+(p-1)p^{-\ell} d\]is divisible by $p$ for $i=1,\ldots,m$. It follows that exactly one of $c_i,c_i+d,\ldots,c_i+(p-1)d$ has a $p$-adic valuation not equal to $p^\ell$. $\square$

For any prime $p$, let $k_p$ be the value of $k$ for the sequence $\tfrac{a_1}{b_1},\ldots,\tfrac{a_n}{b_n}$ given Claim 1.

Claim 2: $k_2 \ge -3$, $k_3 \ge -1$, $k_5 \ge -1$, and $k_p \ge 0$ for primes $p \ge 7$.

Proof: For a prime $p$ with $k_p \le 0$, at least $\lfloor \tfrac{(p-1)n}{p} \rfloor$ terms of $b_1,\ldots,b_n$ are divisible by $p^{-k_p}$ by Claim 1. Since there are at most $\tfrac{5n}{p^{-k_p}}$ positive multiples of $p^{-k_p}$ not exceeding $5n$, we have $\tfrac{5n}{p^{-k_p}} \ge \lfloor \tfrac{(p-1)n}{p} \rfloor \ge \tfrac{(p-1)n}{p}-1$. This is equivalent to \[\left(\frac{p-1}{p}-\frac{5}{p^{-k_p}}\right)n \le 1.\]Notice that
  • for $p=2$, $-k_p \ge 4$ gives $\tfrac{3}{16}n \le 1$
  • for $p=3$, $-k_p \ge 2$ gives $\tfrac{1}{9}n \le 1$
  • for $p=5$, $-k_p \ge 2$ gives $\tfrac{3}{5}n \le 1$
  • for $p \ge 7$, $-k_p \ge 1$ gives $\tfrac{p-6}{p}n \le 1$,
a contradiction. $\square$

Before considering the common difference of $\tfrac{a_1}{b_1},\ldots,\tfrac{a_n}{b_n}$, we deal with an edge case.

Claim 3: $(k_2,k_3,k_5) \ne (-3,-1,-1)$.

Proof: This proof imitates that of Claim 2 with $120$ instead of a prime power. Assume FTSOC that $(k_2,k_3,k_5)=(-3,-1,-1)$. By Claim 1, at least $\varphi(30)=8$ of every $30$ consecutive terms have a $2$-adic valuation of $-3$, a $3$-adic valuation of $-1$, and a $5$-adic valuation of $-1$. This means there are at least $8\lfloor \tfrac{n}{30} \rfloor \ge \tfrac{4}{15}n-8$ indices $i$ such that $b_i$ is divisible by $120$. We also have an upper bound of $\tfrac{5}{120}n$ positive multiples of $120$ not exceeding $5n$, so we have $\tfrac{4}{15}n-8 \le \tfrac{5}{120}n \implies \tfrac{9}{40}n \le 8$, a contradiction. $\square$

Let $\tfrac{c}{d}$ be the common difference of $\tfrac{a_1}{b_1},\ldots,\tfrac{a_n}{b_n}$ when written in lowest terms. Assume WLOG that $c \ge 0$, and assume FTSOC that $c \ne 0$. Claim 2 gives $d \mid 120$ and Claim 3 gives $d \ne 120$, so we have $d \le 60$. Notice that at least one of $b_{\lceil n/2 \rceil},\ldots,b_n$ is at least $\tfrac{n}{2}$ and $\tfrac{a_i}{b_i} \ge (i-1)d \ge \tfrac{\frac{n}{2}-1}{120}$ for $i=\lfloor \tfrac{n}{2} \rfloor,\ldots,n$. Therefore, at least one of $a_{\lfloor n/2 \rfloor},\ldots,a_n$ is at least \[\frac{n}{2} \cdot \frac{\frac{n}{2}-1}{60} \ge \frac{n}{2} \cdot \frac{\frac{n}{3}}{60}=\frac{n^2}{360}>5n,\]a contradiction. Thus, we must have $c=0$, as desired. $\square$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
megarnie
5531 posts
#17 • 1 Y
Y by MathLuis
Suppose otherwise. WLOG assume the arithmetic sequence is increasing. Let $r_i = \frac{a_i}{b_i}$ and the common difference of the arithmetic progression be $d$.

Claim: $120d$ is an integer.
Proof: It suffices to prove that $\nu_2(d) \ge -3, \nu_3(d) \ge -1, \nu_5(d) \ge -1$, and $\nu_p(d) \ge 0$ for all primes $p > 5$. Suppose for some $p$ this wasn't true (as in $\nu_p(d) < -3$ if $p = 2$, etc).

Case 1: $\nu_p(r_1) < \nu_p(d)$.
Then\[\nu_p(r_1) = \nu_p(r_2) = \cdots = \nu_p(r_n) <  \nu_p(d)\]Thus, $b_i$ must be divisible by $p^{-\nu_p(d) + 1} $ for each $i$. Since the $b_i$ are pairwise distinct, we must have $n \cdot p^{-\nu_p(d) + 1} $ be at most $5n$ (or else one of the $b_i$ would exceed $5n$), so $p^{-\nu_p(d) + 1} \le 5$. Now if $\nu_p(d) < 0$, we must have that $p^2 \le 5$, so $p = 2$. If $p = 2$, then $-\nu_p(d) + 1$ can't exceed $2$, so $\nu_p(d) \ge -1 \ge -3$, as desired.

Case 2: $\nu_p(r_1) \ge \nu_p(d)$.
We see that all terms of the arithmetic sequence have a $\nu_p$ at least equal to $\nu_p(d)$.

Consider any $p$ consecutive terms of the arithmetic sequence, say $r_i, r_i + d,\ldots, r_i + d(p-1)$. Notice that if any two had a $\nu_p$ greater than $\nu_p(d)$, then by subtracting them, we get a contradiction as their difference is $d$ times a non multiple of $p$.

Hence within any $p$ consecutive terms of the arithmetic sequence, at most one of them has a $\nu_p$ greater than $\nu_p(d)$. This implies that at least $n -  \left \lceil \frac np  \right \rceil $ numbers in the arithmetic sequence have a $\nu_p$ equal to that of $\nu_p(d)$.

This implies that at least $n -  \left \lceil \frac np  \right \rceil $ of $b_1, b_2, \ldots, b_n$ are multiples of $p^{- \nu_p(d)}$, so at least one of them is at least $p^{-\nu_p(d)} \cdot \left( n -  \left \lceil \frac np  \right \rceil  \right)  > p^{-\nu_p(d)} \cdot \left( n - \frac np - 1 \right) $, implying that\[ p^{ - \nu_p(d) } \cdot \left(n - \frac np - 1 \right) < 5n \]The LHS is equal to $n  (p^{ - \nu_p(d)} - p^{ - \nu_p(d) - 1} )  - p^{ - \nu_p(d)} $, so the inequality rearranges to

\[ n \left( p^{ - \nu_p(d)} - p^{- \nu_p(d)  - 1}  - 5 \right) < p^{- \nu_p(d)} \]Now let $x =  - \nu_p(d)$. Assume $x > 0$ as otherwise the claim would obviously be true. Now we claim that the LHS must be negative. If not, we would have that $2018 \le n < \frac{p^x}{p^x - p^{x-1} - 5}$. But the reciprocal of this expression is $1 - \frac 1p - \frac{5}{p^x}$ and must be less than $\frac{1}{2018}$. If $p = 2$, then since $x \le 4$, $1 - \frac 1p - \frac{5}{p^x} \ge 1 - \frac 12  - \frac{5}{16} > \frac{1}{2018}$. Now if $p \in \{3,5\} $, then since $x \le 2$, we have $1 - \frac 1p - \frac{5}{p^x} \ge 1 - \frac 13 - \frac{5}{3^2} > \frac{1}{2018}$. Otherwise, if $p > 5$, then $1 - \frac 1p - \frac{5}{p^x} \ge 1 - \frac 17 - \frac{5}{7} > \frac{1}{2018}$.

Hence the LHS must be negative. This implies that $p^x - p^{x-1} - 5 < 0$, so $p^{x-1} (p - 1) < 5$.

For $p > 5$, we have $p^{x-1} < 1$, so $x < 1$, contradiction. If $p = 5$, then $5^{x-1} < \frac 54$, so $x < 2$, meaning that $\nu_5(d) \ge -1$. If $p = 3$, then $3^{x-1} < \frac 52$, so $x < 2$, so $\nu_3(d) \ge -1$. If $p = 2$, then $2^{x-1} < 5$, so $x < 4$, meaning $\nu_2(d) \ge -3$, as desired. $\square$

Claim: At least one of $\nu_3(d)$ and $\nu_5(d)$ is nonnegative.
Proof: Suppose otherwise and $\nu_3(d) = \nu_5(d) = -1$. Recall that if $\nu_p(r_1) < \nu_p(d)$, then $p^{ - \nu_p(d) + 1} \le 5$, which is impossible for $p = 3,5$ in this case. Hence $\nu_p(r_1) \ge \nu_p(d)$ for $p\in \{3,5\}$. We copy this again (for any prime $p$ with $\nu_p(x_1)$ ):

Consider any $p$ consecutive terms of the arithmetic sequence, say $r_i, r_i + d,\ldots, r_i + d(p-1)$. Notice that if any two had a $\nu_p$ greater than $\nu_p(d)$, then by subtracting them, we get a contradiction as their difference is $d$ times a non multiple of $p$.

Hence within any $p$ consecutive terms of the arithmetic sequence, at most one of them has a $\nu_p$ greater than $\nu_p(d)$. This implies that at least $n -  \left \lceil \frac np  \right \rceil  \ge n - \frac np - 1$ numbers in the arithmetic sequence have a $\nu_p$ equal to that of $\nu_p(d)$.

Hence at most $\frac n3 + 1$ numbers in the sequence have a $\nu_3$ over $-1$ and at most $\frac n5 + 1$ numbers in the sequence have a $\nu_5$ over $-1$, implying that at least $1 -  \left( \frac n3 + 1  + \frac n5 + 1 \right)  = \frac{8}{15} \cdot n - 1$ numbers in the sequence have a $\nu_3$ and $\nu_5$ equal to $-1$. Hence these numbers must have a denominator divisible by $15$, so at least $\frac{8}{15} n - 1$ of the $b_i$ are multiples of $15$, which means some $b_k$ is at least $15 \cdot \left( \frac{8}{15} \cdot n - 1 \right) = 8n - 15 > 5n$ (for $n \ge 2018$), absurd. $\square$

These two claims imply that when $d$ is written as a simplified fraction of two integers (since $d$ is nonzero), the denominator is a divisor of $120$, but not a multiple of $15$, so it is at most $40$. Hence $d \ge \frac{1}{40}$.

Now let $m = \left \lceil \frac n2 \right \rceil $. Notice that at least one number in $b_m, b_{m+1} , \ldots, b_n$ is at least $n - m + 1$. Let $b_k \ge n - m + 1$ for some $k\in [m,n]$. We have $r_k \le \frac{5n}{n - m  + 1}$, so the common difference of the sequence is\[d  = \frac{r_k - r_1}{k - 1 } < \frac{r_k}{m - 1} < \frac{5n}{(n - m + 1) (m-1)} \]Now if $n$ is even, let $n = 2t$, so $m =  t$ and $t \ge 1009$. The value of $d$ is at most\[ \frac{10t}{(t + 1)(t - 1)} < \frac{10(t+1)}{(t+1)(t-1)}  = \frac{10}{t-1} < \frac{10}{1008} , \]which is much less than $\frac{1}{40}$, absurd.

If $n$ is odd, let $n = 2t - 1$, where $t \ge 1010$ and $m = t$. The value of $d$ is at most\[ \frac{10t - 5}{t(t-1)}  < \frac{10t}{t(t-1)} = \frac{10}{t-1} < \frac{10}{1009},\]which is much less than $\frac{1}{40}$, absurd.

Therefore, the arithmetic sequence must be constant.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
EthanWYX2009
824 posts
#18 • 4 Y
Y by David-Vieta, ys-lg, Kingsbane2139, axsolers_24
$5n$ can be improved to $\mathcal O\left(\sqrt{\frac{n^3}{\ln\ln n}}\right).$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
ihategeo_1969
158 posts
#19
Y by
Here goes nothing.

Let $\frac{c}d$ be the common difference with $\gcd(c,d)=1$ and assume $c>0$, and let $A=\{a_1,\dots,a_n\}$ and $B=\{b_1,\dots,b_n\}$.

So we have \[\frac{a_i}{b_i}+\frac{c}d(j-i) \iff c(j-i)b_ib_j=d(a_jb_i-a_ib_j) \implies d \mid (j-i)b_ib_j \implies d \mid b_ib_{i+1} \left(\clubsuit \right)\]Claim: We have $d \mid 2^6 \cdot 3^4 \cdot 5^2 \cdot 7^2$.
Proof: Say $p \mid d$ and $\nu_p(d)=e$ and so \[p^e \mid b_ib_{i+1} \implies  p^{\left \lceil \frac{e}2  \right \rceil} \mid \text{lcm}(b_i,b_{i+1})  \]And so there are minimum $\frac{n-1}2$ multiples of $p^{\left \lceil \frac{e}2  \right \rceil}$ among $B$ and hence \[p^{\left \lceil \frac{e}2  \right \rceil} \left(\frac{n-1}2 \right) \leq 5n\]And now by some trivial size observations we are done. $\blacksquare$.

Claim: We have $d \mid 2^3 \cdot 3^2 \cdot 5 \cdot 7$.
Proof: Say $7^2 \mid d$. Now we have \[\nu_7(b_i)+\nu_7(b_{i+1})=\nu_7(d)+\nu_7(a_{i+1}b_i-a_ib_{i+1})\]And hence if there exists $i$ such that $\nu_7(b_i)=\nu_7(b_{i+1})=1$, then $\nu_7(\text{LHS})=2$ but $\nu_7(\text{RHS}) \geq 3$.

And so again we get that there are atleast $\frac{n-1}2$ multiples of $7^2$ among elements in $B$. Again this means we get \[49 \left(\frac{n-1}2 \right) \leq 5n\]and contradiction.

We can use similar arguments to show that $2^4 \nmid d$, $3^3 \nmid d$ and $5^2 \nmid d$. $\blacksquare$

Claim: We have $7 \nmid d$.
Proof: Say $7 \mid d$. Since $7 \mid d \mid (j-i)b_ib_j$, and so if $7 \nmid b_k$ for some $k$ then \[\ell \equiv k \pmod 7 \text{ for all } 7 \nmid b_{\ell}\]And hence there are atmost $\left \lceil \frac{n}7 \right \rceil$ non multiples of $7$ among $B$ and hence there are atleast $\left \lfloor\frac{6n}7  \right \rfloor$ multiples of $7$ among $B$. And hence \[7 \left(\frac{6n}7-1 \right) \leq 5n\]and again contradiction. $\blacksquare$

Claim: We have $9 \nmid d$.
Proof: Assume not, then we have $9 \mid d \mid (j-i)b_ib_j$.
$\bullet$ Finding $k$ such that $\nu_3(k)=0$. Say $3 \nmid b_k$. Then $\ell \equiv k \pmod 9$ for all $3 \nmid b_{\ell}$.

And hence there are atmost $\left \lceil \frac{n}9 \right \rceil$ non-multiples of $3$ among $B$.
$\bullet$ Finding $k$ such that $\nu_3(k)=1$. Say for some $i$ and $j$ we have $\nu_3(b_i)=\nu_3(b_j)=1$ and $3 \nmid j-i$. Then now referring to the main equation in $\clubsuit$, we get that $\nu_3(\text{LHS})=2$ but $\nu_3(\text{RHS}) \geq 3$, contradiction.

And so we get that there are atmost $\left \lceil \frac{n}3 \right \rceil$ elements among $B$ with $3$-adic evaluation as $1$.
Hence we get that are atleast \[n-\left \lceil \frac{n}3 \right \rceil-\left \lceil \frac{n}9 \right \rceil \geq \frac{5n}9-1 \text{ multiples of $9$ among $B$}\]But see that there maximum $\frac{5n}9$ multiples of $9$ among $\{1,2,\dots,5n\}$. And hence there is maximum $1$ multiple of $9$ among $A$.

Say we have $\nu_3(b_j) \geq \nu_3(b_i)+2 \geq 4$ for some $i$, $j$ such that $\nu_3(a_j) \neq 2$ And again referring to the main equation in $\clubsuit$, we get that \[\nu_3(\text{LHS}) \geq 2\nu_3(b_i)+2 \text{ but } \nu_3(\text{RHS}) \leq \nu_3(b_i)+3\]which is a contradiction.

Hence is there are $N$ multiplies of $9$ in $B$, then for $N-1$ of those numbers we have that their $3$-adic evaluation can be one of two consecutive fixed numbers (which must be $2$ and $3$ or else size issues), and hence there are maximum $2$ multiples of $81$ among $\{1,2\dots,n\}$, which is obviously false. $\blacksquare$

And hence we get that \[d \mid 2^3 \cdot 3 \cdot 5=120\]Now we take two cases.
$\bullet$ If $\frac{c}d \geq \frac1{60}$. See that we have \[\frac{a_i}{b_i} \geq \frac{i-1}{60} \implies \frac{a_n}{b_n} \geq \frac{n-1}{60} \geq 32\]See that there is minimum $n-600$ numbers $t$ such that $\frac{a)t}{b_t}>10$, and say $b_T$ is the maximum of those numbers and we get that \[5n \geq a_T>10b_T \geq 10(n-600) \implies n<1200\]which is a contradiction.
$\bullet$ If $\frac{c}d < \frac1{60}$. See that we must have $d=120$ and so $\frac{c}d=\frac1{120}$; and
\[\frac{a_i}{b_i} \geq \frac{i-1}{120} \implies \frac{a_n}{b_n} \geq \frac{n-1}{120} \geq 16\]Now using similar arguments before we get that if we look at the set of indices $t$, such that $\frac{a_t}{b_t}>2$, then the set of $i$ for which $5 \nmid b_i$ must be in the same residue class modulo $5$ and hence there atleast \[\left \lfloor \frac45 (n-240)  \right \rfloor\]indices in set of such of $t$ such that $5 \mid b_t$. Let $b_T$ be the maximum of them all and we get \[5n \geq a_T \geq 2b_T \geq 2(4(n-240)-5) \implies n \leq 644\]which is a contradiction, and we are done.

Well, that was a ride.
This post has been edited 1 time. Last edited by ihategeo_1969, Aug 1, 2024, 6:29 AM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
MathLuis
1447 posts
#20 • 3 Y
Y by cursed_tangent1434, megarnie, ihategeo_1969
Absolutely beautiful question that explores multiple ways of attacking a problem.
Lemma: Given a arithmetic sequence $q_1, q_2, \cdots q_n \in \mathbb Q$, if for some prime $p$ we have that $\text{min} \{\nu_p(q_1), \nu_p(q_2), \cdots, \nu_p(q_n) \} =\alpha$ then either there's $\left\lceil \frac{n}{p^{\ell}} \right\rceil$ terms of the sequence satisfy $\nu_p(q_i) \ge \alpha+\ell$. Or all terms are below this $\nu_p$.
Proof: Perform a proper scaling so that $q_i \in \mathbb Z$ for all $1 \le i \le n$ and $\gcd(q_1, q_2, \cdots q_n)=1$, now let $d$ the difference of this sequence then if $p^{\ell} \mid q_i,q_j$ we get $p^{\ell} \mid q_i-q_j=d(i-j)$, now if $p \mid d$ then the minimun $\nu_p$ is no longer $0$ therefore we must have $p^{\ell} \mid i-j$ so such numbers are closed in a residue system $\pmod{p^{\ell}}$ which is enough to prove the Lemma.
Claim: If $p^k \ge 7$ for $p^k$ being an odd prime power then $\nu_p \left(\frac{a_i}{b_i} \right) \ge 1-k$ for all $1 \le i \le n$
Proof: Suppose FTSOC that $\text{min} \left\{\nu_p \left(\frac{a_1}{b_1}\right), \nu_p \left(\frac{a_2}{b_2} \right), \cdots, \nu_p \left(\frac{a_n}{b_n} \right) \right\} \le -k$, from the lemma we know that at most $\left\lceil \frac{n}{p^k} \right\rceil$ terms of the sequence have $\nu_p$ non-negative so at least $n-\left\lceil \frac{n}{p^k} \right\rceil$ terms have $\nu_p$ negative which means that for any such $\frac{a_i}{b_i}$ we must have $p \mid b_i$, now since $b_i \le 5n$ we have that there's at most $\left\lceil \frac{5n}{p} \right\rceil$ multiples of $p$ among all the $b$'s which gives:
$$n-\frac{n}{p^k}-1 \le n-\left\lceil \frac{n}{p^k} \right\rceil \le \left\lceil \frac{5n}{p} \right\rceil \le \left\lceil \frac{5n}{p^k} \right\rceil \le \frac{5n}{p^k}+1 \implies n-2 \le \frac{6n}{p^k} \le \frac{6n}{7} \implies n \le 14$$The last thing is clearly a contradiction, but this works for $k=1$ and $p \ge 7$, now otherwise use the lemma on $\ell=1$ then we have that at least $n-\left\lceil \frac{n}{p} \right\rceil$ terms have their $\nu_p$ on the minimun, but there's at most $\left\lceil \frac{5n}{p^k} \right\rceil$ such $b$ terms, therefore if $k \ge 2$ for $p \ge 3$ we obtain our desired contradiction.
In addition for $p=2$ we have that $\nu_p \left(\frac{a_i}{b_i} \right) \ge -3$ for all $1 \le i \le n$ using the same method as above.
Note that if there was ever a term with $\nu_2 \ge -2$ then we would also get that $\nu_2(r) \ge -2$ for $r$ being the difference in the sequence. So now if we had that $\nu_2 =-3$ for all terms in the arithmetic sequence and even $\nu_2(r)=-3$, it would turn out that we need $n$ multiples of $8$ but we can only get at most $\left\lceil \frac{5n}{8} \right\rceil$ which is a contradiction for $n \ge 2018$, therefore either way $\nu_2(r) \ge -2$
The finish: A direct consequence from our claim and the extra work is that $60r \in \mathbb Z$, now WLOG the sequence is strictly increasing (assume FTSOC $r>0$) which means that $r \ge \frac{1}{60}$, now among any consecutive $\left\lfloor \frac{n}{2} \right\rfloor+1$ terms in the $b_i$'s we have that one of them is greater or equal to $\left\lfloor \frac{n}{2} \right\rfloor+1$, so we pick one such from $b_{\left\lceil \frac{n}{2} \right \rceil}, \cdots, b_n$ and just note that:
$$\frac{1}{60} \le r=\frac{\frac{a_i}{b_i}-\frac{a_1}{b_1}}{i-1}<\frac{a_i}{b_i(i-1)} \le \frac{5n}{\left(\left\lfloor \frac{n}{2} \right\rfloor+1 \right) \cdot \left(\left\lceil \frac{n}{2} \right\rceil-1 \right)} \le \frac{5n}{\left\lceil \frac{n}{2} \right\rceil \cdot \left\lfloor \frac{n}{2} \right\rfloor-1} \implies \left\lceil \frac{n}{2} \right\rceil \cdot \left\lfloor \frac{n}{2} \right\rfloor-1<300n \implies \left(\left\lceil \frac{n}{2} \right\rceil-300 \right) \left(\left\lfloor \frac{n}{2} \right\rfloor-300 \right) \le 300^2$$$$714^2 \le \left(\left\lceil \frac{n}{2} \right\rceil-300 \right) \left(\left\lfloor \frac{n}{2} \right\rfloor-300 \right) \le 300^2 \; \text{contradiction!}$$Therefore it turns out that $r=0$ so the sequence is constant thus we are done :cool:.
This post has been edited 3 times. Last edited by MathLuis, Aug 25, 2024, 4:06 AM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
kotmhn
56 posts
#21
Y by
Insanely cool problem
Let the common difference be $\frac{a}{b}$
Claim1: All the indices such that $\nu_{p}(\frac{a_i}{b_i}) < \nu_{p}(\frac{a}{b})$ are congruent modulo p.\
Proof: FTCOS assume that there exists $i,j$ such that $\nu_{p}(b_i) < \nu_{p}({b})$ and $\nu_{p}({b_j}) < \nu_{p}({b})$ and $i \not\equiv j$ mod p.
Then we get that
\[\nu_{p}((i-j)\frac{a}{b}) = \nu_{p}(\frac{a_i}{b_i} - \frac{a_j}{b_j}) \geq \min\{ \nu_{p}(\frac{a_i}{b_i}),\nu_{p}(\frac{a_j}{b_j})\}  \]But this works only when $i \equiv j$ mod p as the least common denominator is not divisible by $p^{\nu_p(b)}$ contradiction. $\square$


Claim 2: The prime factors of $b$ are at most 5.
Proof: Claim 1 shows that at most $\lceil \frac{n}{p}\rceil \leq \frac{n}{p}+1$ such vertices are there that have vp(b) > vp(b_i). so at least $(\frac{p-1}{p})n -1$ does not satisfy the given condition. Then assume contrary and we get
\[ 5n \geq \max\{b_i :p|b_i\} \geq ((\frac{p-1}{p})n -1)p = (p-1)(n-1) -1 \geq 6(n-1)-1 > 5n\]
Contradiction. $\square$

Claim 3: $b \geq \frac{n-2}{20}$
Proof: Remove all $b_i$ such that $b_i < \frac{n}{2}$ then the rest must at most $\frac{5n}{\frac{n}{2}} =10$, then this just gives us that $b>\frac{n-2}{20}>19$ done
Now the final step is:
\[5n > \max\{b_i: d|b_i\} > (\lceil \frac{n}{30} \rceil \cdot 8)\cdot b > (\lceil \frac{n}{30}\rceil \cdot 8)\cdot \frac{n-2}{20} > 5n\]
Contradiction so we are done.
PS: this is actually my first N7 :D
This post has been edited 3 times. Last edited by kotmhn, Aug 29, 2024, 11:50 AM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Kingsbane2139
40 posts
#23
Y by
EthanWYX2009 wrote:
$5n$ can be improved to $\mathcal O\left(\sqrt{\frac{n^3}{\ln\ln n}}\right).$

May I get the source or proof of this statement?
Z K Y
N Quick Reply
G
H
=
a