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

G
Topic
First Poster
Last Poster
k a May Highlights and 2025 AoPS Online Class Information
jlacosta   0
May 1, 2025
May is an exciting month! National MATHCOUNTS is the second week of May in Washington D.C. and our Founder, Richard Rusczyk will be presenting a seminar, Preparing Strong Math Students for College and Careers, on May 11th.

Are you interested in working towards MATHCOUNTS and don’t know where to start? We have you covered! If you have taken Prealgebra, then you are ready for MATHCOUNTS/AMC 8 Basics. Already aiming for State or National MATHCOUNTS and harder AMC 8 problems? Then our MATHCOUNTS/AMC 8 Advanced course is for you.

Summer camps are starting next month at the Virtual Campus in math and language arts that are 2 - to 4 - weeks in duration. Spaces are still available - don’t miss your chance to have an enriching summer experience. There are middle and high school competition math camps as well as Math Beasts camps that review key topics coupled with fun explorations covering areas such as graph theory (Math Beasts Camp 6), cryptography (Math Beasts Camp 7-8), and topology (Math Beasts Camp 8-9)!

Be sure to mark your calendars for the following upcoming events:
[list][*]May 9th, 4:30pm PT/7:30pm ET, Casework 2: Overwhelming Evidence — A Text Adventure, a game where participants will work together to navigate the map, solve puzzles, and win! All are welcome.
[*]May 19th, 4:30pm PT/7:30pm ET, What's Next After Beast Academy?, designed for students finishing Beast Academy and ready for Prealgebra 1.
[*]May 20th, 4:00pm PT/7:00pm ET, Mathcamp 2025 Qualifying Quiz Part 1 Math Jam, Problems 1 to 4, join the Canada/USA Mathcamp staff for this exciting Math Jam, where they discuss solutions to Problems 1 to 4 of the 2025 Mathcamp Qualifying Quiz!
[*]May 21st, 4:00pm PT/7:00pm ET, Mathcamp 2025 Qualifying Quiz Part 2 Math Jam, Problems 5 and 6, Canada/USA Mathcamp staff will discuss solutions to Problems 5 and 6 of the 2025 Mathcamp Qualifying Quiz![/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
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
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, 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
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
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
Tuesday, May 6 - Aug 19
Wednesday, Jun 4 - Sep 17
Sunday, Jun 22 - Oct 19
Friday, Jul 18 - Nov 14

Introduction to Geometry
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

Paradoxes and Infinity
Mon, Tue, Wed, & Thurs, Jul 14 - Jul 16 (meets every day of the week!)

Intermediate: Grades 8-12

Intermediate Algebra
Sunday, Jun 1 - Nov 23
Tuesday, Jun 10 - Nov 18
Wednesday, Jun 25 - Dec 10
Sunday, Jul 13 - Jan 18
Thursday, Jul 24 - Jan 22

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

Intermediate Number Theory
Sunday, Jun 1 - Aug 24
Wednesday, Jun 18 - Sep 3

Precalculus
Friday, May 16 - Oct 24
Sunday, Jun 1 - Nov 9
Monday, Jun 30 - Dec 8

Advanced: Grades 9-12

Olympiad Geometry
Tuesday, Jun 10 - Aug 26

Calculus
Tuesday, May 27 - Nov 11
Wednesday, Jun 25 - Dec 17

Group Theory
Thursday, Jun 12 - Sep 11

Contest Preparation: Grades 6-12

MATHCOUNTS/AMC 8 Basics
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
Sunday, May 11 - Aug 10
Tuesday, May 27 - Aug 12
Wednesday, Jun 11 - Aug 27
Sunday, Jun 22 - Sep 21
Tues & Thurs, Jul 8 - Aug 14 (meets twice a week!)

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

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

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

AMC 12 Final Fives
Sunday, May 18 - Jun 15

AIME Problem Series A
Thursday, May 22 - Jul 31

AIME Problem Series B
Sunday, Jun 22 - Sep 21

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

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


MathWOOT Level 1
MathWOOT Level 2
ChemWOOT
CodeWOOT
PhysicsWOOT

Programming

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

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

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

Physics

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

Physics 1: Mechanics
Thursday, May 22 - Oct 30
Monday, Jun 23 - Dec 15

Relativity
Mon, Tue, Wed & Thurs, Jun 23 - Jun 26 (meets every day of the week!)
0 replies
jlacosta
May 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
3 var inequality
SunnyEvan   0
2 minutes ago
Let $ a,b,c \in R $ Prove that :$$ \frac{53}{2}-9\sqrt{14} \leq \frac{8(a^3b+b^3c+c^3a)}{27(a^2+b^2+c^2)^2} \leq \frac{53}{2}+9\sqrt{14} $$
0 replies
SunnyEvan
2 minutes ago
0 replies
Bounds on degree of polynomials
Phorphyrion   4
N 14 minutes ago by Kingsbane2139
Source: 2020 Israel Olympic Revenge P3
For each positive integer $n$, define $f(n)$ to be the least positive integer for which the following holds:

For any partition of $\{1,2,\dots, n\}$ into $k>1$ disjoint subsets $A_1, \dots, A_k$, all of the same size, let $P_i(x)=\prod_{a\in A_i}(x-a)$. Then there exist $i\neq j$ for which
\[\deg(P_i(x)-P_j(x))\geq \frac{n}{k}-f(n)\]
a) Prove that there is a constant $c$ so that $f(n)\le c\cdot \sqrt{n}$ for all $n$.

