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

G
Topic
First Poster
Last Poster
k a April Highlights and 2025 AoPS Online Class Information
jlacosta   0
Apr 2, 2025
Spring is in full swing and summer is right around the corner, what are your plans? At AoPS Online our schedule has new classes starting now through July, so be sure to keep your skills sharp and be prepared for the Fall school year! Check out the schedule of upcoming classes below.

WOOT early bird pricing is in effect, don’t miss out! If you took MathWOOT Level 2 last year, no worries, it is all new problems this year! Our Worldwide Online Olympiad Training program is for high school level competitors. AoPS designed these courses to help our top students get the deep focus they need to succeed in their specific competition goals. Check out the details at this link for all our WOOT programs in math, computer science, chemistry, and physics.

Looking for summer camps in math and language arts? Be sure to check out the video-based summer camps offered at the Virtual Campus that are 2- to 4-weeks in duration. 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 events:
[list][*]April 3rd (Webinar), 4pm PT/7:00pm ET, Learning with AoPS: Perspectives from a Parent, Math Camp Instructor, and University Professor
[*]April 8th (Math Jam), 4:30pm PT/7:30pm ET, 2025 MATHCOUNTS State Discussion
April 9th (Webinar), 4:00pm PT/7:00pm ET, Learn about Video-based Summer Camps at the Virtual Campus
[*]April 10th (Math Jam), 4:30pm PT/7:30pm ET, 2025 MathILy and MathILy-Er Math Jam: Multibackwards Numbers
[*]April 22nd (Webinar), 4:00pm PT/7:00pm ET, Competitive Programming at AoPS (USACO).[/list]
Our full course list for upcoming classes is below:
All classes run 7:30pm-8:45pm ET/4:30pm - 5:45pm PT unless otherwise noted.

Introductory: Grades 5-10

Prealgebra 1 Self-Paced

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

Prealgebra 2 Self-Paced

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

Introduction to Algebra A Self-Paced

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

Introduction to Counting & Probability Self-Paced

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

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

Introduction to Algebra B Self-Paced

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

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

Intermediate: Grades 8-12

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

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

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

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

Advanced: Grades 9-12

Olympiad Geometry
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
Wednesday, Apr 16 - Jul 2
Friday, May 23 - Aug 15
Monday, Jun 2 - Aug 18
Thursday, Jun 12 - Aug 28
Sunday, Jun 22 - Sep 21
Tues & Thurs, Jul 8 - Aug 14 (meets twice a week!)

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

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

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

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

AMC 12 Final Fives
Sunday, May 18 - Jun 15

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

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


MathWOOT Level 1
MathWOOT Level 2
ChemWOOT
CodeWOOT
PhysicsWOOT

Programming

Introduction to Programming with Python
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
Sat & Sun, Apr 26 - Apr 27 (4:00 - 7:00 pm ET/1:00 - 4:00pm PT)
Mon, Tue, Wed & Thurs, Jun 23 - Jun 26 (meets every day of the week!)
0 replies
jlacosta
Apr 2, 2025
0 replies
hard problem....
Cobedangiu   1
N 3 minutes ago by arqady
let $a,b,c$ be the lengths of the sides of the triangle. Prove that:
$(a+b+c)(\dfrac{3a-b}{a^2+ab}+\dfrac{3b-c}{b^2+bc}+\dfrac{3c-a}{c^2+ac})\le 9$
1 reply
Cobedangiu
an hour ago
arqady
3 minutes ago
Prove the inequality with the condition (a+1)(b+1)(c+1)=8
hlminh   1
N 4 minutes ago by quacksaysduck
Let $a,b,c>0$ such that $(a+1)(b+1)(c+1)=8.$ Prove that $abc(a+b+c)\leq 3.$
1 reply
+2 w
hlminh
2 hours ago
quacksaysduck
4 minutes ago
integer functional equation
ABCDE   147
N 9 minutes ago by Adywastaken
Source: 2015 IMO Shortlist A2
Determine all functions $f:\mathbb{Z}\rightarrow\mathbb{Z}$ with the property that \[f(x-f(y))=f(f(x))-f(y)-1\]holds for all $x,y\in\mathbb{Z}$.
147 replies
ABCDE
Jul 7, 2016
Adywastaken
9 minutes ago
number theory FE
pomodor_ap   0
26 minutes ago
Source: Own, PDC002-P7
Let $f : \mathbb{Z}^+ \to \mathbb{Z}^+$ be a function such that
$$f(m) + mn + n^2 \mid f(m)^2 + m^2 f(n) + f(n)^2$$for all $m, n \in \mathbb{Z}^+$. Find all such functions $f$.
0 replies
pomodor_ap
26 minutes ago
0 replies
No more topics!
IMO 2011 Problem 5
orl   83
N Apr 15, 2025 by Ihatecombin
Let $f$ be a function from the set of integers to the set of positive integers. Suppose that, for any two integers $m$ and $n$, the difference $f(m) - f(n)$ is divisible by $f(m- n)$. Prove that, for all integers $m$ and $n$ with $f(m) \leq f(n)$, the number $f(n)$ is divisible by $f(m)$.

