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

G
Topic
First Poster
Last Poster
k a April Highlights and 2025 AoPS Online Class Information
jlacosta   0
Apr 2, 2025
Spring is in full swing and summer is right around the corner, what are your plans? At AoPS Online our schedule has new classes starting now through July, so be sure to keep your skills sharp and be prepared for the Fall school year! Check out the schedule of upcoming classes below.

WOOT early bird pricing is in effect, don’t miss out! If you took MathWOOT Level 2 last year, no worries, it is all new problems this year! Our Worldwide Online Olympiad Training program is for high school level competitors. AoPS designed these courses to help our top students get the deep focus they need to succeed in their specific competition goals. Check out the details at this link for all our WOOT programs in math, computer science, chemistry, and physics.

Looking for summer camps in math and language arts? Be sure to check out the video-based summer camps offered at the Virtual Campus that are 2- to 4-weeks in duration. There are middle and high school competition math camps as well as Math Beasts camps that review key topics coupled with fun explorations covering areas such as graph theory (Math Beasts Camp 6), cryptography (Math Beasts Camp 7-8), and topology (Math Beasts Camp 8-9)!

Be sure to mark your calendars for the following events:
[list][*]April 3rd (Webinar), 4pm PT/7:00pm ET, Learning with AoPS: Perspectives from a Parent, Math Camp Instructor, and University Professor
[*]April 8th (Math Jam), 4:30pm PT/7:30pm ET, 2025 MATHCOUNTS State Discussion
April 9th (Webinar), 4:00pm PT/7:00pm ET, Learn about Video-based Summer Camps at the Virtual Campus
[*]April 10th (Math Jam), 4:30pm PT/7:30pm ET, 2025 MathILy and MathILy-Er Math Jam: Multibackwards Numbers
[*]April 22nd (Webinar), 4:00pm PT/7:00pm ET, Competitive Programming at AoPS (USACO).[/list]
Our full course list for upcoming classes is below:
All classes run 7:30pm-8:45pm ET/4:30pm - 5:45pm PT unless otherwise noted.

Introductory: Grades 5-10

Prealgebra 1 Self-Paced

Prealgebra 1
Sunday, Apr 13 - Aug 10
Tuesday, May 13 - Aug 26
Thursday, May 29 - Sep 11
Sunday, Jun 15 - Oct 12
Monday, Jun 30 - Oct 20
Wednesday, Jul 16 - Oct 29

Prealgebra 2 Self-Paced

Prealgebra 2
Sunday, Apr 13 - Aug 10
Wednesday, May 7 - Aug 20
Monday, Jun 2 - Sep 22
Sunday, Jun 29 - Oct 26
Friday, Jul 25 - Nov 21

Introduction to Algebra A Self-Paced

Introduction to Algebra A
Monday, Apr 7 - Jul 28
Sunday, May 11 - Sep 14 (1:00 - 2:30 pm ET/10:00 - 11:30 am PT)
Wednesday, May 14 - Aug 27
Friday, May 30 - Sep 26
Monday, Jun 2 - Sep 22
Sunday, Jun 15 - Oct 12
Thursday, Jun 26 - Oct 9
Tuesday, Jul 15 - Oct 28

Introduction to Counting & Probability Self-Paced

Introduction to Counting & Probability
Wednesday, Apr 16 - Jul 2
Thursday, May 15 - Jul 31
Sunday, Jun 1 - Aug 24
Thursday, Jun 12 - Aug 28
Wednesday, Jul 9 - Sep 24
Sunday, Jul 27 - Oct 19

Introduction to Number Theory
Thursday, Apr 17 - Jul 3
Friday, May 9 - Aug 1
Wednesday, May 21 - Aug 6
Monday, Jun 9 - Aug 25
Sunday, Jun 15 - Sep 14
Tuesday, Jul 15 - Sep 30

Introduction to Algebra B Self-Paced

Introduction to Algebra B
Wednesday, Apr 16 - Jul 30
Tuesday, May 6 - Aug 19
Wednesday, Jun 4 - Sep 17
Sunday, Jun 22 - Oct 19
Friday, Jul 18 - Nov 14

Introduction to Geometry
Wednesday, Apr 23 - Oct 1
Sunday, May 11 - Nov 9
Tuesday, May 20 - Oct 28
Monday, Jun 16 - Dec 8
Friday, Jun 20 - Jan 9
Sunday, Jun 29 - Jan 11
Monday, Jul 14 - Jan 19

Intermediate: Grades 8-12

Intermediate Algebra
Monday, Apr 21 - Oct 13
Sunday, Jun 1 - Nov 23
Tuesday, Jun 10 - Nov 18
Wednesday, Jun 25 - Dec 10
Sunday, Jul 13 - Jan 18
Thursday, Jul 24 - Jan 22

Intermediate Counting & Probability
Wednesday, May 21 - Sep 17
Sunday, Jun 22 - Nov 2

Intermediate Number Theory
Friday, Apr 11 - Jun 27
Sunday, Jun 1 - Aug 24
Wednesday, Jun 18 - Sep 3

Precalculus
Wednesday, Apr 9 - Sep 3
Friday, May 16 - Oct 24
Sunday, Jun 1 - Nov 9
Monday, Jun 30 - Dec 8

Advanced: Grades 9-12

Olympiad Geometry
Tuesday, Jun 10 - Aug 26

Calculus
Tuesday, May 27 - Nov 11
Wednesday, Jun 25 - Dec 17

Group Theory
Thursday, Jun 12 - Sep 11

Contest Preparation: Grades 6-12

MATHCOUNTS/AMC 8 Basics
Wednesday, Apr 16 - Jul 2
Friday, May 23 - Aug 15
Monday, Jun 2 - Aug 18
Thursday, Jun 12 - Aug 28
Sunday, Jun 22 - Sep 21
Tues & Thurs, Jul 8 - Aug 14 (meets twice a week!)

MATHCOUNTS/AMC 8 Advanced
Friday, Apr 11 - Jun 27
Sunday, May 11 - Aug 10
Tuesday, May 27 - Aug 12
Wednesday, Jun 11 - Aug 27
Sunday, Jun 22 - Sep 21
Tues & Thurs, Jul 8 - Aug 14 (meets twice a week!)

