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

G
Topic
First Poster
Last Poster
a My Retirement & New Leadership at AoPS
rrusczyk   1566
N a minute ago by ailiuda30
I write today to announce my retirement as CEO from Art of Problem Solving. When I founded AoPS 22 years ago, I never imagined that we would reach so many students and families, or that we would find so many channels through which we discover, inspire, and train the great problem solvers of the next generation. I am very proud of all we have accomplished and I’m thankful for the many supporters who provided inspiration and encouragement along the way. I'm particularly grateful to all of the wonderful members of the AoPS Community!

I’m delighted to introduce our new leaders - Ben Kornell and Andrew Sutherland. Ben has extensive experience in education and edtech prior to joining AoPS as my successor as CEO, including starting like I did as a classroom teacher. He has a deep understanding of the value of our work because he’s an AoPS parent! Meanwhile, Andrew and I have common roots as founders of education companies; he launched Quizlet at age 15! His journey from founder to MIT to technology and product leader as our Chief Product Officer traces a pathway many of our students will follow in the years to come.

Thank you again for your support for Art of Problem Solving and we look forward to working with millions more wonderful problem solvers in the years to come.

And special thanks to all of the amazing AoPS team members who have helped build AoPS. We’ve come a long way from here:IMAGE
1566 replies
rrusczyk
Mar 24, 2025
ailiuda30
a minute ago
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 Peer-to-Peer Programs Forum
jwelsh   157
N Dec 11, 2023 by cw357
Many of our AoPS Community members share their knowledge with their peers in a variety of ways, ranging from creating mock contests to creating real contests to writing handouts to hosting sessions as part of our partnership with schoolhouse.world.

To facilitate students in these efforts, we have created a new Peer-to-Peer Programs forum. With the creation of this forum, we are starting a new process for those of you who want to advertise your efforts. These advertisements and ensuing discussions have been cluttering up some of the forums that were meant for other purposes, so we’re gathering these topics in one place. This also allows students to find new peer-to-peer learning opportunities without having to poke around all the other forums.

To announce your program, or to invite others to work with you on it, here’s what to do:

1) Post a new topic in the Peer-to-Peer Programs forum. This will be the discussion thread for your program.

2) Post a single brief post in this thread that links the discussion thread of your program in the Peer-to-Peer Programs forum.

Please note that we’ll move or delete any future advertisement posts that are outside the Peer-to-Peer Programs forum, as well as any posts in this topic that are not brief announcements of new opportunities. In particular, this topic should not be used to discuss specific programs; those discussions should occur in topics in the Peer-to-Peer Programs forum.

Your post in this thread should have what you're sharing (class, session, tutoring, handout, math or coding game/other program) and a link to the thread in the Peer-to-Peer Programs forum, which should have more information (like where to find what you're sharing).
157 replies
jwelsh
Mar 15, 2021
cw357
Dec 11, 2023
k i C&P posting recs by mods
v_Enhance   0
Jun 12, 2020
The purpose of this post is to lay out a few suggestions about what kind of posts work well for the C&P forum. Except in a few cases these are mostly meant to be "suggestions based on historical trends" rather than firm hard rules; we may eventually replace this with an actual list of firm rules but that requires admin approval :) That said, if you post something in the "discouraged" category, you should not be totally surprised if it gets locked; they are discouraged exactly because past experience shows they tend to go badly.
-----------------------------
1. Program discussion: Allowed
If you have questions about specific camps or programs (e.g. which classes are good at X camp?), these questions fit well here. Many camps/programs have specific sub-forums too but we understand a lot of them are not active.
-----------------------------
2. Results discussion: Allowed
You can make threads about e.g. how you did on contests (including AMC), though on AMC day when there is a lot of discussion. Moderators and administrators may do a lot of thread-merging / forum-wrangling to keep things in one place.
-----------------------------
3. Reposting solutions or questions to past AMC/AIME/USAMO problems: Allowed
This forum contains a post for nearly every problem from AMC8, AMC10, AMC12, AIME, USAJMO, USAMO (and these links give you an index of all these posts). It is always permitted to post a full solution to any problem in its own thread (linked above), regardless of how old the problem is, and even if this solution is similar to one that has already been posted. We encourage this type of posting because it is helpful for the user to explain their solution in full to an audience, and for future users who want to see multiple approaches to a problem or even just the frequency distribution of common approaches. We do ask for some explanation; if you just post "the answer is (B); ez" then you are not adding anything useful.

You are also encouraged to post questions about a specific problem in the specific thread for that problem, or about previous user's solutions. It's almost always better to use the existing thread than to start a new one, to keep all the discussion in one place easily searchable for future visitors.
-----------------------------
4. Advice posts: Allowed, but read below first
You can use this forum to ask for advice about how to prepare for math competitions in general. But you should be aware that this question has been asked many many times. Before making a post, you are encouraged to look at the following:
[list]
[*] Stop looking for the right training: A generic post about advice that keeps getting stickied :)
[*] There is an enormous list of links on the Wiki of books / problems / etc for all levels.
[/list]
When you do post, we really encourage you to be as specific as possible in your question. Tell us about your background, what you've tried already, etc.