b) Prove that for infinitely many $n$, one has $f(n)\ge \ln(n)$.
4 replies
Phorphyrion
Jun 11, 2022
Kingsbane2139
14 minutes ago
A point on BC
jayme   7
N 31 minutes ago by jayme
Source: Own ?
Dear Mathlinkers,

1. ABC a triangle
2. 0 the circumcircle
3. D the pole of BC wrt 0
4. B', C' the symmetrics of B, C wrt AC, AB
5. 1b, 1c the circumcircles of the triangles BB'D, CC'D
6. T the second point of intersection of the tangent to 1c at D with 1b.

Prove : B, C and T are collinear.

Sincerely
Jean-Louis
7 replies
jayme
Today at 6:08 AM
jayme
31 minutes ago
Zack likes Moving Points
pinetree1   73
N 44 minutes ago by NumberzAndStuff
Source: USA TSTST 2019 Problem 5
Let $ABC$ be an acute triangle with orthocenter $H$ and circumcircle $\Gamma$. A line through $H$ intersects segments $AB$ and $AC$ at $E$ and $F$, respectively. Let $K$ be the circumcenter of $\triangle AEF$, and suppose line $AK$ intersects $\Gamma$ again at a point $D$. Prove that line $HK$ and the line through $D$ perpendicular to $\overline{BC}$ meet on $\Gamma$.

Gunmay Handa
73 replies
pinetree1
Jun 25, 2019
NumberzAndStuff
44 minutes ago
Domain and Inequality
Kunihiko_Chikaya   1
N an hour ago by Mathzeus1024
Source: 2018 The University of Tokyo entrance exam / Humanities, Problem 1
Define on a coordinate plane, the parabola $C:y=x^2-3x+4$ and the domain $D:y\geq x^2-3x+4.$
Suppose that two lines $l,\ m$ passing through the origin touch $C$.

(1) Let $A$ be a mobile point on the parabola $C$. Let denote $L,\ M$ the distances between the point $A$ and the lines $l,\ m$ respectively. Find the coordinate of the point $A$ giving the minimum value of $\sqrt{L}+\sqrt{M}.$

(2) Draw the domain of the set of the points $P(p,\ q)$ on a coordinate plane such that for all points $(x,\ y)$ over the domain $D$, the inequality $px+qy\leq 0$ holds.
1 reply
Kunihiko_Chikaya
Feb 25, 2018
Mathzeus1024
an hour ago
JBMO TST Bosnia and Herzegovina 2020 P1
Steve12345   3
N an hour ago by AylyGayypow009
Determine all four-digit numbers $\overline{abcd}$ which are perfect squares and for which the equality holds:
$\overline{ab}=3 \cdot \overline{cd} + 1$.
3 replies
Steve12345
Aug 10, 2020
AylyGayypow009
an hour ago
Problem3
samithayohan   116
N an hour ago by fearsum_fyz
Source: IMO 2015 problem 3
Let $ABC$ be an acute triangle with $AB > AC$. Let $\Gamma $ be its circumcircle, $H$ its orthocenter, and $F$ the foot of the altitude from $A$. Let $M$ be the midpoint of $BC$. Let $Q$ be the point on $\Gamma$ such that $\angle HQA = 90^{\circ}$ and let $K$ be the point on $\Gamma$ such that $\angle HKQ = 90^{\circ}$. Assume that the points $A$, $B$, $C$, $K$ and $Q$ are all different and lie on $\Gamma$ in this order.

