Contests & Programs AMC and other contests, summer programs, etc.
AMC and other contests, summer programs, etc.
3 M G
BBookmark  VNew Topic kLocked
Contests & Programs AMC and other contests, summer programs, etc.
AMC and other contests, summer programs, etc.
3 M G
BBookmark  VNew Topic kLocked
G
Topic
First Poster
Last Poster
k a April Highlights and 2025 AoPS Online Class Information
jlacosta   0
Yesterday at 3:18 PM
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
Yesterday at 3:18 PM
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
Question about USAMO, self esteem, and college
xHypotenuse   9
N 18 minutes ago by dorothykim123
Hello everyone. I know this question may sound ridiculous/neagtive but I really want to know how the rest of the community thinks on this issue. Please excuse this yap session and feel free to ignore this post if it doesn't make sense, I don't think I really have a sane mind these days and something has gotten into my head.

I want your advice on what I should do in this situation. It has been my dream to make usamo since ~second semester of 9th grade and I started grinding from that time on. Last year, I qualified for the aime and got a 5. This year I really wanted to qualify for the olympiad and studied really hard. I spent my entire summer working on counting and probability, the subject I suck at the most. And yet, on amc 12, I fumbled hard. I usually mocked ~120-130s on amc 10s but on amc 12 this year, I got really mediocre scores ~100. So I had no chance of making usamo.

So during winter of 2024-2025 I kinda gave up on aime studying and I was like "hey, if I can't get into usamo, maybe ill qualify for usapho." Since I was pretty good at physics at that time. So I spended my winter hard grinding for f=ma and guess what? The test had stupid and ridiculous questions and I only got an 11. What really sucks is that even with the stupid amount of cheaters in f=ma, if I changed all of my "D" guesses to "C," then I would have qualified. Since I solved 10 actually and guessed the rest. Absolutely unfair that only 1 of my guesses were correct.

And also since I didn't study for aime, I ended up being super rusty and so I only got a 7. Solved 9 tho. (I usually can consistently solve 10+ on aimes).

And now here's my senior year and ofc I want to apply to a prestigious college. But it feels stupid that I don't have any usamo or usapho titles like the people I know do. I think I will have good essays primarily due to a varied amount of life experiences but like, I don't feel like I will contribute much to the college without being some prestigious olympiad qualifier. So this led to me having a self esteem issue.

This also led me to the question: should I study one last year so that I can get into usamo in my senior year, or is there no point? Since like, colleges don't care about whatever the hell you do in your senior year, and also, it seems just 'weird' to be grinding math contests while the rest of the people from my school are playing around, etc. So this time around I've really been having an internal crisis between my self esteem (since getting into usamo will raise my self esteem a lot) and college/senior choices.

I know this may seem like a dumb question to some and you are free to completely ignore the post. That's fine. I just really want advice for what I should do in this situation and it would really help bring my life quality up

Thanks,
hypotenuse
9 replies
+1 w
xHypotenuse
3 hours ago
dorothykim123
18 minutes ago
Game About Passing Pencils
WilliamSChen   0
an hour ago
A group of $n$ children sit in a circle facing inward with $n > 2$, and each child starts with an arbitrary even number of pencils. Each minute, each child simultaneously passes exactly half of all of their pencils to the child to their right. Then, all children that have an odd number of pencils receive one more pencil.
Prove that after a finite amount of time, the children will all have the same number of pencils.

I do not know the source.
0 replies
WilliamSChen
an hour ago
0 replies
An nxn Checkboard
MithsApprentice   26
N an hour ago by NicoN9
Source: USAMO 1999 Problem 1
Some checkers placed on an $n \times n$ checkerboard satisfy the following conditions:

(a) every square that does not contain a checker shares a side with one that does;

(b) given any pair of squares that contain checkers, there is a sequence of squares containing checkers, starting and ending with the given squares, such that every two consecutive squares of the sequence share a side.