Actually, the absolute best way to get a helpful response is to take a few examples of problems that you tried to solve but couldn't, and explain what you tried on them / why you couldn't solve them. Here is a great example of a specific question.
-----------------------------
5. Publicity: use P2P forum instead
See https://artofproblemsolving.com/community/c5h2489297_peertopeer_programs_forum.
Some exceptions have been allowed in the past, but these require approval from administrators. (I am not totally sure what the criteria is. I am not an administrator.)
-----------------------------
6. Mock contests: use Mock Contests forum instead
Mock contests should be posted in the dedicated forum instead:
https://artofproblemsolving.com/community/c594864_aops_mock_contests
-----------------------------
7. AMC procedural questions: suggest to contact the AMC HQ instead
If you have a question like "how do I submit a change of venue form for the AIME" or "why is my name not on the qualifiers list even though I have a 300 index", you would be better off calling or emailing the AMC program to ask, they are the ones who can help you :)
-----------------------------
8. Discussion of random math problems: suggest to use MSM/HSM/HSO instead
If you are discussing a specific math problem that isn't from the AMC/AIME/USAMO, it's better to post these in Middle School Math, High School Math, High School Olympiads instead.
-----------------------------
9. Politics: suggest to use Round Table instead
There are important conversations to be had about things like gender diversity in math contests, etc., for sure. However, from experience we think that C&P is historically not a good place to have these conversations, as they go off the rails very quickly. We encourage you to use the Round Table instead, where it is much more clear that all posts need to be serious.
-----------------------------
10. MAA complaints: discouraged
We don't want to pretend that the MAA is perfect or that we agree with everything they do. However, we chose to discourage this sort of behavior because in practice most of the comments we see are not useful and some are frankly offensive.
[list] [*] If you just want to blow off steam, do it on your blog instead.
[*] When you have criticism, it should be reasoned, well-thought and constructive. What we mean by this is, for example, when the AOIME was announced, there was great outrage about potential cheating. Well, do you really think that this is something the organizers didn't think about too? Simply posting that "people will cheat and steal my USAMOO qualification, the MAA are idiots!" is not helpful as it is not bringing any new information to the table.
[*] Even if you do have reasoned, well-thought, constructive criticism, we think it is actually better to email it the MAA instead, rather than post it here. Experience shows that even polite, well-meaning suggestions posted in C&P are often derailed by less mature users who insist on complaining about everything.
[/list]
-----------------------------
11. Memes and joke posts: discouraged
It's fine to make jokes or lighthearted posts every so often. But it should be done with discretion. Ideally, jokes should be done within a longer post that has other content. For example, in my response to one user's question about olympiad combinatorics, I used a silly picture of Sogiita Gunha, but it was done within a context of a much longer post where it was meant to actually make a point.

On the other hand, there are many threads which consist largely of posts whose only content is an attached meme with the word "MAA" in it. When done in excess like this, the jokes reflect poorly on the community, so we explicitly discourage them.
-----------------------------
12. Questions that no one can answer: discouraged
Examples of this: "will MIT ask for AOIME scores?", "what will the AIME 2021 cutoffs be (asked in 2020)", etc. Basically, if you ask a question on this forum, it's better if the question is something that a user can plausibly answer :)
-----------------------------
13. Blind speculation: discouraged
Along these lines, if you do see a question that you don't have an answer to, we discourage "blindly guessing" as it leads to spreading of baseless rumors. For example, if you see some user posting "why are there fewer qualifiers than usual this year?", you should not reply "the MAA must have been worried about online cheating so they took fewer people!!". Was sich überhaupt sagen lässt, lässt sich klar sagen; und wovon man nicht reden kann, darüber muss man schweigen.
-----------------------------
14. Discussion of cheating: strongly discouraged
If you have evidence or reasonable suspicion of cheating, please report this to your Competition Manager or to the AMC HQ; these forums cannot help you.
Otherwise, please avoid public discussion of cheating. That is: no discussion of methods of cheating, no speculation about how cheating affects cutoffs, and so on --- it is not helpful to anyone, and it creates a sour atmosphere. A longer explanation is given in Seriously, please stop discussing how to cheat.
-----------------------------
15. Cutoff jokes: never allowed
Whenever the cutoffs for any major contest are released, it is very obvious when they are official. In the past, this has been achieved by the numbers being posted on the official AMC website (here) or through a post from the AMCDirector account.

You must never post fake cutoffs, even as a joke. You should also refrain from posting cutoffs that you've heard of via email, etc., because it is better to wait for the obvious official announcement. A longer explanation is given in A Treatise on Cutoff Trolling.
-----------------------------
16. Meanness: never allowed
Being mean is worse than being immature and unproductive. If another user does something which you think is inappropriate, use the Report button to bring the post to moderator attention, or if you really must reply, do so in a way that is tactful and constructive rather than inflammatory.
-----------------------------

Finally, we remind you all to sit back and enjoy the problems. :D

-----------------------------
(EDIT 2024-09-13: AoPS has asked to me to add the following item.)

Advertising paid program or service: never allowed

Per the AoPS Terms of Service (rule 5h), general advertisements are not allowed.

While we do allow advertisements of official contests (at the MAA and MATHCOUNTS level) and those run by college students with at least one successful year, any and all advertisements of a paid service or program is not allowed and will be deleted.
0 replies
1 viewing
v_Enhance
Jun 12, 2020
0 replies
k i Stop looking for the "right" training
v_Enhance   50
N Oct 16, 2017 by blawho12
Source: Contest advice
EDIT 2019-02-01: https://blog.evanchen.cc/2019/01/31/math-contest-platitudes-v3/ is the updated version of this.

EDIT 2021-06-09: see also https://web.evanchen.cc/faq-contest.html.

Original 2013 post
50 replies
v_Enhance
Feb 15, 2013
blawho12
Oct 16, 2017
Partition set with equal sum and differnt cardinality
psi241   73
N 4 minutes ago by mananaban
Source: IMO Shortlist 2018 C1
Let $n\geqslant 3$ be an integer. Prove that there exists a set $S$ of $2n$ positive integers satisfying the following property: For every $m=2,3,...,n$ the set $S$ can be partitioned into two subsets with equal sums of elements, with one of subsets of cardinality $m$.
73 replies
psi241
Jul 17, 2019
mananaban
4 minutes ago
IMO 2018 Problem 5
orthocentre   75
N 42 minutes ago by VideoCake
Source: IMO 2018
Let $a_1$, $a_2$, $\ldots$ be an infinite sequence of positive integers. Suppose that there is an integer $N > 1$ such that, for each $n \geq N$, the number
$$\frac{a_1}{a_2} + \frac{a_2}{a_3} + \cdots + \frac{a_{n-1}}{a_n} + \frac{a_n}{a_1}$$is an integer. Prove that there is a positive integer $M$ such that $a_m = a_{m+1}$ for all $m \geq M$.

