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
Constant Angle Sum
i3435   6
N a few seconds ago by bin_sherlo
Source: AMASCIWLOFRIAA1PD (mock oly geo contest) P3
Let $ABC$ be a triangle with circumcircle $\Omega$, $A$-angle bisector $l_A$, and $A$-median $m_A$. Suppose that $l_A$ meets $\overline{BC}$ at $D$ and meets $\Omega$ again at $M$. A line $l$ parallel to $\overline{BC}$ meets $l_A$, $m_A$ at $G$, $N$ respectively, so that $G$ is between $A$ and $D$. The circle with diameter $\overline{AG}$ meets $\Omega$ again at $J$.

As $l$ varies, show that $\angle AMN + \angle DJG$ is constant.

MP8148
6 replies
i3435
May 11, 2021
bin_sherlo
a few seconds ago
NEPAL TST 2025 DAY 2
Tony_stark0094   8
N 16 minutes ago by cursed_tangent1434
Consider an acute triangle $\Delta ABC$. Let $D$ and $E$ be the feet of the altitudes from $A$ to $BC$ and from $B$ to $AC$ respectively.

Define $D_1$ and $D_2$ as the reflections of $D$ across lines $AB$ and $AC$, respectively. Let $\Gamma$ be the circumcircle of $\Delta AD_1D_2$. Denote by $P$ the second intersection of line $D_1B$ with $\Gamma$, and by $Q$ the intersection of ray $EB$ with $\Gamma$.

If $O$ is the circumcenter of $\Delta ABC$, prove that $O$, $D$, and $Q$ are collinear if and only if quadrilateral $BCQP$ can be inscribed within a circle.

$\textbf{Proposed by Kritesh Dhakal, Nepal.}$
8 replies
Tony_stark0094
Apr 12, 2025
cursed_tangent1434
16 minutes ago
Interesting inequalities
sqing   4
N 22 minutes ago by sqing
Source: Own
Let $ a,b,c\geq  0 $ and $  ab+bc+ca+abc=4$ . Prove that
$$k(a+b+c) -ab-bc\geq 4\sqrt{k(k+1)}-(k+4)$$Where $ k\geq \frac{16}{9}. $
$$ \frac{16}{9}(a+b+c) -ab-bc\geq  \frac{28}{9}$$
4 replies
+1 w
sqing
3 hours ago
sqing
22 minutes ago
NEPAL TST DAY 2 PROBLEM 2
Tony_stark0094   6
N 34 minutes ago by cursed_tangent1434
Kritesh manages traffic on a $45 \times 45$ grid consisting of 2025 unit squares. Within each unit square is a car, facing either up, down, left, or right. If the square in front of a car in the direction it is facing is empty, it can choose to move forward. Each car wishes to exit the $45 \times 45$ grid.

Kritesh realizes that it may not always be possible for all the cars to leave the grid. Therefore, before the process begins, he will remove $k$ cars from the $45 \times 45$ grid in such a way that it becomes possible for all the remaining cars to eventually exit the grid.

What is the minimum value of $k$ that guarantees that Kritesh's job is possible?

$\textbf{Proposed by Shining Sun. USA}$
6 replies
Tony_stark0094
Apr 12, 2025
cursed_tangent1434
34 minutes ago
No more topics!
Nasty Floor Sum with Omega Function
Kezer   8
N Apr 3, 2025 by cubres
Source: Bulgaria 1989, Evan Chen's Summation Handout
Let $\Omega(n)$ denote the number of prime factors of $n$, counted with multiplicity. Evaluate \[ \sum_{n=1}^{1989} (-1)^{\Omega(n)}\left\lfloor \frac{1989}{n} \right \rfloor. \]
8 replies
Kezer
Jul 15, 2017
cubres
Apr 3, 2025
Nasty Floor Sum with Omega Function
G H J
Source: Bulgaria 1989, Evan Chen's Summation Handout
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Kezer
986 posts
#1 • 4 Y
Y by Binomial-theorem, Adventure10, superpi, cubres
Let $\Omega(n)$ denote the number of prime factors of $n$, counted with multiplicity. Evaluate \[ \sum_{n=1}^{1989} (-1)^{\Omega(n)}\left\lfloor \frac{1989}{n} \right \rfloor. \]
This post has been edited 3 times. Last edited by Kezer, Jul 15, 2017, 12:55 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Tintarn
9036 posts
#2 • 2 Y
Y by Adventure10, cubres
Do you really mean the upper summation bound of the dummy variable $n$ to be a function of the dummy variable $n$?
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Kezer
986 posts
#3 • 2 Y
Y by Adventure10, cubres
Uhm, sorry, I typo'd, it should read $1989$.

