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

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

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

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

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

Introductory: Grades 5-10

Prealgebra 1 Self-Paced

Prealgebra 1
Wednesday, Jul 16 - Oct 29
Sunday, Aug 17 - Dec 14
Tuesday, Aug 26 - Dec 16
Friday, Sep 5 - Jan 16
Monday, Sep 8 - Jan 12
Tuesday, Sep 16 - Jan 20 (4:30 - 5:45 pm ET/1:30 - 2:45 pm PT)
Sunday, Sep 21 - Jan 25
Thursday, Sep 25 - Jan 29
Wednesday, Oct 22 - Feb 25
Tuesday, Nov 4 - Mar 10
Friday, Dec 12 - Apr 10

Prealgebra 2 Self-Paced

Prealgebra 2
Friday, Jul 25 - Nov 21
Sunday, Aug 17 - Dec 14
Tuesday, Sep 9 - Jan 13
Thursday, Sep 25 - Jan 29
Sunday, Oct 19 - Feb 22
Monday, Oct 27 - Mar 2
Wednesday, Nov 12 - Mar 18

Introduction to Algebra A Self-Paced

Introduction to Algebra A
Tuesday, Jul 15 - Oct 28
Sunday, Aug 17 - Dec 14
Wednesday, Aug 27 - Dec 17
Friday, Sep 5 - Jan 16
Thursday, Sep 11 - Jan 15
Sunday, Sep 28 - Feb 1
Monday, Oct 6 - Feb 9
Tuesday, Oct 21 - Feb 24
Sunday, Nov 9 - Mar 15
Friday, Dec 5 - Apr 3

Introduction to Counting & Probability Self-Paced

Introduction to Counting & Probability
Wednesday, Jul 2 - Sep 17
Sunday, Jul 27 - Oct 19
Monday, Aug 11 - Nov 3
Wednesday, Sep 3 - Nov 19
Sunday, Sep 21 - Dec 14 (1:00 - 2:30 pm ET/10:00 - 11:30 am PT)
Friday, Oct 3 - Jan 16
Sunday, Oct 19 - Jan 25
Tuesday, Nov 4 - Feb 10
Sunday, Dec 7 - Mar 8

Introduction to Number Theory
Tuesday, Jul 15 - Sep 30
Wednesday, Aug 13 - Oct 29
Friday, Sep 12 - Dec 12
Sunday, Oct 26 - Feb 1
Monday, Dec 1 - Mar 2

Introduction to Algebra B Self-Paced

Introduction to Algebra B
Friday, Jul 18 - Nov 14
Thursday, Aug 7 - Nov 20
Monday, Aug 18 - Dec 15
Sunday, Sep 7 - Jan 11
Thursday, Sep 11 - Jan 15
Wednesday, Sep 24 - Jan 28
Sunday, Oct 26 - Mar 1
Tuesday, Nov 4 - Mar 10
Monday, Dec 1 - Mar 30

Introduction to Geometry
Monday, Jul 14 - Jan 19
Wednesday, Aug 13 - Feb 11
Tuesday, Aug 26 - Feb 24
Sunday, Sep 7 - Mar 8
Thursday, Sep 11 - Mar 12
Wednesday, Sep 24 - Mar 25
Sunday, Oct 26 - Apr 26
Monday, Nov 3 - May 4
Friday, Dec 5 - May 29

Paradoxes and Infinity
Mon, Tue, Wed, & Thurs, Jul 14 - Jul 16 (meets every day of the week!)
Sat & Sun, Sep 13 - Sep 14 (1:00 - 4:00 PM PT/4:00 - 7:00 PM ET)

Intermediate: Grades 8-12

Intermediate Algebra
Sunday, Jul 13 - Jan 18
Thursday, Jul 24 - Jan 22
Friday, Aug 8 - Feb 20
Tuesday, Aug 26 - Feb 24
Sunday, Sep 28 - Mar 29
Wednesday, Oct 8 - Mar 8
Sunday, Nov 16 - May 17
Thursday, Dec 11 - Jun 4

Intermediate Counting & Probability
Sunday, Sep 28 - Feb 15
Tuesday, Nov 4 - Mar 24

Intermediate Number Theory
Wednesday, Sep 24 - Dec 17

Precalculus
Wednesday, Aug 6 - Jan 21
Tuesday, Sep 9 - Feb 24
Sunday, Sep 21 - Mar 8
Monday, Oct 20 - Apr 6
Sunday, Dec 14 - May 31

Advanced: Grades 9-12

Calculus
Sunday, Sep 7 - Mar 15
Wednesday, Sep 24 - Apr 1
Friday, Nov 14 - May 22

Contest Preparation: Grades 6-12

MATHCOUNTS/AMC 8 Basics
Tues & Thurs, Jul 8 - Aug 14 (meets twice a week!)
Sunday, Aug 17 - Nov 9
Wednesday, Sep 3 - Nov 19
Tuesday, Sep 16 - Dec 9
Sunday, Sep 21 - Dec 14 (1:00 - 2:30 pm ET/10:00 - 11:30 am PT)
Monday, Oct 6 - Jan 12
Thursday, Oct 16 - Jan 22
Tues, Thurs & Sun, Dec 9 - Jan 18 (meets three times a week!)

MATHCOUNTS/AMC 8 Advanced
Tues & Thurs, Jul 8 - Aug 14 (meets twice a week!)
Sunday, Aug 17 - Nov 9
Tuesday, Aug 26 - Nov 11
Thursday, Sep 4 - Nov 20
Friday, Sep 12 - Dec 12
Monday, Sep 15 - Dec 8
Sunday, Oct 5 - Jan 11
Tues, Thurs & Sun, Dec 2 - Jan 11 (meets three times a week!)
Mon, Wed & Fri, Dec 8 - Jan 16 (meets three times a week!)

AMC 10 Problem Series
Tues & Thurs, Jul 8 - Aug 14 (meets twice a week!)
Sunday, Aug 10 - Nov 2
Thursday, Aug 14 - Oct 30
Tuesday, Aug 19 - Nov 4
Mon & Wed, Sep 15 - Oct 22 (meets twice a week!)
Mon, Wed & Fri, Oct 6 - Nov 3 (meets three times a week!)
Tue, Thurs & Sun, Oct 7 - Nov 2 (meets three times a week!)

AMC 10 Final Fives
Friday, Aug 15 - Sep 12
Sunday, Sep 7 - Sep 28
Tuesday, Sep 9 - Sep 30
Monday, Sep 22 - Oct 13
Sunday, Sep 28 - Oct 19 (1:00 - 2:30 pm ET/10:00 - 11:30 am PT)
Wednesday, Oct 8 - Oct 29
Thursday, Oct 9 - Oct 30