Proposed by Bayarmagnai Gombodorj, Mongolia
75 replies
orthocentre
Jul 10, 2018
VideoCake
42 minutes ago
Ornaments and Christmas trees
Morskow   29
N an hour ago by gladIasked
Source: Slovenia IMO TST 2018, Day 1, Problem 1
Let $n$ be a positive integer. On the table, we have $n^2$ ornaments in $n$ different colours, not necessarily $n$ of each colour. Prove that we can hang the ornaments on $n$ Christmas trees in such a way that there are exactly $n$ ornaments on each tree and the ornaments on every tree are of at most $2$ different colours.
29 replies
Morskow
Dec 17, 2017
gladIasked
an hour ago
Another square grid :D
MathLuis   42
N an hour ago by gladIasked
Source: USEMO 2021 P1
Let $n$ be a fixed positive integer and consider an $n\times n$ grid of real numbers. Determine the greatest possible number of cells $c$ in the grid such that the entry in $c$ is both strictly greater than the average of $c$'s column and strictly less than the average of $c$'s row.

Proposed by Holden Mui
42 replies
MathLuis
Oct 30, 2021
gladIasked
an hour ago
USACO Gold Cutoffs
SweetTangyOrange   17
N 3 hours ago by fake123
share USACO Gold to predict cutoff

$\begin{tabular}{c} Score \\ \hline
717 
\end{tabular}$
17 replies
SweetTangyOrange
Yesterday at 2:02 PM
fake123
3 hours ago
ARML math competetion
purpledonutdragon   8
N 4 hours ago by BoyAthena
Do you guys have any tips for ARML? What are some concepts that will be very helpful in ARML?
8 replies
purpledonutdragon
Yesterday at 12:39 PM
BoyAthena
4 hours ago
Prove a polynomial has a nonreal root
KevinYang2.71   43
N 5 hours ago by Mathandski
Source: USAMO 2025/2
Let $n$ and $k$ be positive integers with $k<n$. Let $P(x)$ be a polynomial of degree $n$ with real coefficients, nonzero constant term, and no repeated roots. Suppose that for any real numbers $a_0,\,a_1,\,\ldots,\,a_k$ such that the polynomial $a_kx^k+\cdots+a_1x+a_0$ divides $P(x)$, the product $a_0a_1\cdots a_k$ is zero. Prove that $P(x)$ has a nonreal root.
43 replies
KevinYang2.71
Mar 20, 2025
Mathandski
5 hours ago
USA Canada math camp
Bread10   34
N 6 hours ago by Bread10
How difficult is it to get into USA Canada math camp? What should be expected from an accepted applicant in terms of the qualifying quiz, essays and other awards or math context?
34 replies
Bread10
Mar 2, 2025
Bread10
6 hours ago
funny title placeholder
pikapika007   56
N Today at 2:59 PM by BS2012
Source: USAJMO 2025/6
Let $S$ be a set of integers with the following properties:
[list]
[*] $\{ 1, 2, \dots, 2025 \} \subseteq S$.
[*] If $a, b \in S$ and $\gcd(a, b) = 1$, then $ab \in S$.
[*] If for some $s \in S$, $s + 1$ is composite, then all positive divisors of $s + 1$ are in $S$.
[/list]
Prove that $S$ contains all positive integers.
56 replies
pikapika007
Mar 21, 2025
BS2012
Today at 2:59 PM
9 Can I make MOP
Bigtree   27
N Today at 1:40 PM by ethan2011
My dream is to be on IMO team ik thats not going to happen b/c the kids that make it are like 6th mop quals :play_ball:. I somehow got a $208.5$ index this yr (118.5 on amc10+ 9 on AIME) i’m in 7th rn btw first year comp math also. I will grind so hard until like 30 hrs/week. I’m ok at proofs. made mc nats
27 replies
Bigtree
Mar 9, 2025
ethan2011
Today at 1:40 PM
Erecting Rectangles
franchester   102
N Today at 12:24 PM by endless_abyss
Source: 2021 USAMO Problem 1/2021 USAJMO Problem 2
Rectangles $BCC_1B_2,$ $CAA_1C_2,$ and $ABB_1A_2$ are erected outside an acute triangle $ABC.$ Suppose that \[\angle BC_1C+\angle CA_1A+\angle AB_1B=180^{\circ}.\]Prove that lines $B_1C_2,$ $C_1A_2,$ and $A_1B_2$ are concurrent.
102 replies
franchester
Apr 15, 2021
endless_abyss
Today at 12:24 PM
Practice AMC 10 Final Fives
freddyfazbear   1
N Today at 5:21 AM by WannabeUSAMOkid
So someone pointed out to me that the last five problems on my previous practice AMC 10 test were rather low quality. Here are some problems that are (hopefully) better.

21.
A partition of a positive integer n is writing n as the sum of positive integer(s), where order does not matter. Find the number of partitions of 6.
A - 10, B - 11, C - 12, D - 13, E - 14

22.
Let n be the smallest positive integer that satisfies the following conditions:
- n is even
- The last digit of n is not 2 or 8
- n^2 + 1 is composite
Find the sum of the digits of n.
A - 3, B - 5, C - 8, D - 9, E - 10

23.
Find the sum of the coordinates of the reflection of the point (6, 9) over the line x + 2y + 3 = 0.
A - (-17.7), B - (-17.6), C - (-17.5), D - (-17.4), E - (-17.3)

24.
Find the number of ordered pairs of integers (a, b), where both a and b have absolute value less than 69, such that a^2 + 42b^2 = 13ab.
A - 21, B - 40, C - 41, D - 42, E - 69