Prove that at least $(n^{2}-2)/3$ checkers have been placed on the board.
26 replies
MithsApprentice
Oct 3, 2005
NicoN9
an hour ago
Is this FE solvable?
Mathdreams   4
N 2 hours ago by Mathdreams
Find all $f:\mathbb{R} \rightarrow \mathbb{R}$ such that \[f(2x+y) + f(x+f(2y)) = f(x)f(y) - xy\]for all reals $x$ and $y$.
4 replies
Mathdreams
Tuesday at 6:58 PM
Mathdreams
2 hours ago
Coaxial circles related to Gergon point
Headhunter   0
2 hours ago
Source: I tried but can't find the source...
Hi, everyone.

In $\triangle$$ABC$, $Ge$ is the Gergon point and the incircle $(I)$ touch $BC$, $CA$, $AB$ at $D$, $E$, $F$ respectively.
Let the circumcircles of $\triangle IDGe$, $\triangle IEGe$, $\triangle IFGe$ be $O_{1}$ , $O_{2}$ , $O_{3}$ respectively.

Reflect $O_{1}$ in $ID$ and then we get the circle $O'_{1}$
Reflect $O_{2}$ in $IE$ and then the circle $O'_{2}$
Reflect $O_{3}$ in $IF$ and then the circle $O'_{3}$

Prove that $O'_{1}$ , $O'_{2}$ , $O'_{3}$ are coaxial.
0 replies
Headhunter
2 hours ago
0 replies
Equation with powers
a_507_bc   6
N 2 hours ago by EVKV
Source: Serbia JBMO TST 2024 P1
Find all non-negative integers $x, y$ and primes $p$ such that $$3^x+p^2=7 \cdot 2^y.$$
6 replies
a_507_bc
May 25, 2024
EVKV
2 hours ago
no numbers of the form 80...01 are squares
Marius_Avion_De_Vanatoare   2
N 2 hours ago by EVKV
Source: Moldova JTST 2024 P5
Prove that a number of the form $80\dots01$ (there is at least 1 zero) can't be a perfect square.
2 replies
1 viewing
Marius_Avion_De_Vanatoare
Jun 10, 2024
EVKV
2 hours ago
f((x XOR f(y)) + y) = (f(x) XOR y) + y
the_universe6626   3
N 3 hours ago by jasperE3
Source: Janson MO 5 P4
Find all functions $f:\mathbb{Z}_{\ge0}\rightarrow\mathbb{Z}_{\ge0}$ such that
\[f((x\oplus f(y))+y)=(f(x)\oplus y)+y\]Note: $\oplus$ denotes the bitwise XOR operation. For example, $1001_2 \oplus 101_2 = 1100_2$.

(Proposed by ja.)
3 replies
the_universe6626
Feb 21, 2025
jasperE3
3 hours ago
2024 8's
Marius_Avion_De_Vanatoare   3
N 3 hours ago by EVKV
Source: Moldova JTST 2024 P2
Prove that the number $ \underbrace{88\dots8}_\text{2024\; \textrm{times}}$ is divisible by 2024.
3 replies
Marius_Avion_De_Vanatoare
Jun 10, 2024
EVKV
3 hours ago
pretty well known
dotscom26   0
3 hours ago
Let $\triangle ABC$ be a scalene triangle such that $\Omega$ is its incircle. $AB$ is tangent to $\Omega$ at $D$. A point $E$ ($E \notin \Omega$) is located on $BC$.

Let $\omega_1$, $\omega_2$, and $\omega_3$ be the incircles of the triangles $BED$, $ADE$, and $AEC$, respectively.

Show that the common tangent to $\omega_1$ and $\omega_3$ is also tangent to $\omega_2$.