Prove that the circumcircles of triangles $KQH$ and $FKM$ are tangent to each other.

Proposed by Ukraine
116 replies
samithayohan
Jul 10, 2015
fearsum_fyz
an hour ago
geometry problem
invt   0
an hour ago
In a triangle $ABC$ with $\angle B<\angle C$, denote its incenter and midpoint of $BC$ by $I$, $M$, respectively. Let $C'$ be the reflected point of $C$ wrt $AI$. Let the lines $MC'$ and $CI$ meet at $X$. Suppose that $\angle XAI=\angle XBI=90^{\circ}$. Prove that $\angle C=2\angle B$.
0 replies
invt
an hour ago
0 replies
the locus of $P$
littletush   10
N an hour ago by SuperBarsh
Source: Italy TST 2009 p2
$ABC$ is a triangle in the plane. Find the locus of point $P$ for which $PA,PB,PC$ form a triangle whose area is equal to one third of the area of triangle $ABC$.
10 replies
littletush
Mar 10, 2012
SuperBarsh
an hour ago
Abelkonkurransen 2025 3b
Lil_flip38   3
N an hour ago by Adywastaken
Source: abelkonkurransen
An acute angled triangle \(ABC\) has circumcenter \(O\). The lines \(AO\) and \(BC\) intersect at \(D\), while \(BO\) and \(AC\) intersect at \(E\) and \(CO\) and \(AB\) intersect at \(F\). Show that if the triangles \(ABC\) and \(DEF\) are similar(with vertices in that order), than \(ABC\) is equilateral.
3 replies
Lil_flip38
Mar 20, 2025
Adywastaken
an hour ago
I got stuck in this combinatorics
artjustinhere237   3
N 2 hours ago by GreekIdiot
Let $S = \{1, 2, 3, \ldots, k\}$, where $k \geq 4$ is a positive integer.
Prove that there exists a subset of $S$ with exactly $k - 2$ elements such that the sum of its elements is a prime number.
3 replies
artjustinhere237
May 13, 2025
GreekIdiot
2 hours ago
Geo metry
TUAN2k8   5
N 2 hours ago by Melid
Help me plss!
Given an acute triangle $ABC$. Points $D$ and $E$ lie on segments $AB$ and $AC$, respectively. Lines $BD$ and $CE$ intersect at point $F$. The circumcircles of triangles $BDF$ and $CEF$ intersect at a second point $P$. The circumcircles of triangles $ABC$ and $ADE$ intersect at a second point $Q$. Point $K$ lies on segment $AP$ such that $KQ \perp AQ$. Prove that triangles $\triangle BKD$ and $\triangle CKE$ are similar.
5 replies
TUAN2k8
May 6, 2025
Melid
2 hours ago
power of a point
BekzodMarupov   2
N 2 hours ago by BekzodMarupov
Source: lemmas in olympiad geometry
Epsilon 1.3. Let ABC be a triangle and let D, E, F be the feet of the altitudes, with D on BC, E on CA, and F on AB. Let the parallel through D to EF meet AB at X and AC at Y. Let T be the intersection of EF with BC and let M be the midpoint of side BC. Prove that the points T, M, X, Y are concyclic.
2 replies
BekzodMarupov
Yesterday at 5:41 AM
BekzodMarupov
2 hours ago
Insspired by Shandong 2025
sqing   3
N 2 hours ago by JARP091
Source: Own
Let $ a,b,c>0,abc>1$. Prove that$$ \frac {abc(a+b+c+ab+bc+ca+3)}{  abc-1}\geq \frac {81}{4}$$$$  \frac {abc(a+b+c+ab+bc+ca+abc+2)}{  abc-1}\geq  12+8\sqrt{2}$$
3 replies
sqing
4 hours ago
JARP091
2 hours ago
Permutations of Integers from 1 to n
Twoisntawholenumber   75
N Today at 12:39 AM by SYBARUPEMULA
Source: 2020 ISL C1
Let $n$ be a positive integer. Find the number of permutations $a_1$, $a_2$, $\dots a_n$ of the
sequence $1$, $2$, $\dots$ , $n$ satisfying
$$a_1 \le 2a_2\le 3a_3 \le \dots \le na_n$$.