25.
Let f(n) be the sum of the positive integer factors of n, where n is an integer. Find the sum of all positive integers n less than 1000 such that f(f(n) - n) = f(n).
A - 420, B - 530, C - 690, D - 911, E - 1034
1 reply
freddyfazbear
Today at 4:40 AM
WannabeUSAMOkid
Today at 5:21 AM
usamOOK geometry
KevinYang2.71   86
N Today at 4:37 AM by deduck
Source: USAMO 2025/4, USAJMO 2025/5
Let $H$ be the orthocenter of acute triangle $ABC$, let $F$ be the foot of the altitude from $C$ to $AB$, and let $P$ be the reflection of $H$ across $BC$. Suppose that the circumcircle of triangle $AFP$ intersects line $BC$ at two distinct points $X$ and $Y$. Prove that $C$ is the midpoint of $XY$.
86 replies
KevinYang2.71
Mar 21, 2025
deduck
Today at 4:37 AM
Scary Binomial Coefficient Sum
EpicBird08   38
N Today at 4:31 AM by Mathandski
Source: USAMO 2025/5
Determine, with proof, all positive integers $k$ such that $$\frac{1}{n+1} \sum_{i=0}^n \binom{n}{i}^k$$is an integer for every positive integer $n.$
38 replies
EpicBird08
Mar 21, 2025
Mathandski
Today at 4:31 AM
Classical factorial number theory
Orestis_Lignos   20
N Mar 24, 2025 by anudeep
Source: JBMO 2023 Problem 1
Find all pairs $(a,b)$ of positive integers such that $a!+b$ and $b!+a$ are both powers of $5$.

Nikola Velov, North Macedonia
20 replies
Orestis_Lignos
Jun 26, 2023
anudeep
Mar 24, 2025
Classical factorial number theory
G H J
G H BBookmark kLocked kLocked NReply
Source: JBMO 2023 Problem 1
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Orestis_Lignos
555 posts
#1 • 4 Y
Y by GeoKing, Sedro, ItsBesi, lian_the_noob12
Find all pairs $(a,b)$ of positive integers such that $a!+b$ and $b!+a$ are both powers of $5$.

Nikola Velov, North Macedonia
This post has been edited 2 times. Last edited by Orestis_Lignos, Jun 26, 2023, 4:02 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Orestis_Lignos
555 posts
#2 • 4 Y
Y by GeoKing, ItsBesi, FeridMath, Yassperx
WLOG assume that $a \geq b$. We split into two cases.

Case 1: $a=b$. Then, $a!+a=5^k$ with $k \geq 1$. If $k=1$ then obiously $(a,b)=(5,5)$ works. If $k \geq 2$, then $(a-1)!+1 \equiv 1 \pmod 5$, and since $5^k=a!+a=a((a-1)!+1),$ we must have $(a-1)!+1=1,$ a contradiction.

Case 2: $a>b$. Then, $a=b+s$ with $s \geq 1$. Let $a!+b=5^k$ with $k \geq 1$. Therefore,

$b((b-1)! \cdot (b+1) \cdots (b+s)+1)=5^k$.

Thus, $b=5^\ell$ with $\ell \geq 0$, and if $b-1 \geq 5$ then $(b-1)! \cdot (b+1) \cdots (b+s)+1 \equiv 1 \pmod 5,$ a contradiction. Moreover, if $s \geq 5$, then $5 \mid (b+1) \cdots (b+5) \mid (b+1) \cdots (b+s),$ and so $(b+1) \cdots (b+s)+1 \equiv 1 \pmod 5,$ a contradiction.

Therefore, $b \leq 5$ and $s \leq 4$.

Taking all cases, we obtain $(b,s)=(1,3),$ that is $(a,b)=(4,1)$.

To sum up, we obtain the solutions $(a,b)=(5,5), (4,1)$ and $(1,4)$.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
ismayilzadei1387
219 posts
#3 • 2 Y
Y by Aoxz, FriIzi
Orestis_Lignos wrote:
WLOG assume that $a \geq b$. We split into two cases.

Case 1: $a=b$. Then, $a!+a=5^k$ with $k \geq 1$. If $k=1$ then obiously $(a,b)=(5,5)$ works. If $k \geq 2$, then $(a-1)!+1 \equiv 1 \pmod 5$, and since $5^k=a!+a=a((a-1)!+1),$ we must have $(a-1)!+1=1,$ a contradiction.

Case 2: $a>b$. Then, $a=b+s$ with $s \geq 1$. Let $a!+b=5^k$ with $k \geq 1$. Therefore,

$b((b-1)! \cdot (b+1) \cdots (b+s)+1)=5^k$.

Thus, $b=5^\ell$ with $\ell \geq 0$, and if $b-1 \geq 5$ then $(b-1)! \cdot (b+1) \cdots (b+s)+1 \equiv 1 \pmod 5,$ a contradiction. Moreover, if $s \geq 5$, then $5 \mid (b+1) \cdots (b+5) \mid (b+1) \cdots (b+s),$ and so $(b+1) \cdots (b+s)+1 \equiv 1 \pmod 5,$ a contradiction.

Therefore, $b \leq 5$ and $s \leq 4$.

Taking all cases, we obtain $(b,s)=(1,3),$ that is $(a,b)=(4,1)$.

To sum up, we obtain the solutions $(a,b)=(5,5), (4,1)$ and $(1,4)$.

ohh Same solution :D
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Leartia
93 posts
#4
Y by
We claim that the only solutions are $(1,4),(4,1)$, and $(5,5)$.
Suppose that we have integers $a$ and $b$ such that $a!+b=5^r$ and $b!+a=5^t$ for some $r,t\geq 1$.
If $a\geq 5$, we have that $5\mid a!$.
Since $5\mid a!$ and $5\mid 5^r$, we have $5\mid b$.
This means that $b\geq 5$. By the same argument, we have $5\mid a$.
So $a=5x$ and $b=5y$ for some positive integers $x,y$.