AMC 10 Problem Series
Friday, May 9 - Aug 1
Sunday, Jun 1 - Aug 24
Thursday, Jun 12 - Aug 28
Tuesday, Jun 17 - Sep 2
Sunday, Jun 22 - Sep 21 (1:00 - 2:30 pm ET/10:00 - 11:30 am PT)
Monday, Jun 23 - Sep 15
Tues & Thurs, Jul 8 - Aug 14 (meets twice a week!)

AMC 10 Final Fives
Sunday, May 11 - Jun 8
Tuesday, May 27 - Jun 17
Monday, Jun 30 - Jul 21

AMC 12 Problem Series
Tuesday, May 27 - Aug 12
Thursday, Jun 12 - Aug 28
Sunday, Jun 22 - Sep 21
Wednesday, Aug 6 - Oct 22

AMC 12 Final Fives
Sunday, May 18 - Jun 15

F=ma Problem Series
Wednesday, Jun 11 - Aug 27

WOOT Programs
Visit the pages linked for full schedule details for each of these programs!


MathWOOT Level 1
MathWOOT Level 2
ChemWOOT
CodeWOOT
PhysicsWOOT

Programming

Introduction to Programming with Python
Thursday, May 22 - Aug 7
Sunday, Jun 15 - Sep 14 (1:00 - 2:30 pm ET/10:00 - 11:30 am PT)
Tuesday, Jun 17 - Sep 2
Monday, Jun 30 - Sep 22

Intermediate Programming with Python
Sunday, Jun 1 - Aug 24
Monday, Jun 30 - Sep 22

USACO Bronze Problem Series
Tuesday, May 13 - Jul 29
Sunday, Jun 22 - Sep 1

Physics

Introduction to Physics
Wednesday, May 21 - Aug 6
Sunday, Jun 15 - Sep 14
Monday, Jun 23 - Sep 15

Physics 1: Mechanics
Thursday, May 22 - Oct 30
Monday, Jun 23 - Dec 15

Relativity
Sat & Sun, Apr 26 - Apr 27 (4:00 - 7:00 pm ET/1:00 - 4:00pm PT)
Mon, Tue, Wed & Thurs, Jun 23 - Jun 26 (meets every day of the week!)
0 replies
jlacosta
Apr 2, 2025
0 replies
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
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
Nondecreasing FE
pieater314159   16
N a few seconds ago by jasperE3
Source: 2019 ELMO Shortlist A4
Find all nondecreasing functions $f:\mathbb R\to \mathbb R$ such that, for all $x,y\in \mathbb R$, $$f(f(x))+f(y)=f(x+f(y))+1.$$
Proposed by Carl Schildkraut
16 replies
pieater314159
Jun 27, 2019
jasperE3
a few seconds ago
Ez induction to start it off
alexanderhamilton124   21
N 16 minutes ago by NerdyNashville
Source: Inmo 2025 p1
Consider the sequence defined by \(a_1 = 2\), \(a_2 = 3\), and
\[
a_{2k+1} = 2 + 2a_k, \quad a_{2k+2} = 2 + a_k + a_{k+1},
\]for all integers \(k \geq 1\). Determine all positive integers \(n\) such that
\[
\frac{a_n}{n}
\]is an integer.

Proposed by Niranjan Balachandran, SS Krishnan, and Prithwijit De.
21 replies
alexanderhamilton124
Jan 19, 2025
NerdyNashville
16 minutes ago
fun set problem
iStud   1
N 29 minutes ago by GreenTea2593
Source: Monthly Contest KTOM April P2 Essay
Given a set $S$ with exactly 9 elements that is subset of $\{1,2,\dots,72\}$. Prove that there exist two subsets $A$ and $B$ that satisfy the following:
- $A$ and $B$ are non-empty subsets from $S$,
- the sum of all elements in each of $A$ and $B$ are equal, and
- $A\cap B$ is an empty subset.
1 reply
iStud
Yesterday at 9:47 PM
GreenTea2593
29 minutes ago
Why is the old one deleted?
EeEeRUT   12
N 42 minutes ago by John_Mgr
Source: EGMO 2025 P1
For a positive integer $N$, let $c_1 < c_2 < \cdots < c_m$ be all positive integers smaller than $N$ that are coprime to $N$. Find all $N \geqslant 3$ such that $$\gcd( N, c_i + c_{i+1}) \neq 1$$for all $1 \leqslant i \leqslant m-1$

Here $\gcd(a, b)$ is the largest positive integer that divides both $a$ and $b$. Integers $a$ and $b$ are coprime if $\gcd(a, b) = 1$.

Proposed by Paulius Aleknavičius, Lithuania
12 replies
EeEeRUT
Apr 16, 2025
John_Mgr
42 minutes ago
MathILy 2025 Decisions Thread
mysterynotfound   16
N 3 hours ago by cweu001
Discuss your decisions here!
also share any relevant details about your decisions if you want
16 replies
mysterynotfound
Yesterday at 3:35 AM
cweu001
3 hours ago
Titu Factoring Troll
GoodMorning   76
N 5 hours ago by megarnie
Source: 2023 USAJMO Problem 1
Find all triples of positive integers $(x,y,z)$ that satisfy the equation
$$2(x+y+z+2xyz)^2=(2xy+2yz+2zx+1)^2+2023.$$
76 replies
GoodMorning
Mar 23, 2023
megarnie
5 hours ago
2025 PROMYS Results
Danielzh   29
N Yesterday at 6:34 PM by niks
Discuss your results here!
29 replies
+1 w
Danielzh
Apr 18, 2025
niks
Yesterday at 6:34 PM
Tennessee Math Tournament (TMT) Online 2025
TennesseeMathTournament   76
N Yesterday at 5:45 PM by Inaaya
Hello everyone! We are excited to announce a new competition, the Tennessee Math Tournament, created by the Tennessee Math Coalition! Anyone can participate in the virtual competition for free.

The testing window is from March 22nd to April 12th, 2025. Virtual competitors may participate in the competition at any time during that window.

