We have your learning goals covered with Spring and Summer courses available. Enroll today!

G
Topic
First Poster
Last Poster
k a March Highlights and 2025 AoPS Online Class Information
jlacosta   0
Mar 2, 2025
March is the month for State MATHCOUNTS competitions! Kudos to everyone who participated in their local chapter competitions and best of luck to all going to State! Join us on March 11th for a Math Jam devoted to our favorite Chapter competition problems! Are you interested in training for MATHCOUNTS? Be sure to check out our AMC 8/MATHCOUNTS Basics and Advanced courses.

Are you ready to level up with Olympiad training? Registration is open with early bird pricing available for our WOOT programs: MathWOOT (Levels 1 and 2), CodeWOOT, PhysicsWOOT, and ChemWOOT. What is WOOT? WOOT stands for Worldwide Online Olympiad Training and is a 7-month high school math Olympiad preparation and testing program that brings together many of the best students from around the world to learn Olympiad problem solving skills. Classes begin in September!

Do you have plans this summer? There are so many options to fit your schedule and goals whether attending a summer camp or taking online classes, it can be a great break from the routine of the school year. Check out our summer courses at AoPS Online, or if you want a math or language arts class that doesn’t have homework, but is an enriching summer experience, our AoPS Virtual Campus summer camps may be just the ticket! We are expanding our locations for our AoPS Academies across the country with 15 locations so far and new campuses opening in Saratoga CA, Johns Creek GA, and the Upper West Side NY. Check out this page for summer camp information.

