Summer is a great time to explore cool problems to keep your skills sharp!  Schedule a class today!

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
The next problem
SlovEcience   1
N 2 minutes ago by cazanova19921
Let the sequence be defined as follows:
\[
f_1 = 1, f_{2n} = 3f_n, f_{2n+1} = f_{2n} + 1.
\]Find the value of \( f_{100} \).
Can someone help me solve this problem by using a base numeral system?
1 reply
SlovEcience
2 hours ago
cazanova19921
2 minutes ago
Tangent circles in a parallelogram configuration
a_507_bc   8
N 10 minutes ago by Mathgloggers
Source: Iran MO 3rd Round 2024 P5
Let $ABCD$ be a parallelogram and let $AX$ and $AY$ be the altitudes from $A$ to $CB, CD$, respectively. A line $\ell \perp XY$ bisects $AX$ and meets $AB, BC$ at $K, L$. Similarly, a line $d \perp XY$ bisects $AY$ and meets $DA, DC$ at $P, Q$. Show that the circumcircles of $\triangle BKL$ and $\triangle DPQ$ are tangent to each other.
8 replies
a_507_bc
Aug 28, 2024
Mathgloggers
10 minutes ago
Inspired by 2025 Xinjiang
sqing   2
N 38 minutes ago by sqing
Source: Own
Let $ a,b,c >0  . $ Prove that
$$  \left(1+\frac {a} { b}\right)\left(2+\frac {a}{ b}+\frac {b}{ c}\right) \left(1+\frac {a}{b}+\frac {b}{ c}+\frac {c}{ a}\right)  \geq 12+8\sqrt 2 $$
2 replies
sqing
May 24, 2025
sqing
38 minutes ago
Inspired by a9opsow_
sqing   4
N 40 minutes ago by sqing
Source: Own
Let $ a,b > 0  .$ Prove that
$$ \frac{(ka^2 - kab-b)^2 + (kb^2 - kab-a)^2 + (ab-ka-kb )^2}{ (ka+b)^2 + (kb+a)^2+(a - b)^2 }\geq  \frac {1}{(k+1)^2}$$Where $ k\geq 0.37088 .$
$$\frac{(a^2 - ab-b)^2 + (b^2 - ab-a)^2 + ( ab-a-b)^2}{a^2 +b^2+(a - b)^2 } \geq 1$$$$ \frac{(2a^2 - 2ab-b)^2 + (2b^2 - 2ab-a)^2 + (ab-2a-2b )^2}{ (2a+b)^2 + (2b+a)^2+(a - b)^2 }\geq  \frac 19$$
4 replies
sqing
May 29, 2025
sqing
40 minutes ago
Changing unordered triples
nAalniaOMliO   1
N an hour ago by FarrukhBurzu
Source: Belarusian National Olympiad 2023
An unordered triple of numbers $(a,b,c)$ in one move you can change to either $(a,b,2a+2b-c)$, $(a,2a+2c-b,c)$ or $(2b+2c-a,b,c)$.
Can you from the triple $(3,5,14)$ get the tripel $(3,13,6)$ in finite amount of moves?
1 reply
nAalniaOMliO
Dec 31, 2024
FarrukhBurzu
an hour ago
prove that f is a second degree polynomial.
sqing   6
N an hour ago by Assassino9931
Source: Shortlist BMO 2018, A5
Let $f: \mathbb {R} \to \mathbb {R}$ be a concave function and $g: \mathbb {R} \to \mathbb {R}$ be a continuous function . If $$ f (x + y) + f (x-y) -2f (x) = g (x) y^2 $$for all $x, y \in \mathbb {R}, $ prove that $f $ is a second degree polynomial.
6 replies
sqing
May 3, 2019
Assassino9931
an hour ago
Inspired by sadwinter
sqing   0
an hour ago
Source: Own
Let $ 0\leq a,b \leq1 $. Prove that
$$0\leq  (a+2b)^2+ \frac{8}{3}a(a- 2b+ab^2)(3a^2+ b^2) \leq9$$$$0\leq (a+2b)^2+ \frac{3}{2}a^2(1-b^2)(3a^2+ b^2)\leq9$$$$0\leq(a+2b)^2+2a^2(1-b^2)(3a^2+ b^2)  \leq7+\frac{3}{\sqrt[3]2}$$$$3\sqrt[3]2-\frac{13}{2} \leq (a+2b)^2+ \frac{8}{3}ab(ab- 2)(3a^2+ b^2)  \leq 4$$
0 replies
1 viewing
sqing
an hour ago
0 replies
Points on a lattice path lies on a line
navi_09220114   5
N an hour ago by dgrozev
Source: TASIMO 2025 Day 1 Problem 3
Let $S$ be a nonempty subset of the points in the Cartesian plane such that for each $x\in S$ exactly one of $x+(0,1)$ or $x+(1,0)$ also belongs to $S$. Prove that for each positive integer $k$ there is a line in the plane (possibly different lines for different $k$) which contains at least $k$ points of $S$.
5 replies
navi_09220114
May 19, 2025
dgrozev
an hour ago
Interesting divisors
Warideeb   0
an hour ago
Find all odd positive integer $n$ such that for any two co-prime positive integers $(a,b)$ if $ab|n$ then $a+b-1|n$.
0 replies
Warideeb
an hour ago
0 replies
Nice problem
Martin.s   1
N an hour ago by cazanova19921
If \(p\) is a prime and \(n \geq p\), then
\[
n! \sum_{pi+j=n} \frac{1}{p^i i! j!} \equiv 0 \pmod{p}.
\]
1 reply
Martin.s
Yesterday at 6:46 PM
cazanova19921
an hour ago
Interesting geometry problem
DrAymeinstein   3
N 2 hours ago by Rayvhs
Source: Moroccan TST 2019 P6
Let $ABC$ be a triangle. The tangent in $A$ of the circumcircle of $ABC$ cuts the line $(BC)$ in $X$. Let $A'$ be the symetric of $A$ by $X$ and $C'$ the symetric of $C$ by the line $(AX)$
Prove that the points $A, C', A'$ and $B$ are concyclic.
3 replies
DrAymeinstein
Aug 23, 2024
Rayvhs
2 hours ago
small problem
sadwinter   0
2 hours ago
Source: own
Let $0\leq a,b \leq1$. Prove that
$0\leq(a+2b)^2-4a(4b-a-3ab^2)(2a^2+b^2)\leq9$
0 replies
sadwinter
2 hours ago
0 replies
Circle Midpoint Config
Fuyuki   0
2 hours ago
In triangle ABC, point D is the midpoint of BC. Let the second intersection of AD and (ABC) be E. Then, F is the intersection of EC and AB. G is the intersection of BE and AC. Prove that BC is parallel to FG.
0 replies
Fuyuki
2 hours ago
0 replies
IMO ShortList 2001, combinatorics problem 4
orl   13
N 3 hours ago by Aiden-1089
Source: IMO ShortList 2001, combinatorics problem 4
A set of three nonnegative integers $\{x,y,z\}$ with $x < y < z$ is called historic if $\{z-y,y-x\} = \{1776,2001\}$. Show that the set of all nonnegative integers can be written as the union of pairwise disjoint historic sets.
13 replies
orl
Sep 30, 2004
Aiden-1089
3 hours ago
Min Number of Subsets of Strictly Increasing
taptya17   5
N Apr 24, 2025 by kotmhn
Source: India EGMO TST 2025 Day 1 P1
Let $n$ be a positive integer. Initially the sequence $0,0,\cdots,0$ ($n$ times) is written on the board. In each round, Ananya choses an integer $t$ and a subset of the numbers written on the board and adds $t$ to all of them. What is the minimum number of rounds in which Ananya can make the sequence on the board strictly increasing?