0 replies
dotscom26
3 hours ago
0 replies
Thanks u!
Ruji2018252   6
N 3 hours ago by jasperE3
Find all $f:\mathbb{R}\to\mathbb{R}$ and
\[ f(x+y)+f(x^2+f(y))=f(f(x))^2+f(x)+f(y)+y,\forall x,y\in\mathbb{R}\]
6 replies
Ruji2018252
Mar 26, 2025
jasperE3
3 hours ago
MOP Cutoffs Out?
Mathandski   28
N Yesterday at 10:36 PM by Yrock
MAA has just emailed a press release announcing the formula they will be using this year to come up with the MOP cutoff that applies to you! Here's the process:

1. Multiply your age by $1434$, let $n$ be the result.

2. Calculate $\varphi(n)$, where $\varphi$ is the Euler's totient theorem, which calculates the number of integers less than $n$ relatively prime to $n$.

3. Multiply your result by $1434$ again because why not, let the result be $m$.

4. Define the Fibonacci sequence $F_0 = 1, F_1 = 1, F_n = F_{n-1} + F_{n-2}$ for $n \ge 2$. Let $r$ be the remainder $F_m$ leaves when you divide it by $69$.

5. Let $x$ be your predicted USA(J)MO score.

6. You will be invited if your score is at least $\lfloor \frac{x + \sqrt[r]{r^2} + r \ln(r)}{r} \rfloor$.

7. Note that there may be additional age restrictions for non-high schoolers.

See here for MAA's original news message.

.

.

.


Edit (4/2/2025): This was an April Fool's post.
Here's the punchline
28 replies
Mathandski
Tuesday at 11:02 PM
Yrock
Yesterday at 10:36 PM
mdk2013
Mar 30, 2025
mdk2013
Yesterday at 10:23 PM
Moving P(o)in(t)s
bobthegod78   69
N Yesterday at 8:42 PM by akliu
Source: USAJMO 2021/4
Carina has three pins, labeled $A, B$, and $C$, respectively, located at the origin of the coordinate plane. In a move, Carina may move a pin to an adjacent lattice point at distance $1$ away. What is the least number of moves that Carina can make in order for triangle $ABC$ to have area 2021?

(A lattice point is a point $(x, y)$ in the coordinate plane where $x$ and $y$ are both integers, not necessarily positive.)
69 replies
bobthegod78
Apr 15, 2021
akliu
Yesterday at 8:42 PM
did U silly this?
r00tsOfUnity   31
N Mar 30, 2025 by Mathgloggers
Source: 2023 AIME I #10
There exists a unique positive integer $a$ for which the sum \[U=\sum_{n=1}^{2023}\left\lfloor\dfrac{n^{2}-na}{5}\right\rfloor\]is an integer strictly between $-1000$ and $1000$. For that unique $a$, find $a+U$.

(Note that $\lfloor x\rfloor$ denotes the greatest integer that is less than or equal to $x$.)
31 replies
r00tsOfUnity
Feb 8, 2023
Mathgloggers
Mar 30, 2025
did U silly this?
G H J
G H BBookmark kLocked kLocked NReply
Source: 2023 AIME I #10
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
r00tsOfUnity
695 posts
#1 • 3 Y
Y by Soumya_cena, Princesingh_777, ehuseyinyigit
There exists a unique positive integer $a$ for which the sum \[U=\sum_{n=1}^{2023}\left\lfloor\dfrac{n^{2}-na}{5}\right\rfloor\]is an integer strictly between $-1000$ and $1000$. For that unique $a$, find $a+U$.

(Note that $\lfloor x\rfloor$ denotes the greatest integer that is less than or equal to $x$.)
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
r00tsOfUnity
695 posts
#2
Y by
I got $944$ can anyone confirm?
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
mattxie
4 posts
#3
Y by
can confirm
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Toinfinity
603 posts
#4
Y by
$a=1349, U=-405$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Math4Life7
1703 posts
#5
Y by
arggggghhh I got $\frac{2025}{5}=225$ I did that like one hundred times...
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
HonestCat
971 posts
#6
Y by
r00tsOfUnity wrote:
I got $944$ can anyone confirm?