The virtual competition consists of three rounds: Individual, Bullet, and Team. The Individual Round is 60 minutes long and consists of 30 questions (AMC 10 level). The Bullet Round is 20 minutes long and consists of 80 questions (Mathcounts Chapter level). The Team Round is 30 minutes long and consists of 16 questions (AMC 12 level). Virtual competitors may compete in teams of four, or choose to not participate in the team round.

To register and see more information, click here!

If you have any questions, please email connect@tnmathcoalition.org or reply to this thread!

Thank you to our lead sponsor, Jane Street!

IMAGE
76 replies
TennesseeMathTournament
Mar 9, 2025
Inaaya
Yesterday at 5:45 PM
2025 Math and AI 4 Girls Competition: Win Up To $1,000!!!
audio-on   54
N Yesterday at 4:20 PM by audio-on
Join the 2025 Math and AI 4 Girls Competition for a chance to win up to $1,000!

Hey Everyone, I'm pleased to announce the dates for the 2025 MA4G Competition are set!
Applications will open on March 22nd, 2025, and they will close on April 26th, 2025 (@ 11:59pm PST).

Applicants will have one month to fill out an application with prizes for the top 50 contestants & cash prizes for the top 20 contestants (including $1,000 for the winner!). More details below!

Eligibility:
The competition is free to enter, and open to middle school female students living in the US (5th-8th grade).
Award recipients are selected based on their aptitude, activities and aspirations in STEM.

Event dates:
Applications will open on March 22nd, 2025, and they will close on April 26th, 2025 (by 11:59pm PST)
Winners will be announced on June 28, 2025 during an online award ceremony.

Application requirements:
Complete a 12 question problem set on math and computer science/AI related topics
Write 2 short essays

Prizes:
1st place: $1,000 Cash prize
2nd place: $500 Cash prize
3rd place: $300 Cash prize
4th-10th: $100 Cash prize each
11th-20th: $50 Cash prize each
Top 50 contestants: Over $50 worth of gadgets and stationary


Many thanks to our current and past sponsors and partners: Hudson River Trading, MATHCOUNTS, Hewlett Packard Enterprise, Automation Anywhere, JP Morgan Chase, D.E. Shaw, and AI4ALL.

Math and AI 4 Girls is a nonprofit organization aiming to encourage young girls to develop an interest in math and AI by taking part in STEM competitions and activities at an early age. The organization will be hosting an inaugural Math and AI 4 Girls competition to identify talent and encourage long-term planning of academic and career goals in STEM.

Contact:
mathandAI4girls@yahoo.com

For more information on the competition:
https://www.mathandai4girls.org/math-and-ai-4-girls-competition

More information on how to register will be posted on the website. If you have any questions, please ask here!


54 replies
audio-on
Jan 26, 2025
audio-on
Yesterday at 4:20 PM
2025 USA IMO
john0512   68
N Yesterday at 3:19 PM by Martin.s
Congratulations to all of you!!!!!!!

Alexander Wang
Hannah Fox
Karn Chutinan
Andrew Lin
Calvin Wang
Tiger Zhang

Good luck in Australia!
68 replies
1 viewing
john0512
Apr 19, 2025
Martin.s
Yesterday at 3:19 PM
k VOLUNTEERING OPPORTUNITY OPEN TO HIGH/MIDDLE SCHOOLERS
im_space_cadet   0
Yesterday at 2:42 PM
Hi everyone!
Do you specialize in contest math? Do you have a passion for teaching? Do you want to help leverage those college apps? Well, I have something for all of you.

I am im_space_cadet, and during the fall of last year, I opened my non-profit DeltaMathPrep which teaches students preparing for contest math the problem-solving skills they need in order to succeed at these competitions. Currently, we are very much understaffed and would greatly appreciate the help of more tutors on our platform.

Each week on Saturday and Wednesday, we meet once for each competition: Wednesday for AMC 8 and Saturday for AMC 10 and we go over a past year paper for the entire class. On both of these days, we meet at 9PM EST in the night.

This is a great opportunity for anyone who is looking to have a solid activity to add to their college resumes that requires low effort from tutors and is very flexible with regards to time.

This is the link to our non-profit for anyone who would like to view our initiative:
https://www.deltamathprep.org/

If you are interested in this opportunity, please send me a DM on AoPS or respond to this post expressing your interest. I look forward to having you all on the team!

Thanks,
im_space_cadet
0 replies
im_space_cadet
Yesterday at 2:42 PM
0 replies
LMT Spring 2025 and Girls' LMT 2025
vrondoS   30
N Yesterday at 2:38 PM by Mintylemon66
The Lexington High School Math Team is proud to announce LMT Spring 2025 and our inaugural Girls’ LMT 2025! LMT is a competition for middle school students interested in math. Students can participate individually, or on teams of 4-6 members. This announcement contains information for BOTH competitions.

LMT Spring 2025 will take place from 8:30 AM-5:00 PM on Saturday, May 3rd at Lexington High School, 251 Waltham St., Lexington, MA 02421.

The competition will include two individual rounds, a Team Round, and a Guts Round, with a break for lunch and mini-events. A detailed schedule is available at https://lhsmath.org/LMT/Schedule.

There is a $15 fee per participant, paid on the day of the competition. Pizza will be provided for lunch, at no additional cost.

Register for LMT at https://lhsmath.org/LMT/Registration/Home.

Girls’ LMT 2025 will be held ONLINE on MathDash from 11:00 AM-4:15 PM EST on Saturday, April 19th, 2025. Participation is open to middle school students who identify as female or non-binary. The competition will include an individual round and a team round with a break for lunch and mini-events. It is free to participate.

Register for GLMT at https://www.lhsmath.org/LMT/Girls_LMT.

More information is available on our website: https://lhsmath.org/LMT/Home. Email lmt.lhsmath@gmail.com with any questions.
30 replies
1 viewing
vrondoS
Mar 27, 2025
Mintylemon66
Yesterday at 2:38 PM
What's the easiest proof-based math competition?
Muu9   1
N Yesterday at 2:17 PM by EaZ_Shadow
In terms of the difficulty of the questions, not the level of competition. There's USAJMO, but surely there must be countries with less developed competitive math scenes whose Olympiads are easier.
1 reply
Muu9
Yesterday at 2:16 PM
EaZ_Shadow
Yesterday at 2:17 PM
2021 AMC 12A #25
franzliszt   27
N Yesterday at 6:53 AM by Magnetoninja
Source: 2021 AMC 12A #25
Let $d(n)$ denote the number of positive integers that divide $n$, including $1$ and $n$. For example, $d(1)=1,d(2)=2,$ and $d(12)=6$. (This function is known as the divisor function.) Let \[f(n)=\frac{d(n)}{\sqrt[3]{n}}.\]There is a unique positive integer $N$ such that $f(N)>f(n)$ for all positive integers $n\ne N$. What is the sum of the digits of $N?$