Suppose that $x>1$. Then $v_5(a!)>1$.
Since $a!+b=5^r$, we have $v_5(b)=v_5(a!).$
However, as $v_5(b)>1$ we have that $v_5(b!)>v_5(b)$. Hence $v_5(b!+a)=\min\{v_5(b!),v_5(a)\}=v_5(a)$, but this is clearly a contradiction as $t>v_5(a)$.
We thus have that $x=1$. By symmetry we get that $y=1$ which gives us the pair $(a,b)=(5,5)$ which is a solution.
Now it remains to consider $a<5$.
This implies $b<5$ due to the reasoning above. We check the following cases:
\begin{itemize}
\item If $a=1$, then $1!+b\equiv 0\pmod 5$ so $b=4$. This pair is a solution.
\item If $a=2$, then $2!+b\equiv 0\pmod 5$ so $b=3$. This pair is not a solution.
\item If $a=3$, then $3!+b\equiv 0\pmod 5$ so $b=4$. This pair is not a solution.
\item If $a=4$, then $4!+b\equiv 0\pmod 5$ so $b=1$. This pair is a solution.
\end{itemize}
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
steppewolf
351 posts
#5
Y by
The following solution was proposed together with the problem:

The condition is symmetric so we can assume that $b \leq a$.

The first case is when $a=b$. In this case, $a!+a=5^m$ for some positive integer $m$. We can rewrite this as $a \cdot \left ( (a-1)!+1 \right)=5^{m}$. This means that $a=5^{k}$ for some integer $k \geq 0$. It is clear that $k$ cannot be $0$. If $k \geq 2$, then $(a-1)!+1 = 5^{l}$ for some $l \geq 1$, but $a-1=5^{k}-1 > 5$, so $5|(a-1)!$, which is not possible because $5|(a-1)!+1$. This means that $k=1$ and $a=5$. In this case, $5!+5 = 125$, which gives us the solution $(5,5)$.

Let us now assume that $1 \leq b<a$. Let us first assume that $b=1$. Then $a+1=5^x$ and $a!+1=5^y$ for integers $x,y \geq 1$. If $x \geq 2$, then $a=5^x-1 \geq 5^2-1>5$, so $5|a!$. However, $5|5^y=a!+1$, which leads to a contradiction. We conclude that $x=1$ and $a=4$. From here $a!+b=25$ and $b!+a=5$, so we get two more solutions: $(1,4)$ and $(4,1)$.

Now we focus on the case $1 < b < a$. Then we have $a!+b = 5^x$ for $x \geq 2$, so $b \cdot \left ( \frac{a!}{b}+1 \right ) = 5^x$, where $b|a!$ because $a>b$. Because $b|5^x$ and $b>1$, we have $b=5^z$ for $z \geq 1$. If $z \geq 2$, then $5<b<a$, so $5|a!$, which means that $\frac{a!}{b}+1$ cannot be a power of $5$. We conclude that $z=1$ and $b=5$. From here $5!+a$ is a power of $5$, so $5|a$, but $a>b=5$, which gives us $a \geq 10$. However, this would mean that $25|a!$, $5|b$ and $25 \nmid b$, which is not possible, because $a!+b=5^x$ and $25|5^x$.

We conclude that the only solutions are $(1,4)$, $(4,1)$ and $(5,5)$.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
gnoka
245 posts
#6
Y by
If $a<5$, it is obvious that $5$ does not divide $a$, so $5$ does not divide $b!$. This implies that $b<5$. By checking all possible values, we find that $(a,b)=(1,4)$ satisfies the condition.

If $a\geq 5$, it is obvious that $5$ divides $a!$, which means $5$ divides $b$. In turn, this implies that $5$ divides $b!$, and therefore $5$ divides $a$. When $a=b=5$, the condition is satisfied.

If $a>5$, we will prove by induction that for any $k\in \mathbb{N}^*$, $5^k$ divides $a$.

(i) From $a>5$ and $5|a$, we have $a\geq 10$.

(ii) If there exists a positive integer $m>1$ such that $5^m|a$, then $5^{m+1}|a!$. Since $a!+b$ is a power of $5$, we have $5^{m+1}|b$. Hence, $5^{m+1}|b!$. Furthermore, since $b!+a$ is a power of $5$, we have $5^{m+1}|a$.

Based on (i) and (ii), we can conclude that for any $k\in \mathbb{N}^*$, $5^k|a$. However, this is clearly impossible.

In conclusion, $(a,b)$ can only be $(1,4)$ or $(4,1)$ or $(5,5)$.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
dancho
38 posts
#7
Y by
WLOG $a\geq b$
We have that $a!+b=5^t$ and $b!+a=5^s$

Let's assume that $a\geq10$
Let $v_5(a!)=x>1$
From $a!+b=5^t$ we have that $v_5(b)=x\implies b\geq5^x$
Now note that $b!=1\cdot2\cdot3\cdot\cdot\cdot\cdot\cdot b$ which has $\frac{b}{5}$ numbers divisible by 5. Thus $v_5(b!)\geq\frac{b}{5}\geq\frac{5^x}{5}=5^{x-1}$
From $b!+a=5^s$ and $v_5(b!)\geq5^{x-1}$ we get that $v_5(a)\geq5^{x-1}$
$5^{x-1}>x$ for $x>1$ which is a contradiction with $v_5(a!)\geq v_5(a)$
Hence $a<10$

When we check the remaining possibilities we conclude that $(a,b)=(1,4)$ or $(4,1)$ or $(5,5)$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Baffledbanna74
241 posts
#8
Y by
mathmax12 wanted me to share his solution:
WLOG $a\ge b$, now we have $2$ cases:

If $a=b$:
So $a!+a=5^n$, where $n \ge 1.$ When $n=3$, we have that $a=b=5$, works. If $n \ge 3$ we have contradiction.

If $a>b$:
Let $a=b+x$, so $s \ge 1$, we also have $a!+b=5^k$, we have $b\le 5$, and $s \le 4$, otherwise contradiction. If we take all cases, we get that, $(4,1)$ works, so the solutions are $(a,b)=(5,5), (4,1) and (1,4).$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Assassino9931
1199 posts
#9 • 2 Y
Y by PennyLane_31, Mr_GermanCano
After the competition one of the Bulgarian contestants proposed looking at triples $(a,b,p)$, where $p$ is prime, such that $a! + b$ and $b!+a$ are both powers of $p$. I just solved this now, here is a solution. (This would have been a great Problem 4 (or maybe 3 if one wants the problem set to be extreme) in my opinion, shame we did not think about it in time.)