Yea, 1349-405
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Mathdreams
1448 posts
#7
Y by
no i did not btw
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
naman12
1358 posts
#8 • 7 Y
Y by HonestCat, cosmicgenius, Dansman2838, KLBBC, aidan0626, metricpaper, ehuseyinyigit
The key idea is that the summation without the floors should be close to $0$ because each floor can only change the sum by less than $1$. The natural choice is a value of $a$ near the one that makes the aforementioned sum exactly $0$. Luckily, we compute
\[ \sum_{n=1}^{2023}\frac{n^2-na}5 = \frac15 \left( \frac{2023 \cdot 2024 \cdot 4047}{6} - a \frac{2023 \cdot 2024}{2} \right), \]which is zero at $a = \frac{4047}{3} = 1349$, an integer. Trying $a = 1349$ for the value of $U$, we have
\[    \begin{aligned}
        U=\sum_{n=1}^{2023}\left\lfloor\frac{n^2-1349n}5\right\rfloor &= \sum_{n=1}^{2023}\left(\frac{n^2-1349n}5 - \frac{(n^2 - 1349n) \mod 5}5 \right) \\ &= -\frac15 \sum_{n=1}^{2023} (n^2 - 1349n) \mod 5
    \end{aligned}\]But note that $n^2 - 1349n \equiv n^2 + n \pmod 5$ takes on the following values at the residues mod $5$,
\begin{tabular}{c|c}
        $n$ & $(n^2 + n) \mod 5$ \\
        \hline
        $1$ & $2$ \\
        $2$ & $1$ \\
        $3$ & $2$ \\
        $4$ & $0$ \\
        $0$ & $0$ 
        \end{tabular}
Finally, note that $n=1$ to $n=2023$ passes through almost $405$ periods of length $5$, only missing two zeroes that don't matter, with each period summing to $5$, so
\[ U = -\frac15 (405 \cdot 5) = -405.\]It follows that $a + U = 1349 - 405 = \boxed{944}$.
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
#10
Y by
https://artofproblemsolving.com/community/c5h3011227 duplicate
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
r00tsOfUnity
695 posts
#11
Y by
Spectator wrote:
https://artofproblemsolving.com/community/c5h3011227 duplicate

They were posted at the same time bro
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
#12
Y by
r00tsOfUnity wrote:
Spectator wrote:
https://artofproblemsolving.com/community/c5h3011227 duplicate

They were posted at the same time bro

nope 32 > 27
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Geometry285
902 posts
#13
Y by
NOOOOOO why didn't I think of integration ugh
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
#15 • 2 Y
Y by Dansman2838, ehuseyinyigit
okay i give up

Note that $\frac{n^2-an}{5}\leq \lfloor\frac{n^2-an}{5}\rfloor<\frac{n^2-an}{5}+1$. This means that\[\displaystyle\sum^{2023}_{n=1}{\frac{n^2-an}{5}}\leq  \displaystyle\sum^{2023}_{n=1}{\biggl\lfloor\frac{n^2-an}{5}\biggr\rfloor}< \displaystyle\sum^{2023}_{n=1}{\frac{n^2-an}{5}}+2023\]Note that this means that $\displaystyle\sum^{2023}_{n=1}{\frac{n^2-an}{5}}$ must be $0$ otherwise any other value of $a$ would overshoot $-1000$ and $1000$. We use the sum of squares formula to get $a = 1349$. Now, we engineer's induct on $n$ for the value of $\biggl\{\cfrac{n^2-1349n}{5}\biggr\}$ to get that it must always be $\cfrac{2}{5}, \cfrac{1}{5}, \cfrac{2}{5}, 0, 0, \cfrac{2}{5}, \cdots$. Thus, $0 - \displaystyle\sum^{2023}_{n=1}{\biggl\{\frac{n^2-an}{5}\biggr\}} = -405$. Thus, our answer is $1349-405 = \boxed{944}$.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
fuzimiao2013
3302 posts
#16
Y by
i got a = 1349 just by ignoring the floor and didnt find a fast way to bash in time
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
pog
4917 posts
#17
Y by
This problem has been discarded, for some reason.
(Edit: It was not discarded)
This post has been edited 1 time. Last edited by pog, Feb 10, 2023, 10:40 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
brainfertilzer
1831 posts
#18
Y by
pog wrote:
This problem has been discarded, for some reason.

