Join our free webinar April 22 to learn about competitive programming!

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
Factor sums of integers
Aopamy   2
N 6 minutes ago by cadaeibf
Let $n$ be a positive integer. A positive integer $k$ is called a benefactor of $n$ if the positive divisors of $k$ can be partitioned into two sets $A$ and $B$ such that $n$ is equal to the sum of elements in $A$ minus the sum of the elements in $B$. Note that $A$ or $B$ could be empty, and that the sum of the elements of the empty set is $0$.

For example, $15$ is a benefactor of $18$ because $1+5+15-3=18$.

Show that every positive integer $n$ has at least $2023$ benefactors.
2 replies
1 viewing
Aopamy
Feb 23, 2023
cadaeibf
6 minutes ago
Least integer T_m such that m divides gauss sum
Al3jandro0000   33
N 10 minutes ago by NerdyNashville
Source: 2020 Iberoamerican P2
Let $T_n$ denotes the least natural such that
$$n\mid 1+2+3+\cdots +T_n=\sum_{i=1}^{T_n} i$$Find all naturals $m$ such that $m\ge T_m$.

Proposed by Nicolás De la Hoz
33 replies
Al3jandro0000
Nov 17, 2020
NerdyNashville
10 minutes ago
Estonian Math Competitions 2005/2006
STARS   2
N 12 minutes ago by jasperE3
Source: Juniors Problem 4
A $ 9 \times 9$ square is divided into unit squares. Is it possible to fill each unit square with a number $ 1, 2,..., 9$ in such a way that, whenever one places the tile so that it fully covers nine unit squares, the tile will cover nine different numbers?
2 replies
STARS
Jul 30, 2008
jasperE3
12 minutes ago
Sum of whose elements is divisible by p
nntrkien   43
N 24 minutes ago by lpieleanu
Source: IMO 1995, Problem 6, Day 2, IMO Shortlist 1995, N6
Let $ p$ be an odd prime number. How many $ p$-element subsets $ A$ of $ \{1,2,\dots,2p\}$ are there, the sum of whose elements is divisible by $ p$?
43 replies
nntrkien
Aug 8, 2004
lpieleanu
24 minutes ago
No more topics!
Functional equation
tenplusten   9
N Apr 15, 2025 by Jakjjdm
Source: Bulgarian NMO 2015 P4
Find all functions $f:\mathbb{R^+}\to\mathbb {R^+} $ such that for all $x,y\in R^+$ the followings hold:
$i) $ $f (x+y)\ge f (x)+y $
$ii) $ $f (f (x))\le x $
9 replies
tenplusten
Apr 29, 2018
Jakjjdm
Apr 15, 2025
Functional equation
G H J
G H BBookmark kLocked kLocked NReply
Source: Bulgarian NMO 2015 P4
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
tenplusten
1000 posts
#1 • 4 Y
Y by huyaops, itslumi, Adventure10, Mango247
Find all functions $f:\mathbb{R^+}\to\mathbb {R^+} $ such that for all $x,y\in R^+$ the followings hold:
$i) $ $f (x+y)\ge f (x)+y $
$ii) $ $f (f (x))\le x $
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
pco
23508 posts
#2 • 6 Y
Y by Polynom_Efendi, Assassino9931, itslumi, Timmy456, Adventure10, Mango247
tenplusten wrote:
Find all functions $f:\mathbb{R^+}\to\mathbb {R^+} $ such that for all $x,y\in R^+$ the followings hold:
$i) $ $f (x+y)\ge f (x)+y $
$ii) $ $f (f (x))\le x $
i) implies $f(x)$ is strictly increasing
ii) implies then $f(x)\le x$
i) implies $f(x)\ge f(x-y)+y>y$ $\forall y\in(0,x)$
Setting there $y\to x^-$, we get $f(x)\ge x$ $\forall x$

And so $\boxed{f(x)=x\quad\forall x>0}$ which indeed is a solution.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
tenplusten
1000 posts
#3 • 2 Y
Y by Adventure10, Mango247
I got the first 3 steps ,can you please eloborate what you do in your final step?
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
pco
23508 posts
#4 • 2 Y
Y by Adventure10, Mango247
tenplusten wrote:
I got the first 3 steps ,can you please eloborate what you do in your final step?

We have $f(x)>y$ $\forall y\in(0,x)$
Set there $y$ as near as you want of $x$ (but below) and this gives $f(x)\ge x$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
nothingzer001
7 posts
#6
Y by
another easy solution
x≥f(f(x))≥f(f(x)-k)+k
if k≥x we are done so x≥f(x)
if there is at least one x wich x-s≥f(x) where s≠0 so we write x-s≥f(x)≥f(x-y)+y now we put x-s=y so that means 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.
Assassino9931
1247 posts
#7
Y by
Clearly $f(x+y) \geq f(x) + y > f(x)$, i.e. $f$ is strictly increasing. If we suppose that $f(x_0) > x_0$ for some $x_0$, then the monotonicity and the second condition yield $x_0 \geq f(f(x_0)) > f(x_0) > x_0$, contradiction. Hence $f(x) \leq x$ for all $x$.