Answer. $(a,b,p) = (2, 2, 2), (3, 3, 3), (5, 5, 5)$, $(1, 1, 2)$, $(2, 1, 3)$, $(1, 2, 3)$, $(4, 1, 5)$, $(1, 4, 5)$

Without loss of generality treat $a\geq b$. Suppose firstly that $a \geq 2p$. In
\[a! + b = b \cdot (1 \cdot 2 \cdots (b-1) \cdot b+1 \cdots (a-1) \cdot a + 1)\]both multipliers on the right must be powers of $p$. The second multiplier is greater than $1$, while $1 \cdot 2 \cdots (b-1) \cdot b+1 \cdots (a-1) \cdot a$ is divisible by $p$, since for $b\neq p$ we have $p$ as a multiplier, while for $b=p$ we have $2p$ as a multiplier, hence $(1 \cdot 2 \cdots (b-1) \cdot b+1 \cdots (a-1) \cdot a + 1$ is not divisible by $p$, which is impossible. Hence $b \leq a \leq 2p-1$ and since $b$ is a power of $p$, we must have $b=p$ or $b=1$.

Let $b=p$. Since $b!+a$ is a power of $p$, we must have that $a$ is divisible by $p$ and now $a\leq 2p-1$ implies $a=p$. In this case $b! + a = p((p-1)! + 1)$ and so it remains to see for which $p$ there is $k$ with $(p-1)! + 1 = p^k$. For $p=2$ we have $k=1$, for $p=3$ we have $k=1$, for $p=5$ we have $k=2$ and we now show that no $p\geq 7$ works. Divide by $p-1$ in $(p-1)! = p^k - 1$ to obtain
\[ (p-2)! = p^{k-1} + p^{k-2} + \cdots + p + 1. \]Consider the latter modulo $p-1$. For $p\geq 7$ the left-hand side contains the different multipliers $2$ and $\frac{p-1}{2}$ and so it is divisible by $p-1$. Each summand on the right gives remainder $1$ when divided by $p-1$, so the right-hand side is congruent to $k$. Hence $k$ must be divisible by $p-1$, but then $k\geq p-1$ and $(p-2)! > p^k \geq p^{p-1}$, which is impossible.

Let $b=1$. We want $a+1 = p^m$ for some $m\geq 1$, i.e. $a = p^m-1$, as well as $a! + 1 = p^n$ for some $n\geq 1$, i.e. $(p^m-1)! = p^n - 1$. If $m\geq 2$, then the left-hand side is divisible by $p$, while the right-hand side is not, contradiction. For $m=1$ we get $(p-1)! = p^n - 1$, thus as in the previous case we obtain only $p=2$ (with $a=1$), $p=3$ (with $a=2$) and $p=5$ (with $a=4$).
This post has been edited 2 times. Last edited by Assassino9931, Sep 13, 2023, 12:18 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
GrantStar
815 posts
#10 • 2 Y
Y by dhfurir, ventic
If $a=b$, then $a((a-1)!+1)$ is a power of $5$. In particular, $a$ and $(a-1)!+1$ are powers of $5$, and if $a\geq 6$ the latter is equivalent to $1$ mod $5$. Check $1,2,3,4,5$ to get $(5,5)$.
Otherwise WLOG $a>b$. First, if $b=1$ then $a!+1$ and $1+a$ are powers of $5$. In particular, $a< 5$ since otherwise $a!+1\equiv 1 \pmod 5$. Else, $b>1$ so $b \mid a!+b$, implying $5\mid b$. Moreover, \[5^x=a!+b=b\left(\frac{a!}{b}+1\right)\]Then, if $a\geq 10$, we must have $\frac{a!}{b}+1 \equiv 1 \pmod 5$ so therefore $b=5$. A finite case check yields no solutions.
Therefore, $(a,b)=(4,1),(1,4),(5,5)$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Jishnu4414l
154 posts
#11
Y by
Here is my solution sketch...
Case 1:Let $a,b >5$
It is easy to see that both $a$ and $b$ must be powers of $5$. Now, WLOG, let $a \geq b$,
$a!+b= b(\frac{a!}{b}+1)$
We see that $\frac{a!}{b}+1$ is $1$ modulo $5$, so this choice of $(a,b)$ fails.
Case 2:Let $a>5$ and $b<5$
We see that $b$ must be odd. So $b=1$ or $b=3$. However, both these choices of $b$ fail as $a!+b \equiv b \pmod 5$.
Thus we can't choose such pairs of $(a,b)$ either.
Case 3: Let $a,b<5$. Note that $(a,b)=(5,5)$ works.
In the third case, if $a,b\geq 2$, it is easy to conclude that both $a$ and $b$ must be odd. However, $(3,3)$ does not work.
So both $a$ or $b$ must be $1$, Now checking the last few cases left we see that $(a,b)=(4,1);(1,4)$ work.
We thus have gotten three such pairs of $a$ and $b$.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
PennyLane_31
77 posts
#12
Y by
Notice that if $x\in\mathbb{Z^*_+}$, then $x!$ ends in 1 (1!), 2 (2!), 6(3!), 4(4!), or 0 ($x\geq 5$)
Let
$\begin{cases}
    a!+b= 5^x\\
    b!+a= 5^y
    \end{cases}$
Where $x,y\in\mathbb{Z^*_+}$

If $a=1\implies b!+1= 5^y\implies b!\equiv 4 \mbox{ (mod 10)}$
So, $b= 4$ (if $b\geq 5\implies b!\equiv 0 \mbox{ (mod 10)})$
$\therefore \boxed{(a,b)= (1,4)}$ is solution ($1!+4= 5= 5^1$)

If $a=2\implies b!+2= 5^y\implies b!\equiv 3\mbox{ (mod 10)}$, which is impossible.

If $a=3\implies b!+3= 5^y\implies b!\equiv 2 \mbox{ (mod 10)}\implies b=2$. But, we also need that $a!+b$ is a power of five, so $3!+2= 8$ is a power of 5, contradiction!

If $a= 4$, we get the solution $\boxed{(a,b)= (4,1)}$

If $a=5\implies 5!+b= 5^x\implies b!\equiv 5 \mbox{ (mod 100)}$. Also, we know that $b!+5=5^y\implies b!\equiv 20 \mbox{ (mod 100)}$.
But, if $b\geq 10, b!\equiv 0 \mbox{ (mod 100)}$. So, we must have $b<10$, giving us the solution $\boxed{(a,b)= (5,5)}$

Noooow, consider WLOG $5<a<b$.

Let $b=a+b_0$, where $b_0\in\mathbb{Z^*_+}$ (with a quick check, you can verify that $a=b$ gives us only the solution a=b=5)
We know that:

$a!(a+1)(a+2)\dots(a+b_0)+a= 5^y\implies a\mid 5^y$.

So, $\boxed{\mbox{a is a power of 5}}.$
Call $a= 5^c$, $c\in\mathbb{Z^*_+}$

We have:
$b!+5^c= 5^y\implies b!= 5^y-5^c= 5^c(5^{y-c}-1)$
$\implies v_5(b!)=c$, but $b!$ has at least $(c+1)$ factors of 5 (actually much more than this), because he has at least the 5 and $a$(a has c factors 5). $\implies c= v_5(b!)\geq c+1$, contradiction!!

Therefore, 3 solutions:
$(a,b)= (1,4); (4,1); (5,5)$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Aiden-1089
277 posts
#13 • 1 Y
Y by Siddharthmaybe
Clearly $v_5(a!)=v_5(b)$ and $v_5(b!)=v_5(a)$. Since $v_5(a!) \geq v_5(a)$ and $v_5(b!) \geq v_5(b)$, it follows that $v_5(a)=v_5(b)=v_5(a!)=v_5(b!)$.
Thus, $v_5((a-1)!)=v_5((b-1)!)=0 \implies a,b \leq 5$. Checking gives $(a,b)=(1,4),(4,1),(5,5)$ as the only solutions.
This post has been edited 1 time. Last edited by Aiden-1089, May 18, 2024, 5:17 AM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
megarnie
5541 posts
#14
Y by
Find all pairs $(a,b)$ of positive integers such that $a!+b$ and $b!+a$ are both powers of $5$.

Claim: If $x + y$ is a power of $5$, then $\nu_5(x) = \nu_5(y)$.
Proof: Suppose otherwise and WLOG $\nu_5(x) > \nu_5(y)$. Then $\nu_5(x+y) = \nu_5(y)$, so $x + y = 5^{\nu_5(y)} < y$, absurd. $\square$

Hence $\nu_5(a!) = \nu_5(b)$ and $\nu_5(b!) = \nu_5(a)$.

Claim: For all $a > 5$, we have $\nu_5(a!) > \nu_5(a)$.
Proof: This is equivalent to there being a positive integer multiple of $5$ less than $a$. $\square$

Now for all positive integers $a$, we have $\nu_5(a!) \ge \nu_5(a)$ since $a \mid a!$. Thus, $\nu_5(b)  = \nu_5(a!) \ge \nu_5(a)$ and $\nu_5(a) = \nu_5(b!) \ge \nu_5(b)$, meaning $\nu_5(a) = \nu_5(b)$. Then $\nu_5(a!) = \nu_5(b) = \nu_5(a)$ and $\nu_5(b) = \nu_5(a) = \nu_5(b!)$, so $a \le 5$ and $b \le 5$.

Thus, $1 < a! + b \le 5! + 5 = 125$, so $a! + b \in \{5, 25, 125\}$.

If $a!  + b = 5$, then $a = 1, b = 4$, which works, or $a = 2, b  = 3$, which doesn't work since $3! + 2$ isn't a power of $5$.

If $a! + b = 25$, then $a  = 4, b = 1$, which works.

If $a! + b = 125$, then $a = b = 5$, which works.

Hence the answer is $(a,b) \in \{(1,4), (4,1), (5,5)\}$.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Sedro
5813 posts
#15 • 1 Y
Y by sami1618
We claim the only working ordered pairs are $(a,b)=\boxed{(1,4),(4,1),(5,5)}$. It is easy to see that they work; we now prove they are the only ones.

It is not hard to verify that these are the only solutions when $a,b\le 5$, so henceforth, FTSOC, assume $a,b>5$. We must have $a!+b = 5^x$ and $a+b! = 5^y$, for some positive integers $x$ and $y$. Adding these two equations together, we have $a((a-1)!+1) + b((b-1)!+1) = 5^x+5^y$. Note that $v_5(a!), v_5(b!) \ge 1$, and thus $5\mid a$, $5\mid b$. Furthermore, notice that $v_5((a-1)!), v_5((b-1)!) \ge 1$, and hence $5\nmid (a-1)!+1$, $5\nmid (b-1)!+1$. It follows that $v_5(\text{LHS}) = \min\{v_5(a), v_5(b)\}$. We also have $v_5(\text{RHS}) = \min\{x,y\}$.

WLOG assume $\min\{v_5(a), v_5(b)\}=v_5(a)$. Now, suppose $\min\{x,y\}=x$. Then, $v_5(a)=x$, and $a\ge 5^x$. But then $a!+b \ge (5^x)!+b > 5^x$, contradiction. Thus, $\min\{x,y\}=y$, and $v_5(a)=y$. Then, $v_5(b)\ge y$, and $b\ge 5^y$. But then $a+b!\ge a+(5^y)! > 5^y$, absurd. Thus, there are no solutions when $a,b>5$, and we are done. $\blacksquare$
This post has been edited 1 time. Last edited by Sedro, May 29, 2024, 8:40 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Orestis_Lignos
555 posts
#16
Y by
This was N1 at last year's shortlist.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
PaixiaoLover
124 posts
#18
Y by
$(1,4), (4,1), (5,5)$ work.

Case 1: $a=b$: then $a((a-1)!+1)=5^k$ for some k. clearly a neq 1, so $a$ is a power of 5. $a=5$ works, but if $a$ is 25 or more, $(a-1)!+1)$ isnt a power of 5 since its 1 mod 5. So $(5,5)$ is the only solution here.