Proof?

edit: nvm I found it
This post has been edited 1 time. Last edited by brainfertilzer, Feb 9, 2023, 3:46 AM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
mikimoto12
875 posts
#20 • 1 Y
Y by ehuseyinyigit
Spectator wrote:
Now, we engineer's induct on $n$ for the value of $\biggl\{\cfrac{n^2-1349n}{5}\biggr\}$ to get that it must always be $\cfrac{2}{5}, \cfrac{1}{5}, \cfrac{2}{5}, 0, 0, \cfrac{2}{5}, \cdots$.

that's a grave misuse of the term "engineer's induction"
it's just mod 5
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
eagles2018
2734 posts
#21
Y by
POV: you split it up into $\sum_{n=1}^{2023}\left\lfloor\dfrac{n^{2}}{5}\right \rfloor +\left \lfloor \dfrac{-na}{5}\right\rfloor$ and give up when evaluating the first sum.
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
#22
Y by
mikimoto12 wrote:
Spectator wrote:
Now, we engineer's induct on $n$ for the value of $\biggl\{\cfrac{n^2-1349n}{5}\biggr\}$ to get that it must always be $\cfrac{2}{5}, \cfrac{1}{5}, \cfrac{2}{5}, 0, 0, \cfrac{2}{5}, \cdots$.

that's a grave misuse of the term "engineer's induction"
it's just mod 5

tbh i did try mod 5 in the beginning but i felt that i would be less likely to silly if i just tested small values of $n$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
HungryProblem_Solver1
469 posts
#23
Y by
Did MAA actually discard this problem? There's no way
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
HonestCat
971 posts
#24
Y by
HungryProblem_Solver1 wrote:
Did MAA actually discard this problem? There's no way

I think it was just a technical issue.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Soumya_cena
17 posts
#25
Y by
Spectator wrote:

Your inequality is incorrect
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
blueberryfaygo_55
339 posts
#26 • 2 Y
Y by megarnie, plang2008
Let $\dfrac{n^2-an}{5} = x+y \, \left(x \in \mathbb{Z}, y \in \left\{0, \dfrac{1}{5}, \dfrac{2}{5}, \dfrac{3}{5}, \dfrac{4}{5}\right\}\right)$. It follows that $$U = \sum_{n=1}^{2023} \left \lfloor{\dfrac{n^2-an}{5}}\right \rfloor = \sum_{n=1}^{2023} x = \sum_{n=1}^{2023} \left(\dfrac{n^2-an}{5} - y\right)$$Using summation properties, we obtain $$U = \dfrac{2023 \cdot 1012(1349-a)}{5} - \sum_{n=1}^{2023} y$$Here, we observe that $\dfrac{2023 \cdot 1012 \cdot (1349-a)}{5}$ quickly grows/becomes extremely negative (as $a$ must be a positive integer), while the term $-\sum_{n=1}^{2023}y$ does not relatively affect the size of $U$ on the same scale. Thus, $a=1349$. This means that $$U = -\sum_{n=1}^{2023}y$$so we must compute the sum of the fractional parts of $\dfrac{n^2-1349n}{5}$ for $n$ from $1$ to $2023$.

We now observe that $n^2-1349n \equiv n^2 + n \ (\textrm{mod}\ 5)$.

Therefore, if $n \equiv 0 \ (\textrm{mod}\ 5)$ or $n \equiv 4\ (\textrm{mod}\ 5)$ then $n^2-1349n \equiv 0 \ (\textrm{mod}\ 5)$;