Edit: And I missed the factor $(-1)^{\Omega(n)}$, wow.
This post has been edited 1 time. Last edited by Kezer, Jul 15, 2017, 10:19 AM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Kezer
986 posts
#4 • 3 Y
Y by Binomial-theorem, Adventure10, cubres
Nevermind, I got it, so I suppose I could post the solution real quick as well.

Note that \begin{align*} \sum_{n=1}^{1989} (-1)^{\Omega(n)}\left\lfloor \frac{1989}{n} \right \rfloor &= \sum_{n=1}^{1989} (-1)^{\Omega(n)} \sum_{\substack{m \leq 1989  \\n \mid m}} 1
\\ &= \sum_{n=1}^{1989} \sum_{\substack{m \leq 1989  \\n \mid m}} (-1)^{\Omega(n)}
\\ &= \sum_{m=1}^{1989} \sum_{n \mid m} (-1)^{\Omega(n)}
\\ &= \sum_{n=1}^{1989} \sum_{d \mid n} (-1)^{\Omega(d)}.
\end{align*}The last line only since I like these variables better, heh. Let $\lambda(n)=(-1)^{\Omega(n)}$ [which is called the Liouville Function] then we can see that $\lambda$ is multiplicative, as $\Omega(ab)=\Omega(a)+\Omega(b)$. But by Dirichlet Convolution \[ \sum_{d \mid n} \lambda(d) = \lambda \ast \textbf{1} \]we can see that $\sum_{d \mid n} \lambda(d)$ is also multiplicative. So it suffices to look at prime powers $p^e$. It's now easy to conclude that \[ \sum_{d \mid n} \lambda(d)= \begin{cases} 1 \text{, if } n \text{ is a perfect square}
\\ 0 \text{, else.} \end{cases}\]So it suffices to count the number of perfect squares smaller than $1989$ and well $44^2<1989<45^2$, hence the answer is $44$.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Spectator
657 posts
#5 • 1 Y
Y by cubres
Note that $(-1)^{\Omega(n)}$ is multiplicative. We have that
\[\displaystyle\sum_{n=1}^{1989}{(-1)^{\Omega(n)}\lfloor\frac{1989}{n}\rfloor} = \displaystyle\sum_{n=1}^{1989}{\displaystyle\sum_{n\mid m, m\leq 1989}{(-1)^{\Omega(n)}}}\]We can switch the order of the summation to make it
\[\displaystyle\sum_{m=1}^{1989}{\displaystyle\sum_{n\mid m}{(-1)^{\Omega(n)}}} = \displaystyle\sum_{m=1}^{1989}{\textbf{1}*(-1)^{\Omega(n)}}\]Because $(-1)^{\Omega(n)}$ is multiplicative, $\textbf{1}*(-1)^{\Omega(n)}$ must also be multiplicative. For a prime power $p^{k}$, note $\textbf{1}*(-1)^{\Omega(p^{k})}$ is $1$ if $k$ is even, and $0$ if $k$ is odd. Thus, we have that $\textbf{1}*(-1)^{\Omega(n)}$ is $1$ if $n$ is a square and $0$ otherwise.
\[\displaystyle\sum_{m=1}^{1989}{\textbf{1}*(-1)^{\Omega(n)}} = \lfloor\sqrt{1989}\rfloor = \boxed{44}\]
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
blueprimes
326 posts
#6 • 1 Y
Y by cubres
We have
$$\sum_{n = 1}^{1989} (-1)^{\Omega(n)} \left \lfloor \frac{1989}{n} \right \rfloor = \sum_{n = 1}^{1989} (-1)^{\Omega(n)} \sum_{n \mid k, ~ k \le 1989} 1 = \sum_{k \ge 1}^{1989} \sum_{n \mid k} (-1)^{\Omega(n)}.$$Now let $k = p_1^{e_1} p_2^{e_2} \dots p_x^{e_x}$ where $p_i$ are distinct primes and $e_i$ are positive integers. Since $(-1)^{\Omega(n)}$ is mutiplicative, we have
$$\sum_{n \mid k} (-1)^{\Omega(n)} = \left(\sum_{n \mid p_1^{e_1}} (-1)^{\Omega(n)} \right) \left(\sum_{n \mid p_2^{e_2}} (-1)^{\Omega(n)} \right) \dots \left(\sum_{n \mid p_x^{e_x}} (-1)^{\Omega(n)} \right).$$If at least one of the $e_i$ is odd, the sum is $0$. On the other hand, if all $e_i$ are even, the sum is $1$. Then the final sum counts the number of perfect squares between $1$ and $1989$ inclusive, which is $44$.
This post has been edited 1 time. Last edited by blueprimes, May 3, 2024, 11:39 AM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
dolphinday
1319 posts
#7 • 1 Y
Y by cubres
The answer is \(44\).