Case 2: $a>b$. Consider b=1 (edge case since we noticed $(1,4)$ works. Then $a!+1=5^k, a+1=5^j.$ So $a=5^j-1$. If a=4, it works. if a=24 or more, $a! +1 $ is 1 mod 5 again. (same technique as before. we will use it again soon). So $(1,4) (4,1)$ works.

Now if $a>b>1$, then $a!+b=5^k, a+b!=5^j$. Then factor out b since $a>b$ to get $b(\frac{a!}{b}+1)=5^k$. So b is a power of 5. Then $a+b!=5^k$ gives $a = 0 \mod 5$. However, then $(\frac{a!}{b}+1)$ would 1 mod 5 (again) ((a would be the next multiple of 5 after b)). So no more solutions.
This post has been edited 2 times. Last edited by PaixiaoLover, Jan 4, 2025, 1:40 AM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
eg4334
616 posts
#19
Y by
The only pairs are $\boxed{(1, 4), (5, 5)}$ in some permutation. If $a=b$, then we have $a((a-1)!+1)$ to be a power of $5$, or more specifically $(a-1)!+1$ to be a power of $5$. This implies $a-1 < 5$ else it will be $1 \pmod{5}$, and a finite check gives the only solution of $(5, 5)$ as advertised above. Else, WLOG $a>b$. The key idea is that looking at $a!+b$, we can factor out a $b$ from $a!$ and hence $\frac{a!}{b}$ cannot be a multiple of $5$. However, when $a \geq 10$, we can easily see that $v_5(a!)$ is strictly greater than $v_5(b)$ for all $b < a$. This is most easily seen by noticing the gaps between powers of $5$. Therefore, there is a finite check that we need to do with $a \leq 9$, noting again that when $5 \leq a \leq 9$ then $b=5$ to eliminate the factor of $5$. This lands us at the other advertised solution above.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Perelman1000000
91 posts
#20 • 1 Y
Y by MIC38
Case 1)$a=b\implies x=y$
$a!+a=5^x$
Case 1.1)$a<5$
$a=1\implies 1+1\neq 5^x$
$a=2\implies 2+2\neq 5^x$
$a=3\implies 6+3\neq 5^x$
$a=4\implies 24+4\neq 5^x$ so this case fails
Case 1.2)$a\geq 5$
$v_5(a!)\geq v_5(a)$
If $v_5(a!)=v_5(a)\implies a=5\implies a!+a=120+5=125=5^3\implies x=3$
If $v_5(a!)>v_5(a)$ ans also we know that $5|a\implies v_5(a!+a)=min(v_5(a!),v_5(a))=v_5(a)=v_5(5^x)=x\implies a\geq 5^x$ contradiction
Case 2) Wlog $a>b>5$
Since $a>b\implies v_5(a!)>v_5(b)\implies v_5(a!+b)=v_5(b)=x\implies b\geq 5^x$ contradiction
Case 3)$5>a>b$
By checking we get $4!+1=25=5^2$
$1!+4=5$ so $(a,b)=(4,1)$ if $b>a\implies (a,b)=(1,4)$
I think someone will ask why not $a>5>b$ because if $a>5$ $5|a!\implies 5|b\implies b>5$ since $a\neq b$(case 1)
$\boxed{ANSWER:(a,b)=(1,4),(4,1),(5,5)}$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
iStud
259 posts
#21
Y by
W.L.O.G. $a\ge b$.

