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
Geometry
MathsII-enjoy   0
5 minutes ago
Given triangle $ABC$ inscribed in $(O)$, $S$ is the midpoint of arc $BAC$ of $(O)$. The perpendicular bisector $BO$ intersects $BS$ at $I$. $(I;IB)$ intersects $AB$ at $U$ different from $B$. $H$ is the orthocenter of triangle $ABC$. Prove that $UH$ = $US$
0 replies
MathsII-enjoy
5 minutes ago
0 replies
Find x such that x^4+x^3+x^2+x+1 is perfect square (old)
Amir Hossein   6
N 10 minutes ago by zhoujef000
Find all numbers $x \in \mathbb Z$ for which the number
\[x^4 + x^3 + x^2 + x + 1\]
is a perfect square.
6 replies
Amir Hossein
Oct 3, 2010
zhoujef000
10 minutes ago
Number Theory Chain!
JetFire008   54
N 11 minutes ago by JetFire008
I will post a question and someone has to answer it. Then they have to post a question and someone else will answer it and so on. We can only post questions related to Number Theory and each problem should be more difficult than the previous. Let's start!

Question 1
54 replies
JetFire008
Apr 7, 2025
JetFire008
11 minutes ago
Divisibility NT FE
CHESSR1DER   7
N 16 minutes ago by CHESSR1DER
Source: Own
Find all functions $f$ $N \iff N$ such for any $a,b$:
$(a+b)|a^{f(b)} + b^{f(a)}$.
7 replies
CHESSR1DER
Yesterday at 7:07 PM
CHESSR1DER
16 minutes ago
No more topics!
Serbian selection contest for the BMO 2025 - P2
OgnjenTesic   2
N Apr 8, 2025 by MathLuis
Find all functions $f : \mathbb{N} \to \mathbb{N}$ such that $f(a) + f(b) \mid af(a) - bf(b)$, for all $a, b \in \mathbb{N}$.
(Here, $\mathbb{N}$ is a set of positive integers.)

Proposed by Vukašin Pantelić
2 replies
OgnjenTesic
Apr 7, 2025
MathLuis
Apr 8, 2025
Serbian selection contest for the BMO 2025 - P2
G H J
G H BBookmark kLocked kLocked NReply
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
OgnjenTesic
39 posts
#1
Y by
Find all functions $f : \mathbb{N} \to \mathbb{N}$ such that $f(a) + f(b) \mid af(a) - bf(b)$, for all $a, b \in \mathbb{N}$.
(Here, $\mathbb{N}$ is a set of positive integers.)

Proposed by Vukašin Pantelić
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
grupyorum
1412 posts
#2
Y by
Very nice one. I claim $f(n)$ is of the following form: for arbitrary $c\in\mathbb{N}$, $f(n)=cn$ for all $n$, which clearly works.

Denote the given assertion by $P(a,b)$. Note that $P(a,b)$ gives $f(a)+f(b)\mid af(a)-bf(b)$, so $f(a)+f(b)\mid (a+b)f(b)$. Taking $a=p-1$ and $b=1$, we find $f(p-1)+f(1)\mid pf(1)$. Set $f(1)=c$ to obtain $f(p-1)+c\mid pc$. Note that there is a divisor $d\mid c$ and an infinite set $S$ of primes for which $f(p-1)+c = pd$ for every $p\in S$. Take $c=du$ to write $f(p-1) = d(p-u)$. Our goal is to verify that $u=1$.

We next inspect $P(p-1,q-1)$ for $p,q\in S$. We have $f(p-1)+f(q-1) = d(p+q-2u)$. Furthermore,
\[
(p-1)f(p-1) - (q-1)f(q-1) = d((p-1)(p-u)-(q-1)(q-u)) = d(p-q)(p+q-u-1).
\]So,
\[
f(p-1)+f(q-1)\mid (p-1)f(p-1) - (q-1)f(q-1)\Leftrightarrow p+q-2u\mid (p-q)(p+q-u-1).
\]Notice now that $p+q\equiv 2u\pmod{p+q-2u}$. So, $p+q-u-1\equiv u-1\pmod{p+q-2u}$. Furthermore, $q\equiv -p+2u\pmod{p+2u-q}$, so
\[
(p-q)(p+q-u-1)\equiv (u-1)2(p-u).
\]We can clearly assume $q>p>u$. Fixing $p,q$, we see that $|(p-q)(p+q-u-1)|$ is unbounded as $q\to\infty$, which is a contradiction unless $u=1$. So, $f(p-1)=d(p-1)$ for all $p\in S$.

We are ready to complete the proof. $P(n,p-1)$ gives
\[
f(n)+d(p-1)\mid nf(n) - d(p-1)^2.
\]Check that $p-1\equiv -f(n)/d\pmod{f(n)+d(p-1)}$. So, $f(n)+d(p-1)\mid f(n)(nd-f(n))$. Taking $p$ sufficiently large, we must have $f(n)=dn$ (recall $d=c=f(1)$ is fixed) for all $n$, completing the proof.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
MathLuis
1490 posts
#3
Y by
I have this really odd taste I've seen a very similar F.E. somewhere, idk.
Denote $P(a,b)$ the assertion of the given F.E., rearranging we have $f(a)+f(b) \mid (a+b)f(a)$ for all positive integers $a,b$.
Now of course take $a=k$ and $b=p-k$ for some prime $p$ and $1 \le k \le p-1$ which gives $f(k)+f(p-k) \mid pf(k)$ and here if we ever had that $\gcd(f(k)+f(p-k),p)=1$ then we get $f(k)+f(p-k) \mid f(k)$, a trivial contradiction thus $p \mid f(k)+f(p-k)$ and this means $p \mid f(k)+f(p-k) \mid  pf(k)$, so now we put our focus on a fixed constant, but before that ofc notice $P(1,a)$ gives that $f(a)+f(1) \mid af(1)+f(1)$ which gives that $f(a) \le af(1)$ for all positive integers $a$.
Now continuing again we will put $k=1$ in order to get that $p \mid f(p-1)+f(1) \mid pf(1)$, so let $d \mid f(1)$ a divisor of $f(1)$ then we have by Pigeonhole that there exists infinitely many primes $p$ for which $f(p-1)+f(1)=dp$ for some $d$. So of course now we want to let $f(1)=d\ell$ and have for infinitely many primes $p$ that $f(p-1)=d(p-\ell)$.
Denote the set of such primes as $\mathcal P$, consider any two $q,r \in \mathcal P$ then $P(q-1,r-1)$ gives $d(q+r-2\ell) \mid d(q+r-2)(q-\ell)$ and from here we can get $q+r-2\ell \mid 2(\ell-1)(q-\ell)$ and just fix some $q>(\ell)^{1434}$ while making $r$ large enough to conclude that $\ell=1$ must always hold true and thus $f(p-1)=f(1)(p-1)$ is always in fact true.
To finish just do $P(p-1,a)$ for fixed $a$ and $p \in \mathcal P$ to get $f(a)+f(1)(p-1) \mid f(1)(p-1)(a+p-1) \mid (f(1)(p-1))^2+af(1) \cdot f(1)(p-1)$ which should give that $f(a)+f(1)(p-1) \mid f(a)(f(a)-af(1))$ so setting $p$ large gives $f(a)=af(1)$ for all positive integers $a$ by repeating the process for all, thus we are done :cool:.
This post has been edited 1 time. Last edited by MathLuis, Apr 8, 2025, 3:37 AM
Z K Y
N Quick Reply
G
H
=
a