$\textbf{(A) }5 \qquad \textbf{(B) }6 \qquad \textbf{(C) }7 \qquad \textbf{(D) }8\qquad \textbf{(E) }9$
27 replies
franzliszt
Feb 5, 2021
Magnetoninja
Yesterday at 6:53 AM
IMO 2018 Problem 5
orthocentre   79
N Apr 17, 2025 by cursed_tangent1434
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
79 replies
orthocentre
Jul 10, 2018
cursed_tangent1434
Apr 17, 2025
IMO 2018 Problem 5
G H J
Source: IMO 2018
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
orthocentre
72 posts
#1 • 27 Y
Y by Durjoy1729, Moaaz, me9hanics, MazeaLarius, Amir Hossein, Davi-8191, naw.ngs, Medjl, adityaguharoy, anantmudgal09, pavel kozlov, khan.academy, centslordm, megarnie, Sprites, jasperE3, myh2910, mathmax12, NO_SQUARES, Adventure10, Mango247, aidan0626, torch, buddyram, deplasmanyollari, Supercali, MS_asdfgzxcvb
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
This post has been edited 3 times. Last edited by djmathman, Jun 16, 2020, 4:03 AM
Reason: problem author
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Itama
78 posts
#2 • 4 Y
Y by Kgxtixigct, Adventure10, Mango247, buddyram
I can sence the beauty of the IMO 2018 problems... :coolspeak:

Exelent Job!!! problem selection committee & team leaders!!

I would like to know whose problem is this?
This post has been edited 2 times. Last edited by Itama, Jul 10, 2018, 12:10 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
mathocean97
606 posts
#3 • 16 Y
Y by e_plus_pi, pieater314159, UK2019Project, Pluto1708, Siddharth03, myh2910, IcCircle, centslordm, megarnie, Nuterrow, mathmax12, Adventure10, Mango247, Zhaom, aidan0626, buddyram
Main claim: If $\frac{a}{x} + \frac{x}{b} - \frac{a}{b}$ is an integer, then $\gcd(a, b) | x.$

Proof: Compute the expression. It becomes $\frac{ab+x^2-ax}{bx}.$ Say a prime $p$ satisfies $p|a, p|b.$ Then $p|x^2$ so $p|x$. Divide it out and continue.

Now, I will show that as the sequence goes along, that both the numerator and denominator of the reduced fraction $\frac{a_n}{a_1}$ will decrease as $n$ increases past $n \ge N.$

Now, assume that $\frac{a}{x} + \frac{x}{b} - \frac{a}{b}$ is an integer and $\gcd(a, b) = 1.$ Then $x | ab$ so $x = a'b'$ where $a' | a, b' | b$. Now take $a = a_n, b = a_1, x = a_{n+1}.$ Then $\frac{a_{n+1}}{a_1} = \frac{x}{b} = \frac{a'}{(b/b')}.$ So both the numerator and denominator decreased! Therefore, the sequence $\frac{a_n}{a_1}$ will eventually converge, as desired.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
v_Enhance
6874 posts
#5 • 25 Y
Y by samoha, Davi-8191, brokendiamond, Mathlover1292, qweDota, rashah76, Abidabi, v4913, Sunnybest, centslordm, megarnie, HamstPan38825, myh2910, Assassino9931, mathmax12, Danielzh, Adventure10, Mango247, buddyram, Sneakyturtle, sky.mty, DEKT, Ali_Vafa, Funcshun840, MS_asdfgzxcvb
The condition implies that the difference $S(n) = \frac{a_{n+1}}{a_1} - \frac{a_n}{a_1} + \frac{a_n}{a_{n+1}}$ is an integer for all $n > N$. We proceed by $p$-adic valuation only henceforth.

Claim: If $p \nmid a_1$, then $\nu_p(a_{n+1}) \le \nu_p(a_n)$ for $n \ge N$.

Proof. The first two terms of $S(n)$ have nonnegative $\nu_p$, so we need $\nu_p(\frac{a_n}{a_{n+1}}) \ge 0$. $\blacksquare$

Claim: If $p \mid a_1$, then $\nu_p(a_n)$ is eventually constant.

Proof. By hypothesis $\nu_p(a_1) > 0$. We consider two cases.
  • First assume $\nu_p(a_k) \ge \nu_p(a_1)$ for some $k > N$. We claim that for any $n \ge k$ we have: \[ \nu_p(a_1) \le \nu_p(a_{n+1}) \le \nu_p(a_n). \]This is just by induction on $n$; from $\nu(\frac{a_n}{a_1}) \ge 0$, we have \[ \nu_p\left( \frac{a_{n+1}}{a_1} + \frac{a_n}{a_{n+1}} \right) \ge 0 \]which implies the displayed inequality (since otherwise exactly one term of $S(n)$ has nonnegative $\nu_p$). Thus once we reach this case, $\nu_p(a_n)$ is monotic but bounded below by $\nu_p(a_1)$, and so it is eventually constant.
  • Now assume $\nu_p(a_k) < \nu_p(a_1)$ for every $k > N$. Take any $n > N$ then. We have $\nu_p\left(\frac{a_{n+1}}{a_1}\right) < 0$, and also $\nu_p\left(\frac{a_n}{a_1}\right) < 0$, so among the three terms of $S(n)$, two must have equal $p$-adic valuation. We consider all three possibilities: \begin{align*} 			\nu_p\left(\frac{a_{n+1}}{a_1}\right) = \nu_p\left(\frac{a_n}{a_1}\right) 			&\implies \boxed{\nu_p(a_{n+1}) = \nu_p(a_{n})} \\ 			\nu_p\left(\frac{a_{n+1}}{a_1}\right) = \nu_p\left(\frac{a_n}{a_{n+1}}\right) 			&\implies \boxed{\nu_p(a_{n+1}) = \frac{\nu_p(a_n) + \nu_p(a_1)}{2}} \\ 			\nu_p\left(\frac{a_{n}}{a_1}\right) = \nu_p\left(\frac{a_n}{a_{n+1}}\right) 			&\implies \nu_p(a_{n+1}) = \nu_p(a_1),\text{ but this is impossible}. 		\end{align*}Thus, $\nu_p(a_{n+1}) \ge \nu_p(a_n)$ and $\nu_p(a_n)$ is bounded above by $\nu_p(a_1)$. So in this case we must also stabilize. \qedhere