Proposed by Shantanu Nene
5 replies
taptya17
Dec 13, 2024
kotmhn
Apr 24, 2025
Min Number of Subsets of Strictly Increasing
G H J
G H BBookmark kLocked kLocked NReply
Source: India EGMO TST 2025 Day 1 P1
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
taptya17
29 posts
#1 • 4 Y
Y by Supercali, GeoKing, NO_SQUARES, radian_51
Let $n$ be a positive integer. Initially the sequence $0,0,\cdots,0$ ($n$ times) is written on the board. In each round, Ananya choses an integer $t$ and a subset of the numbers written on the board and adds $t$ to all of them. What is the minimum number of rounds in which Ananya can make the sequence on the board strictly increasing?

Proposed by Shantanu Nene
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
bin_sherlo
734 posts
#2 • 2 Y
Y by GeoKing, radian_51
Answer is $\lceil log_2 n\rceil$.
Construction: Consider the binary representations of numbers' rows' (Like the first number is $0\dots 01$). In the $i.$ turn, add $2^{\lceil log_2 n\rceil-i+1}$ to the numbers whose $i.$ digit is $1$. At the end of this process, $i.$ number on the row will be $i$.
Example for the Construction: $0,0,0,0,0,0,0\rightarrow 0,0,0,4,4,4,4\rightarrow 0,2,2,4,4,6,6\rightarrow 1,2,3,4,5,6,7$.
Lower Bound: Suppose that $2^{k-1}<n\leq 2^k$ and one can make the sequence increasing in $k-1$ turns (if it can be done in less than $k-1$ moves, then one can add $1$ to the last number for several times). For each number among $\{1,2,\dots,2^{k-1}+a\}$, consider the binary strings where $i.$ number for $x$ is $1$ iff a number is added to $x$ in $i.$ turn. Note that each binary string must be different. However there cannot be more than $2^{k-1}$ distinct binary strings with $k-1$ digits which results in a contradiction as desired.$\blacksquare$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Supercali
1261 posts
#3 • 3 Y
Y by bin_sherlo, GeoKing, radian_51
My problem! This one went through many iterations in a short amount of time.

We claim that the minimum number of moves needed is $\lceil \log_2(n) \rceil$.