If $n \equiv 1\ (\textrm{mod}\ 5)$ or $n \equiv 3\ (\textrm{mod}\ 5)$ then $n^2-1349 \equiv 2\ (\textrm{mod}\ 5)$;

If $n \equiv 2\ (\textrm{mod}\ 5)$ then $n^2-1349n \equiv 1\ (\textrm{mod}\ 5)$;

Furthermore, if $n^2 - 1349n \equiv 0\ (\textrm{mod}\ 5)$ then $y=0$;

If $n^2 - 1349n \equiv 1\ (\textrm{mod}\ 5)$ then $y=\dfrac{1}{5}$;

If $n^2 - 1349n \equiv 2\ (\textrm{mod}\ 5)$ then $y=\dfrac{2}{5}$.

From $1$ to $2023$ there are $405$ numbers $\equiv 1\ (\textrm{mod}\ 5)$, $405$ numbers $\equiv 2\ (\textrm{mod}\ 5)$, and $405$ numbers $\equiv 3\ (\textrm{mod}\ 5)$, so $U = -\sum_{n=1}^{2023} y = -\left(\dfrac{2}{5}\cdot 405 +  \dfrac{1}{5}\cdot 405 + \dfrac{2}{5}\cdot 405\right) = -405$. Our final answer is $1349-405=\fbox{944}$.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
IbrahimNadeem
885 posts
#27
Y by
Easier side #10, the final four that year was brutal
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
OlympusHero
17019 posts
#28
Y by
popcorn1 wrote:
Lol.

Claim. $\sum_{n=1}^{2023}\left\lfloor\dfrac{n^{2}-na}{5}\right\rfloor \approx \int_{1}^{2023} \frac{n^2-na}{5} \; \mathrm{d}n$.
Proof. Proofs are for losers. $\square$

The integral is just $\frac{2022}{5} (1{,}364{,}851 - 1012a)$, setting equal to $0$ (i.e. minimizing absolute value of the integral) and solving for $a$ yields $a \approx 1348.7$, and rounding gives $a=1349$ as the most likely answer.

It works, so now find $U$ using your favorite method. $\mathcal{YUH}$.