$\blacksquare$

Since the latter claim is applied only to finitely many primes, after some time $\nu_p(a_n)$ is fixed for all $p \mid a_1$. Afterwards, the sequence satisfies $a_{n+1} \mid a_n$ for each $n$, and thus must be eventually constant.

Remark: This solution is almost completely $p$-adic, in the sense that I think a similar result if one replaces $a_n \in {\mathbb Z}$ by $a_n \in {\mathbb Z}_p$ for any particular prime $p$. In other words, the primes almost do not talk to each other.

There is one caveat: if $x_n$ is an integer sequence such that $\nu_p(x_n)$ is eventually constant for each prime then $x_n$ may not be constant. For example, take $x_n$ to be the $n$th prime! That's why in the first claim (applied to co-finitely many of the primes), we need the stronger non-decreasing condition, rather than just eventually constant.
This post has been edited 6 times. Last edited by v_Enhance, Aug 21, 2018, 2:47 AM
Reason: colorize
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
knm2608
468 posts
#6 • 3 Y
Y by adityaguharoy, Adventure10, buddyram
Written a bit hastily, so let me know if there is any flaw.

We have that
$$\frac{a_n}{a_{n+1}}+\frac{a_{n+1}-a_n}{a_1} \in \mathbb{Z} \;\;\; \forall n \geq N \;\;\;\;\;\; (1)$$Now let $m>n$ be an integer and
$$A=\frac{a_1}{a_2} + \frac{a_2}{a_3} + \ldots + \frac{a_{n-1}}{a_n}, \;\;\;\; B=\frac{a_n}{a_{n+1}}+\ldots +\frac{a_{m-1}}{a_m}$$Then
$$B+\frac{a_m}{a_1}-\frac{a_n}{a_1}\in \mathbb{Z} \;\;\;\;(2)$$Taking $(1)$ from $n$ to $m$ combined with $(2)$ gives
$$\frac{a_m}{a_1} \in \mathbb{Z} \; \Rightarrow \frac{a_m}{a_{m+1}}\in \mathbb{Z} \;\;\; \forall m > n$$So $a_{n+1}=ka_1,k\in \mathbb{Z}$. But
$$\frac{a_n}{a_1}\left(1-\frac{1}{k} \right)  \in \mathbb{Z}$$So either $k=1$ which implies $a_{n+1}=a_1 \Rightarrow a_m=a_{m+1} \;\; \forall m\geq n+1$ or $a_1|a_n \Rightarrow a_{n+1}|a_n \;\; \forall n$. In either case we're done.

Edit: It is wrong. Thanks below.
This post has been edited 1 time. Last edited by knm2608, Jul 11, 2018, 12:25 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Kurt Gödel
615 posts
#7 • 4 Y
Y by Doraeminion, Adventure10, Mango247, buddyram
knm2608 wrote:
Taking $(1)$ from $n$ to $m$ combined with $(2)$ gives $\frac{a_m}{a_1} \in \mathbb{Z}$

How? I think (2) is just a repeated application of (1), so it seems like the most you will get out of this is a tautology.

Great problem though!
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
WizardMath
2487 posts
#9 • 5 Y
Y by rashah76, Adventure10, Mango247, bhan2025, buddyram
Since the sequence is an integer sequence, the differences of consecutive terms must also be integers. So we have $$\frac{a_{n+1}^2-a_n a_{n+1} +  a_n a_1}{a_1 a_{n+1}} \in \mathbb{Z}$$Subtracting 1, we have $a_1 a_{n+1} | (a_{n+1} - a_1) (a_{n+1} - a_n)$. Now consider any prime $p$ that divides $a_1, a_{n}$. Then we have, by dividing both sides by $p$, that $p| a_{n+1}$. Now divide all of $a_1, a_n, a_{n+1}$ by $p$, and then notice that we can still argue further like this. So $\min ( \nu_p (a_1), \nu_p (a_{n}) ) \le \nu_p(a_{n+1}) $. Since we have $a_1 a_{n+1} | (a_{n+1} - a_1) (a_{n+1} - a_n)$, we see that $a_{n+1} | a_1 a_n$.
Note that if $\gcd (a_1, a_{n+1}) = \alpha_{n+1},$ then $a_{n+1} / \alpha_{n+1}$ is an integer, and it divides $a_n$, so the resulting conjugate factor is $k$ (say). Then $\frac{a_{n+1}}{a_1} = \frac{a_n/k}{a_{1}/\alpha_{n+1}}$, so the moduli of numerator and denominator are non-increasing. This leads us to $a_m = a_{m+1}$ from some $m$ onwards, since no positive integer sequence can strictly decrease forever.
This post has been edited 2 times. Last edited by WizardMath, Jul 10, 2018, 2:54 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Loppukilpailija
155 posts
#11 • 4 Y
Y by amar_04, Adventure10, Mango247, buddyram
Here's a solution I wrote during the competition. Quite similar to the one written by v_Enhance, but the execution is maybe a little bit bloodier.


Solution:

Proof by contradiction. For the rest of the solution we assume that the sequence $a_n$ isn't constant starting from any point. In the end we will achieve a contradiction, thus proving the statement.

The difference

$$ \frac{a_{n+1}}{a_1} + \frac{a_n}{a_{n+1}} - \frac{a_n}{a_1} = \frac{a_{n+1}^2 - a_{n+1}a_n + a_na_1}{a_1a_{n+1}} $$
is an integer for all $n \ge N$.

Lemma 1.