We can rewrite
\[
\sum_{n=1}^{1989} (-1)^{\Omega(n)}\left\lfloor \frac{1989}{n} \right\rfloor = \sum_{n=1}^{1989} \sum_{m \mid n} (-1)^{\Omega(m)}.
\]We will now show that
\[
\sum_{m \mid n} (-1)^{\Omega(m)} = 1
\]if \(n\) is a square and \(0\) if \(n\) is not a square. Notice that if \(n\) is not a square, it has an even number of divisors, so we can partition the divisors of \(n\) into groups \(\left(\prod_i p_i^{e_i}, p_k \prod_i p_i^{e_i}\right)\). Notice that each group has sum \(0\) because one of them has one more prime divisor than the other. If \(n\) is a square, then we can do the same thing but with \(\frac{n}{p_i}\) for some \(p_i \mid n\). Then \( (-1)^{\Omega(n)} = 1\), so the sum is \(1\). So summing from \(n = 1\) to \(1989\) is just the number of squares less than \(1989\), which is \(44\).
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
ihategeo_1969
193 posts
#8 • 1 Y
Y by cubres
Ok so we have \begin{align*}
\sum_{n=1}^{1989} (-1)^{\Omega(n)} \left\lfloor \frac{1989}{n} \right\rfloor &=\sum_{n=1}^{1989} (-1)^{\Omega(n)} \sum_{\substack{n \mid m \\ m \leq 1989}} 1\\
&=\sum_{m=1}^{1989} \sum_{n \mid m} (-1)^{\Omega(n)}
\end{align*}Now see that the inner function is basically $(-1)^{\Omega} \ast \mathbf 1$ and both are multiplicative functions and hence their Dirichlet convulation is also a multiplicative function; and now we can check easily that \[\sum_{n \mid m} (-1)^{\Omega(n)}= \begin{cases} 1 \text{ if $m$ perfect square} \\ 0 \text{ otherise} \end{cases}\]This basically gives us that the answer is $ \left\lfloor1989 \right\rfloor=\boxed{44}$.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
cubres
112 posts
#9
Y by
Solution
This post has been edited 1 time. Last edited by cubres, Apr 3, 2025, 1:54 PM
Z K Y
N Quick Reply
G
H
=
a