AMC 12 Problem Series
Wednesday, Aug 6 - Oct 22
Sunday, Aug 10 - Nov 2
Monday, Aug 18 - Nov 10
Mon & Wed, Sep 15 - Oct 22 (meets twice a week!)
Tues, Thurs & Sun, Oct 7 - Nov 2 (meets three times a week!)

AMC 12 Final Fives
Thursday, Sep 4 - Sep 25
Sunday, Sep 28 - Oct 19
Tuesday, Oct 7 - Oct 28

AIME Problem Series A
Thursday, Oct 23 - Jan 29

AIME Problem Series B
Tuesday, Sep 2 - Nov 18

F=ma Problem Series
Tuesday, Sep 16 - Dec 9
Friday, Oct 17 - Jan 30

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


MathWOOT Level 1
MathWOOT Level 2
ChemWOOT
CodeWOOT
PhysicsWOOT


Programming

Introduction to Programming with Python
Thursday, Aug 14 - Oct 30
Sunday, Sep 7 - Nov 23
Tuesday, Dec 2 - Mar 3

Intermediate Programming with Python
Friday, Oct 3 - Jan 16

USACO Bronze Problem Series
Wednesday, Sep 3 - Dec 3
Thursday, Oct 30 - Feb 5
Tuesday, Dec 2 - Mar 3

Physics

Introduction to Physics
Tuesday, Sep 2 - Nov 18
Sunday, Oct 5 - Jan 11
Wednesday, Dec 10 - Mar 11

Physics 1: Mechanics
Sunday, Sep 21 - Mar 22
Sunday, Oct 26 - Apr 26
0 replies
jwelsh
Jul 1, 2025
0 replies
k i Adding contests to the Contest Collections
dcouchman   1
N Apr 5, 2023 by v_Enhance
Want to help AoPS remain a valuable Olympiad resource? Help us add contests to AoPS's Contest Collections.

Find instructions and a list of contests to add here: https://artofproblemsolving.com/community/c40244h1064480_contests_to_add
1 reply
dcouchman
Sep 9, 2019
v_Enhance
Apr 5, 2023
k i Zero tolerance
ZetaX   49
N May 4, 2019 by NoDealsHere
Source: Use your common sense! (enough is enough)
Some users don't want to learn, some other simply ignore advises.
But please follow the following guideline:


To make it short: ALWAYS USE YOUR COMMON SENSE IF POSTING!
If you don't have common sense, don't post.


More specifically:

For new threads:


a) Good, meaningful title:
The title has to say what the problem is about in best way possible.
If that title occured already, it's definitely bad. And contest names aren't good either.
That's in fact a requirement for being able to search old problems.

Examples:
Bad titles:
- "Hard"/"Medium"/"Easy" (if you find it so cool how hard/easy it is, tell it in the post and use a title that tells us the problem)
- "Number Theory" (hey guy, guess why this forum's named that way¿ and is it the only such problem on earth¿)
- "Fibonacci" (there are millions of Fibonacci problems out there, all posted and named the same...)
- "Chinese TST 2003" (does this say anything about the problem¿)
Good titles:
- "On divisors of a³+2b³+4c³-6abc"
- "Number of solutions to x²+y²=6z²"
- "Fibonacci numbers are never squares"


b) Use search function:
Before posting a "new" problem spend at least two, better five, minutes to look if this problem was posted before. If it was, don't repost it. If you have anything important to say on topic, post it in one of the older threads.
If the thread is locked cause of this, use search function.

Update (by Amir Hossein). The best way to search for two keywords in AoPS is to input
[code]+"first keyword" +"second keyword"[/code]
so that any post containing both strings "first word" and "second form".


c) Good problem statement:
Some recent really bad post was:
[quote]$lim_{n\to 1}^{+\infty}\frac{1}{n}-lnn$[/quote]
It contains no question and no answer.
If you do this, too, you are on the best way to get your thread deleted. Write everything clearly, define where your variables come from (and define the "natural" numbers if used). Additionally read your post at least twice before submitting. After you sent it, read it again and use the Edit-Button if necessary to correct errors.


For answers to already existing threads:


d) Of any interest and with content:
Don't post things that are more trivial than completely obvious. For example, if the question is to solve $x^{3}+y^{3}=z^{3}$, do not answer with "$x=y=z=0$ is a solution" only. Either you post any kind of proof or at least something unexpected (like "$x=1337, y=481, z=42$ is the smallest solution). Someone that does not see that $x=y=z=0$ is a solution of the above without your post is completely wrong here, this is an IMO-level forum.
Similar, posting "I have solved this problem" but not posting anything else is not welcome; it even looks that you just want to show off what a genius you are.

e) Well written and checked answers:
Like c) for new threads, check your solutions at least twice for mistakes. And after sending, read it again and use the Edit-Button if necessary to correct errors.



To repeat it: ALWAYS USE YOUR COMMON SENSE IF POSTING!


Everything definitely out of range of common sense will be locked or deleted (exept for new users having less than about 42 posts, they are newbies and need/get some time to learn).

