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
Nice one
imnotgoodatmathsorry   5
N 10 minutes ago by arqady
Source: Own
With $x,y,z >0$.Prove that: $\frac{xy}{4y+4z+x} + \frac{yz}{4z+4x+y} +\frac{zx}{4x+4y+z} \le \frac{x+y+z}{9}$
5 replies
+2 w
imnotgoodatmathsorry
May 2, 2025
arqady
10 minutes ago
Simple but hard
TUAN2k8   0
20 minutes ago
Source: Own
I need synthetic solution:
Given an acute triangle $ABC$ with orthocenter $H$.Let $AD,BE$ and $CF$ be the altitudes of triangle.Let $X$ and $Y$ be reflections of points $E,F$ across the line $AD$, respectively.Let $M$ and $N$ be the midpoints of $BH$ and $CH$, respectively.Let $K=YM \cap AB$ and $L=XN \cap AC$.Prove that $K,D$ and $L$ are collinear.
0 replies
TUAN2k8
20 minutes ago
0 replies
Equal segments in a cyclic quadrilateral
a_507_bc   4
N 26 minutes ago by AylyGayypow009
Source: Greece JBMO TST 2023 P2
Consider a cyclic quadrilateral $ABCD$ in which $BC = CD$ and $AB < AD$. Let $E$ be a point on the side $AD$ and $F$ a point on the line $BC$ such that $AE = AB = AF$. Prove that $EF \parallel BD$.
4 replies
a_507_bc
Jul 29, 2023
AylyGayypow009
26 minutes ago
functional equation
hanzo.ei   3
N 30 minutes ago by jasperE3

Find all functions \( f : \mathbb{R} \to \mathbb{R} \) satisfying the equation
\[
(f(x+y))^2= f(x^2) + f(2xf(y) + y^2), \quad \forall x, y \in \mathbb{R}.
\]
3 replies
hanzo.ei
Apr 6, 2025
jasperE3
30 minutes ago
Geometry
AlexCenteno2007   0
32 minutes ago
Source: NCA
Let ABC be an acute triangle. The altitudes from B and C intersect the sides AC and AB at E and F, respectively. The internal bisector of ∠A intersects BE and CF at T and S, respectively. The circles with diameters AT and AS intersect the circumcircle of ABC at X and Y, respectively. Prove that XY, EF, and BC meet at the exsimilicenter of BTX and CSY
0 replies
AlexCenteno2007
32 minutes ago
0 replies
Inspired by xytunghoanh
sqing   2
N an hour ago by sqing
Source: Own
Let $ a,b,c\ge 0, a^2 +b^2 +c^2 =3. $ Prove that
$$ \sqrt 3 \leq a+b+c+ ab^2 + bc^2+ ca^2\leq 6$$Let $ a,b,c\ge 0,  a+b+c+a^2 +b^2 +c^2 =6. $ Prove that
$$ ab+bc+ca+ ab^2 + bc^2+ ca^2 \leq 6$$
2 replies
sqing
2 hours ago
sqing
an hour ago
Based on IMO 2024 P2
Miquel-point   1
N an hour ago by MathLuis
Source: KoMaL B. 5461
Prove that for any positive integers $a$, $b$, $c$ and $d$ there exists infinitely many positive integers $n$ for which $a^n+bc$ and $b^{n+d}-1$ are not relatively primes.

Proposed by Géza Kós
1 reply
Miquel-point
Yesterday at 6:15 PM
MathLuis
an hour ago
egmo 2018 p4
microsoft_office_word   29
N 2 hours ago by math-olympiad-clown
Source: EGMO 2018 P4
A domino is a $ 1 \times 2 $ or $ 2 \times 1 $ tile.
Let $n \ge 3 $ be an integer. Dominoes are placed on an $n \times n$ board in such a way that each domino covers exactly two cells of the board, and dominoes do not overlap. The value of a row or column is the number of dominoes that cover at least one cell of this row or column. The configuration is called balanced if there exists some $k \ge 1 $ such that each row and each column has a value of $k$. Prove that a balanced configuration exists for every $n \ge 3 $, and find the minimum number of dominoes needed in such a configuration.
29 replies
microsoft_office_word
Apr 12, 2018
math-olympiad-clown
2 hours ago
Tangents to a cyclic quadrilateral
v_Enhance   24
N 2 hours ago by hectorleo123
Source: ELMO Shortlist 2013: Problem G9, by Allen Liu
Let $ABCD$ be a cyclic quadrilateral inscribed in circle $\omega$ whose diagonals meet at $F$. Lines $AB$ and $CD$ meet at $E$. Segment $EF$ intersects $\omega$ at $X$. Lines $BX$ and $CD$ meet at $M$, and lines $CX$ and $AB$ meet at $N$. Prove that $MN$ and $BC$ concur with the tangent to $\omega$ at $X$.