Case 1. If $a=b$.
Then we have $a((a-1)!+1)\equiv 0\pmod{5}$. It's easy to check that any $a\le 4$ doesn't works, so we must have $a\ge 5$. For $a=5$, the problem is satisfied. For $a>5$, we have $(a-1)!+1\equiv 1\pmod{5}$. But we have $5^t=a((a-1)!+1)$ for some $t\in\mathbb{N}$, so $(a-1)!+1=1$, a contradiction. So for this case, the only pair that satisfy is $(a,b)=(5,5)$

Case 2. If $a>b$.
Let $a=b+k$ for some $k\in\mathbb{N}$. If $a>b\ge 5$, we have $5\mid a,b$. In other side, we have $5^t=b((b+1)(b+2)\dots a+1)$ for some $t\in\mathbb{N}$, so we must have $(b+1)(b+2)\dots a\equiv -1\pmod{5}$.This is a contradiction since we must have $(b+1)(b+2)\dots a\equiv 0\pmod{5}$ (since that $5\mid a$). So we must have $a,b\le 4$, which from that we easily get $(a,b)=(4,1)$.

In the end, the only pairs that satisfy the problem are $(a,b)=(5,5),(4,1),(1,4)$. $\blacksquare$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
anudeep
105 posts
#22
Y by
We claim $(1,4), (4,1)$ and $(5,5)$ are the only solutions.
We may assume $a\ge b$ and that implies $b\lvert a!$. As $a!+b=b\left(\frac{a!}{b}+1\right)$ is given to be a power of $5$, $b$ is necessarily a power of $5$ and is clear that $\gcd(a!/b, 5)=1$. This forces $b=5^{\nu_5(a!)}$ and is a moment to celebrate as $b$ seems to get larger and larger surpassing $a$ given $a\ge 10$ which is against our assumption. Performing a finite check we get the required. $\square$
This post has been edited 2 times. Last edited by anudeep, Mar 24, 2025, 4:39 PM
Z K Y
N Quick Reply
G
H
=
a