There is a prime $p$ such that $v_p(a_{n+1}) \neq v_p(a_n)$ for infinitely many $n \ge N$.

Proof.

The integer-ness condition above implies that $a_{n+1} \mid a_na_1$. This means that for all $p \mid a_n$, $p$ prime and $n \ge N$, we have either $p \mid a_N$ or $p \mid a_1$ (assume not, and take the smallest $i > N$ for which $p \mid a_i$). Thus, there are only finitely many $p$ such that $p \mid a_n$ for some $n \ge N$. Now, for the statement of the lemma, assume not: now, if we take any prime $p$ which doesn't divide any of the numbers $a_1, a_N, a_{N+1}, a_{N+2}, \ldots $, then we of course have $v_p(a_{n+1}) = v_p(a_n)$ for all $n \ge N$. For the rest of the primes, which we have finitely many, we must have $v_p(a_{n+1}) = v_p(a_n)$ for all large enough $n$. But this means that the sequence $a_n$ is constant, which is a contradiction. Thus, the statement of the lemma is true.

Now, take any prime $p$ satisfying the condition of lemma 1. Define $v_p(a_n) = b_n$ for all $n$. We aren't that interested in the cases where $b_{n+1} = b_n$, but luckily we have infinitely many interesting cases.

Lemma 2. If $b_{n+1} > b_n$, we have $b_{n+1} = b_1$.

Proof: we divide into two cases, one where $b_{n+1} > b_1$, and one where $b_{n+1} < b_1$. We prove that both of these cases lead into a contradiction, which proves the lemma.

If $b_{n+1} > b_1$, then $v_p(a_{n+1}^2 - a_na_{n+1} + a_na_1) = v_p(a_na_1) = b_n + b_1 < b_{n+1} + b_1 = v_p(a_{n+1}a_1)$, contradicting the fact that $a_{n+1}a_1$ divides $a_{n+1}^2 - a_na_{n+1} + a_na_1$.
In a similar manner we see that if $b_{n+1} < b_1$, then the $v_p$ of the denominator is $b_n + b_{n+1}$, which is less than $b_{n+1} + b_1$, since $b_1 > b_{n+1} > b_n$. Thus, we must have $b_{n+1} = b_1$.

Lemma 3.
If $b_{n+1} < b_n$, then we have $b_1 \ge b_{n+1}$.

Proof. Again, a proof by contradiction. Now, the $v_p$ of the denominator is $2b_{n+1}$, which is less than $b_1 + b_{n+1}$.

Now, we have our setup ready. We only need the following crucial lemma, and then we are basically done:

Lemma 4. There exists an $n \ge N$ such that $b_n = b_1$.

Proof. Surprise, a proof by contradiction. Now, if $b_{n+1} > b_n$ for some $n$, then $b_{n+1} = b_1$ due to lemma 2. This can't happen, so $b_{n+1} \le b_n$ for all $n$. So $b_n$ is a decreasing sequence, which is a contradiction with the fact that $b_{n+1} \neq b_n$ for infinitely many $n$, and that $b_n \ge 0$ for all $n$.

Now, take such $n$ that $b_n = b_1$. If $b_{n+1} = b_n$, just increment $n$ by $1$ as long as we have $b_{n+1} \neq b_n = b_1$. This gives a contradiction:

if $b_{n+1} > b_n$, then due to lemma 2 we have $b_1 = b_{n+1} > b_n = b_1$, a contradiction.

if $b_{n+1} < b_n$, then due to lemma 3 we have $b_1 \le b_{n+1} < b_n = b_1$, a contradiction.

Thus, the original assumption of the statement being false gave a contradiction. The sequence $a_m$ is therefore constant starting from some point.

Motivation:


The divisibility condition given is very nice for investigating the $p$-adic valuations, as there are no constant terms. Then, you just bash the cases a little bit to use the well-known lemma $v_p(a \pm b) = \min(v_p(a), v_p(b))$ for $v_p(a) \neq v_p(b)$. I was hoping for a direct contradiction in either one of the cases $b_{n+1} > b_n$ or $b_{n+1} < b_n$, but I wasn't able do get this, so I just picked up all the nice information I got from the case-work there. When you really look at lemmas 2 and 3, it's not too difficult to come up with the rest of the solution. Lemma 1 is only needed to describe the prime we pick for our "$v_p$-bash".
This post has been edited 2 times. Last edited by Loppukilpailija, Jul 17, 2018, 4:05 PM
Reason: Add motivation.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
62861
3564 posts
#12 • 12 Y
Y by Loppukilpailija, nmd27082001, pavel kozlov, Reef334, XbenX, edfearay123, centslordm, leozitz, Wizard0001, Adventure10, Mango247, buddyram
The difference $\frac{a_{n+1}}{a_1} - \frac{a_n}{a_1} + \frac{a_n}{a_{n+1}}$ is also an integer for $n \ge N$.
Hence
\[a_1 a_{n+1} \mid a_{n+1}^2 - a_n a_{n+1} + a_1 a_n \equiv (a_{n+1} - a_1)(a_{n+1} - a_n).\]
Lemma. If $a$, $x$, $y$ are positive integers with $ay \mid (y - a)(y - x)$ and $p$ is a prime, then
\[\min\big(\nu_p(a), \nu_p(x)\big) \le \nu_p(y) \le \max\big(\nu_p(a), \nu_p(x)\big).\]This can be easily proved by examining the possibilities $\nu_p(y) < \min\big(\nu_p(a), \nu_p(x)\big)$ and $\nu_p(y) > \max\big(\nu_p(a), \nu_p(x)\big)$; both lead to $\nu_p$ contradictions in the divisibility.

Corollary 1. $\gcd(a_1, a_n) \mid a_{n+1} \mid \mathrm{lcm}(a_1, a_n)$ for $n \ge N$.

Corollary 2. $\gcd(a_1, a_n) \mid \gcd(a_1, a_{n+1})$ and $\mathrm{lcm}(a_1, a_{n+1}) \mid \mathrm{lcm}(a_1, a_n)$ for $n \ge N$.