Proposed by United Kingdom
75 replies
Twoisntawholenumber
Jul 20, 2021
SYBARUPEMULA
Today at 12:39 AM
Permutations of Integers from 1 to n
G H J
G H BBookmark kLocked kLocked NReply
Source: 2020 ISL C1
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Twoisntawholenumber
6 posts
#1 • 12 Y
Y by tree_3, InvertedDiabloNemesisXD, centslordm, jhu08, megarnie, ImSh95, son7, sohere, Kingsbane2139, Supercali, Marshall_Huang, kiyoras_2001
Let $n$ be a positive integer. Find the number of permutations $a_1$, $a_2$, $\dots a_n$ of the
sequence $1$, $2$, $\dots$ , $n$ satisfying
$$a_1 \le 2a_2\le 3a_3 \le \dots \le na_n$$.

Proposed by United Kingdom
This post has been edited 1 time. Last edited by Twoisntawholenumber, Jul 20, 2021, 9:36 PM
Reason: Added the country that proposed the problem
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
cadaeibf
701 posts
#2 • 7 Y
Y by centslordm, THEfmigm, ImSh95, son7, crazyeyemoody907, Marshall_Huang, MS_asdfgzxcvb
solution
This post has been edited 1 time. Last edited by cadaeibf, Jul 20, 2021, 9:12 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Twoisntawholenumber
6 posts
#3 • 5 Y
Y by InvertedDiabloNemesisXD, centslordm, ImSh95, son7, Marshall_Huang
Let $A_n$ be the number of permutations which satisfy the property. We claim that $A_N=F_{N+1}$, where $F_k$ is the $k^{th}$ Fibonacci number; defined as $F_0=0, F_1=1, F_{m+2}=F_{m+1}+F_{m} \forall m\ge0$.
Claim: In the permutation, either $N=a_{N-1}$ or $N=a_N$.
Proof: Suppose $N=a_{N-k}$ for some integer $k\ge 2$. We can deduce that any integer $m<N-k$ must be given an index of less than $N-k$; if it were not, we would need $m_i\ge N(N-k)$ for some index $i$, however as $m<N-k$ and $i\le n$, $mi<N(N-k)$, hence a contradiction.
Therefore the first $N-k-1$ integers are in the permutation $(a_1,a_2\dots a_{N-k-1})$ and the integer $N-k$ must be placed further along in the permutation than $N$, so we would need $(N-k)j\ge N(N-k)$ for some index $j$, hence $j=N$. So $a_N=N-k$, and therefore $(N-k)a_{N-k}=Na_N$, sow e need $(N-r)a_{N-r}=N(N-k)$ for all non-negative integers $r\le k$.
Consider the largest prime $p$ which is less than or $k+1$. By Bertrand's Postulate, $p > \frac{k+1}{2}$, hence this prime divides only one of the integers in the set $\{N-k,N-k+1\dots,N\}$, as there are $k+1$ terms, and so at most two of the products $xa_x$ are divisible by this prime. However as $k\ge 2$, we have at least 3 products, and so this is impossible.
We now show that $A_N=F_{N+1}$ by induction.
Base cases: $N=1$ and $N=2$.
$N=1$, we only have 1 permutation so $A_1=1=F_2$.
$N=2$, we only have 2 permutations, $\{1,2\}$ and $\{2,1\}$, so $A_2=2=F_3$.
Now we assume $A_n=F_{n+1}$ and $A_{n+1}=F_{n+2}$ for some $n$.
Consider $A_{n+2}$. By the earlier lemma, either $n+2=a_{n+1}$ or $n+2=a_{n+2}$.
In the first case, if $a_{n+1}=n+2$, we must have $a_{n+2}=n+1$. As these products are greater than all other possible products, we can arrange the previous $n$ terms in a way which satisfies the condition, and we can do this in $A_n=F_{n+1}$ ways.
In the second case, the largest product is $(n+2)^2$ and hence we can arrange the remaining terms in $A_{n+1}=F_{n+2}$ ways. So we have $A_{n+2}=F_{n+1}+F_{n+2}=F_{n+3}$, and so 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.
AwesomeYRY
579 posts
#4 • 5 Y
Y by centslordm, ImSh95, son7, mijail, Marshall_Huang
We claim that the answer is $a_n= F_{n+1}$ where $F_n$ is the $n$-th fibonacci number defined by $F_0=0$, $F_1=1$, $F_k=F_{k-1}+F_{k-2}$. We proceed with induction, our base cases are $a_1=1=F_2$, any permutation works. And $a_2=2=F_3$, once again any permutation works.