Suppose $f(x_0) < x_0$ for some $x_0$. Then in the first condition replace $x$ with $x_0-f(x_0)$ and $y$ with $f(x_0)$ to obtain $f(x_0) \geq f(x_0 - f(x_0)) + f(x_0) > f(x_0)$, impossible. Hence $f(x) \geq x$ for all $x$.

In conclusion, $f(x) = x$ for all $x$. Direct verification shows that this function is indeed a solution.
This post has been edited 1 time. Last edited by Assassino9931, Feb 26, 2024, 10:58 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
ZETA_in_olympiad
2211 posts
#9
Y by
Clearly $f$ is strictly increasing and so $f(x)\leqslant x$. If $f(x)<x$ for some $x$, then $(x,y)=(x-f(x),f(x))$ gives contradiction. So $f\equiv \text{Id}$, which works.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
MathLuis
1500 posts
#10
Y by
Let $P(x,y)$ the assertion of the F.E. (ineq actually). Clearly as $f(x+y) \ge f(x)+y>f(x)$ we have $f$ strictly increasing.
Suppose there exists $x$ with $f(x)>x$, then by $P(x,f(x)-x)$ we get $x \ge f(f(x)) \ge 2f(x)-x$ which implies $x \ge f(x)$ contradiction!.
Therefore $x \ge f(x)$ for all positive reals $x$, which also means that as $x$ becomes smaller so does $f(x)$, so now lets consider $P(x-y,y)$ for $x>y$ this gives $f(x) \ge f(x-y)+y$, if we assume FTSOC $x>f(x)$ for some $x$ then this gives $0 \ge f(x-f(x))$, contradiction!.
Therefore $x \ge f(x) \ge x$ so $f(x)=x$ is the only solution, thus we are done :cool:.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
cursed_tangent1434
596 posts
#11 • 1 Y
Y by GeoKing
Pretty straightforward. The answer is $f(x) = x$ for all $x \in \mathbb{R}^+$. It’s easy to see that these functions satisfy the given conditions. We now show these are the only solutions.

Let $P(x,y)$ denote the assertion that $f (x+y)\ge f (x)+y $ for positive reals $x$ and $y$. We first show the following property of $f$.

Claim : The function $f$ is (strictly) increasing.
Proof : For any positive $\epsilon$ , $P(x,\epsilon)$ yield,
\[f(x+\epsilon)/ge f(x)+\epsilon > f(x)\]which implies the claim.

Say there exists some positive real $x_0$ such that $f(x_0)>x_0$. Then, $P((f(x_0)-x_0),x_0)$ implies,
\[f(f(x_0)) = f((f(x_0)-x_0)+x_0) \ge f(f(x_0)-x_0)+x_0 > x_0\]which contradicts the second condition. Thus, for all $x \in \mathbb{R}^+$, $f(x) \le x$.

Say there exists some positive real $x_0$ such that $f(x_0) < x_0$. Then, $P((x_0-f(x_0)),x_0)$ implies,
\[f(x_0)=f((x_0-f(x_0))+f(x_0)) \ge f(x_0-f(x_0))+f(f(x_0))> f(x_0-f(x_0))\]which contradicts the strictly increasing nature of $f$. Thus, for all $x \in \mathbb{R}^+$, $f(x) \ge x$.

Combining these two results, we have that the only possible solution is the desired one.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Jakjjdm
2 posts
#12
Y by
The only solution is $f(x) = x$. With i), we get that $f((x + y - \epsilon) + \epsilon) \geq f(\epsilon) + x + y - \epsilon$, $\epsilon > 0$.
With ii), we have $x + y \geq f(f(x+y)) \geq f(x + y) - \epsilon + f(\epsilon) \geq x + y - 2\epsilon + 2f(\epsilon)$. Now, let $\epsilon$ tend to zero, so $f(x + y) - \epsilon$ tends to $f(x + y)$ and $x + y - 2\epsilon + 2f(\epsilon)$ tends to $x + y$, because $2f(\epsilon) \leq 2\epsilon$, so $x + y \geq f(x + y) \geq x + y$, giving us $f(x) = x \ \ \forall \ \ x$, wich is indeed a solution.
This post has been edited 2 times. Last edited by Jakjjdm, Apr 15, 2025, 10:39 PM
Z K Y
N Quick Reply
G
H
=
a