Hence $\{\gcd(a_1, a_n)\}_{n \ge N}$ and $\{\mathrm{lcm}(a_1, a_n)\}_{n \ge N}$ are increasing and decreasing sequences (respectively) bounded by $a_1$. Thus they are eventually constant; say $\gcd(a_1, a_m) = u$ and $\mathrm{lcm}(a_1, a_m) = v$ for $m \ge M$. Then
\[a_m = \frac{\gcd(a_1, a_m) \cdot \mathrm{lcm}(a_1, a_m)}{a_1} = \frac{uv}{a_1}\]for all $m \ge M$, as desired.
This post has been edited 1 time. Last edited by 62861, Jul 10, 2018, 5:45 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
yugrey
2326 posts
#13 • 3 Y
Y by Adventure10, Mango247, buddyram
v_Enhance wrote:
The condition implies that the difference \[ \frac{a_{n+1}}{a_1} - \frac{a_n}{a_1} + \frac{a_n}{a_{n+1}} \]is an integer for all $n > N$.

We proceed by $p$-adic valuation only henceforth.

Claim: If $p \nmid a_1$, then $\nu_p(a_{n+1}) \le \nu_p(a_n)$ for $n \ge N$.

Proof. The third term in the difference must have nonnegative $\nu_p$. $\blacksquare$



Claim: If $p \mid a_1$, then $\nu_p(a_n)$ is eventually constant.

Proof. By hypothesis $\nu_p(a_1) > 0$. We consider two cases,
  • First assume $\nu_p(a_k) \ge \nu_p(a_1)$ for some $k > N$. We claim that for any $n \ge k$ (by induction) we have: \[ \nu_p(a_1) \le \nu_p(a_{n+1}) \le \nu_p(a_n). \]Note in this case that $\nu(\frac{a_n}{a_1}) \ge 0$, so we must have \[ \nu_p\left( \frac{a_{n+1}}{a_1} + \frac{a_n}{a_{n+1}} \right) \ge 0 \]which implies the displayed inequality (since otherwise exactly one of the summands has nonnegative $\nu_p$). Thus once we reach this case, $\nu_p(a_n)$ is monotic but bounded below by $\nu_p(a_1)$, and so it is eventually constant.
  • Now assume $\nu_p(a_k) < \nu_p(a_1)$ for every $k > N$. Take any $n > N$ then. We have $\nu_p\left(\frac{a_{n+1}}{a_1}\right) < 0$, and also $\nu_p\left(\frac{a_n}{a_1}\right) < 0$, so among the three summands two must have equal $p$-adic valuation. We consider all three possibilities: \begin{align*} 			\nu_p\left(\frac{a_{n+1}}{a_1}\right) = \nu_p\left(\frac{a_n}{a_1}\right) 			&\implies \boxed{\nu_p(a_{n+1}) = \nu_p(a_{n})} \\ 			\nu_p\left(\frac{a_{n+1}}{a_1}\right) = \nu_p\left(\frac{a_n}{a_{n+1}}\right) 			&\implies \boxed{\nu_p(a_{n+1}) = \frac{\nu_p(a_n) + \nu_p(a_1)}{2}} \\ 			\nu_p\left(\frac{a_{n}}{a_1}\right) = \nu_p\left(\frac{a_n}{a_{n+1}}\right) 			&\implies \nu_p(a_{n+1}) = \nu_p(a_1),\text{ but this is impossible}. 		\end{align*}Thus, eventually $\nu_p(a_{n+1}) \ge \nu_p(a_n)$ in either possible situation, but $\nu_p(a_n)$ is bounded above by $\nu_p(a_1) - 1$, so in this case we must also stabilize. \qedhere
$\blacksquare$

Since the latter claim is applied only to finitely many primes, after some time $\nu_p(a_n)$ is fixed for all $p \nmid a_n$. Afterwards, the sequence satisfies $a_{n+1} \mid a_n$ for each $n$, and thus must be eventually constant.

Remark: This solution is almost completely $p$-adic, in the sense that I think a similar result if one replaces $a_n \in {\mathbb Z}$ by $a_n \in {\mathbb Z}_p$ for any particular prime $p$. In other words, the primes almost do not talk to each other.

There is one caveat: if $x_n$ is an integer sequence such that $\nu_p(x_n)$ is eventually constant for each prime then $x_n$ may not be constant. For example, take $x_n$ to be the $n$th prime! That's why in the first claim (applied to co-finitely many of the primes), we need the stronger non-decreasing condition, rather than just eventually constant.

This is basically my solution. This "caveat" at the end is easy to get around if you notice that since $\frac{a_{n+1}^2-a_na_{n+1}+a_na_1}{a_1a_{n+1}}$ is an integer, $a_{n+1} \mid a_na_1$, so eventually $\frac{a_n}{(a_n,a_1)}$ converges to a constant. Then you basically do this analysis only on primes that divide $a_1$, of which there are finitely many. I think this is the more intuitive way to deal with it. :)
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
suli
1498 posts
#14 • 3 Y
Y by Adventure10, Mango247, buddyram
For any prime $p$, $v_p (a_{n+1})$ is between $v_p (a_n)$ and $v_p (a_1)$. That's it. Was expecting more from an IMO P5 :(

Solution
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
JuanOrtiz
366 posts
#15 • 2 Y
Y by Adventure10, Mango247
Let $x=a_1$. Throughout the problem, $n$ will denote an arbitrary number $\ge N$. Notice
\[ \frac{a_{n}}{a_{n+1}} + \frac{a_{n+1}-a_n}{x} = \left( \frac{a_1}{a_2}+\cdots + \frac{a_n}{a_{n+1}} + \frac{a_{n+1}}{x} \right) -\left( \frac{a_1}{a_2}+\cdots + \frac{a_n}{x}  \right)  \]is an integer. Thus $a_{n+1}=\frac{a_nx}{\ell_n}$ for some positive integer $\ell_n$ such that $x| \ell_n+a_{n+1}-a_n$. Thus, for any prime $p\nmid x$, we have $v_p(a_n)$ is decreasing, and so eventually becomes constant. There's finitely many primes that divide $a_N$, and so there's some $M\ge N$ such that for any $p\nmid x$, the quantity $v_p(a_n)$ is fixed after $n\ge M$, and the $\ell_n$'s are only divisible by primes in $P:=\{ p | x\}$, i.e. primes that divide $x$. From now on, $n$ will denote an arbitrary number $\ge M$.