The above rules will be applied from next monday (5. march of 2007).
Feel free to discuss on this here.
49 replies
ZetaX
Feb 27, 2007
NoDealsHere
May 4, 2019
A symmetric inequality in n variables (3)
Nguyenhuyen_AG   0
24 minutes ago
Let $a_1,a_2,\ldots,a_n (n \geqslant 1)$ be non-negative real numbers. Prove that
\[\sum_{i=1}^n \frac{\displaystyle a_i^2 \left( \sum_{j=1}^n a_j - a_i \right)^2}{\displaystyle \sum_{j=1}^n a_j^2 - a_i^2} \geq \left(\sum_{i=1}^n a_i\right)^2 - \sum_{i=1}^n a_i^2.\]Assume all denominators are non-zero.
0 replies
Nguyenhuyen_AG
24 minutes ago
0 replies
A symmetric inequality in n variables (2)
Nguyenhuyen_AG   2
N 42 minutes ago by Nguyenhuyen_AG
Let $a_1,a_2,\ldots,a_n (n \geqslant 2)$ be non-negative real numbers. Prove that
\[\sum_{i=1}^n \frac{\displaystyle a_i^2 \left( \sum_{j=1}^n a_j - a_i \right)}{\displaystyle \sum_{j=1}^n a_j^2 - a_i^2} \geq \sum_{i=1}^n a_i.\]Assume all denominators are non-zero.
2 replies
Nguyenhuyen_AG
3 hours ago
Nguyenhuyen_AG
42 minutes ago
Functional equation
proximo   13
N an hour ago by megarnie
Source: Belarusian Mathematical Olympiad 2017
Find all functions $f:\mathbb{R}^+ \rightarrow \mathbb{R}^+$, satisfying the following equation $$f(x+f(xy))=xf(1+f(y))$$for all positive $x$ and $y$
13 replies
proximo
Mar 31, 2017
megarnie
an hour ago
Othorcenter
luutrongphuc   0
an hour ago
Let $\triangle ABC$ and $\triangle A'B'C'$ be two triangles with a common orthocenter $H$. Prove that the lines $AA’, BB’,CC’$ are concurrent
0 replies
luutrongphuc
an hour ago
0 replies
Interesting inequality
sqing   4
N an hour ago by sqing
Source: Own
Let $ a,b >0  . $ Prove that
$$ \frac {2a+b} {2b+a}+ \frac {7b+a} {7a+b} \geq  \frac {24} {13}    $$$$ \frac {3a+b} {3b+a}+ \frac {17b+a} {17a+b}  \geq  \frac {48} {25}    $$$$  \frac {4a+b} {4b+a}+ \frac {31b+a} {31a+b}\geq  \frac {80} {41}    $$$$ \frac {5a+b} {5b+a}+ \frac {49b+a} {49a+b} \geq  \frac {120} {61}    $$
4 replies
1 viewing
sqing
5 hours ago
sqing
an hour ago
Interesting inequality
sqing   0
an hour ago
Source: Own
Let $a,b>0, $ Prove that
$$  1\geq \frac {a^5+2a^3b^2+2a^2b^3+b^5} {(a^3+ 2a^2b+2ab^2+b^3)( a^2+ b^2-ab) }\geq \frac{\sqrt 3}{2}$$$$ \frac{5}{9}\geq\frac {a^5+b^5} {(a^3+a^2b+ab^2+b^3)(2a^2+2b^2-3ab) } \geq \frac{1}{2}$$
0 replies
sqing
an hour ago
0 replies
Come frome \frac {a^5+b^5} {a^3+b^3} \geq a^2+b^2-ab
sqing   2
N an hour ago by sqing
Source: Own
Let $a,b>0, $ Prove that $$ \frac {a^5+a^3b^2+a^2b^3+b^5} {(a^3+a^2b+ab^2+b^3)( a^2+ b^2-ab) }=1$$
2 replies
sqing
6 hours ago
sqing
an hour ago
Useless identity
mashumaro   0
2 hours ago
Source: Own
Let $a_1$, $a_2$, $\dots$, $a_6$ be reals, and let $f(m, n) = \sum_{i=m}^{n} a_i$. Show that
\[ f(5,5)f(5,6) = f(2,4)f(3,4) = f(1,4)f(4,4) \implies f(1,1)f(1,2)f(4,5)f(4,6) = f(2,3)f(3,3)f(1,5)f(1,6) \]
0 replies
mashumaro
2 hours ago
0 replies
Find all possible values of BT/BM
va2010   57
N 2 hours ago by YaoAOPS
Source: 2015 ISL G4
Let $ABC$ be an acute triangle and let $M$ be the midpoint of $AC$. A circle $\omega$ passing through $B$ and $M$ meets the sides $AB$ and $BC$ at points $P$ and $Q$ respectively. Let $T$ be the point such that $BPTQ$ is a parallelogram. Suppose that $T$ lies on the circumcircle of $ABC$. Determine all possible values of $\frac{BT}{BM}$.
57 replies
va2010
Jul 7, 2016
YaoAOPS
2 hours ago
JBMO 2013 Problem 1
Igor   29
N 3 hours ago by LeYohan
Source: Proposed by Serbia
Find all ordered pairs $(a,b)$ of positive integers for which the numbers $\dfrac{a^3b-1}{a+1}$ and $\dfrac{b^3a+1}{b-1}$ are both positive integers.
29 replies
Igor
Jun 23, 2013
LeYohan
3 hours ago
Number theory
truongngochieu   0
3 hours ago
Prove that \[\tau\big(\varphi(n)\big) \geq \varphi\big(\tau(n)\big)\]with all integer n.
0 replies
truongngochieu
3 hours ago
0 replies
Interesting Succession
AlexCenteno2007   3
N 3 hours ago by evgeniy___
The sequence $\{a_n\}$ of integers is defined by
\[
-\frac{1}{2} < a_{n+1} - \frac{a_n^2}{a_{n-1}} \leq \frac{1}{2}
\]with $a_1 = 2$, $a_2 = 7$, prove that $a_n$ is odd for all values of $n \geq 2$.
3 replies
AlexCenteno2007
Yesterday at 6:21 PM
evgeniy___
3 hours ago
Evenish colorings
a_507_bc   7
N 3 hours ago by TigerOnion
Source: Australia MO 2024 P4
Consider a $2024 \times 2024$ grid of unit squares. Two distinct unit squares are adjacent if they share a common side. Each unit square is to be coloured either black or white. Such a colouring is called $\textit{evenish}$ if every unit square in the grid is adjacent to an even number of black unit squares. Determine the number of $\textit{evenish}$ colourings.
7 replies
a_507_bc
Feb 24, 2024
TigerOnion
3 hours ago
number theory
Hoapham235   0
3 hours ago
Let $x >  y$ be positive integer such that \[ \text{LCM}(x+2, y+2)+\text{LCM}(x, y)=2\text{LCM}(x+1, y+1).\]Prove that $x$ is divisible by $y$.
0 replies
1 viewing
Hoapham235
3 hours ago
0 replies
Weird Function
math_comb01   31
N Jul 13, 2025 by Cats_on_a_computer
Source: INMO 2024/4
A finite set $\mathcal{S}$ of positive integers is called cardinal if $\mathcal{S}$ contains the integer $|\mathcal{S}|$ where $|\mathcal{S}|$ denotes the number of distinct elements in $\mathcal{S}$. Let $f$ be a function from the set of positive integers to itself such that for any cardinal set $\mathcal{S}$, the set $f(\mathcal{S})$ is also cardinal. Here $f(\mathcal{S})$ denotes the set of all integers that can be expressed as $f(a)$ where $a \in \mathcal{S}$. Find all possible values of $f(2024)$
$\quad$
Proposed by Sutanay Bhattacharya
31 replies
math_comb01
Jan 21, 2024
Cats_on_a_computer
Jul 13, 2025
Weird Function
G H J
G H BBookmark kLocked kLocked NReply
Source: INMO 2024/4
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
math_comb01
665 posts
#1 • 1 Y
Y by GeoKing
A finite set $\mathcal{S}$ of positive integers is called cardinal if $\mathcal{S}$ contains the integer $|\mathcal{S}|$ where $|\mathcal{S}|$ denotes the number of distinct elements in $\mathcal{S}$. Let $f$ be a function from the set of positive integers to itself such that for any cardinal set $\mathcal{S}$, the set $f(\mathcal{S})$ is also cardinal. Here $f(\mathcal{S})$ denotes the set of all integers that can be expressed as $f(a)$ where $a \in \mathcal{S}$. Find all possible values of $f(2024)$
$\quad$
Proposed by Sutanay Bhattacharya
This post has been edited 2 times. Last edited by math_comb01, Jan 21, 2024, 12:48 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
ATGY
2502 posts
#2
Y by
f = 1 or f(x) = x?
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
bnumbertheory
14 posts
#3
Y by
Redacted
This post has been edited 1 time. Last edited by bnumbertheory, Jan 21, 2024, 12:30 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
kamatadu
483 posts
#4
Y by
bnumbertheory wrote:
math_comb01 wrote:
A finite set $\mathcal{S}$ of positive integers is called cardinal if $\mathcal{S}$ contains the integer $|\mathcal{S}|$ where $|\mathcal{S}|$ denotes the number of distinct elements in $\mathcal{S}$. Let $f$ be a function from the set of positive integers to itself such that for any cardinal set $\mathcal{S}$, the set $f(\mathcal{S})$ is also cardinal. Here $f(\mathcal{S})$ denotes the set of all integers that can be expressed as $f(a)$ where $a \in \mathcal{S}$. Find all possible values of $f(2024)$