Proposed by Allen Liu
24 replies
v_Enhance
Jul 23, 2013
hectorleo123
2 hours ago
integer functional equation
ABCDE   152
N 2 hours ago by pco
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}$.
152 replies
ABCDE
Jul 7, 2016
pco
2 hours ago
subsets of {1,2,...,mn}
N.T.TUAN   11
N 2 hours ago by MathLuis
Source: USA TST 2005, Problem 1
Let $n$ be an integer greater than $1$. For a positive integer $m$, let $S_{m}= \{ 1,2,\ldots, mn\}$. Suppose that there exists a $2n$-element set $T$ such that
(a) each element of $T$ is an $m$-element subset of $S_{m}$;
(b) each pair of elements of $T$ shares at most one common element;
and
(c) each element of $S_{m}$ is contained in exactly two elements of $T$.

Determine the maximum possible value of $m$ in terms of $n$.
11 replies
N.T.TUAN
May 14, 2007
MathLuis
2 hours ago
Continued fraction
tapir1729   11
N 3 hours ago by Mathandski
Source: TSTST 2024, problem 2
Let $p$ be an odd prime number. Suppose $P$ and $Q$ are polynomials with integer coefficients such that $P(0)=Q(0)=1$, there is no nonconstant polynomial dividing both $P$ and $Q$, and
\[
  1 + \cfrac{x}{1 + \cfrac{2x}{1 + \cfrac{\ddots}{1 +
  (p-1)x}}}=\frac{P(x)}{Q(x)}.
\]Show that all coefficients of $P$ except for the constant coefficient are divisible by $p$, and all coefficients of $Q$ are not divisible by $p$.

Andrew Gu
11 replies
tapir1729
Jun 24, 2024
Mathandski
3 hours ago
Cycle in a graph with a minimal number of chords
GeorgeRP   1
N 3 hours ago by Photaesthesia
Source: Bulgaria IMO TST 2025 P3
In King Arthur's court every knight is friends with at least $d>2$ other knights where friendship is mutual. Prove that King Arthur can place some of his knights around a round table in such a way that every knight is friends with the $2$ people adjacent to him and between them there are at least $\frac{d^2}{10}$ friendships of knights that are not adjacent to each other.
1 reply
GeorgeRP
Yesterday at 7:51 AM
Photaesthesia
3 hours ago
Japan MO Finals 2021 P4
maple116   2
N 4 hours ago by Gauler
Source: Japan MO Finals 2021 P4
Let $a_1,a_2,\dots,a_{2021}$ be $2021$ integers which satisfy
\[ a_{n+5}+a_n>a_{n+2}+a_{n+3}\]for all integers $n=1,2,\dots,2016$. Find the minimum possible value of the difference between the maximum value and the minimum value among $a_1,a_2,\dots,a_{2021}$.
2 replies
maple116
Feb 14, 2021
Gauler
4 hours ago
IMO Shortlist 2011, Number Theory 3
orl   48
N May 11, 2025 by Markas
Source: IMO Shortlist 2011, Number Theory 3
Let $n \geq 1$ be an odd integer. Determine all functions $f$ from the set of integers to itself, such that for all integers $x$ and $y$ the difference $f(x)-f(y)$ divides $x^n-y^n.$

Proposed by Mihai Baluna, Romania
48 replies
orl
Jul 11, 2012
Markas
May 11, 2025
IMO Shortlist 2011, Number Theory 3
G H J
Source: IMO Shortlist 2011, Number Theory 3
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
orl
3647 posts
#1 • 8 Y
Y by Davi-8191, anantmudgal09, jhu08, Adventure10, Mango247, BorivojeGuzic123, cubres, and 1 other user
Let $n \geq 1$ be an odd integer. Determine all functions $f$ from the set of integers to itself, such that for all integers $x$ and $y$ the difference $f(x)-f(y)$ divides $x^n-y^n.$