Let $p\in P$ and set $b:= v_p(x)$, $b_n := v_p(a_n)$. Assume for some $n$, $b_{n+1}> b_n$, so that $b > v_p(\ell_n)$. Notice $v_p(a_{n+1}-a_n) = b_n$ but $b\le v_p(\ell_n+a_{n+1}-a_n)$, and so $b_n=v_p(\ell_n) < b$. Thus $b_{n+1}=b$ and so $p^b | \ell_{n+1} + a_{n+2}$. But $v_p(\ell_{n+1}) + v_p(a_{n+2}) = 2b$ and so both must be $b$, thus $b_{n+2}=b$ and thus the sequence $\{b_i\}$ is eventually constant. Otherwise, the sequence is never increasing, but it can never be negative, so it's also eventually constant.

Since $P$ is finite, and all these sequences are constant, we get the $P$-part of the $\{a_n\}$ sequence is eventually constant. But the first paragraph proves the non-$P$ part is also eventually constant. Thus, the sequence itself is eventually constant as desired.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Taha1381
816 posts
#16 • 2 Y
Y by Adventure10, buddyram
The proof is quite straight for a problem $5$.

Lemma:There are finite primes dividing one or more elements of the sequence.

Proof:Assume for country then there exists a prime $p$ so that $p$ divides $a_{t+1}$ for some large $t$ but not the previous elements of the subset.Since
$\frac{a_{t+1}}{a_1} - \frac{a_t}{a_1} + \frac{a_t}{a_{t+1}}$ has to be an integer this is impossible.

Let $\mathbb{P}$ denote the set of primes dividing at least one element of the sequence and take $p \in \mathbb{P}$.We divide the problem into two cases.

First case:$v_p(a_n) <v_p(a_1)$ holds for all integer $n \ge N$:Since $\frac{a_{n+1}}{a_1} - \frac{a_n}{a_1} + \frac{a_n}{a_{n+1}}$ has to be an integer using nothing more than $p$-adic calculations one can show $v_p(a_N) \le v_p(a_{N+!} \le \dots$ because the sequence of $v_p(a_i)$ has an upper bound it has to be constant after somewhere.

Second case :There exist $\ell \ge N$ so that $v_p(a_{\ell }) \ge v_p(a_1)$.By induction and some $p$-adic calculations one can prove $v_p(a_{\ell }) \ge v_p(a_{\ell +1}) \ge \dots $ and all this values are bigger than or equal to $v_p(a_1)$ so by FMID it has to be constant after somewhere.

So there exist an $M$ so that powers of all primes in $\mathbb{P}$ is constant in $a_M,a_{M+1},\dots $ since they are the only primes dividing one or more element of the sequence hence all these numbers have to be equal.

Is this solution true?If so then why is this a problem $5$(I came up with it within 30 minutes in the mock imo we had in Iran while I spend some hours or days to solve some other problems 5's).

Remark:I noticed this is a way to deal with the issue evan remarked in his answer to show the wrong appropach..
This post has been edited 3 times. Last edited by Taha1381, Jul 11, 2018, 1:04 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
reality95
12 posts
#17 • 4 Y
Y by rmtf1111, Adventure10, Mango247, buddyram
More or less the same idea as above.
Suppose that $n \ge N$ and $a_1 = c$ then we get that $$ca_{n + 1} | a_{n+1}^2 + a_nc - a_na_{n+1}$$
We must have for every prime $p$ $v_p(c) + v_p(a_{n + 1}) \le v_p(a_{n+1}^2 + a_nc - a_na_{n+1})$.

$\textbf{Lemma 1.}$ $v_p(a_{n + 1}) \le \max(v_p(c),v_p(a_n))$

Proof: Suppose the contrary, then $v_p(c) + v_p(a_n) < v_p(a_n) + v_p(a_{n + 1}) < 2v_p(a_{n + 1})$ so $v_p(c) + v_p(a_{n + 1}) \le v_p(c) + v_p(a_n)$ or $v_p(a_{n + 1}) \le v_p(a_n)$, contradiction.

$\textbf{Lemma 2.}$ If $v_p(a_{n + 1}) < v_p(a_n)$ then $v_p(a_{n + 1}) \ge v_p(c)$

Proof: Suppose $v_p(a_{n + 1}) < v_p(c) \le v_p(a_n)$ then $2v_p(a_{n + 1}) < v_p(a_{n + 1}) + v_p(a_n) < v_p(c) + v_p(a_n)$ so $v_p(c) + v_p(a_n) \le 2v_p(a_{n + 1})$, contradiction.

By lemma $1$ it's also possible to prove that there are finite number of prime $p$ such that $p$ divides at least one $a_n$.

Now consider the following cases:

$\textbf{Case 1.}$ $v_p(a_N) < v_p(c)$.

We must have that $v_p(a_n) \le v_p(c)$ from lemma $1$ and induction.

Suppose there exists $n$ with $v_p(a_{n + 1}) < v_p(a_n)$, then $v_p(a_n) > v_p(a_{n + 1}) \ge v_p(c)$, contradiction.

Therefore, sequence $b_{n} = v_p(a_{n + N})$ is upper bounded and increasing, so it converges.

$\textbf{Case 2.}$ $v_p(a_N) \ge v_p(c)$, then one can prove by induction with lemma $2$ that $v_p(a_n) \ge v_p(c)$.

Suppose there exist $n$ with $v_p(a_{n + 1}) > v_p(a_n)$, then $v_p(a_n) \ge \max(v_p(c),v_p(a_n)) > v_p(a_{n + 1}) > v_p(a_n)$, contradiction.

Therefore, sequence $c_{n}  = v_p(a_{n + N})$ is lower bounded and decreasing, so it converges.

There are finite prime numbers $p$ so the conclusion follows.
This post has been edited 3 times. Last edited by reality95, Jul 11, 2018, 8:29 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
orthocentre
72 posts
#18 • 2 Y
Y by Adventure10, buddyram
What is $p$-adic valuation?
This post has been edited 1 time. Last edited by orthocentre, Apr 7, 2019, 9:49 PM
Z K Y
G
H
=
a