Does this work or am I misunderstanding the problem?

We see that $f(\mathcal{S}) \equiv \{ 1\}$ is trivially a solution. Assume non-constant functions $f$. We claim that $f(x) = x$ is the only such solution. We induct on $|\mathcal{S}|$. Consider $\mathcal{S} = \{ 1 \}$. It follows that $|f(\mathcal{S})| = 1$ which forces $f(1) = 1$. Let $f(x) = x$ for all $x \leq n$. Consider $\mathcal{S} = \{ 1, 2 \dots n+1 \}$. It is cardinal. Thus, $f(\mathcal{S}) = \{ 1,  2, 3 \dots n, f(n+1) \}$ is also cardinal, which forces $f(n+1) = n+1$.

It does not. I fakesolved in a similar way. I'll tell why a bit later.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
bnumbertheory
14 posts
#5
Y by
kamatadu wrote:
bnumbertheory wrote:
math_comb01 wrote:
A finite set $\mathcal{S}$ of positive integers is called cardinal if $\mathcal{S}$ contains the integer $|\mathcal{S}|$ where $|\mathcal{S}|$ denotes the number of distinct elements in $\mathcal{S}$. Let $f$ be a function from the set of positive integers to itself such that for any cardinal set $\mathcal{S}$, the set $f(\mathcal{S})$ is also cardinal. Here $f(\mathcal{S})$ denotes the set of all integers that can be expressed as $f(a)$ where $a \in \mathcal{S}$. Find all possible values of $f(2024)$

Does this work or am I misunderstanding the problem?

We see that $f(\mathcal{S}) \equiv \{ 1\}$ is trivially a solution. Assume non-constant functions $f$. We claim that $f(x) = x$ is the only such solution. We induct on $|\mathcal{S}|$. Consider $\mathcal{S} = \{ 1 \}$. It follows that $|f(\mathcal{S})| = 1$ which forces $f(1) = 1$. Let $f(x) = x$ for all $x \leq n$. Consider $\mathcal{S} = \{ 1, 2 \dots n+1 \}$. It is cardinal. Thus, $f(\mathcal{S}) = \{ 1,  2, 3 \dots n, f(n+1) \}$ is also cardinal, which forces $f(n+1) = n+1$.

It does not. I fakesolved in a similar way. I'll tell why a bit later.

Nvm I am high. Got it. Let me solve it now.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
bnumbertheory
14 posts
#6
Y by
math_comb01 wrote:
A finite set $\mathcal{S}$ of positive integers is called cardinal if $\mathcal{S}$ contains the integer $|\mathcal{S}|$ where $|\mathcal{S}|$ denotes the number of distinct elements in $\mathcal{S}$. Let $f$ be a function from the set of positive integers to itself such that for any cardinal set $\mathcal{S}$, the set $f(\mathcal{S})$ is also cardinal. Here $f(\mathcal{S})$ denotes the set of all integers that can be expressed as $f(a)$ where $a \in \mathcal{S}$. Find all possible values of $f(2024)$

What can the function $f(x) = 1$ for all $x \neq c$ and $f(x) = 2$ for $x = c$ for some $c \neq 1$ work?
This post has been edited 1 time. Last edited by bnumbertheory, Jan 21, 2024, 12:36 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
ATGY
2502 posts
#7
Y by
What if $f(1, \dots, 2023) = 1$ and $f(2024) = 2$?
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
math_comb01
665 posts
#8 • 2 Y
Y by everythingpi3141592, D_S
The answer is $f(2024)=1,2,2024$ which can be proved by lots of casework.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Anulick
178 posts
#9 • 2 Y
Y by GeoKing, Mathlover112358
Maybe the easiest question. Dies to observation.
$f(x)=1$ gives a cardinal set every time. This is rather easy to note. Let's take $f(x) \neq c$.
Let's consider the set $S=\{1\}$. This forces $f(1)=1$.
Let's now consider the set $S=\{a,2\}$ where $a \neq 2$. This means either $f(a)=2$ or $f(2)=2$ but not both. As $a$ can be any real number, this is claiming that $f(x)=2, x \neq 2$ which will be false the moment we consider $S=\{a,b,3\}$. Thus, we have $f(2)=2$.
Similarly, thus we will have $f(x)=x$ as a solution.
Finally, $f(x)=1, x \in [1,2023] \cup [2025, \infty]$ and $f(2024)=2$ also works. We cannot repeat this for more numbers as the set $(a,2)$ will get violated.
Thus, $f(2024)=1,2,2024$.
This post has been edited 1 time. Last edited by Anulick, Jan 21, 2024, 12:52 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
anantmudgal09
1980 posts
#10 • 1 Y
Y by Samujjal101
Proposed by Sutanay Bhattacharya
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Anulick
178 posts
#11
Y by
ATGY wrote:
What if $f(1, \dots, 2023) = 1$ and $f(2024) = 2$?

