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
Inspired by Baltic Way 2005
sqing   1
N 6 minutes ago by sqing
Source: Own
Let $ a,b,c>0 , a+b+(a+b)^2=6$. Prove that
$$ \frac {a}{b+2}+\frac {b}{a+2}+\frac {1}{ab+2}\leq \frac{3}{2} $$Let $ a,b,c>0 , a+b+(a-b)^2=2$. Prove that
$$ \frac {a}{b+2}+\frac {b}{a+2}+\frac {1}{ab+2}\leq 1 $$Let $ a,b,c>0 , a+b+a^2+b^2=4$. Prove that
$$ \frac {a}{b+2}+\frac {b}{a+2}+\frac {1}{ab+2}\leq \frac{1+\sqrt{17}}{4} $$Let $ a,b,c>0 , a+b+a^2+b^2+ab=5$. Prove that
$$ \frac {a}{b+2}+\frac {b}{a+2}+\frac {1}{ab+2}\leq \frac{1+\sqrt{21}}{4} $$
1 reply
2 viewing
sqing
30 minutes ago
sqing
6 minutes ago
Find all p(x) such that p(p) is a power of 2
truongphatt2668   0
8 minutes ago
Source: ???
Find all polynomial $P(x) \in \mathbb{R}[x]$ such that:
$$P(p_i) = 2^{a_i}$$with $p_i$ is an $i$ th prime and $a_i$ is an arbitrary positive integer.
0 replies
truongphatt2668
8 minutes ago
0 replies
Good Numbers
ilovemath04   31
N 21 minutes ago by john0512
Source: ISL 2019 N5
Let $a$ be a positive integer. We say that a positive integer $b$ is $a$-good if $\tbinom{an}{b}-1$ is divisible by $an+1$ for all positive integers $n$ with $an \geq b$. Suppose $b$ is a positive integer such that $b$ is $a$-good, but $b+2$ is not $a$-good. Prove that $b+1$ is prime.
31 replies
ilovemath04
Sep 22, 2020
john0512
21 minutes ago
inequality
mathematical-forest   1
N 24 minutes ago by arqady
For positive real intengers $x_{1} ,x_{2} ,\cdots,x_{n} $, such that $\prod_{i=1}^{n} x_{i} =1$
proof:
$$\sum_{i=1}^{n} \frac{1}{1+\sum _{j\ne i}x_{j}  } \le 1$$
1 reply
mathematical-forest
32 minutes ago
arqady
24 minutes ago
Nice original fe
Rayanelba   0
36 minutes ago
Source: Original
Find all functions $f: \mathbb{R}_0^+ \to \mathbb{R}_0^+$ that verfy the following equation :
$P(x,y):f(x+yf(x))+f(f(x))=f(xy)+2x$
0 replies
Rayanelba
36 minutes ago
0 replies
Similar Problems
Saucepan_man02   3
N 37 minutes ago by Saucepan_man02
Could anyone post some problems which are similar to the below problem:

Find a real solution of: $$x^9+9/8 x^6+27/64 x^3-x+219/512.$$
Sol(outline)
3 replies
Saucepan_man02
May 12, 2025
Saucepan_man02
37 minutes ago
Geometry from Iran TST 2017
bgn   18
N 41 minutes ago by optimusprime154
Source: 2017 Iran TST third exam day2 p6
In triangle $ABC$ let $O$ and $H$ be the circumcenter and the orthocenter. The point $P$ is the reflection of $A$ with respect to $OH$. Assume that $P$ is not on the same side of $BC$ as $A$. Points $E,F$ lie on $AB,AC$ respectively such that $BE=PC \ ,  CF=PB$. Let $K$ be the intersection point of $AP,OH$. Prove that $\angle EKF = 90 ^{\circ}$

Proposed by Iman Maghsoudi
18 replies
bgn
Apr 27, 2017
optimusprime154
41 minutes ago
Inspired by Baltic Way 2005
sqing   0
43 minutes ago
Source: Own
Let $ a,b,c>0 , a+b+c +ab+bc+ca+abc=7$. Prove that
$$ \frac {a}{a^2+2}+\frac {b}{b^2+2}+\frac {c}{c^2+2} \leq 1$$Let $ a,b,c>0 , a+b+c +ab+bc+ca=6$. Prove that
$$ \frac {a}{a^2+2}+\frac {b}{b^2+2}+\frac {c}{c^2+2} \leq 1$$
0 replies
sqing
43 minutes ago
0 replies
D1033 : A problem of probability for dominoes 3*1
Dattier   0
43 minutes ago
Source: les dattes à Dattier
Let $G$ a grid of 9*9, we choose a little square in $G$ of this grid three times, we can choose three times the same.

What the probability of cover with 3*1 dominoes this grid removed by theses little squares (one, two or three) ?
0 replies
Dattier
43 minutes ago
0 replies
Parallel lines in incircle configuration
GeorgeRP   3
N an hour ago by MathLuis
Source: Bulgaria IMO TST 2025 P1
Let $I$ be the incenter of triangle $\triangle ABC$. Let $H_A$, $H_B$, and $H_C$ be the orthocenters of triangles $\triangle BCI$, $\triangle ACI$, and $\triangle ABI$, respectively. Prove that the lines through $H_A$, $H_B$, and $H_C$, parallel to $AI$, $BI$, and $CI$, respectively, are concurrent.
3 replies
GeorgeRP
Yesterday at 7:46 AM
MathLuis
an hour ago
Geometry with altitudes and the nine point centre
Adywastaken   2
N an hour ago by MathLuis
Source: KoMaL B5333
The foot of the altitude from vertex $A$ of acute triangle $ABC$ is $T_A$. The ray drawn from $A$ through the circumcenter $O$ intersects $BC$ at $R_A$. Let the midpoint of $AR_A$ be $F_A$. Define $T_B$, $R_B$, $F_B$, $T_C$, $R_C$, $F_C$ similarly. Prove that $T_AF_A$, $T_BF_B$, $T_CF_C$ are concurrent.
2 replies
Adywastaken
Yesterday at 12:47 PM
MathLuis
an hour ago
2014 Japan Mathematical Olympiad Preliminary
parkjungmin   0
an hour ago
It's a Japanese math contest
I'll tell you what question 9 and 12 are.

Someone please release it. Someone who is good at it
0 replies
parkjungmin
an hour ago
0 replies
JBMO TST- Bosnia and Herzegovina 2022 P1
Motion   4
N an hour ago by AylyGayypow009
Source: JBMO TST 2022 Bosnia and Herzegovina P1
Let $a,b,c$ be real numbers such that $$a^2-bc=b^2-ca=c^2-ab=2$$. Find the value of $$ab+bc+ca$$and find at least one triplet $(a,b,c)$ that satisfy those conditions.
4 replies
Motion
May 21, 2022
AylyGayypow009
an hour ago
f(x + y) + f(x − y) = 2f(x) + 2f(y) in Q
parmenides51   4
N an hour ago by Levieee
Source: Nordic Mathematical Contest 1998 #1
Determine all functions $ f$ defined in the set of rational numbers and taking their values in the same set such that the equation $ f(x + y) + f(x - y) = 2f(x) + 2f(y)$ holds for all rational numbers $x$ and $y$.
4 replies
parmenides51
Oct 3, 2017
Levieee
an hour ago
Permutations of Integers from 1 to n
Twoisntawholenumber   74
N Apr 17, 2025 by Maximilian113
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
74 replies
Twoisntawholenumber
Jul 20, 2021
Maximilian113
Apr 17, 2025
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