I'm genuinely curious what makes this a good approximation, as this seems like a really easy method to solve the problem. Can anyone clarify why this is a good approximation?
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Shreyasharma
667 posts
#29
Y by
We need to approximate $U$. Approximate it as,
\begin{align*}
U' &\approx \sum_{n=1}^{2023} \frac{n^2-na}{5}\\
&= \frac{1}{5} \cdot \left( \sum_{n=1}^{2023} n^2 - a \sum_{n=1}^{2023} n\right)\\
&= \frac{1}{5} \cdot \left(\frac{(2023)(2024)(4047)}{6} - a\frac{(2023)(2024)}{2} \right)\\
&= \frac{1}{30} \cdot (2023)(2024)(4047 - 3a)\\
&\approx \frac{4}{30} (1000000)(4047-3a)
\end{align*}Then from our bounds on $U$ we find that $U'$ should be clsoe to satisfying,
\begin{align*}
-1000 \leq U' \leq 1000
\end{align*}However then we approximately need,
\begin{align*}
-15000 \leq 1000000(4047-3a) \leq 15000
\end{align*}Due to how enormous the middle term is we need $4047 - 3a = 0 \implies a = 1349$. Now we can use this in our original floor equation to find,
\begin{align*}
U &= \sum_{n=1}^{2023} \left\lfloor \frac{n^2 - 1349n}{5} \right\rfloor\\
&= \sum_{n=1}^{2023} \left( \frac{n^2 - 1349n}{5} - \frac{n^2 + n \pmod{5}}{5} \right)\\
&= \sum_{n=1}^{2023} \frac{n^2 - 1349n}{5} - \sum_{n=1}^{2023} \frac{n^2 + n \pmod{5}}{5} 
\end{align*}Now the first sum is easy to evaluate using standard tactics. For the second term it suffices to do casework on $n$ modulo $5$. If $n \equiv 1$, we have $n^2 + n \equiv 2$. Similarly if $n \equiv 2$ we have $n^2 + n \equiv 1$, if $n \equiv 3$ we have $n^2 + n \equiv 2$, if $n \equiv 4$ we have $n^2 + n \equiv 0$ and if $n \equiv 0$ we have $n^2 + n \equiv 0$. Then we have,
\begin{align*}
U &= \sum_{n=1}^{2023} \frac{n^2 - 1349n}{5} - \sum_{n=1}^{2023} \frac{n^2 + n \pmod{5}}{5}  \\
&= \frac{1}{5} \left( \frac{(2023)(2024)(4047)}{6} - \frac{(1349)(2023)(2024)}{2} - \left( 405 \cdot 2 + 405 \cdot 1 + 405 \cdot 2 + 404 \cdot 0 + 404 \cdot 0 \right)\right)\\
&= -405
\end{align*}and our final answer is $1349 - 405 = \boxed{944}$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
blueprimes
325 posts
#31
Y by
Observe that $\left\lfloor \frac{n^2 - na}{5} \right\rfloor = \frac{n^2 - na}{5} - \left\{ \frac{n^2 - na}{5} \right\}$. We have
$$\sum_{n = 1}^{2023} \frac{n^2 - na}{5} = \frac{1}{5} \left(\sum_{n = 1}^{2023} n^2 - a \sum_{n = 1}^{2023} n \right) = \frac{1}{5}\left(\frac{(2023)(2024)(4047)}{6} - a \cdot \frac{(2023)(2024)}{2} \right) = \frac{(2023)(2024)(4047 - 3a)}{30}$$Now we can also deduce the weak bounds
$$0 \le F = \sum_{n = 1}^{2023} \left\{ \frac{n^2 - na}{5} \right\} < 2023$$The problem statement is simply saying $-30000 < (2023)(2024)(4047 - 3a) - F < 30000$. Here it is obvious that any value of $a$ where $3a \ne 4047$ would place outside of the bounds, for any value of $F$ in the previous bound. So $a = \frac{4047}{3} = 1349.$ Then $U = -F$, and the fractional part cycles every $5$, so $n = 1, 2, 3, 4, 5$ yield $\frac{2}{5}, \frac{1}{5}, \frac{2}{5}, 0, 0$ respectively. Then from $n = 1$ to $n = 2020$ the sum is $404$, and $n = 2021, 2022, 2023$ yields an additional $1$ so $U = -405$. We obtain $1349 - 405 = \boxed{944}$.
This post has been edited 1 time. Last edited by blueprimes, Jan 12, 2024, 1:40 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
OlympusHero
17019 posts
#32
Y by
OlympusHero wrote:
popcorn1 wrote:
Lol.

Claim. $\sum_{n=1}^{2023}\left\lfloor\dfrac{n^{2}-na}{5}\right\rfloor \approx \int_{1}^{2023} \frac{n^2-na}{5} \; \mathrm{d}n$.
Proof. Proofs are for losers. $\square$

The integral is just $\frac{2022}{5} (1{,}364{,}851 - 1012a)$, setting equal to $0$ (i.e. minimizing absolute value of the integral) and solving for $a$ yields $a \approx 1348.7$, and rounding gives $a=1349$ as the most likely answer.

It works, so now find $U$ using your favorite method. $\mathcal{YUH}$.

I'm genuinely curious what makes this a good approximation, as this seems like a really easy method to solve the problem. Can anyone clarify why this is a good approximation?

Can anyone answer? Thanks in advance.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
sixoneeight
1137 posts
#33
Y by
It’s a Reimann Sum
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
daijobu
524 posts
#34
Y by
Video Solution
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
ilikemath247365
223 posts
#35
Y by
Yeah, was able to solve this problem. I solved it similar to @blueprimes.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Mathgloggers
57 posts
#36
Y by
main thing to.notice was fractional part repeats modulo "n"
Z K Y
N Quick Reply
G
H
=
a