Proposed by Mahyar Sefidgaran, Iran
83 replies
orl
Jul 19, 2011
Ihatecombin
Apr 15, 2025
IMO 2011 Problem 5
G H J
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
huashiliao2020
1292 posts
#73 • 1 Y
Y by radian_51
Pretty good problem but misplaced for p5 definitely.
Attachments:
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
AtharvNaphade
341 posts
#74 • 1 Y
Y by radian_51
Nice problem
We get $f(m) | f(0)$, $f(-n) | f(0) +f(n) \implies f(-n) | f(n)$ and $f(0 -(-n)) | f(0) - f(n) \implies f(-n) = f(n)$.
Next we have $f(m-n) | f(m) - f(n)$, so if $f(m) \neq f(n)$, we have $f(m-n) \leq |f(m) - f(n)|$.
FTSOC Consider $f(n) < f(m)$ such that $f(n) \nmid f(m)$
We have $f(m-n) \leq |f(m) - f(n)|$ and $f((m - n) - (-n) | f(m-n) - f(n)$. If $f(m-n) \neq f(n)$, we have $f(m) \leq |f(m-n) - f(n)|$. If $f(m-n) > f(n)$, we have $f(m) + f(n) \leq f(n)$, impossible. We have a similar case for $f(m-n) < f(n)$, forcing $f(m-n) = f(n)$. But then $f(m - (m-n)) | f(m) - f(n) \implies f(n) | f(m)$, a contradiction
Thus $f(m) \leq f(n) \implies f(m) | f(n), \blacksquare$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
YaoAOPS
1518 posts
#75 • 1 Y
Y by radian_51
Claim: The image of $f$ is the divisors of $f(0)$.
Proof. Since $f(m) \mid f(m) - f(0)$ for all $m$ it follows that $f(m) \mid f(0)$. $\blacksquare$
As such, let the divisors of $c$ be $1 = d_1 < d_2 < \dots < d_{k-1} < d_k = f(0)$.

Claim: For all $n$, $d_i \mid d_n$ for $i \le n$.
Proof. The base case of $k$ follows immediately. We now induct downwards. Suppose that it holds for $i + 1, \dots, k$.
Take minimal $t \ne 0$ such that $f(n) = d_i$.
Suppose that $f(m) < f(n)$. Then $d_i \mid f(m + n) - f(n)$. $f(m + n)$ is also a divisor of $f(0)$. Since $f(m) \not\equiv 0 \pmod{d_i}$, it follows that $f(m + n)$ can't be a divisor larger than $d_n$, which implies $f(m + n) = f(m)$.
As such, it follows that $f(m) \mid f(m + n) - f(n)$, so $f(m) \mid f(n)$ follows. $\blacksquare$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
thdnder
194 posts
#76 • 1 Y
Y by radian_51
Let $P(m, n)$ be given assertion. $P(n, 0)$ gives $f(n) \mid f(0)$. Then $P(0, n)$ gives $f(-n) \mid f(0) - f(n)$, so $f(-n) \mid f(n)$. Similarly we have $f(n) \mid f(-n)$. Therefore $f(n) = f(-n)$.

Now let $m ,n$ be positive integers such that $f(m) \le f(n)$. Let $a = f(m),b = f(n), c= f(n - m)$. Then we have $a \mid b - c$ and $c \mid b - a$. Since $f(n) = f(-n) \mid f(m - n) - f(m)$, so $b \mid c - a$. If $b = \max(a, b ,c)$, then since $b \mid c - a$, so $c = a$. Thus $a \mid b$. So $c = \max(a, b, c)$. Therefore $a = b$. So in all case $f(m) \mid f(n)$. Thus we're done. $\blacksquare$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
HamstPan38825
8857 posts
#77 • 1 Y
Y by radian_51
Plugging in $0$ for $m, n$ respectively yields
\begin{align*}
f(m) &\mid f(m) - f(0) \\
f(-n) &\mid f(0) - f(n).
\end{align*}In particular, $f(m) \mid f(0)$ for every $m$, which implies $f(-n) \mid f(n)$. Symmetrically, this forces $f(n) = f(-n)$.

Now assume $f(m) \geq f(n)$ and consider the relations
\begin{align*}
f(m) &\mid f(m+n) - f(n) \\
f(n) &\mid f(m+n) - f(m) \\
f(m+n) &\mid f(m) - f(n).
\end{align*}Let $d = \gcd(f(m), f(n))$, and let $f(m) = dx$, $f(n) = dy$, $f(m+n) = dz$, where $\gcd(x, y) = 1$. Then we have the divisibility relations $x \mid z-y$, $y \mid z-x$, and $z \mid x-y$. In particular, $xy \mid z-y-x$ as $\gcd(x, y) = 1$.

On the other hand, as $z \mid x-y$, it follows that $|z-y-x| < x+y$ and thus $xy < x+y$. As $(x, y) = (2, 2)$ is invalid, this forces $x=1$ or $y = 1$, which is clearly enough.
This post has been edited 1 time. Last edited by HamstPan38825, Dec 17, 2023, 6:26 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
amazingtheorem
17 posts
#78 • 1 Y
Y by radian_51
Let $P(m,n)$ be the assertion of $f(m-n)\mid f(m)-f(n)$.
First, $P(a,0)$ asserts that $f(a)\mid f(a)-f(0) \implies f(a)\mid f(0)$ for all $a \in \mathbb{Z}$.
Lemma 1. We have $f(a)=f(-a)$ for all $a\in \mathbb{Z}$.
Note that for every $n\in \mathbb{Z}$, $P(n+ik+k,n+ik)$ asserts that $f(n+ik+k)\equiv f(n+ik) \pmod {f(k)}$. This means, $\cdots\equiv f(n-2k)\equiv f(n-k) \equiv f(n)\equiv f(n+k)\equiv f(n+2k)\equiv \cdots \pmod{f(k)}$. In other word, if there is positive integers $k,a$, and $b$ with $k\mid a-b$, then we have $f(k)\mid f(a)-f(b)$.
Now, if there is an integer $t$ such that $a=kt$, taking $b=k$, we have $k\mid a-b$. This implies $f(k)\mid f(kt)-f(k) \implies f(k)\mid f(kt)$. Hence, $f(k)\mid f(kt)$ for all integers $t$.
Hence, we now have $f(k)\mid f(-k)$ and $f(-k)\mid f(k)$. This forces $f(k)=f(-k)$ for all integer $k$. $\blacksquare$
For the sake of contradiction, assume that there is $a,b\in \mathbb{Z}$ such that $f(b)>f(a)$, but $f(a)\nmid f(b)$.
Now, $P(a,a-b)$ and $P(b,b-a)$ assert that $f(b)\mid f(a)-f(a-b)\implies f(b)\mid f(a)+f(b)-f(a-b)$ and $f(a)\mid f(a)+f(b)-f(a-b)$, consecutively. This implies $lcm(f(a),f(b))\mid f(a)+f(b)-f(a-b)$.
However, by $P(a,b)$, we have $f(a-b)\mid f(b)-f(a) \implies f(a-b)\le f(b)-f(a) \implies f(a)+f(b)-f(a-b)\ge 2f(a)>0$.
From $f(a)\nmid f(b)$, we have $lcm(f(a),f(b))\ge 2f(b)$. This implies $2f(b)\le lcm(f(a),f(b)) \le f(a)+f(b)-f(a-b) \implies f(b)\le f(a)-f(a-b) <f(a) \implies f(b)<f(a)$ which is a contradiction.
Hence, it is true that for all $m,n \in \mathbb{Z}$ with $f(m)\le f(n)$, we must have $f(m)\mid f(n)$.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
shendrew7
794 posts
#79 • 1 Y
Y by radian_51
Substituting $(x,0)$, $(-x,0)$, $(0,x)$, $(0,-x)$ tells us $f(x)=f(-x)$, so we only need to focus on $x \in \mathbb{Z}_{\ge 0}$.

Suppose we have $a+b+c=0$ for integers $a$, $b$, $c$. Then we have
\[f(a) \mid f(-b) - f(-c) = f(b)-f(c)\]
and cyclic permutations, from which it follows that the minimum two of $f(a),f(b),f(c)$ must be equal. Substituting back into our system, they must both divide the maximum, 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.
ihatemath123
3442 posts
#80 • 1 Y
Y by radian_51
Taking $P(m,0)$ gives us $f(m) \mid f(m) - f(0) \implies f(m) \mid f(0)$ for all $m$. Taking $P(0,m)$ and $P(0,-m)$ implies that $f$ is even.

Claim: We have $f(a) \mid f(b)$ whenever $a \mid b$.
Proof: Since $f$ is even, assume WLOG that $a$ and $b$ are positive. Then, we have $f(a) \mid f(ak) - f(a(k-1))$, so adding these divisibilities together over $k=1, 2, \dots, \tfrac{b}{a}$ gives us the desired claim.

So, $f(1) \mid f(m)$ for all $m$. From hereon, assume WLOG that $f(1) = f(-1) = 1$.

Claim: If $f(a) \neq 1$ and $f(b) \neq 1$, then $f(a-b) \neq 1$.
Proof: Assume FTSOC that $f(a-b) = f(b-a) = 1$. From $P(b,b-a)$ and $P(a, a-b)$ we have
\[\begin{cases}
f(a) & \mid f(b) - 1 \\
f(b) & \mid f(a) - 1.
\end{cases}\]Since both $f(a)$ and $f(b)$ are greater than $1$, this implies that $f(a) > f(b)$ and $f(b) > f(a)$, giving us a contradiction.

So, by the Euclidean algorithm, the values of $f$ which map to something not equal to $1$ are all multiples of $k$ for some integer $k \geq 2$ (here we use our first claim as well). We now finish the problem with induction on $f(0)$:
  • The base case of $f(0) = 1$ is trivial.
  • We will show that the problem statement is true for $f(0) = C$ if it is true for $f(0)$ equal to every proper divisor of $C$. If $f(x) = 0$ for all positive integers $x$, we are automatically done. Otherwise, from our previous claim, there exists an integer $k \geq 2$ for which $f(x) \neq 1$ if and only if $k \mid x$. From our first claim, for any multiple $x$ of $k$, $f(k) \mid f(x)$. Therefore, the function
    \[g(x) = \frac{f(kx)}{f(k)}\]satisfies the same conditions set on $f$ by the problem statement. By assumption, $f(k) > 1$, so $g(0)$ is a proper divisor of $f(0)$, thus the inductive assumption holds on $g$.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
L13832
263 posts
#81 • 1 Y
Y by radian_51
Is this correct?
Redacted
This post has been edited 1 time. Last edited by L13832, Apr 2, 2025, 8:24 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
ItsBesi
142 posts
#84
Y by
Does this work?

Let $P(m,n)$ denote the given assertion.

Claim: $f(n)=f(-n)  \forall n \in \mathbb{Z} \iff f-\text{even}$

Proof:

$P(n,0) \implies f(n) \mid f(n)-f(0) \implies f(n) \mid -f(0) \implies f(n) \mid f(0), n \rightarrow -n \implies \boxed{ f(-n) \mid f(0)}$ $...(*)$

$P(0,n) \implies f(n) \mid f(0)-f(n)$ , combining with $(*)$ we get: $f(n) \mid f(-n) , n \rightarrow -n \implies f(-n) \mid f(n) \therefore f(-n) \mid f(n) \mid f(-n) \implies f(n)=f(-n) \iff f-\text{even}$ $\square$

Now by taking $P(n,-1) , P(n+1,n) \text{and} P(n+1,1)$ and combining with $f-\text{even}$ we get:

$\boxed{f(n+1) \mid f(n)-f(1)}$ $...(1) $

$\boxed{f(1) \mid f(n+1)-f(n)}$ $...(2)$

$\boxed{f(n)\mid f(n+1)-f(1)}$ $...(3)$

Now we seperate the problem into $2$ cases.
Case 1. $f(n+1) \geq f(n)$.
From $(1) \implies f(n+1) \mid f(n)-f(1) \text{but since} LHS > RHS \implies RHS=0 \implies f(n)-f(1)=0 \implies f(n)=f(1) $
$(LHS>RHS \because f(n+1) \geq f(n) )$

By $(3) \implies f(n)\mid f(n+1)-f(1) \implies f(n) \mid f(n+1)-f(n) \implies \boxed{f(n) \mid f(n+1)}$
So $\forall m$ s.t $f(n) \leq f(m) \implies f(n) \mid f(m)$ $\square$

Case 2. $f(n) \geq f(n+1)$
We begin by making the following claim

Claim: $f(1) \leq f(n) $

Proof: From $(2) \implies f(1) \mid f(n+1)-f(n)$ but since $f(n) \geq f(n+1)$ we get:
$f(1) \mid f(n)-f(n+1) \implies f(1) \leq f(n)-f(n+1) so f(1) \leq f(1)+f(n+1) \leq  f(1)+f(n) \leq f(n) \implies \boxed{f(1) \leq f(n)}$ $\square$

Subcase 2.1 $f(n+1) \geq f(1)$

From $(3) \implies f(n) \mid f(n+1)-f(1)$ but $LHS>RHS \implies RHS=0 \implies f(n+1)=f(1)$

From $(1) \implies f(n+1) \mid f(n)-f(1) \implies f(n+1) \mid f(n)-f(n+1) \implies \boxed{f(n+1) \mid f(n)}$
So $\forall m$ s.t $f(m) \leq f(n) \implies f(m) \mid f(n)$ $\square$

Subcase 2.2 $f(n+1) <f(1)$

From $(3) \implies f(n) \mid f(n+1)-f(1)$ but $LHS >RHS \implies RHS=0 \implies f(n+1)-f(1)=0 \implies f(n+1)=1 \rightarrow \leftarrow$ $\blacksquare$

100th post :first:
This post has been edited 2 times. Last edited by ItsBesi, Jan 4, 2025, 3:18 PM
Reason: 100th post
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
RedFireTruck
4221 posts
#85
Y by
Plugging in $n=0$ gives $f(m)|f(0)$.

Plugging in $m=0$ gives $f(-n)|f(n)$, so $f(n)=f(-n)$.

FTSOC, assume that $f(m)\le f(n)$ and $f(m)\not |f(n)$.

We see that $f(m+n) | (f(m)-f(n))$. If $f(m+n)\ge f(n)$, then $f(m)=f(n)$. Therefore, we assume $f(m+n)<f(n)$. Then, $f(n)|(f(m+n)-f(m))$, so $f(m+n)=f(m)$. Then, since $f(m)=f(m+n) | (f(m)-f(n))$, $f(m)|f(n)$, as desired.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
g0USinsane777
48 posts
#86
Y by
Let $P(m,n)$ denote the assertion $f(m-n)|f(m)-f(n)$
Take some $f(x)>f(y)$
$P(y, y-x)$ gives us $f(x)|f(y)-f(y-x)$, but we have that $f(y)-f(y-x) < f(y) < f(x)$, which gives us that $f(y)=f(y-x)$
$P(y,x)$ gives that $f(y-x)=f(y)|f(y)-f(x)$, which means that $f(y)|f(x)$, giving what is desired.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
pie854
243 posts
#87
Y by
Note that $f(m) \mid f(m)-f(0)$ implies $f(m) \mid f(0)$. Now $f(n) \mid f(0)-f(-n)$ implies $f(n) \mid f(-n)$. Taking $-n$ instead, we get $f(-n)\mid f(n)$ and thus $f(n)=f(-n)$ (since $f>0$).

Take $a, b$ such that $f(a)<f(b)$. Taking $m=b, n=-a$ we get $f(a+b) \mid f(b)-f(a)$ which implies $f(a+b)<f(b)$. Now taking $m=a+b, n=a$ we get $f(b) \mid f(a+b)-f(a)$ which implies $f(a+b)=f(a)$ since $|f(a+b)-f(a)|<f(b)$. Finally, $$f(a) \mid f(a+b)-f(b)=f(a)-f(b) \implies f(a)\mid f(b),$$as desired.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
InterLoop
274 posts
#88
Y by
solution
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Ihatecombin
58 posts
#89
Y by
I'm just going to list a couple of useful results first.
Claim 1: \(f(x) \leq f(0)\) for all \(x\)
Proof:
Notice that we can substitute \(n = 0\) to obtain
\[f(m) \mid -f(0)\]$\blacksquare$
Claim 2: \(f(x)\) is even
Proof:
Notice that we can substitute \(m = 0\) to obtain
\[f(-n) \mid -f(n)\]$\blacksquare$
Claim 3: \(f(x) \mid f(kx)\) for all integers \(k\), \(x\)
Proof:
Notice that we can sub \(m = 2m\) and \(n = m\) to have
\[f(m) \mid f(2m)\]We use induction, let \(m = km\) and \(n = (k-1)m\), this gives us
\[f(m) \mid f(km)\]$\blacksquare$
Claim 4: Let \(X\) denote the highest value which can be reached by \(f(x)\) for \(x \neq 0\). If \(a\) is the smallest natural number such that \(f(a) = X\), then \(f(x+a) = f(x)\).
Proof:
Let \(m = n+a\), then
\[f(a) \mid f(n+a) - f(n)\]Since \(f(x) \neq 0\), it follows that \(f(n+a) = f(n)\)
$\blacksquare$
Claim 5:
\(f(1) \mid f(x)\) for all \(x\)
Proof:
Notice that we can sub \(m = n+1\) to obtain
\[f(1) \mid f(n+1) - f(n)\]Induction finishes. $\blacksquare$
Now we shall define the sequence \(a_{i}\), where \(a_{i}\) denotes the \(i\)-th smallest value such that there exists \(a_{1}, a_{2}, \dots, a_{i-1} \in \mathbb{N}\) and \(a_{1}, a_{2}, \dots, a_{i-1} < a_{i}\) with \(f(a_{j})\) being pairwise distinct and \(f(a_{j}) \neq f(a_{i})\) for all \(j < i\). Obviously \(a_{1} = 1\) and \(f(a_{1}) \mid f(a_{2})\) by claim \(5\), we shall show by induction that if \(f(a_{k}) \mid f(a_{k+1})\) for all \(k \leq n-1\), then \(f(a_{n}) \mid f(a_{n+1})\).

Notice that we have the equation
\[
        f(m-n) \mid f(m) - f(n) \quad (1)
\]and since \(f(x)\) is even, we can sub \(n = -n\) to obtain
\[
        f(m+n) \mid f(m) - f(n) \quad (2)
\]We can sub \(m = a_{n+1} \) and \(n = a_{n}\) in equation \(1\) to obtain
\[f(a_{n+1} - a_{n}) \mid f(a_{n+1}) - f(a_{n})\]However \(f(a_{n+1} - a_{n}) \mid f(a_{n})\) by the induction hypothesis and thus
\[
        f(a_{n+1} - a_{n}) \mid f(a_{n+1}) \quad (3)
\]In equation \(2\) we can sub \(m = a_{n+1} - a_{n}\) and \(n = a_{n}\), this will give us
\[
        f(a_{n+1}) \mid f(a_{n+1} - a_{n}) - f(a_{n}) \quad (4)
\]In equation \(2\) we can sub \(m = a_{n} - a_{n+1}\) and \(n = a_{n+1}\) to get
\[
        f(a_{n}) \mid f(a_{n+1} - a_{n}) - f(a_{n+1}) \quad (5)
\]If \(f(a_{n+1} - a_{n}) = f(a_{n})\), then we are done by equation \(3\). Hence assume FTSOC this is not the case. However this implies that \(f(a_{n}) - f(a_{n+1} - a_{n}) > 0\). Connecting this with equation \(4\) implies that \(f(a_{n}) > f(a_{n+1})\), notice that \(f(a_{n+1}) \neq f(a_{n+1} - a_{n})\) by definition. Thus combining equation \(3\) and equation \(5\) gives us that \(f(a_{n+1}) > f(a_{n})\). This is clearly a contradiction thus we are done.
Z K Y
N Quick Reply
G
H
=
a