To show that $\lceil \log_2(n) \rceil$ moves are enough, it is enough to prove that $0,0, \dots, 0$ (of length $2^k$) can be made strictly increasing in $k$ moves, and then restrict our attention to the first $n$ positions, where $2^{k-1}<n \leq 2^k$. Indeed, write the positions in binary from $0$ to $2^k-1$, and on move $i$, increment the positions that have a $2^{k-i}$ in their binary expansions by $2^{k-i}$. At the end we will end up with $0,1,2, \dots, 2^k-1$.

Now we show that at least $\lceil \log_2(n) \rceil$ moves are needed. For any sequence $\mathbf{a}$, let $f(\mathbf{a})$ be the length of the longest non-increasing (i.e., weakly decreasing) subsequence in $\mathbf{a}$. Suppose after applying the move once, we get the sequence $\mathbf{b}$. We claim that $f(\mathbf{b}) \geq \frac{f(\mathbf{a})}{2}$. Indeed, look at the longest non-increasing subsequence in $\mathbf{a}$. Then there is a subsequence $\mathbf{a'}$ of this subsequence, having length at least $\frac{f(\mathbf{a})}{2}$, such that either all elements of $\mathbf{a'}$ were selected in the move or none of the elements were selected (by PHP). In any case, $\mathbf{a'}$ remains non-increasing after the move, which proves the claim.

Now, if $k$ moves turn the sequence of all zeros strictly increasing, then $1 \geq \frac{n}{2^k}$ (since longest non-increasing subsequence in any strictly increasing sequence has length $1$). Therefore $k \geq \log_2(n)$, as required.


Bonus:
Suppose instead of all zeros, the initial sequence is some $a_1 \geq a_2 \geq \cdots \geq a_n$. Now, in terms of $n$ and the $a_i$, what is the minimum number of moves needed to make the sequence strictly increasing?
This post has been edited 2 times. Last edited by Supercali, Dec 16, 2024, 1:21 AM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
AshAuktober
1014 posts
#4 • 2 Y
Y by GeoKing, radian_51
Does this work? (for the original problem)

Claim: If answer for $n$ is $k$ then $2^k >= n$, i. e. $k \ge \lceil log_2(n)\rceil$
Proof: Let's say we add $t_1, t_2, ..., t_k$ in some order. These when summed in some order can give us at most $2^k$ values, and since all values above are to be distinct, $2^k >= n$

Claim: $k = \lceil \log_2(n) \rceil$ works.
Proof: It suffices to show this for $n = 2^a$, for which we give an inductive constructon.

$a = 0$ is obvious.
If you have a construction for $n = 2^a$, split $n = 2^{a+1}$ into a left side and right side of $2^a$ each.
Do the required operations on both the left and right side simultaneously to make them increasing; then do an operation on the entire right half to make its smallest element larger than the left side's largest, and we're done.
This post has been edited 1 time. Last edited by AshAuktober, Dec 14, 2024, 1:17 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
quantam13
126 posts
#5 • 2 Y
Y by GeoKing, radian_51
Headsolved by me and blessed by Nimloth149131215208 since there is a little of Nimloth149131215208 in all of us

Solution Sketch
The minimum is $\lceil \log_2(n) \rceil$.

Construction: Just simple binary works. $\blacksquare$

Proof of bound: For a sequence $\textbf{a}$, denote $\textbf{a}'$ as the after effect of applying the operation in some manner and denote $f(\textbf{a})$ as the length of the longest subsequence of $\textbf{a}$ that is non-increasing(constant also works). The key realisation(by PHP) is that $f(\textbf{a}')\ge \frac{f(\textbf{a})}{2}$ but that kills, indeed, if $k$ is the number of moves, we get that $\frac{n}{2^k}\le 1$, as desired

Alternate proof of bound due to Nimloth149131215208: Say we applied $k$ operations such that the end result is a strictly increasing sequence. For each of the $n$ elements in the list, consider the subset of the $k$ operations that acted on it. The key realisation is that no two different elements are associated to the same subset since that would contradict injectivity of the final sequence, and thus $2^k\ge n$, just as we desired.
This post has been edited 1 time. Last edited by quantam13, Dec 16, 2024, 2:53 AM
Reason: .
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
kotmhn
60 posts
#6
Y by
Solved with MathAssassin and Pi-oneer.

The minimum is $\lceil \log_2(n) \rceil$.

Construction:
Binary search works $\blacksquare$

Proof of minimality:
To get the logarithmic bound, we need the inequation
$$ f(n) \ge f\left(\frac{n}{2}\right) + 1$$So perform whatever first move you wish to. Then if the set you picked has $\le \frac{n}{2}$ elements, then consider the complement of that set to get the result. Else we are just done. So we have a constant subsequence that has length $\frac{n}{2}$, so it needs at least $f\left(\frac{n}{2}\right)$ moves to make it increasing. So the inequality holds, and we are done. $\blacksquare$
$QED$
This post has been edited 1 time. Last edited by kotmhn, Apr 28, 2025, 12:17 PM
Reason: i got to know the guy's aops
Z K Y
N Quick Reply
G
H
=
a