I have changed my answer.
This post has been edited 1 time. Last edited by Anulick, Jan 21, 2024, 12:49 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
mannshah1211
654 posts
#12
Y by
Anulick wrote:
ATGY wrote:
What if $f(1, \dots, 2023) = 1$ and $f(2024) = 2$?

What if $f(1, \dots, 2022) = 1; f(2023)=2$ and $f(2024) = 3$? We can then have it take any value from 1 to 2024.

This doesn't satisfy the properties of the problem.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
lelouchvigeo
185 posts
#13 • 1 Y
Y by S_14159
math_comb01 wrote:
The answer is $f(2024)=1,2,2024$ which can be proved by lots of casework.

I have got the same answer as this :D
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
bnumbertheory
14 posts
#14
Y by
Anulick wrote:
Maybe the easiest question. Dies to observation.
$f(x)=1$ gives a cardinal set every time. This is rather easy to note. Let's take $f(x) \neq c$.
Let's consider the set $S=\{1\}$. This forces $f(1)=1$.
Let's now consider the set $S=\{a,2\}$ where $a \neq 2$. This means either $f(a)=2$ or $f(2)=2$ but not both. As $a$ can be any real number, this is claiming that $f(x)=2, x \neq 2$ which will be false the moment we consider $S=\{a,b,3\}$. Thus, we have $f(2)=2$.
Similarly, thus we will have $f(x)=x$ as a solution.
Finally, $f(x)=1, x \in [1,2023] \cup [2025, \infty]$ and $f(2024)=2$ also works. We cannot repeat this for more numbers as the set $(a,2)$ will get violated.
Thus, $f(2024)=1,2,2024$.

What if $f(2) = f(a) = 1$?
This post has been edited 1 time. Last edited by bnumbertheory, Jan 21, 2024, 12:56 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
ATGY
2502 posts
#15
Y by
wrong btw
This post has been edited 2 times. Last edited by ATGY, Feb 23, 2024, 4:24 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
megarnie
5717 posts
#17 • 2 Y
Y by Anchovy, ATGY
Solved with Anchovy.

The answer is $\boxed{1,2,2024}$. The construction for $1$ is $f\equiv 1$, the construction for $2$ is $f(x) = 1\forall x \ne 2024$ and $f(2024) = 2$, and the construction for $2024$ is $f(x) = x$. We can check that these work. Now we prove they are the only possibilities for $f(2024)$. Suppose we had $f(2024) \not \in \{1,2,2024\}$.

Then $f$ isn't constant or identity. Let $f(2024) = n$.

By choosing $S = \{1\}$, we see that $f(1) = 1$. Let $k$ be the smallest positive integer with $f(k) \ne k$. Clearly $k \le 2024$.

Consider the cardinal set $\{1,2,\ldots, k\}$. We must have $\{1, 2, \ldots, k - 1, f(k)\}$ cardinal, so $f(k) < k$ (because if $f(k) > k$ it would have $k$ elements but not the element $k$).

Now for any $m > k$, we may consider the set $S = \{1, 2, \ldots, k, m \} \setminus \{f(k)\}$. Notice that this set must be cardinal, so the set $f(S) = \{1, 2, \ldots, k-1, f(m)\}$ is also cardinal. This implies that $f(m) \le k$ for each $m > k$. In particular we have $2< n < 2024$.

Now, since $ 2< n \le k$, we have $1, 2, \ldots, n-2, n, 2024$ is cardinal. Since $1, 2, \ldots, n - 2$ are fixed points, we have $1, 2, \ldots, n - 2, f(n), n$ is cardinal. If $n < k$, then $f(n) = n$, so $1, 2, \ldots, n -2, n$ is cardinal, which is false since it has $n - 1$ elements. Therefore, we have $n = k$ and $f(n) = n - 1$. If $n > 4$, then since $f(3) = 3$, we can consider the set $S = \{3,n-1,n\}$ and get $\{3, n-1\}$ is cardinal, which is absurd. If $n = 4$, then $S = \{3,4,2024\}$ gives that $\{3, 4\}$ is cardinal, which is false. If $n = 3$, then $f(2) = f(3) = 2$, so considering $S = \{2,3\}$ gives that $f(S) = \{2\}$ must be cardinal, which is false.

Therefore, we must have $n\in \{1,2,2024\}$, so we are done.
This post has been edited 1 time. Last edited by megarnie, Jan 21, 2024, 5:54 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
cj13609517288
1939 posts
#18 • 1 Y
Y by ATGY
Sketch:

Answers are $\boxed{1,2,2024}$.
Suppose range is infinite set and some not fixed point and choose a set with that number of that size -> $f(x)=x$ or $f$'s range is a finite set
Choose a set of size larger than range of $f$ with cardinality something that maps to not $1$ and make everything in the set map to the same thing -> $f$ reaches everything besides $1$ finitely many times, so $1$ is reached infinitely many times
Get something that maps to {1,1,...,1,>2} -> $f$ cannot reach anything above $2$

Constructions: $f(x)=1$, $f(x)=x$, and $f(x)=1$ when $x\ne 2024$ and $f(2024)=2$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
LLL2019
834 posts
#19 • 2 Y
Y by GeoKing, mannshah1211
Headsolved in half an hour:

We claim that either $f(n)\in \{1, 2\}$ for all $n\leq N$, or $f(n)=n$ for all $3\leq n\leq N$, for any value of $N$. Then, we see the answer must be $1$, $2$, or $2024$. These can be constructed as follows: $f(n)=1$, $f(n)=1+\delta_{n, 2024}$, and $f(n)=n$. In other words, we only need to prove our claim.

First, considering $\mathcal{S}=\{1\}$, we see $f(1)=1$. Considering $\{1, 2\}$, $f(2)$ must either be $1$ or $2$. Considering $\{1,2,3\}$, $f(3)$ must either be $1$, $2$, or $3$. Let us now prove our claim by induction. It is true for $N=3$. Assume it is true for $N=k$. Then:

Case 1: $f(n)\in \{1, 2\}$ for all $n\leq k$.
By considering $\{1, 2, \dots, k+1\}$, we must have $f(k+1)\leq 3$. If $f(k+1)=3$, considering $\{2, k+1\}$, we see $f(2)=2$. Considering $\{2,3\}$, we also see that $f(3)=1$. However, we now have a contradiction from $\{1,3,k+1\}$. Thus, $f(k+1)\leq 2$, as wanted.