Be sure to mark your calendars for the following events:
[list][*]March 5th (Wednesday), 4:30pm PT/7:30pm ET, HCSSiM Math Jam 2025. Amber Verser, Assistant Director of the Hampshire College Summer Studies in Mathematics, will host an information session about HCSSiM, a summer program for high school students.
[*]March 6th (Thursday), 4:00pm PT/7:00pm ET, Free Webinar on Math Competitions from elementary through high school. Join us for an enlightening session that demystifies the world of math competitions and helps you make informed decisions about your contest journey.
[*]March 11th (Tuesday), 4:30pm PT/7:30pm ET, 2025 MATHCOUNTS Chapter Discussion MATH JAM. AoPS instructors will discuss some of their favorite problems from the MATHCOUNTS Chapter Competition. All are welcome!
[*]March 13th (Thursday), 4:00pm PT/7:00pm ET, Free Webinar about Summer Camps at the Virtual Campus. Transform your summer into an unforgettable learning adventure! From elementary through high school, we offer dynamic summer camps featuring topics in mathematics, language arts, and competition preparation - all designed to fit your schedule and ignite your passion for learning.[/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, Mar 2 - Jun 22
Friday, Mar 28 - Jul 18
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
Tuesday, Mar 25 - Jul 8
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
Sunday, Mar 23 - Jul 20
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
Sunday, Mar 16 - Jun 8
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
Monday, Mar 17 - Jun 9
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
Sunday, Mar 2 - Jun 22
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
Tuesday, Mar 4 - Aug 12
Sunday, Mar 23 - Sep 21
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
Sunday, Mar 16 - Sep 14
Tuesday, Mar 25 - Sep 2
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
Sunday, Mar 23 - Aug 3
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
Sunday, Mar 16 - Aug 24
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
Wednesday, Mar 5 - May 21
Tuesday, Jun 10 - Aug 26

Calculus
Sunday, Mar 30 - Oct 5
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
Sunday, Mar 23 - Jun 15
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
Tuesday, Mar 4 - May 20
Monday, Mar 31 - Jun 23
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
Monday, Mar 24 - Jun 16
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
Sunday, Mar 30 - Jun 22
Wednesday, May 21 - Aug 6
Sunday, Jun 15 - Sep 14
Monday, Jun 23 - Sep 15

Physics 1: Mechanics
Tuesday, Mar 25 - Sep 2
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
Mar 2, 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
Functional equation wrapped in f's
62861   35
N 27 minutes ago by ihatemath123
Source: RMM 2019 Problem 5
Determine all functions $f: \mathbb{R} \to \mathbb{R}$ satisfying
\[f(x + yf(x)) + f(xy) = f(x) + f(2019y),\]for all real numbers $x$ and $y$.
35 replies
62861
Feb 24, 2019
ihatemath123
27 minutes ago
JBMO Shortlist 2023 C1
Orestis_Lignos   6
N 31 minutes ago by zhenghua
Source: JBMO Shortlist 2023, C1
Given is a square board with dimensions $2023 \times 2023$, in which each unit cell is colored blue or red. There are exactly $1012$ rows in which the majority of cells are blue, and exactly $1012$ columns in which the majority of cells are red.

What is the maximal possible side length of the largest monochromatic square?
6 replies
Orestis_Lignos
Jun 28, 2024
zhenghua
31 minutes ago
Number Theory
MuradSafarli   6
N 37 minutes ago by krish6_9
Find all natural numbers \( a, b, c \) such that

\[
2^a \cdot 3^b + 1 = 5^c.
\]
6 replies
MuradSafarli
4 hours ago
krish6_9
37 minutes ago
Equilateral triangle geo
MathSaiyan   1
N an hour ago by ricarlos
Source: PErA 2025/3
Let \( ABC \) be an equilateral triangle with circumcenter \( O \). Let \( X \) and \( Y \) be two points on segments \( AB \) and \( AC \), respectively, such that \( \angle XOY = 60^\circ \). If \( T \) is the reflection of \( O \) with respect to line \( XY \), prove that lines \( BT \) and \( OY \) are parallel.
1 reply
MathSaiyan
Yesterday at 1:47 PM
ricarlos
an hour ago
IMO 2009, Problem 5
orl   86
N an hour ago by Ilikeminecraft
Source: IMO 2009, Problem 5
Determine all functions $ f$ from the set of positive integers to the set of positive integers such that, for all positive integers $ a$ and $ b$, there exists a non-degenerate triangle with sides of lengths
\[ a, f(b) \text{ and } f(b + f(a) - 1).\]
(A triangle is non-degenerate if its vertices are not collinear.)

Proposed by Bruno Le Floch, France
86 replies
orl
Jul 16, 2009
Ilikeminecraft
an hour ago
IMO 2023 P2
799786   88
N an hour ago by Frd_19_Hsnzde
Source: IMO 2023 P2
Let $ABC$ be an acute-angled triangle with $AB < AC$. Let $\Omega$ be the circumcircle of $ABC$. Let $S$ be the midpoint of the arc $CB$ of $\Omega$ containing $A$. The perpendicular from $A$ to $BC$ meets $BS$ at $D$ and meets $\Omega$ again at $E \neq A$. The line through $D$ parallel to $BC$ meets line $BE$ at $L$. Denote the circumcircle of triangle $BDL$ by $\omega$. Let $\omega$ meet $\Omega$ again at $P \neq B$. Prove that the line tangent to $\omega$ at $P$ meets line $BS$ on the internal angle bisector of $\angle BAC$.
88 replies
799786
Jul 8, 2023
Frd_19_Hsnzde
an hour ago
Diagonals BD,CE concurrent with diameter AO in cyclic ABCDE
WakeUp   10
N 2 hours ago by zhenghua
Source: Romanian TST 2002
Let $ABCDE$ be a cyclic pentagon inscribed in a circle of centre $O$ which has angles $\angle B=120^{\circ},\angle C=120^{\circ},$ $\angle D=130^{\circ},\angle E=100^{\circ}$. Show that the diagonals $BD$ and $CE$ meet at a point belonging to the diameter $AO$.

Dinu Șerbănescu
10 replies
WakeUp
Feb 5, 2011
zhenghua
2 hours ago
Parallel lines in two-circle configuration
Tintarn   3
N 2 hours ago by zhenghua
Source: Francophone 2024, Senior P3
Let $ABC$ be an acute triangle, $\omega$ its circumcircle and $O$ its circumcenter. The altitude from $A$ intersects $\omega$ in a point $D \ne A$ and the segment $AC$ intersects the circumcircle of $OCD$ in a point $E \ne C$. Finally, let $M$ be the midpoint of $BE$. Show that $DE$ is parallel to $OM$.
3 replies
Tintarn
Apr 4, 2024
zhenghua
2 hours ago
IMO Shortlist 2013, Algebra #5
lyukhson   33
N 2 hours ago by HamstPan38825
Source: IMO Shortlist 2013, Algebra #5
Let $\mathbb{Z}_{\ge 0}$ be the set of all nonnegative integers. Find all the functions $f: \mathbb{Z}_{\ge 0} \rightarrow \mathbb{Z}_{\ge 0} $ satisfying the relation
\[ f(f(f(n))) = f(n+1 ) +1 \]
for all $ n\in \mathbb{Z}_{\ge 0}$.
33 replies
lyukhson
Jul 9, 2014
HamstPan38825
2 hours ago
f(2) = 7, find all integer functions [Taiwan 2014 Quizzes]
v_Enhance   56
N 2 hours ago by Maximilian113
Find all increasing functions $f$ from the nonnegative integers to the integers satisfying $f(2)=7$ and \[ f(mn) = f(m) + f(n) + f(m)f(n) \] for all nonnegative integers $m$ and $n$.
56 replies
v_Enhance
Jul 18, 2014
Maximilian113
2 hours ago
China MO 2021 P6
NTssu   22
N 2 hours ago by HamstPan38825
Source: CMO 2021 P6
Find $f: \mathbb{Z}_+ \rightarrow \mathbb{Z}_+$, such that for any $x,y \in \mathbb{Z}_+$, $$f(f(x)+y)\mid x+f(y).$$
22 replies
NTssu
Nov 25, 2020
HamstPan38825
2 hours ago
Very concex function
lomos_lupin   48
N 2 hours ago by Ilikeminecraft
Source: USAM0 2000 #1 (billzhao)
Call a real-valued function $ f$ very convex if
\[ \frac {f(x) + f(y)}{2} \ge f\left(\frac {x + y}{2}\right) + |x - y|
\]
holds for all real numbers $ x$ and $ y$. Prove that no very convex function exists.
48 replies
lomos_lupin
Aug 8, 2005
Ilikeminecraft
2 hours ago
USAMO 2001 Problem 6
MithsApprentice   20
N 3 hours ago by Ritwin
Each point in the plane is assigned a real number such that, for any triangle, the number at the center of its inscribed circle is equal to the arithmetic mean of the three numbers at its vertices. Prove that all points in the plane are assigned the same number.
20 replies
MithsApprentice
Sep 30, 2005
Ritwin
3 hours ago
Bijection on the set of integers
talkon   18
N 3 hours ago by HamstPan38825
Source: InfinityDots MO 2 Problem 2
Determine all bijections $f:\mathbb Z\to\mathbb Z$ satisfying
$$f^{f(m+n)}(mn) = f(m)f(n)$$for all integers $m,n$.

Note: $f^0(n)=n$, and for any positive integer $k$, $f^k(n)$ means $f$ applied $k$ times to $n$, and $f^{-k}(n)$ means $f^{-1}$ applied $k$ times to $n$.

Proposed by talkon
18 replies
talkon
Apr 9, 2018
HamstPan38825
3 hours ago
Another NT FE
nukelauncher   60
N Yesterday at 12:50 AM by pi271828
Source: ISL 2019 N4
Find all functions $f:\mathbb Z_{>0}\to \mathbb Z_{>0}$ such that $a+f(b)$ divides $a^2+bf(a)$ for all positive integers $a$ and $b$ with $a+b>2019$.
60 replies
nukelauncher
Sep 22, 2020
pi271828
Yesterday at 12:50 AM
Another NT FE
G H J
Source: ISL 2019 N4
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
nukelauncher
354 posts
#1 • 8 Y
Y by TheLiker, itslumi, Kanep, centslordm, megarnie, ImSh95, TheHU-1729, deplasmanyollari
Find all functions $f:\mathbb Z_{>0}\to \mathbb Z_{>0}$ such that $a+f(b)$ divides $a^2+bf(a)$ for all positive integers $a$ and $b$ with $a+b>2019$.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
nukelauncher
354 posts
#2 • 3 Y
Y by Mathematicsislovely, centslordm, ImSh95
Solution
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
anyone__42
92 posts
#3 • 11 Y
Y by idkwhatthisis, Kanep, Aryan-23, centslordm, TheMath_boy, uvuvwevwevwe, megarnie, sabkx, Vladimir_Djurica, ImSh95, TensorGuy666
can be done easily using dirichlet's theorem
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
dangerousliri
924 posts
#4 • 4 Y
Y by A-Thought-Of-God, centslordm, sabkx, ImSh95
Here it is a solution that I did find when I did get the shortlist. Somehow for me it took me faster to solve this then N1 which was on the test. Also it should be $a+b>C$ and not $a+b>2019.$

Since $gcd(f(1),1)=1$ from Dirichlet's theorem we have there exist infinitely prime numbers of the form $1+nf(1)$. Taking all such $n>C$ then for $a=1$ and $b=n$ we have,
$$1+f(n)|1+nf(1)\Rightarrow f(n)=nf(1).$$
Now taking $a$ fixed and $b=n>C$ large enough we have,
$$a+nf(1)|a+f(n)|a^2+nf(a)|f(1)a^2+f(1)nf(a)\Rightarrow a+nf(1)|f(1)a^2+f(1)nf(a)-(a+nf(1))f(a)$$$$\Rightarrow a+nf(1)|a(f(1)a-f(a))\Rightarrow f(a)=f(1)a=ka.$$
Hence $f(a)=ka$ for all positive integers $a$, and clearly for any positive integer $k$ hold.
This post has been edited 1 time. Last edited by dangerousliri, Sep 23, 2020, 12:10 AM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
blacksheep2003
1081 posts
#5 • 3 Y
Y by centslordm, sabkx, ImSh95
Solution

Oh wow, I thought my solution was pretty unique to use Dirichlet's Theorem, but it seems other people had the same idea lol oops :P
This post has been edited 4 times. Last edited by blacksheep2003, Sep 23, 2020, 12:49 AM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
MarkBcc168
1593 posts
#6 • 12 Y
Y by mijail, Imayormaynotknowcalculus, k12byda5h, A-Thought-Of-God, Aryan-23, Kanep, centslordm, tigerzhang, GeoKing, ImSh95, Stuffybear, iamnotgentle
Comment: Extremely standard NT functional divisibility. This trick used to solve this problem have been appeared many many times.

As in every functional divisibility problems, the main point is to prove that $f$ is linear on some infinite set. We prove the following claim.

Claim: There exists infinite sequence $C<x_1<x_2<\hdots$ such that $f(x_i)=kx_i$ for some constant $k$.

Proof: The idea is to force the right hand side to be prime. By Dirichlet, there exists infinitely many $x>C$ which $1+xf(1)=p$ is prime. However,
$$1+f(x)\mid xf(1)+1\implies f(x)+1\in\{1,p\}\implies f(x)=xf(1)$$for infinitely many $x$. Hence we are done. $\blacksquare$

Once we have this we are almost done. Fix $n\in\mathbb{Z}^+$. Since
\begin{align*}
&n+kx_i\mid n^2+x_if(n) \\ 
\implies &n+kx_i\mid k(n^2+x_if(n)) - f(n)(n+kx_i) \\
\implies &n+kx_i\mid kn^2-nf(n)
\end{align*}and $x_i$ is arbitrarily large. We get $f(n)=kn$ for any $n$.
This post has been edited 1 time. Last edited by MarkBcc168, Sep 23, 2020, 1:43 AM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
FAA2533
65 posts
#7 • 3 Y
Y by Aryan-23, centslordm, ImSh95
nukelauncher wrote:
Find all functions $f:\mathbb Z_{>0}\to \mathbb Z_{>0}$ such that $a+f(b)$ divides $a^2+bf(a)$ for all positive integers $a$ and $b$ with $a+b>2019$.
It somehow seemed very easy to me than N1.

Solution
This post has been edited 6 times. Last edited by FAA2533, Jul 18, 2022, 2:35 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
ubermensch
820 posts
#9 • 4 Y
Y by ATGY, Illuzion, centslordm, ImSh95
Let $P(a,b)$ denote the assertion that $a+f(b) \mid a^2+bf(a)$.

Naturally, a $P(1,b)$ substitution gives us $1+f(b) \mid 1+bf(1) \implies bf(1) \geq f(b)$. We'll now denote $f(1)$ by $k$, as we shall be using it quite extensively.

$P(a,1): a+k \mid a^2+f(a) \implies a+k \mid a^2+f(a)-a(a+k) \implies a+k \mid f(a)-ak \implies a+k \mid f(a)-ak +k(a+k)$.

Hence we get $a+k \mid f(a)+k^2$. Coupled with our first bound, this gives us that $f(a)=at+tk-k^2$ for large enough $a$.

Here, although it is quite instinctual to substitute $a$ as a prime, we can in fact avoid that altogether and deal just with our regular naturals- although it will get quite ugly, but at the very least it will remain very mechanical.

Our aim, as it always is in such problems, is to manipulate the divisibility so as to be able to make the left hand side arbitrarily large without altering the expression on the right, hence forcing the right hand side to be become zero. A simple $(a,b)$ substitution in the original expression with a little modification would give us what we're looking for.

Firstly-
$$a+f(b) \mid a^2+bf(a) \implies a+f(b) \mid a^2+bf(a)-a(a+f(b))$$$$\implies a+f(b) \mid bf(a)-af(b) +f(b)(a+f(b)) \implies a+f(b) \mid bf(a)+f(b)^2$$
Thus we have $a+f(b) \mid f(b)^2 + bf(a)$. We now substitute $f(a)=at+(k^2-kt)$ to get-

$$a+f(b) \mid b(at+k^2-kt)+f(b)^2$$$$\implies a+f(b) \mid abt+bk^2-bkt+f(b)^2-bt(a+f(b)) \implies a+f(b) \mid b(k^2-kt)+f(b)^2-btf(b)$$Observe now that we can make our $a$ arbitrarily large for a constant $b$, and noting that $k=f(1)$ has a fixed value along with $t \leq k$ forces $f(b)^2-btf(b)+b(k^2-kt)=0$, as planned.

Writing $f(b)=rb+rk-k^2$ gives us $(rb+rk-k^2)^2-bt(rb+rk-k^2)+b(k^2-kt)=0$. For large $b$, since our $k$ and $t$ are small (compared to our now large $b$), we can simply equate the coefficients of $b^2$ and $b$ and the constant term zero individually. Hence, $r^2-rt=0 \implies r=t$ and equating the constant term to zero gives us $r=k$.

Thus, for arbitrarily large $n$, we have $f(n)=kn$. The finish is now quite simple-
$$P(n,b): n+f(b) \mid n^2+knb-n(n+f(b))-(kb-f(b))(n+f(b))$$$$\implies n+f(b) \mid (kb-f(b))f(b)$$for large $n$, hence forcing $f(b)=kb$ for all $b$.

Clearly $f(n)=kn$ satisfies the original condition, and hence we're done.

Quite a standard one, and rather mechanical, especially if you've done something like this before (POP). Nevertheless, quite an instructive exercise on functional divisibilities...
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
dchenmathcounts
2443 posts
#10 • 3 Y
Y by centslordm, Marie36, ImSh95
guess this has been said before, but here goes

We claim the answer is $f(x)=kx$ for $k\in \mathbb{Z}_{>0}.$

Fix $a=1.$ Note that $1+bf(1)$ is a prime infinitely often by Dirichlet (is this how you spell it?). So let $b$ be some absurdly large number such that $a+b>2019$ and $1+bf(1)$ is prime; then $1+f(b)\mid 1+bf(1).$ Since $1+bf(1)$ is prime we either have $1+f(b)=1$ or $1+f(b)=1+bf(1).$ Clearly the latter holds, so there are infinitely many $b$ such that $f(b)=bf(1).$

Now take some mega ultra large $b$ such that $f(b)=bf(1),$ and note that $a+f(b)=a+bf(1)\mid a^2+bf(a)$ and $a+bf(1)\mid a^2+abf(1).$ Subtracting the latter from the former gives $a+bf(1)\mid b(f(a)-af(1)).$ Note that $\gcd(a+bf(1),b)=\gcd(a,b),$ so if $a$ is prime this implies that $a+bf(1)\mid f(a)-af(1).$ Since $b$ is, as I quote, "ultra mega large," $|a+bf(1)|>|f(a)-af(1)|,$ so for all prime $a$ we have $f(a)=af(1).$

Now take some ultra mega large prime $b,$ which we have just shown exists, and note that
\[a+bf(1)\mid b(f(a)-af(1)), \text{ which implies that}\]\[a+bf(1)\mid f(a)-af(1),\]and since $b$ is ultra mega large, we have shown that $f(a)=af(1)$ in general.
This post has been edited 1 time. Last edited by dchenmathcounts, Sep 23, 2020, 5:14 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
ayan_mathematics_king
1527 posts
#11 • 6 Y
Y by DapperPeppermint, Mathematicsislovely, amar_04, A-Thought-Of-God, centslordm, ImSh95
Solution by my friend RustyFox who is banned now.So I am posting his solution.
nukelauncher wrote:
Find all functions $f:\mathbb Z_{>0}\to \mathbb Z_{>0}$ such that $a+f(b)$ divides $a^2+bf(a)$ for all positive integers $a$ and $b$ with $a+b>C$.

Solution : Let $P(x, y)$ be the assertion. $P(1, k) \implies kf(1)\geq f(k)$.

This is going to be useful. Let $p \mid x$ where $p$ is a prime.

Let $k = Cf(x)$

$P(kp-f(x), x \implies kp \mid (kp-f(x))^2 + f(kp-f(x))x$ which means that $p \mid f(x)$. So, $p \mid f(p)$ for all primes $p$.

Let us say that $f(p)= g(p)p$ for primes $p$. Observe that $0 < g(p) \leq f(1)$. If $g(p)\neq g(q)$ for two distinct primes $p, q$ which are much much greater than $C$ (say it's much greater than $(C+2019f(1))!\uparrow \uparrow (C+2019f(1))!)$, then $P(p, q) \implies p + qg(q) \mid p^2 + pqg(p)$ or in other words $p + qg(q) \mid pq(g(p)-g(q))$. Now since $gcd(p, q) = gcd(p, g(q)) = gcd(p, qg(q)) = 1$, we havs $p + qg(q) \nmid pq$. Now, $p + qg(q) \mid g(p)-g(q)$ but the dividend is less than $f(1)$ and due to our value of $p, q$, $p + qg(q) >> f(1)$ which means that for all sufficiently large primes we have $g(p) = g(q) = c$. Now for any prime $p$ such that $f(p) = pc$ and any other prime $q$ for which we aren't sure if $f(q)$ equals $qc$ or not and obviously here $q < p$,we take $P(q, p)$ to get that $q + pc \mid p(f(q)-qc)$ and since $pc  + q > pc \geq p$, we havs $q + pc \mid f(q)-qc$ and so see that $f(q) - qc \leq qf(1)-qc = q(f(1)-c)$ and so choosing $p > q(f(1)-c)$ would suffice and so for all primes $p$, we have $f(p)=pc$. Now, let $p >>a$. Then $P(a, p) \implies a + pc \mid pf(a)-pca$ but $gcd(p, a)=1$ and so $a+pc \mid f(a)-ac$. Choosing large enough $p$ yields that $\boxed{f(a)=ac}$ for all naturals $a$
This post has been edited 3 times. Last edited by ayan_mathematics_king, Sep 24, 2020, 7:51 AM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
ProblemSolver2048
104 posts
#15 • 2 Y
Y by centslordm, ImSh95
Since gcd(f(1,),1)=1 from Dirichlet's theorem we have there infinitely prime numbers of the form 1+nf(1). Taking all such n>C then for all a=1 and b=n we have $$1+f(n)|1+nf(1)\Rightarrow f(n)=nf(1).$$Now taking a fixed and b=n> C large enough we have,
$$a+nf(1)|a+f(n)|a^2+nf(a)|f(1)a^2+f(1)nf(a)\Rightarrow a+nf(1)|f(1)a^2+f(1)nf(a)-(a+nf(1))f(a)$$$$\Rightarrow a+nf(1)|a(f(1)a-f(a))\Rightarrow f(a)=f(1)a=ka.$$hence f(a)=ka for all positibe integers , clearly for any positive integer k hold.
Acknowledgements to dangerousliri's in post 4. I didn't make it.
This post has been edited 1 time. Last edited by ProblemSolver2048, Dec 14, 2020, 7:39 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Mathematicsislovely
245 posts
#16 • 5 Y
Y by amar_04, centslordm, ImSh95, sabkx, ylmath123
Let $P(a,b)$ denote the assertion of the question.

Claim:For all prime $p$ we have $p|f(p)$.
proof.Fix a prime $p$.$k$ be an integer such that $(k+1)p-f(p)>2020^{2020}$.Then $P(kp-f(p),p)\implies p|kp-f(p)+f(p)|(kp-f(p))^2+pf(stuff)\implies p|f(p)$. $\blacksquare$.

Then $f(p_n)=c_np_n$ where $p_n$ is the $n^{th}$ prime.But as $P(1,b)\implies f(b)\le f(1)b$ $\forall 
 b\ge 2020$. So $c_n$ is bounded sequence.Hence,there exists an integer $r$ such that it is equal to infinitely many $c_i$.So there exists an increasing sequence $(q_n)_{n=1}^{\infty}$ of prime integers such that $f(q_s)=rq_s$ $\forall s\in \mathbb N$.

Now, for a fix $a$ take a big $q_i$ such that $gcd(a,q_i)=1$.Then,
$P(a,q_i)\implies\\
 a+rq_i|a^2+q_if(a)\\
\implies a+rq_i|a^2+q_if(a)-a^2-arq_i\\
\implies a+rq_i|q_i(f(a)-ar)\\
\implies a+rq_i|(f(a)-ar)$.
Now for sufficiently large $q_i$ we get $f(a)=ar$.Hence,$\boxed{f(x)=rx}$ is the only solution which indeed satisfies the functional equation. $\blacksquare$.
This post has been edited 4 times. Last edited by Mathematicsislovely, Sep 26, 2020, 11:00 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Ilove_mathematics
188 posts
#17 • 3 Y
Y by centslordm, odkaI, ImSh95
Let $P(a,b)$ denote the divisibility $(a+f(b)) \mid (a^2+bf(a)).  ($For simplicity say $C = 2019)$

Let $n$ denote $f(1).$ We are going to show that $f(k) = kn,$ for all $k \in \mathbb{Z}_{>0}.$ Let $\mathbb{A} = \{C+1, C+2, ...\}.$

Lemma 1: Define $g:\mathbb{A} \rightarrow \mathbb{Q}$ as $g(a) = \frac{an-f(a)}{a+n},$ then $g$ is limited.

Proof: Let $a$ be a positive integer greater than $C.$ Then $P(a,1)$ gives $a+n \mid a^2 + f(a) \implies (a+n).q = a^2 + f(a)$ with $q \in \mathbb{N}.$ On the other hand $P(1, a) \implies 1+f(a) \mid 1+an \implies f(a) \leq an,$ therefore $(a+n).a =$ $a^2 + an \geq a^2 + f(a), $ suppose for the sake of contradiction that $f(a) < an \implies q < a \implies q = a-k$ so $(a+n)(a-k) = a^2 + f(a) > a^2,$ since $(a+n)(a-n)  < a^2$ we have $k < n \implies k$ is bounded as $a$ varies along the natural numbers greater than $C,$ yielding $k = \frac{an-f(a)}{a+n} = g(a)$ is limited.$\blacksquare$

Lemma 2: There are infinitely many positive integers $s$ such that $f(s) = sn.$

Proof: Let $S = \{a_1, a_2, ...\}$ be the set of positive integers such that $\frac{a_in-f(a_i)}{a_i+n} = t$ a constant, with $C < a_1 < a_2 < ...,$ there exists such $t,$ because the set $\mathbb{A}$ is unbounded. So $\frac{a_in-f(a_i)}{a_i+n} = t \implies$ $f(a_i) = a_in-t(a_i+n),$ for all $i.$
Now fix $j$ such that $a_j(n-t+1) \ne nt.$ Plugging $a = a_i, b = a_j$ gives: $$(a_i + f(a_j)) \mid (a_i^2 + a_jf(a_i)) \implies$$$$(a_i + a_jn - t(a_j+n)) \mid [(a_i^2 + a_ja_in - a_jt(a_i+n)) - a_i(a_i+a_jn-t(a_j+n))] \implies$$$$(a_i+a_jn-t(a_j+n)) \mid (a_i-a_j)nt.$$Let $d_i$ be $gcd(a_i + a_jn-t(a_j+n), a_i - a_j),$ (of course $i \ne j$) if $d_i > max(a_j(n-t+1), nt) \implies$ $a_i + a_jn-t(a_j+n) \equiv a_j + a_j(n-t) - nt \pmod {d_i} \implies d_i \mid a_j(n-t+1)-nt,$ as supposed we must have $a_j(n-t+1) = nt,$ contradiction. Therefore $d_i$ is bounded. Observe $(a_i + a_jn-t(a_j+n))|d_int,$ $\forall i \in \mathbb{N}, i \ne j,$ setting $i \rightarrow \infty \implies a_i \rightarrow \infty$ thus, we eventually have: $a_i + a_jn -t(a_j+n) > d_int \implies d_int = 0 \implies t = 0 \implies f(a_i) = a_in,$ for all $i,$ sufficiently large. $\blacksquare$


Fix $k$ a positive integer.
Plug $a = k, b = a_i \implies k+a_in \mid k^2 + a_if(k) \implies (k+a_in) \mid (k^2+a_if(k) - k(k+a_in)),$ yielding $(k+a_in) \mid a_i(f(k)-kn)$ so $(k+a_in).q_i = a_i.|f(k)-kn|, q_i \in \mathbb{Z}_{\geq 0} \implies q_i = \frac{a_i.|f(k)-kn|}{k+a_in}$ call $t = |f(k)-kn|$ a constant. If $q_i > t \implies (k+a_in).t < a_i.t$ contradiction. We conclude $q_i$ is bounded. On the other hand if $i \ne j$ and $q_i = q_j \implies \frac{a_it}{k+a_in} = \frac{a_jt}{k+a_jn}$ $\implies a_itk + a_ia_jnt = a_jtk + a_ja_int \implies (a_i-a_j)kt = 0$ then $t$ would be $0.$ Since $q_i, q_j$ are bounded, both positive and we can choose $i, j \in \mathbb{N}$ such that $q_i = q_j, f(k)-kn = 0$ for all $k \in \mathbb{N},$ as $(a+kb).a = a^2 + akb \implies f(a) = an$ for all positive integers $n.$
This post has been edited 1 time. Last edited by Ilove_mathematics, Sep 27, 2020, 4:22 AM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
solver1104
510 posts
#18 • 2 Y
Y by centslordm, ImSh95
Remark: Standard problem, seems pretty easy in difficulty unless I messed up. Also, I cite the so called Weak - Dirichlet theorem many times over this proof. Although no proof of Dirichlet Theorem that I know of is elementary, Weak Dirichlet can easily be proven by cyclotomic polynomials - see Evan Chen's Orders handout for more details.

random stuff

We claim that the answer is all functions $f(x) \equiv cx$ for any positive integer $c$. It's easy to see that all such functions work, because $a + bc | a^2 + abc = a(a+bc)$. Now we show that these are the only functions that work.

Consider the more general problem, replacing $2019$ with any constant $C$. Denote the given assertion$P(a,b)$.

Now we claim that $f(b) = bf(1)$ holds for infinitely many $b$. Indeed, $P(1,b)$ gives $1 + f(b) | 1 + bf(1)$, and now by Weak Dirichlet, there exists infinitely many $b$ such that $bf(1) + 1$ is prime, and since $1 + f(b) > 1$, we have $f(b) = bf(1)$, as desired.

Now we show that this actually implies $f(a) = af(1)$ for all $a$. Indeed, by Weak Dirichlet again, there exists infinitely many primes that are $1 \pmod{f(a) \cdot f(1)}$ for any $a$. Now take a prime of this form, $p$, and let $p$ be arbitrarily large. Note that $p$ is relatively prime to $f(a)$, and it is also of the form $cf(1) + 1$ for some $c$, hence by the first claim, $f(p) = pf(1)$. Then $P(p,a)$ gives $p + f(a) | p^2 + apf(1)$. Now $\gcd(p, p+f(a)) = \gcd(p,f(a)) = 1$ by the assumption that $p$ is $1 \pmod{f(a)}$, so the extra factor of $p$ on the $RHS$ can be taken out. Now we have $p + f(a) | p + af(1)$ for all $a$, and since $p$ is arbitrarily large, so that $p >>> f(a), af(1)$, so the two sides are actually equal, and 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.
rcorreaa
238 posts
#19 • 2 Y
Y by centslordm, ImSh95
Pretty standard NT FE problem... :maybe:

From the problem, $1+f(n)|1+nf(1)$ for all $n \in \mathbb{N}$. From Dirichlet's Theorem, since $gcd(1,f(1))=1$, there are infinetly prime numbers in the AP $\{1+nf(1)\}_{n \geq 1}$.

Thus, since $1+f(n)>1, 1+f(n)=1+nf(1)$ when $1+nf(1)$ is prime $\implies f(n)=nf(1)$ in this case.

Hence, there exists a sequence $\{a_n\}_{n=1}^{\infty}$ such that $f(a_n)=a_nf(1)$ for all $n \in \mathbb{N}$. Then, from the problem,
$$a+a_nf(1)|a^2+a_nf(a) \implies a+a_nf(1)|a^2f(1)+a_nf(a)f(1),af(a)+f(a)f(1)a_n$$$$\implies a+a_nf(1)|a^2f(1)-af(a)$$for all $n \in \mathbb{N}$

Taking $n$ large enough, $a^2f(1)-af(a)$ must be $0$.

Therefore, $f(a)=af(1)$ for all $a \in \mathbb{N}$, which clearly works.

$\blacksquare$
Z K Y
G
H
=
a