Inductive step. We do casework on the position of $n$.

Case 1: $a_n=n$. In this case, all $i\cdot a_i\leq n\cdot a_n$, so we will be left with any of the $a_{n-1}$ permutations of the first $n-1$, all of which will work, Case 1 contributes $a_{n-1}$.

Case 2: $a_{n-1}=n$. In this case
\[a_{n-1}\cdot n\leq (n-1)\cdot a_{n-1}\leq n\cdot a_n\]thus, $a_n\geq n-1$, so $a_n=n$. Now, once again all of the first $n-2$: $1\leq j\leq n-2$ will satisfy $a_j\cdot j \leq n\cdot (n-1)$, so any of the first $n-2$ work, so this case contributes $a_{n-2}$.

Case 3: $a_j=n$ for $j\leq n-2$. I claim that there are no valid solutions. Note for all indices $n\geq k \geq j$, we have
\[j\cdot n = j\cdot a_j \leq k\cdot a_k \Longrightarrow a_k\geq \frac{j\cdot n}{k}\geq j\]Thus,
\[a_j,a_{j+1},\ldots, a_n\geq j\]Since these $a_k$ are distinct, $\{a_j,\ldots a_n\}$ must be some permutation of $\{j,\ldots,n\}$. Consider $x>j$ such that $a_x=j$. Then,
\[jn=j\cdot a_j\leq x\cdot a_x=xj\]Thus, $x\geq n$ so $x=n$ and $a_n=j$. Now, note that $a_y=n-1$ for some $j<y<n$. Thus,
\[n\cdot j=n\cdot a_n\geq y\cdot a_y = y\cdot (n-1)\geq (j+1)(n-1)=nj+n-j-1\geq nj+n-(n-2)-1=nj+1\]Thus, $nj\geq nj+1$, a contradiction. Thus, there are no solutions for $j\leq n-2$. To recap, $a_n=a_{n-1}+a_{n-2}+0=a_{n-2}+a_{n-2}$, so our induction is complete.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Eyed
1065 posts
#5 • 8 Y
Y by VulcanForge, tree_3, centslordm, Smileyklaws, Deemaths, ImSh95, grey_hat_hacker, MS_asdfgzxcvb
Solved with nukelauncher

We claim the answer is $F_{n+1}$, where $F_1=F_2=1$ and $F_n=F_{n-1}+F_{n-2}$ for $n\geq3$ are the Fibonacci numbers. We prove this by induction on $n$, with the base cases of $n=1,2$ being trivially true.

Claim:
$n\in\left\{ a_{n-1},a_n \right\}$.

Proof.
Suppose not. Then let $a_k=n$. Note that none of $1,2,\dots,k-1$ are elements of $\left\{ a_{k+1},a_{k+2},\dots,a_n \right\}$ as that would contradict the given inequality. Therefore, $\left\{ a_{k+1},\dots,a_n \right\}$ is a permutation of $\left\{ k,k+1,\dots,n-1 \right\}$. We must have $a_n=k$ to satisfy the inequality for $na_n\geq ka_k$, but then this implies that we have the equality \[ka_k=(k+1)a_{k+1}=\dots=na_n,\]a clear contradiction when $k<n-1$. $\blacksquare$

With the claim, the number of permutations for $n$ is the sum of the number of permutations for the cases of $n-2$ and $n-1$ by taking cases on whether $a_n=n$ or $a_{n-1}=n$ and $a_n=n-1$. This completes the inductive step, so 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.
pad
1671 posts
#6 • 6 Y
Y by centslordm, Wizard0001, ImSh95, mijail, alexgsi, Marshall_Huang
Claim: We have $n\in \{a_{n-1},a_n\}$.