Case 2: $f(n)=n$ for all $3\leq n\leq k$.
Considering $\{2,3\}$, we must have $f(2)=2$. Thus, $f(n)=n$ for all $n\leq k$. Considering $\{1,2,\dots, k+1\}$, we must have $f(k+1)\leq k+1$. However, if $2<f(k+1)=i<k+1$, we can see from $\{1, \dots, i-2, i, k+1\}$ a contradiction. If $f(k+1)=2$, considering $\{2, k+1\}$ gives a contradiction, and if $f(k+1)=1$, considering $\{1,3,k+1\}$ yields a contradiction. Thus, $f(k+1)=k+1$ is required.

This completes our induction.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
D_S
105 posts
#21
Y by
@anantmudgal09 I'm getting around 55 or so. Will I be able to get into IMO TC?
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
mannshah1211
654 posts
#23
Y by
D_S wrote:
@anantmudgal09 I'm getting around 55 or so. Will I be able to get into IMO TC?

I don't think he knows the cutoff yet ;), but probably yes if you aren't in 12th. If you are in 12th, I don't know.
This post has been edited 1 time. Last edited by mannshah1211, Jan 22, 2024, 7:55 AM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
D_S
105 posts
#24
Y by
mannshah1211 wrote:
D_S wrote:
@anantmudgal09 I'm getting around 55 or so. Will I be able to get into IMO TC?

I don't think he knows the cutoff yet ;), but probably yes if you aren't in 12th. If you are in 12th, I don't know.

I'm in 10th, and cutoffs were low for last year, but this year the paper was relatively easy...
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
mannshah1211
654 posts
#25
Y by
Well, last year getting 19 was pretty easy, but the cutoff was still 19, so just don't stress about it too much :D
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
ZVFrozel
29 posts
#26 • 3 Y
Y by D_S, Siddharthmaybe, quantam13
Here is a really slick solution, different from the one I found during the contest (though I came out of the exam hall thinking about this).

We prove that $f(2024) = 1, 2, 2024$:
  • Let $a \sim b$ if and only if $f(a) = f(b)$.
  • Suppose $f(2024) \neq 2024$.
  • Then there are finitely many equivalence classes.
  • The only infinite equivalence class is the set satisfying f(n) ₌ 1.
  • Let $S$ be a set of $2023$ integers satisfying $f(n) = 1$.
  • $S \cup {2024}$ is cardinal, and its image under $f$ is $\{1, f(2024)\}$.
  • Thus $\{1, f(2024)\}$ is cardinal, which means $f(2024) = 1, 2$.
This post has been edited 3 times. Last edited by ZVFrozel, Apr 10, 2025, 5:32 AM
Reason: latexation
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
NTguy
28 posts
#27 • 2 Y
Y by Samujjal101, ATGY
My solution -
Observe $f(1) = 1$. Now, $f(2)$ can be 1 or 2.
Case 1 - Assume $f(2) = 1$
Since the set $\{2,k\}$ is cardinal $\forall k \in \mathbb{N}$ (other than 2), we can say that $f(2024)$ is either 1 or 2.
Case 2 - Assume $f(2) = 2$
Since $\{2,k\}$ is cardinal $\forall k \in \mathbb{N}$ (other than 2), $\{f(2),f(k)\}$ is also cardinal forcing $f(k) \neq 2$, $\forall k \neq 2$.
We have $f(3) = 1$ or $3$
Case 2a - Assume $f(3) = 1$
The set $\{1,3,k\}$ is cardinal $\forall k \in \mathbb{N}$ (other than 1 and 3). This implies the set $\{1,1,f(k)\}$ is also cardinal forcing $f(k) = 1$ or $2$, but since $2024 \neq 2, f(2024) = 1$
Case 2b - Assume $f(3) = 3$
Claim - $f(n) = n$
Proof -
We know $f(1) = 1$
Assume $f(i) = i$, $\forall i \in \{1,\dots, k\}$. Now consider $k+1$.
Let $f(k+1) = c \leq k$, so $c \in \{1,\dots,k\}$. Consider the set $\{1,2,\dots,c-3,c-2,c,k+1\}$. Clearly this set is cardinal.
This implies $\{f(1),f(2),\dots,f(c-3),f(c-2),f(c),f(k+1)\}$ is cardinal. But that means the set $\{1,2,\dots,c-3,c-2,c,c\}$ is cardinal which is clearly false (only $c-1$ distinct elements). Contradiction, so $f(k+1) \geq k+1$.
The set $\{1,2,\dots,k,k+1\}$ is cardinal, so $\{f(1),f(2),\dots,f(k),f(k+1)\}$ is cardinal.
This means $\{1,2,\dots,k,f(k+1)\}$ is cardinal. This set has $k+1$ distinct elements, so $f(k+1) = k+1$
Hence by induction $f(n) = n$, $\forall n \in \mathbb{N}$. So $f(2024) = 2024$.

Hence proved $f(2024)$ can have 3 values - $1,2,2024$
This post has been edited 4 times. Last edited by NTguy, Jan 23, 2024, 9:19 AM
Reason: lol
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Sammy27
86 posts
#28 • 4 Y
Y by Eka01, ATGY, kamatadu, alexanderhamilton124
Claim: $f(2024)\in\boxed{\{1, 2, 2024\}}.$

It is easy to see that $f(\{1\})=\{f(1)\}$ and $f(1)=1$.
Now, $f:\{1,2\}\rightarrow\{1,f(2)\}\implies f(2)=1$ or $f(2)=2$.

Define a set $T=\{k:f(k)=2\}$, not necessarily be non-empty.
Lemma 1: $|T|\leq\min(T)-1$.
Proof: Suppose not. If $|T|\geq\min(T)$, then we choose $V\subset T$ where $\min(T)\in V$ and $|V|=\min(T)$. Evidently, $V$ is cardinal. So, $f:V\rightarrow\{2\}$, but $\{2\}$ is not cardinal, a contradiction. $\blacksquare$

Case 1: $f(2)=1$.
We see that the codomain of $f$ is hence restricted to $\{1,2\}$.
Proof: Suppose there exists $x$ such that $f(x)\geq3$. Then $f:\underbrace{\{2,x\}}_{\text{2 elements}}\rightarrow\underbrace{\{1,f(x)\}}_{\text{2 elements}}$, but $\{1, f(x)\}$ is not cardinal, a contradiction. $\blacksquare$

Case 2: $f(2)=2$.
Note that $f(3)\neq2$ by lemma 1, and $f:\{1,2,3\}\rightarrow\{1,2,f(3)\}\implies$ either $f(3)=1$ or $f(3)=3$.