Proposed by Mihai Baluna, Romania
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
MellowMelon
5850 posts
#2 • 10 Y
Y by theproductof6by9, Anar24, jhu08, Adventure10, BorivojeGuzic123, Newmaths, and 4 other users
We claim there exists a positive integer $d$ dividing $n$, an $a \in \mathbb{Z}$, and an $e \in \{-1,1\}$ such that $f(x) = e \cdot x^d + a$ for all $x$. It can be easily checked that all of these solutions work.

First, notice that if $f(x)$ is a solution, then $f(x) + a$ is a solution for any $a$. So WLOG $f(0) = 0$. Now take $x = 1$, $y = 0$ in the given equation. We get $f(1) \mid 1$, so $f(1) = \pm 1$. If $f(x)$ is a solution, then $-f(x)$ is a solution, so WLOG $f(1) = 1$. We also get $f(-1) \mid 1$ by taking $x = -1$ and $y = 0$. Now take $x = -1$ and $y = 1$. We get $f(-1) - 1 \mid 2$, so $f(-1)$ must be $-1$.

Consider any odd prime $p$. We have $f(p) - f(0) \mid p^n$, so therefore $f(p)$ is either $p^d$ or $-p^d$ for some $d$. First consider the case that $f(p) = -p^d$. We have $f(p) - f(-1) \mid p^n + 1$, so $p^d - 1 \mid p^n + 1$. If we write $n = qd + r$ using the division algorithm, we get $p^d - 1 \mid p^r + 1$. We know $0 \leq r < d$, so $0 < p^r + 1 < p^d - 1$ since $p > 2$, a contradiction. So this case is impossible

Then we must have $f(p) = p^d$. Again write $n = qd + r$ using the division algorithm. We get $p^d - 1 \mid (-1)^q p^r - 1$. Since $0 \leq r < d$, this is only possible if $r = 0$. Therefore, $d$ divides $n$.