Proof: Suppose instead that $a_x=n$ and $x \le n-2$. For all $y>x$, we have
\[ xn = xa_x \le ya_y \le na_y \implies a_y \ge x. \]Therefore,
\[ \{a_{x+1},a_{x+2},\ldots, a_{n-1}\} = \{x,x+1,\ldots,n-1\}. \]In particular, $a_z=x$ for some $z>x$. Then
\[ xn = xa_x \le za_z=zx \implies n \le z \implies z=n. \]So $a_n=x$. Now,
\[ xn = xa_x \le \cdots \le na_n = nx, \]so actually $ia_i=xn$ for all $x\le i\le n$. Now the finish is easy. We have $(n-1)a_{n-1} = nx$, so $n-1 \mid nx$, so $n-1\mid x$. But $x\le n-2$, contradiction. $\blacksquare$
If $a_n=n$, then there are $f(n-1)$ ways for the first $n-1$. If $a_{n-1}=n$, then $a_n=n-1$, and there are $f(n-2)$ ways for the first $n-2$. Hence $f(n)=f(n-1)+f(n-2)$, and since $f(1)=f(2)=1$, we have $f(n) = F_{n+1}$.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
mathaddiction
308 posts
#7 • 3 Y
Y by centslordm, ImSh95, Marshall_Huang
The answer is $F_{n+1}$, the $(n+1)^{th}$ Fibonacci number.
Let $a_1,...,a_n$ be such a permutation.
Claim.
(i) $a_i\geq i-1$
(ii) $a_i\leq i+1$

Proof.
(i) If $a_i\leq i-2$, we prove by backward induction that $a_j\leq j-2$ for all $1\leq j\leq i$. If $a_i=i-2$, then
$$(i-1)a_{i-1}\leq ia_i=i(i-2)$$hence $a_{i-1}<i-1$, which implies $a_i\leq i-3$. If $a_i\leq i-3$ then
$$(i-1)a_{i-1}\leq ia_i=i(i-3)$$hence $a_{i-1}<i-2$, which implies $a_{i-1}\leq i-3$ as desired. But this is obviously impossible since $a_2\leq 0$.
(ii) Suppose on the contrary that $a_i\geq i+2$, then $a_{i+1}\geq i+1$, hence at least one of $1,...,i$, say $k$ is not in $a_1,...,a_{i-1}$. Suppose $a_j=k$, then $j\geq i+2$, contradiction. $\blacksquare$
Now it is easy to see that the permutation consists of only $2$-cycles $(i,i+1)$ and fixed points, and conversely every such permutation satisfies the condition.
We count the number of such permutation, denote it by $x_n$. If $a_1=2$ then there are $x_{n-2}$ ways to permute $\{3,..,n\}$, and if $a_1=1$ there are $x_{n-1}$ ways to permute $\{2,...,n\}$. Hence
$$x_n=x_{n-1}+x_{n-2}$$combine with the obvious fact that $x_1=1$ and $x_2=2$ we have $x_n=F_{n+1}$ as desired.
This post has been edited 2 times. Last edited by mathaddiction, Jul 20, 2021, 11:45 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
SnowPanda
186 posts
#8 • 2 Y
Y by ImSh95, Marshall_Huang
Solution
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
lneis1
243 posts
#9 • 2 Y
Y by ImSh95, Marshall_Huang
Let $a_j=n$
First we will show that $j \leq n-2$
If $j < i< n$ then $a_i > j$ because $jn \leq ia_i < na_i$

Also $a_n > j$ because $na_n\geq (n-1)a_{n-1} > nj$.

But notice that $a_j, a_{j+1}, a_{j+2}, \cdot \cdot \cdot a_n$ are $(n-1)(j+1)-nj=n-j+1$ numbers which are all greater than $j$,
Whereas there are only $n-j$ such values.

Hence we get that $n$ can only be placed in the last two positions.

So let $S_n$ denote the total no of permutations satisfying the condition for n numbers.
Now $(a_1,a_2,a_3...a_{n-1},n)$ first keep $n$ constant so we will have $S_{n-1}$ such permutations
And then consider $(a_1, a_2, a_3...., n, n-1)$ which is $S_{n-2}$