Subcase 1: $f(3)=1$.
Again, we see that the codomain of $f$ is restricted to $\{1,2\}$.
Proof: Suppose there exists $x$ such that $f(x)\geq3$. Then $f:\underbrace{\{1,3,x\}}_{\text{3 elements}}\rightarrow\underbrace{\{1,f(x)\}}_{\text{2 elements}}$, but $\{1, f(x)\}$ is not cardinal, a contradiction. $\blacksquare$

Therefore, combining the results of the cases above, we get a viable family of functions satisfying the criteria:
$f(T)=\{2\}$ where $T=\{k:f(k)=2\}$ and $|T|\leq\min(T)-1$ and $f(\mathbb{N}-T)=\{1\}$. It is easy to verify that they indeed work.
From here, we can construct $f$ accordingly. If $T=\phi$, then $f(n)=1$ for all $n\in\mathbb{N}$ and $\boxed{f(2024)=1}$. If $T=\{2024\}$, then $f(n)=1$ for all $n\in\mathbb{N}-\{2024\}$ and $\boxed{f(2024)=2}$.

Subcase 2: $f(3)=3$.
If so, we claim that $f(n)=n$ for all $n\in\mathbb{N}$. We proceed by induction. We have already covered the base cases $n=1, 2$ and $3$. Now, suppose $f(i)=i$ for all $i\in\{1, 2,\dots, k\}$.
Lemma 2: $f(k+1)\leq k+1$.
Proof: For the sake of contradiction, suppose $f(k+1)>k+1$. But then
$$f:\underbrace{\{1, 2,\dots, k-1, k, k+1\}}_{\text{k+1 elements}}\rightarrow\underbrace{\{1, 2,\dots, k-1, k, f(k+1)\}}_{\text{k+1 elements}}$$and the latter cannot be a cardinal set, a contradiction. $\blacksquare$

Let us assume for the sake of contradiction that $f(k+1)=l$, where $l\in\{1, 2,\dots, k-1, k\}$ to be consistent with lemma 2.
If $l=1$, then
$$f:\underbrace{\{1, 2,\dots, k-2, k, k+1\}}_{\text{k elements}}\rightarrow\underbrace{\{1, 2,\dots, k-2, k\}}_{\text{k-1 elements}}$$but the latter is not cardinal, which is impossible.
If $l=2$, then
$$f:\{2, k+1\}\rightarrow\{2\}$$but the latter is not cardinal, which is impossible.
If $3\leq l \leq k$, then
$$f:\underbrace{\{1, 2,\dots, l-2, l, k+1\}}_{\text{l elements}}\rightarrow\underbrace{\{1, 2,\dots, l-2, l\}}_{\text{l-1 elements}}$$but the latter is not cardinal, which is impossible.
Therefore, $f(k+1)=k+1$ is forced and $f(n)=n$ for all $n\in\mathbb{N}$ inductively, which certainly works. $\blacksquare$
From here, we get $\boxed{f(2024)=2024}$ as another possibility.

Hence, we must have $f(2024)\in\{1, 2, 2024\}$, 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.
sansgankrsngupta
164 posts
#29
Y by
OG!
It is clear that $f(1)=1$, now $f({1,2})={1,f(2)} \implies f(2)=1$ or 2 ,

Case1: $f(2)=1$, then $f({2,2024})={1,f(2024)}\implies f(2024)=1$ or 2.

Case2: $f(2)=2$
Note that $f(3) \neq 2$ as if $f(3)=2$, then $f({2,3})= {2,2}$ is not cardinal.
Case2a: $f(3)=1$
Now we prove that $f(n)=1$, for all $n \geq 3$ using stong induction on $n$ with $n=3$ being trivial. ASSUME holds for $n=3,4...k$.
ASSUME $f(k+1)>1$, then consider the cardinal set ${1,3,....k,k+1}$. Thus the set $N=f({1,3,....k,k+1})={f(1),f(3)...f(k),f(k+1)}$ is cardinal. If $f(k+1)>2$ So, set $N$ is not cardinal. Thus $f(k+1)=2$, however then the set $f({2,k+1})= {2,2}$ is not cardinal, though it was to be cardinal as ${2,k+1}$ is cardinal. Thus $f(k+1)=1$, completing our induction and thus we get $f(2024)=1$ in this case.
Case2a: $f(3)=3$
Now we prove that $f(n)=n$, for all $n \geq 3$ using stong induction on $n$ with $n=3$ being trivial. If it holds for $n=3,4...k$ then

let $f(k+1)=m$. If $m>k+1$, then consider the cardinal set $S={1,2,3....k,k+1}$, then the set $f(S)={1,2,3....k,m}$
, where $m>k+1$, thus $f(S)$ is clearly not cardinal.
If $2< m < k+1$, then consider the cardinal set $L={1,2,....m-2,m,k+1}$, then the set $f(L)={1,2,3....m-2,m,m}$
, where $m>k+1$, thus $f(S)$ is clearly not cardinal.
If $f(k+1)=2$, then consider the cardinal set $M={2,k+1}$, then the set $f(M)={2,2}$ is clearly not cardinal.
If $f(k+1)=1$, then consider the cardinal set $X={1,3,k+1}$, then the set $f(X)={1,3,1}$ is clearly not cardinal.
Thus, $f(k+1)=k+1$ and our induction is complete. So we get $f(2024)=2024$

Hence we get 3 proosible values 1,2, 2024.
Now, to prove that these are achievable, consider $f(x)$ as
(1)$f(x)=1$ for all $x \in Z-{2024}$ and $f(2024)=2$ and (2) $f(x)=1$ for all $x \in Z$.
(3) $f(x)=x$ for all $x \in Z$.

It is easy to see that all the constructions works, making 1,2,2024 achievable values.
This $f(2024)=1,2$ or $2024$.
This post has been edited 1 time. Last edited by sansgankrsngupta, Oct 20, 2024, 6:54 AM
Reason: -
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Cali.Math
128 posts
#30
Y by
We uploaded our solution https://calimath.org/pdf/INMO2024-4.pdf on youtube https://youtu.be/4ZRngVZY7B8.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
amogususususus
374 posts
#31
Y by
The answer is $f(2024)=1,2$ or $2024$, $f(2024)=1$ achievable by $f(n)=1 \ \forall \ n \in \mathbb{N}$. And $f(2024)=2024$ is achievable by $f(n)=n \ \forall n \in \mathbb{N}$, while $f(2024)=2$ is achievable by
$$f(n)=1 \ \forall \ n\in \mathbb{N} \setminus \{2024\}, \ f(2024)=2$$. Clearly these constructions are valid, now let's prove $f(2024)$ cannot take any other values. Notice that, since $f: \mathbb{N} \rightarrow \mathbb{N}$, either $f$ is bounded or unbounded.