Let $b$ be an arbitrary integer, and let $q$ be a prime number greater than $b^n + 2|f(b)|^n$.
We know $f(q) = q^d$ for some $d$ dividing $n$. Consider $x = b$ and $y = q$. We get $f(b) - q^d \mid b^n - q^n$. Writing $q^n$ as $(q^d)^{n/d}$, we get $f(b) - q^d \mid b^n - (f(b))^{n/d}$. Suppose that $b^n - (f(b))^{n/d}$ is nonzero. Then we know that
\[|b^n - (f(b))^{n/d}| \leq b^n + |f(b)|^n < q - |f(b)|^n \leq q^d - f(b).\]
This is a contradiction, so therefore $b^n - (f(b))^{n/d} = 0$, and $f(b) = b^d$. If we apply this process to two arbitrary integers $b,c$, taking the same large $q$ for both of them, we obtain that $f(b) = b^d$ and $f(c) = c^d$ for the same $d$. Therefore there exists a single $d$ dividing $n$ such that $f(x) = x^d$ for all integers $x$. Reversing our transformations in the second paragraph, we get the set of solutions described in the first paragraph, 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.
leshik
433 posts
#3 • 3 Y
Y by jhu08, Adventure10, and 1 other user
This problem has been posted before: http://www.artofproblemsolving.com/Forum/viewtopic.php?f=56&t=453800
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
hal9v4ik
368 posts
#4 • 4 Y
Y by jhu08, Adventure10, Mango247, and 1 other user
Can someone post IMO Shortlist 2011 on contest page?
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
KittyOK
349 posts
#5 • 3 Y
Y by jhu08, Adventure10, Mango247
The formulation of the problem is not quite clear. If we plug $x=y$ in the condition we get the nonsense $0$ divides $0$.
Evidently, the official solution tacitly uses that $f$ is injective and that the condition applies only with distinct $x$ and $y$.
A more interesting interpretation is as follows:
Quote:
Let $n \geq 1$ be an odd integer. Determine all functions $f$ from the set of integers to itself, such that for all integers $x$ and $y$ such that $f(x)$ is not equal to $f(y)$, the difference $f(x)-f(y)$ divides $x^n-y^n.$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
ACCCGS8
326 posts
#6 • 2 Y
Y by jhu08, Adventure10
$0$ divides $0$ is actually true, because there exists an integer $k$ such that $(0)(k)=0$. So I don't think there is any confusion in the problem.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
mavropnevma
15142 posts
#7 • 4 Y
Y by jhu08, Adventure10, Mango247, and 1 other user
And injectivity of $f$ results from the given relation(s), since assuming $f(x)=f(y)$ for some $x\neq y$ leads to $0 \mid x^n-y^n \neq 0$ (don't forget, $n$ is odd), so it does not need to be tacitly implied.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
harazi
5526 posts
#8 • 3 Y
Y by jhu08, Adventure10, Mango247
Maybe a more interesting question: find all functions $f$ defined on $\textbf{positive integers}$ with integer values and with the same property as in the problem.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
eaglet
6 posts
#9 • 3 Y
Y by jhu08, Adventure10, Mango247
mavropnevma wrote:
And injectivity of $f$ results from the given relation(s), since assuming $f(x)=f(y)$ for some $x\neq y$ leads to $0 \mid x^n-y^n \neq 0$ (don't forget, $n$ is odd), so it does not need to be tacitly implied.

I just wanted to express my mild surprise at this explanation. If my understanding is correct, the statement $ 0\mid x^{n}-y^{n}\neq 0 $ is nonsense rather than false, and the responsibility of eliminating such nonsense statements lies not with the problem solver, but with the problem proposer. In this particular case, the proposer could have defined $f$ to be injective, a definition that would have left no ambiguity in the problem. Now, I could be totally inaccurate on this explanation attempt, and if so, please kindly enlighten me.

On another note, I would like to confirm that KittyOK's interpretation is solvable, and indeed a much more interesting problem than the one originally intended.

And to KittyOK, my warmest congratulations once again for your gold medal at IMO 2012. :)
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
mavropnevma
15142 posts
#10 • 5 Y
Y by eaglet, jhu08, Adventure10, Mango247, and 1 other user
My pleasure. Of course, the statement should have contained the domain of the functional relation excluding its diagonal, so

Let $n \geq 1$ be an odd integer. Determine all functions $f$ from the set of integers to itself, such that for all distinct integers $x$ and $y$, the difference $f(x)-f(y)$ divides $x^n-y^n.$

Now, one will ask oneself: what if $f(x) = f(y)$ for some $x\neq y$. Then $v = x^n-y^n \neq 0$, since $n$ is given odd, so the given relation would be $0\mid v$.
I never said this is false; if you prefer to call it nonsense it's ok with me. What matters is that it's not TRUE, so by contradicting the given relation forbids $f(x) = f(y)$ when $x\neq y$. Now, why should the proposer have ruled out this consequence of the relation, by redundantly stating "$f$ is injective" ?

Another example. Say I write: Let $A$ be a set of positive integers and let $M$ be a number such that $a\leq M$ for all $a\in A$. Why should I "warn" the solver by stating "$A$ is finite", when it's a trivial consequence of the givens?
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Isogonics
185 posts
#11 • 2 Y
Y by jhu08, Adventure10
I have a question about MellowMelon's Solution, in the $f(p)$ part :
MellowMelon wrote:
If we write $n = qd + r$ using the division algorithm, we get $p^d - 1 \mid p^r + 1$. We know $0 \leq r < d$, so $0 < p^r + 1 < p^d - 1$ since $p > 2$, a contradiction. So this case is impossible.

Well, I think this is not true when $p=3, r=0, d=1$ , so setting $p$ any odd prime is wrong.
(But in this solution "infinitely many prime" works, so only "any odd prime" needs to be corrected.)
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
junioragd
314 posts
#12 • 3 Y
Y by IgorM, jhu08, Adventure10
Here is another solution(More precise,a way to finish via Dirichlet's theoerem instead of bounding):
All solutions are if the form $a*x^b$+$c$,where $a$ is $1$ or $-1$,$d$ divides $n$ and $c$ is an arbirtary integer.Note that,if $f(x)$ is a solution,then $f(x)+a$ is also a solution and if $f(x)$ is a solution,then $-f(x)$ is a solution.Now,WLOG $f(0)=0$ and P$(1,1)$ gives $f(1)=1$.P$(2,0)$ gives $f(2)$ divides $2^n$,so $f(2)=2^k$($k<n$) and P$(2,1)$ gives $2^k-1$ divides $2^n$-$1$,so we get $k$ divides $n$.Now,pluging any prime bigger than 2^(n^2) we get $f(p)=p^k$.Now,pick an arbirtary integer $m$ and suppose $f(m)=m^k$ doesn't hold.Now,let $n=ak$.
Lemma: The equation $r^a$ congruent $l$ $modp$ always has a solution if $GCD(a,p-1)=1$($p$ is a prime).
Proof:Pick two distinct integers $m,n$ such that $p$ doesn't divide $m-n$.Suppose $p$ divides $m^a-n^a$.Now,from Ferma's little theorem we have that $p$ divides m^(p-1)-n^(p-1),now by LTE we have GCD((m^a-n^a),(m^p-1-n^p-1))=$m-n$,which is a contradiction.

Pick a prime $r$ such that $r$ doesn't divide $f(m)^a$-$m^n$ and such that $k$ doesn't divide $r-1$.By Dirichlet,such a prime exists
Now,by Dirichlet there will exist a prime $q$ such that $r$ divides $q^k-f(m)$,now P$(q,m)$ gives that $r$ divides $f(m^a)$-$m^n$,which is a contradiction,so we get $f(m)=m^k$.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
JuanOrtiz
366 posts
#13 • 2 Y
Y by jhu08, Adventure10
First notice that if $n<0$ then $f(x)-f(0)|x^n$ but the left side is an integer and $x^n$ isn't an integer for all $x$, and therefore there exists no such function $f$. If $n=0$, then if $x=0$, $0^0$ is undefined and so the problem's statement is undefined. Now assuming $n>0$, I claim that the functions that work are $f(x)=\Gamma+x^{\Omega}$ and $f(x)=\Gamma-x^{\Omega}$, for any positive divisor $\Omega | n$ and any integer $\Gamma$.

Firstly notice that we can multiply $f$ by $-1$ and shift it by a constant and it still works, and therefore WLOG $f(1) \ge 0$ and $f(0)=0$. Notice $f(1)-0|1-0$ and so $f(1)=1$. Now take $p$ be any odd prime. Notice that $f(p)|p^n$ and therefore $f(p)=p^{\Omega}$ or $-p^{\Omega}$ for some $0\le {\Omega} \le n$. In the second case, we get that $p^{\Omega}+1 | p^n-1$ and so $p+1 | p^n-1$ (or $\Omega=0 \Rightarrow f(p)=-1$) but notice that since $n$ is odd, $p+1 | p^n+1$ and so $p+1 | 2$, impossible. Therefore, $f(p)=p^{\Omega}$ for some $1 \le \Omega \le n$, or $f(p)=-1$. So $p^{\Omega}-1 | p^n-1$. It is a well known fact that $\text{mcd}(a^b-1,a^c-1) = a^{\text{mcd}(b,c)}-1$ for $a,b,c$ positive integers and $a>1$, which can be proven by Euclid's Algorithm easily. Therefore $\Omega | n$.

Now let $S$ be the set of positive integers that divide $n$. Notice that if $f(a)=f(b)=-1 \Rightarrow 0 | a-b \Rightarrow -1$ and so $f(p)=-1$ for at most one value of $p$. For all other odd primes $p$, $\Omega \in S$ and since $S$ is finite, there exists an infinite set $S_{\Omega}$ of prime numbers such that $f(p)=p^{\Omega}$ for all $p \in S_{\Omega}$. Now take any integer $x \neq -1,0-1$ and notice that for any such $p$, $p^{\Omega}-f(x) | p^n-x^n$, but also $p^{\Omega}-f(x) | p^n-f(x)^{\frac{n}{\Omega}}$ and therefore $p^{\Omega}-f(x) | x^n-f(x)^{\frac{n}{\Omega}}$. This implies that

$x^n-f(x)^{\displaystyle\frac{n}{\Omega}}$

has an infinite number of divisors, which clearly implies that said number is $0$. Therefore $f(x)={\Omega}$ for all $x \neq 0,1,-1$. But this equality is also true for $x=0,1$ as we had previously established. Now all that is left is to prove $f(-1)=-1$. But notice $f(-1)|-1$ and so $f(-1)=-1,1$. We also have $1-f(-1)|2$ and so $f(-1)=-1$. Therefore $f(x)=x^{\Omega}$ for all $x$, where $\Omega$ is a fixed positive divisor of $n$.

Taking into account that we shifted and multiplied $f$ by $-1$ at the beginning, this gives us the final answers $\boxed{f(x)=\Gamma+x^{\Omega}}$ and $\boxed{f(x)=\Gamma-x^{\Omega}}$, for any positive divisor $\Omega | n$ and any integer $\Gamma$.
This post has been edited 6 times. Last edited by JuanOrtiz, Apr 2, 2015, 10:03 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
#14 • 4 Y
Y by jhu08, SatisfiedMagma, Adventure10, Mango247
Answer. The only solutions are $f(x)=cx^d+e$ where $c \in \{-1, 1\}$, $d \ge 0$ is an odd divisor of $n$ and $e \in \mathbb{Z}$ for all integers $x$.

Solution. It is clear that these satisfy the conditions. We will show that no other function works. Indeed, suppose a function $f$ other than those specified works.

Injectivity of $f$ follows since $f(a)=f(b) \Longrightarrow a^n=b^n$ and as $n$ is odd, $a=b$. Shifting by a constant; let $f(0)=0$, and for all integers $a$ we get $f(a) \mid a^n$. As $f(1) \mid 1$, scaling by a $\pm 1$ factor, we let $f(1)=1$. For all primes $p$, $f(p) \mid p^n \Longrightarrow f(p)=\pm \, p^k$ for some $k >0$.

Firstly, let $f(p)=-p^k$ and observe that $p^k+1 \mid p^n-1$. Write $n=kl+r$ for $0 \le r<k$ and note that $$p^n \equiv p^r\cdot (-1)^l \pmod {p^k+1} \Longrightarrow p^k+1 \le \left|p^r\cdot (-1)^l-1\right| \le p^r+1,$$which is clearly false. It follows that $f(p)=p^{k_p}$ for all primes $p$ with $1 \le k_p \le n$. Evidently, there exists $1 \le d \le n$ such that $k_p=d$ holds for infinitely many primes $p$.

Fix a prime $p_1$ with $k_{p_1}=d$ and vary $p$ with $k_p=d$. Write $n=md+r$ for $0 \le r<d$ and note that $$p^d-p_1^d \mid p^n-p_1^n \Longrightarrow p_1^{md}\cdot \left(p^r-p_1^r\right) \equiv 0 \pmod {p^d-p_1^d}.$$This is fails to occur unless $d \mid n$.

Finally, fix an integer $x$ with $f(x) \ne x^d$ and vary prime $p$ with $k_p=d$. It follows that $$p^d-f(x) \mid p^n-x^n \Longrightarrow p^d-f(x) \mid f(x)^{\frac{n}{d}}-x^n,$$which fails to hold by taking $p$ sufficiently large. The initial claim holds. $\, \square$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
H.R.
172 posts
#15 • 2 Y
Y by jhu08, Adventure10
Answer. All functions f of the form f(x) = εxd + c, where ε is in {1, −1}, the integer d is a
positive divisor of n, and c is an integer.
Solution. Obviously, all functions in the answer satisfy the condition of the problem. We will
show that there are no other functions satisfying that condition.
Let f be a function satisfying the given condition. For each integer n, the function g defined
by g(x) = f(x) + n also satisfies the same condition. Therefore, by subtracting f(0) from f(x)
we may assume that f(0) = 0.
For any prime p, the condition on f with (x, y) = (p, 0) states that f(p) divides p
n
. Since the
set of primes is infinite, there exist integers d and ε with 0 ≤ d ≤ n and ε ∈ {1, −1} such that
for infinitely many primes p we have f(p) = εpd
. Denote the set of these primes by P. Since a
function g satisfies the given condition if and only if −g satisfies the same condition, we may
suppose ε = 1.
The case d = 0 is easily ruled out, because 0 does not divide any nonzero integer. Suppose
d ≥ 1 and write n as md + r, where m and r are integers such that m ≥ 1 and 0 ≤ r ≤ d − 1.
Let x be an arbitrary integer. For each prime p in P, the difference f(p)−f(x) divides p
n −x
n
.
Using the equality f(p) = p
d
, we get
p
n − x
n = p
r
(p
d
)
m − x
n ≡ p
r
f(x)
m − x
n ≡ 0 (mod p
d − f(x))
Since we have r < d, for large enough primes p ∈ P we obtain
|p
r
f(x)
m − x
n
| < pd − f(x).
Hence p
rf(x)
m − x
n has to be zero. This implies r = 0 and x
n = (x
d
)
m = f(x)
m. Since m is
odd, we obtain f(x) = x
d
Z K Y
G
H
=
a