So $S_n=S_{n-1}+S_{n-2}$ which is indeed the $(n+1)th$ Fibonacci number.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
554183
484 posts
#10 • 2 Y
Y by ImSh95, Marshall_Huang
Pretty easy.
Let the number of permutations be $x_n$. We claim that $x_n = F_{n+1}$ (the $n+1$th Fibonacci number).
Claim : if $a_i =n$, then $i \in \{n-1, n\}$.
Proof : FTSOC assume $a_i = n, i \leq n-2$. Then we must have $a_{i+1} \geq \frac{in}{i+1} >i \implies a_{i+1} \geq i+1$. Now $a_{i+2} \geq \frac{(i+1)^2}{i+2} > i \implies a_{i+2} \geq i+1$. Now we either have $a_{i+2} \geq i+2$ or $a_{i+2}=i+1$. But if $a_{i+2}=i+1, a_{i+1}=i+2$ for size reasons. Now note that $a_{i+3} \geq \frac{(i+1)(i+2)}{i+3} > i \implies a_{i+3} \geq i+3$. Continuing this till $n$, we see that $a_n \geq n$, or that $a_n=n-1$ and $a_{n-1}=n$. Either way, this is a contradiction.

To finish, note that if $a_n=n$ we have $x_{n-1}$ sequences, and if $a_{n-1}=n, a_n=n-1$ for size reasons, so we have $x_{n-2}$ sequences. We get $x_{n}=x_{n-1}+x_{n-2}$, and seeing $x_1 =1, x_2=2$, 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.
Mathematicsislovely
245 posts
#11 • 2 Y
Y by ImSh95, Marshall_Huang
Let $X_n$ denote the total number of permutation of $[n]$ with the given property.Let $b_n$ denote the number of permutation of $[n]$ with the given property with $a_n=n$ and $c_n$ denote the number of permutation of $[n]$ with the given property with $a_n\ne n$.Then,
$$X_n=b_n+c_n =X_{n-1}+c_n$$Now we will try to find out recursion for $c_n$

Claim: If $a_m=n$ then $a_n=m$.

Proof. If $a_m=n$ then,
$$mn=ma_m\le (m+1)a_{m+1}\le\dots\le na_n$$.
So $m+r\le n$ so the above relation implies $a_{m+r}\ge m$ for $r=1,2,\dots,n-m$.
But then $\{a_{m+1},a_{m+2}\dots a_n\}=\{m,m+1,m+2,\dots,n-1\}$ [becoz size of both set are equal].
But then $$a_{m+r}=m\implies m(m+r)\ge ma_m=mn\implies {m+r}\ge n$$So indeed $m+r=n$ $\blacksquare$

So, $ma_m=(m+1)a_{m+1}=(m+2)a_{m+2}=\dots =na_n=mn$
In particular,$(n-1)a_{n-1}=nm$.Since $\gcd(n,n-1)=1$ so $n\mid a_{n-1}$.This is possible only when $a_{n-1}=n$.In particular,$m=n-1$.
So $c_n=X_{n-2}$ because $a_{n-1}=n\implies a_n=(n-1)$ for size reason.
So $X_n=X_{n-1}+X_{n-2}$ .
Now $X_1=1$ and $X_{2}= 2$ implies $X_n=F_{n+1}$.Where $F_n$ is $n$th Fibonacci number. $\blacksquare$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Spacesam
596 posts
#12 • 2 Y
Y by ImSh95, Marshall_Huang
We will induct. We establish the base cases first: for $n = 1$ and $n = 2$, the answers are $1$ and $2$, respectively, and we claim that the answer is $F_{n + 1}$ where $F_0 = 0$, $F_1 = 1$, $F_2 = 1$, etc.

Proceed by strong induction. For the inductive step of $i - 1$ to $i$, the idea is to consider where the largest element $i$ could go. It can obviously go at the end; this reduces to the $i - 1$ case, contributing $F_i$.

Additionally, it can also go one place before the end, so the second to last product is $i(i - 1)$. As a result, this forces $i(i - 1) \leq ia_i$, so $i - 1 \leq a_i$ and so $a_i = i - 1$, reducing to the $i - 2$ case. This contributes $F_{i - 1}$. The key claim now which finishes the problem is as follows:

Claim: There are no other positions for $i$ that work other than the two named above.