For notation purposes, let $A\cong B$ means that $A$ is a set which contains every distinct element of a multiset $B$ exactly once. For example $\{1,2\} \cong \{1,1,2\}$.
Case 1. $f$ is unbounded
Note that we can choose natural numbers $2024<a_1<a_2<\cdots<a_{2023}$ that satisfy
$$max\{f(2024),2024\}<f(a_1)<f(a_2)<\cdots<f(a_{2023})$$. Since $\{2024,a_1,a_2,\cdots,a_{2023}\}$ is cardinal, the set $\{f(2024),f(a_1),f(a_2),\cdots,f(a_{2023})\}$ is also cardinal. Clearly $\{f(2024),f(a_1),f(a_2),\cdots,f(a_{2023})\}$ contains $2024$ elements, so it must be the case that $f(2024)=2024$.
Case 2. $f$ is bounded
Since $f$ is bounded, there exist $M \in \mathbb{N}$ where there are infinitely many $x \in \mathbb{N}$ that satisfy $f(x)=M$. We can choose natural numbers $2024<b_1<b_2<\cdots<b_{2023}$ that satisfy
$$f(b_1)=f(b_2)=\cdots=f(b_{2023})=M$$. Note that $\{2024,b_1,b_2,\cdots,b_{2023}\}$ is cardinal. If $f(2024)=M$, then the set $\{M\} \cong \{f(2024),f(b_1),f(b_2),\cdots ,f(b_{2023}) \}$ is also cardinal which forces $M=1$, this yields $f(2024)=1$. If $f(2024)\neq M$, then the set $\{f(2024), M\} \cong \{f(2024),f(b_1),f(b_2),\cdots,f(b_{2023})\}$ yields $f(2024)=2$ or else $M=2$. It suffices to prove that $M \neq 2$

FTSOC, assume $M=2$. Then for any $m \in \mathbb{N} \setminus \{1 \}$, we can choose natural numbers $m<c_1<c_2<\cdots c_{m-1}$ such that
$$f(c_1)=f(c_2)=\cdots=f(c_{m-1})=2$$. Note that the set $\{ m,c_1,c_2,\cdots, c_{m-1}\}$ is cardinal. If $f(m)=2$ for some $m \in \mathbb{N} \setminus \{1 \}$, then the set $\{2 \} \cong \{ f(m), f(c_1),f(c_2),\cdots, f(c_{m-1})\}$ is cardinal. A contradiction, that means $f(m)\neq 2$ for all $m \in \mathbb{N} \setminus \{1 \}$. Which is absurd.

Hence $f(2024)=1$ or $2$.
Since we have exhausted all cases, we are done.
This post has been edited 3 times. Last edited by amogususususus, Dec 31, 2024, 3:41 AM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
little-fermat
147 posts
#32 • 1 Y
Y by JARP091
I have discussed this question in my INMO 2024 video on my channel "little fermat". Here is the Video
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Adywastaken
110 posts
#33
Y by
$S=\{1\}\implies f(1)=1$
$S=\{1,2\}\implies f(2)\ \in \{1,2\}$
If $f(2)=1$, $S=\{2,2024\}\implies f(2024)\in \{1,2\}$.

From now, assume $f(2)=2$, $f(2024)\neq 1,2$
If $f(3)=2$, $S=\{2,3\}\implies \{2,2\}$ is cardinal, $\Rightarrow\Leftarrow$.
If $f(3)=1$, $S=\{1,3,2024\}\implies \{1,f(2024)\}$ is cardinal, so $f(2024)=1,2$, $\Rightarrow \Leftarrow$.
$S={1,2,3}\implies {1,2,f(3)}$ is cardinal, so $f(3)=3$.

Now, we claim $f(n)=n \ \forall \ n \ \in \ \mathbb{N}$.
Say $f(1)=1, f(2)=2, \dots, f(k)=k$.
FTSOC $f(k+1)\le k$.
$S=\{1,2,\dots,a-2,a,k+1\}\implies \{1,2,\dots,a-2,a,f(k+1)\}$ is cardinal, so $f(k+1)\neq 1,2,\dots,a-2,a \ \forall \ 2 \le a \le k$.
And, $S=\{1,2,\dots,k,k+1\}\implies \{1,2,\dots,k,f(k+1)\}$ is cardinal, so $f(k+1)=k+1$.

Thus, $\boxed{f(2024)\in \{1,2,2024\}}$.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
heheman
1094 posts
#34
Y by
was i the only one who found this a bit tedious? it was really caseworky
solution

comments
This post has been edited 4 times. Last edited by heheman, Jun 7, 2025, 4:39 AM
Reason: add comments
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Cats_on_a_computer
76 posts
#35
Y by
Let \(n\ge1\). The set \(S=\{1,2,\dots,n\}\) has \(n\) elements, so \(f(S)\) has at most \(n\) distinct values. Hence
\[
1\;\le\;f(n)\;\le\;n.
\]


If \(f\) is injective, then \(f(1)=1\) (apply to \(S=\{1\}\)). An easy induction shows
\[
f(n)=n
\quad\forall n,
\]and in particular \(f(2024)=2024\).



Suppose \(f\) is not injective, so there exist \(a<b\) with
\[
f(a)=f(b)=r>1.
\]Consider the set
\[
T=\{a,a+1,\dots,b\},
\]which has \(|T|=b-a+1\). Since the only collision in \(T\) is at \(a\) and \(b\), one sees
\[
\bigl|f(T)\bigr| \;=\; |T|-1 \;=\; b-a.
\]But \(f(T)\) must be cardinal, so \(\lvert f(T)\rvert\in f(T)\). The only guaranteed value in \(f(T)\) coming from that collision is \(r\), so
\[
b-a \;=\; r.
\]Hence any repeated value must equal the distance between its two preimages. In particular, if \(r\ge3\) then \(b=a+r\ge a+3\) but one checks this clashes with the bound \(f(b)\le b\). Therefore the only possible non-injective values are
\[
r=1\quad\text{or}\quad r=2,
\]and so
\[
f(n)\in\{1,2\}
\quad\text{for all }n.
\]In particular \(f(2024)\in\{1,2\}\).


Combining the two cases shows
\[
\boxed{f(2024)\in\{1,2,2024\}}.
\]
Z K Y
N Quick Reply
G
H
=
a