Assume that $a_k = i$ where $k \leq i - 2$. The idea is to consider what the minimum of $a_{k + 1}, a_{k + 2}, \cdots, a_i$ is. Observe that this minimum element is at most $k$ since there are $i - k$ elements from $a_{k + 1}$ to $i$. Consequently, we know that the elements from $a_{k + 1}$ to $a_i$ are forced to be some permutation of $(k, k + 1, \cdots, i - 1)$ with $a_i = k$.

Since $a_k = a_i$, we know that every term in between must be equal to them as well. Now, we just need to consider where the $i - 1$ element goes. By our logic above, we can write $(i - 1) \cdot a = ki$ for some integer $a$. However, $\gcd(i, i - 1) = 1$, so we know $i - 1 \mid k$, implying $i - 1 \leq k$, contradiction. $\square$

Thus we are done since $F_{i - 1} + F_i = F_{i + 1}$.
This post has been edited 1 time. Last edited by Spacesam, Jul 21, 2021, 10:18 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
yofro
3151 posts
#13 • 2 Y
Y by ImSh95, Marshall_Huang
The answer is the $n+1$th Fibonacci number. I prove this with strong induction. Let $P(n)$ be the number of ways to do so. The base cases are easy since
$$P(1)=|\{1\}|=1=F_2$$$$P(2)=|\{1,2\}, \{2,1\}|=2=F_3$$We do casework on the index of $n$. If $n$ is at the last position, there are $P(n-1)$ ways. If $n$ is at the second-to-last position, $n-1$ must be at the last position, hence there are $P(n-2)$ ways. I now prove that $n$ cannot be at any other position, effectively solving the problem.

Suppose the contrary. Clearly, $n$ cannot be at the first position. Hence there is a valid sequence of the first $k$ numbers, then $n$, then a jumble of the other numbers. Consider the number $k+1$. Let's say its at index $r$. Then
$$n(k+1)\le (k+1)r$$$$n\le r$$$$r=n$$Hence $k+1$ is the last number. Suppose that the number at index $n-1$ is $r$. Thus
$$(n-1)r\le(k+1)n$$But $k+2\le r$, hence
$$(k+2)(n-1)\le (k+1)n$$$$nk+2n-k-2\le nk+n$$$$n\le k+2$$Meaning that there are at least $n-2$ numbers before the number $n$, i.e. $n$ is at one of the last two spots, as desired.
This post has been edited 1 time. Last edited by yofro, Jul 22, 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.
hakN
429 posts
#14 • 2 Y
Y by ImSh95, Marshall_Huang
For $m \leq n$, let $f_m(n)$ denote the number of permutations of the set $\{m,m+1, \dots , n\}$ such that $ma_m \leq (m+1)a_{m+1} \leq \dots \leq na_n$. We will prove that $f_i(n) = f_{i+1}(n) + f_{i+2}(n)$ for all $1 \leq i \leq n-2$. Now fix some $1 \leq i \leq n-2$.
Let $a_k = i$. If $k = i$, then we are left with $f_{i+1}(n)$ such permutations. Let $k > i$. Then we have $k\cdot a_k = k \cdot i \geq (k-1) \cdot a_{k-1} \ge(k-1) \cdot (i+1) \iff k \leq i + 1$.
So we have $k = i+1$, in other words $a_{i+1} = i$. Then $ia_i \leq (i+1)i \implies a_i \leq i+1 \implies a_i = i+1$. So $a_i = i+1$ and $a_{i+1} = i$ and we are left with $f_{i+2}(n)$ such permutations. Thus we have proved the claim.
Now define a sequence as $F_1 = 1 , F_2 = 1,$ and $F_n = F_{n-1} + F_{n-2}$ for all $n \geq 3$. It is easy to see that $f_n(n) = 1$ and $f_{n-1}(n) = 2$.
Thus, we have $f_1(n) = F_{n+1}$. Also it is well known that $F_n = \frac{(\frac{1 + \sqrt{5}}{2})^n - (\frac{1 - \sqrt{5}}{2})^n}{\sqrt{5}}$.
So, our answer is $F_{n+1} = \frac{(\frac{1 + \sqrt{5}}{2})^{n+1} - (\frac{1 - \sqrt{5}}{2})^{n+1}}{\sqrt{5}}$.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
rustam
348 posts
#15 • 2 Y
Y by ImSh95, Marshall_Huang
This problem was used in 2017 Uzbekistan young mathematicians olympiad, but it was take from Crux.
Z K Y
G
H
=
a