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

G
Topic
First Poster
Last Poster
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 A Letter to MSM
Arr0w   23
N Sep 19, 2022 by scannose
Greetings.

I have seen many posts talking about commonly asked questions, such as finding the value of $0^0$, $\frac{1}{0}$,$\frac{0}{0}$, $\frac{\infty}{\infty}$, why $0.999...=1$ or even expressions of those terms combined as if that would make them defined. I have made this post to answer these questions once and for all, and I politely ask everyone to link this post to threads that are talking about this issue.
[list]
[*]Firstly, the case of $0^0$. It is usually regarded that $0^0=1$, not because this works numerically but because it is convenient to define it this way. You will see the convenience of defining other undefined things later on in this post.

[*]What about $\frac{\infty}{\infty}$? The issue here is that $\infty$ isn't even rigorously defined in this expression. What exactly do we mean by $\infty$? Unless the example in question is put in context in a formal manner, then we say that $\frac{\infty}{\infty}$ is meaningless.

[*]What about $\frac{1}{0}$? Suppose that $x=\frac{1}{0}$. Then we would have $x\cdot 0=0=1$, absurd. A more rigorous treatment of the idea is that $\lim_{x\to0}\frac{1}{x}$ does not exist in the first place, although you will see why in a calculus course. So the point is that $\frac{1}{0}$ is undefined.

[*]What about if $0.99999...=1$? An article from brilliant has a good explanation. Alternatively, you can just use a geometric series. Notice that
\begin{align*}
\sum_{n=1}^{\infty} \frac{9}{10^n}&=9\sum_{n=1}^{\infty}\frac{1}{10^n}=9\sum_{n=1}^{\infty}\biggr(\frac{1}{10}\biggr)^n=9\biggr(\frac{\frac{1}{10}}{1-\frac{1}{10}}\biggr)=9\biggr(\frac{\frac{1}{10}}{\frac{9}{10}}\biggr)=9\biggr(\frac{1}{9}\biggr)=\boxed{1}
\end{align*}
[*]What about $\frac{0}{0}$? Usually this is considered to be an indeterminate form, but I would also wager that this is also undefined.
[/list]
Hopefully all of these issues and their corollaries are finally put to rest. Cheers.

2nd EDIT (6/14/22): Since I originally posted this, it has since blown up so I will try to add additional information per the request of users in the thread below.

INDETERMINATE VS UNDEFINED

What makes something indeterminate? As you can see above, there are many things that are indeterminate. While definitions might vary slightly, it is the consensus that the following definition holds: A mathematical expression is be said to be indeterminate if it is not definitively or precisely determined. So how does this make, say, something like $0/0$ indeterminate? In analysis (the theory behind calculus and beyond), limits involving an algebraic combination of functions in an independent variable may often be evaluated by replacing these functions by their limits. However, if the expression obtained after this substitution does not provide sufficient information to determine the original limit, then the expression is called an indeterminate form. For example, we could say that $0/0$ is an indeterminate form.

But we need to more specific, this is still ambiguous. An indeterminate form is a mathematical expression involving at most two of $0$, $1$ or $\infty$, obtained by applying the algebraic limit theorem (a theorem in analysis, look this up for details) in the process of attempting to determine a limit, which fails to restrict that limit to one specific value or infinity, and thus does not determine the limit being calculated. This is why it is called indeterminate. Some examples of indeterminate forms are
\[0/0, \infty/\infty, \infty-\infty, \infty \times 0\]etc etc. So what makes something undefined? In the broader scope, something being undefined refers to an expression which is not assigned an interpretation or a value. A function is said to be undefined for points outside its domain. For example, the function $f:\mathbb{R}^{+}\cup\{0\}\rightarrow\mathbb{R}$ given by the mapping $x\mapsto \sqrt{x}$ is undefined for $x<0$. On the other hand, $1/0$ is undefined because dividing by $0$ is not defined in arithmetic by definition. In other words, something is undefined when it is not defined in some mathematical context.

WHEN THE WATERS GET MUDDIED

So with this notion of indeterminate and undefined, things get convoluted. First of all, just because something is indeterminate does not mean it is not undefined. For example $0/0$ is considered both indeterminate and undefined (but in the context of a limit then it is considered in indeterminate form). Additionally, this notion of something being undefined also means that we can define it in some way. To rephrase, this means that technically, we can make something that is undefined to something that is defined as long as we define it. I'll show you what I mean.

One example of making something undefined into something defined is the extended real number line, which we define as
\[\overline{\mathbb{R}}=\mathbb{R}\cup \{-\infty,+\infty\}.\]So instead of treating infinity as an idea, we define infinity (positively and negatively, mind you) as actual numbers in the reals. The advantage of doing this is for two reasons. The first is because we can turn this thing into a totally ordered set. Specifically, we can let $-\infty\le a\le \infty$ for each $a\in\overline{\mathbb{R}}$ which means that via this order topology each subset has an infimum and supremum and $\overline{\mathbb{R}}$ is therefore compact. While this is nice from an analytic standpoint, extending the reals in this way can allow for interesting arithmetic! In $\overline{\mathbb{R}}$ it is perfectly OK to say that,
\begin{align*}
a + \infty = \infty + a & = \infty, & a & \neq -\infty \\
a - \infty = -\infty + a & = -\infty, & a & \neq \infty \\
a \cdot (\pm\infty) = \pm\infty \cdot a & = \pm\infty, & a & \in (0, +\infty] \\
a \cdot (\pm\infty) = \pm\infty \cdot a & = \mp\infty, & a & \in [-\infty, 0) \\
\frac{a}{\pm\infty} & = 0, & a & \in \mathbb{R} \\
\frac{\pm\infty}{a} & = \pm\infty, & a & \in (0, +\infty) \\
\frac{\pm\infty}{a} & = \mp\infty, & a & \in (-\infty, 0).
\end{align*}So addition, multiplication, and division are all defined nicely. However, notice that we have some indeterminate forms here which are also undefined,
\[\infty-\infty,\frac{\pm\infty}{\pm\infty},\frac{\pm\infty}{0},0\cdot \pm\infty.\]So while we define certain things, we also left others undefined/indeterminate in the process! However, in the context of measure theory it is common to define $\infty \times 0=0$ as greenturtle3141 noted below. I encourage to reread what he wrote, it's great stuff! As you may notice, though, dividing by $0$ is undefined still! Is there a place where it isn't? Kind of. To do this, we can extend the complex numbers! More formally, we can define this extension as
\[\mathbb{C}^*=\mathbb{C}\cup\{\tilde{\infty}\}\]which we call the Riemann Sphere (it actually forms a sphere, pretty cool right?). As a note, $\tilde{\infty}$ means complex infinity, since we are in the complex plane now. Here's the catch: division by $0$ is allowed here! In fact, we have
\[\frac{z}{0}=\tilde{\infty},\frac{z}{\tilde{\infty}}=0.\]where $\tilde{\infty}/\tilde{\infty}$ and $0/0$ are left undefined. We also have
\begin{align*}
z+\tilde{\infty}=\tilde{\infty}, \forall z\ne -\infty\\
z\times \tilde{\infty}=\tilde{\infty}, \forall z\ne 0
\end{align*}Furthermore, we actually have some nice properties with multiplication that we didn't have before. In $\mathbb{C}^*$ it holds that
\[\tilde{\infty}\times \tilde{\infty}=\tilde{\infty}\]but $\tilde{\infty}-\tilde{\infty}$ and $0\times \tilde{\infty}$ are left as undefined (unless there is an explicit need to change that somehow). One could define the projectively extended reals as we did with $\mathbb{C}^*$, by defining them as
\[{\widehat {\mathbb {R} }}=\mathbb {R} \cup \{\infty \}.\]They behave in a similar way to the Riemann Sphere, with division by $0$ also being allowed with the same indeterminate forms (in addition to some other ones).
23 replies
Arr0w
Feb 11, 2022
scannose
Sep 19, 2022
k i Marathon Threads
LauraZed   0
Jul 2, 2019
Due to excessive spam and inappropriate posts, we have locked the Prealgebra and Beginning Algebra threads.

We will either unlock these threads once we've cleaned them up or start new ones, but for now, do not start new marathon threads for these subjects. Any new marathon threads started while this announcement is up will be immediately deleted.
0 replies
LauraZed
Jul 2, 2019
0 replies
k i Basic Forum Rules and Info (Read before posting)
jellymoop   368
N May 16, 2018 by harry1234
f (Reminder: Do not post Alcumus or class homework questions on this forum. Instructions below.) f
Welcome to the Middle School Math Forum! Please take a moment to familiarize yourself with the rules.

Overview:
[list]
[*] When you're posting a new topic with a math problem, give the topic a detailed title that includes the subject of the problem (not just "easy problem" or "nice problem")
[*] Stay on topic and be courteous.
[*] Hide solutions!
[*] If you see an inappropriate post in this forum, simply report the post and a moderator will deal with it. Don't make your own post telling people they're not following the rules - that usually just makes the issue worse.
[*] When you post a question that you need help solving, post what you've attempted so far and not just the question. We are here to learn from each other, not to do your homework. :P
[*] Avoid making posts just to thank someone - you can use the upvote function instead
[*] Don't make a new reply just to repeat yourself or comment on the quality of others' posts; instead, post when you have a new insight or question. You can also edit your post if it's the most recent and you want to add more information.
[*] Avoid bumping old posts.
[*] Use GameBot to post alcumus questions.
[*] If you need general MATHCOUNTS/math competition advice, check out the threads below.
[*] Don't post other users' real names.
[*] Advertisements are not allowed. You can advertise your forum on your profile with a link, on your blog, and on user-created forums that permit forum advertisements.
[/list]

Here are links to more detailed versions of the rules. These are from the older forums, so you can overlook "Classroom math/Competition math only" instructions.
Posting Guidelines
Update on Basic Forum Rules
What belongs on this forum?
How do I write a thorough solution?
How do I get a problem on the contest page?
How do I study for mathcounts?
Mathcounts FAQ and resources
Mathcounts and how to learn

As always, if you have any questions, you can PM me or any of the other Middle School Moderators. Once again, if you see spam, it would help a lot if you filed a report instead of responding :)

Marathons!
Relays might be a better way to describe it, but these threads definitely go the distance! One person starts off by posting a problem, and the next person comes up with a solution and a new problem for another user to solve. Here's some of the frequently active marathons running in this forum:
[list][*]Algebra
[*]Prealgebra
[*]Proofs
[*]Factoring
[*]Geometry
[*]Counting & Probability
[*]Number Theory[/list]
Some of these haven't received attention in a while, but these are the main ones for their respective subjects. Rather than starting a new marathon, please give the existing ones a shot first.

You can also view marathons via the Marathon tag.

Think this list is incomplete or needs changes? Let the mods know and we'll take a look.
368 replies
jellymoop
May 8, 2015
harry1234
May 16, 2018
Cool Number Theory
Fermat_Fanatic108   5
N 27 minutes ago by mathprodigy2011
For an integer with 5 digits $n=abcde$ (where $a, b, c, d, e$ are the digits and $a\neq 0$) we define the \textit{permutation sum} as the value $$bcdea+cdeab+deabc+eabcd$$For example the permutation sum of 20253 is $$02532+25320+53202+32025=113079$$Let $m$ and $n$ be two fivedigit integers with the same permutation sum.
Prove that $m=n$.
5 replies
Fermat_Fanatic108
3 hours ago
mathprodigy2011
27 minutes ago
Problem for VASC, SI Book
hungkhtn   21
N 37 minutes ago by imnotgoodatmathsorry
Source: please let him prove it first
Let $a,b,c$ be non-negative real numbers such that $a+b+c=3$. Prove that
\[a\sqrt{1+b^{3}}+b\sqrt{1+c^{3}}+c\sqrt{1+a^{3}}\le 5.\]
21 replies
1 viewing
hungkhtn
Jun 5, 2007
imnotgoodatmathsorry
37 minutes ago
Problem about Euler's function
luutrongphuc   0
43 minutes ago
Prove that for every integer $n \ge 5$, we have:
$$ 2^{n^2+3n-13} \mid \phi \left(2^{2^{n}}-1 \right)$$
0 replies
luutrongphuc
43 minutes ago
0 replies
IMO Shortlist 2009 - Problem N4
April   12
N an hour ago by asdf334
Find all positive integers $n$ such that there exists a sequence of positive integers $a_1$, $a_2$,$\ldots$, $a_n$ satisfying: \[a_{k+1}=\frac{a_k^2+1}{a_{k-1}+1}-1\] for every $k$ with $2\leq k\leq n-1$.

Proposed by North Korea
12 replies
April
Jul 5, 2010
asdf334
an hour ago
Problem of the week
evt917   30
N an hour ago by evt917
Whenever possible, I will be posting problems twice a week! They will be roughly of AMC 8 difficulty. Have fun solving! Also, these problems are all written by myself!

First problem:

$20^{16}$ has how many digits?
30 replies
evt917
Mar 5, 2025
evt917
an hour ago
How important is math "intuition"
Dream9   0
3 hours ago
When I see problems now, they usually fall under 3 categories: easy, annoying, and cannot solve. Over time, more problems become easy, but I don't think I'm learning anything "new" so is higher level math like AMC 10 more about practice, so you know what to do when you see a problem? Of course, there's formulas for some problems but when reading a lot of solutions I didn't see many weird formulas being used and it was just the way to solve the problem was "odd".
0 replies
Dream9
3 hours ago
0 replies
Math Question
somerandomkid32   2
N 3 hours ago by Dream9
I was looking to get better at math overall but don't know where to start. For context I am taking geometry as an 8th grader and have gotten a 18 on AMC 8. I have some background in Algebra 2 already such as factoring polynomials etc. reply if you need more info.
2 replies
somerandomkid32
Today at 12:31 AM
Dream9
3 hours ago
A twist on a classic
happypi31415   9
N Today at 5:30 AM by invisibleman
Rank from smallest to largest: $\sqrt[2]{2}$, $\sqrt[3]{3}$, and $\sqrt[5]{5}$.

Click to reveal hidden text
9 replies
happypi31415
Mar 17, 2025
invisibleman
Today at 5:30 AM
Chances of mathcounts nats qual
stjwyl   79
N Today at 3:17 AM by DhruvJha
Info:
In 8th grade so I'm really hoping I can make nats now

I currently mock around 38 - 40 on nationals questions from 2015+
I mock anywhere from 37 - 42 on state questons from 2020+

For the sprint round I also have noticed that the difficulty jump from questions around 19 and 20 to questions around 22 and 23 has been really large (starting from 2023). I've also noticed that the last three questions (also from 2023 ->) are IMO impossible to do in the 40 minutes.

On target I can get 7/8 or even 8/8 if I'm lucky but it's possible for me to get 6/8

I'm in MA :sob: really hard state so do I have a chance

Edit: Just mocked the 2022 state round and got a 41 (29 sprint, 12 target :sob:)

Currently putting around 3 hrs or so a day and I have been for the past 2 months
States is 3/1 for me :sob:

so am i cooked
79 replies
stjwyl
Feb 21, 2025
DhruvJha
Today at 3:17 AM
state mathcounts colorado
aoh11   54
N Today at 3:14 AM by DhruvJha
I have state mathcounts tomorrow. What should I do to get prepared btw, and what are some tips for doing sprint and cdr?
54 replies
aoh11
Mar 15, 2025
DhruvJha
Today at 3:14 AM
Why was this poll blocked
jkim0656   5
N Today at 2:43 AM by MathRook7817
Hey AoPS ppl!
I made a poll about Pi vs Tau over here:
https://artofproblemsolving.com/community/c3h3527460
But after a few days it got blocked but i don't get why?
how is this harmful or different from other polls?
It really wasn't that harmful or popular i got to say tho... :noo:
5 replies
jkim0656
Yesterday at 10:51 PM
MathRook7817
Today at 2:43 AM
Amc10 prep question
Shadow6885   19
N Today at 12:05 AM by Shadow6885
My question is how much of the geo and IA textbooks is relevant to AMC 10?
19 replies
Shadow6885
Mar 17, 2025
Shadow6885
Today at 12:05 AM
I think I regressed at math
PaperMath   21
N Yesterday at 7:05 PM by SpeedCuber7
I found the slip of paper a few days ago that I think I wrote when I was in kindergarten. It is just a sequence of numbers and you have to find the next number, the pattern is $1,2,5,40,1280,?$. I couldn't solve this and was wondering if any of you can find the pattern
21 replies
PaperMath
Mar 8, 2025
SpeedCuber7
Yesterday at 7:05 PM
My friend needs help on a probability problem.
JJ2023   2
N Yesterday at 4:09 PM by JJ2023
Problem:

A game is played with 2 players. There are 10 rounds. Each round, both players draw a card from a deck without jokers. They get the amount of points from said card (For example, if they get a 7, they get 7 points). After each round, they add the points to their total. What is the probability that player 1 has a higher score at the end than player 2?

Oh, and also, if you get a spades of something (For example, an Ace of Spades), it multiplies the next round points by a certain value, maybe 2.25 times.

Is this problem hard to solve? I think it is after many failed attempts.
2 replies
JJ2023
Yesterday at 1:07 PM
JJ2023
Yesterday at 4:09 PM
IMO 2009, Problem 5
orl   87
N Yesterday at 6:50 PM by asdf334
Source: IMO 2009, Problem 5
Determine all functions $ f$ from the set of positive integers to the set of positive integers such that, for all positive integers $ a$ and $ b$, there exists a non-degenerate triangle with sides of lengths
\[ a, f(b) \text{ and } f(b + f(a) - 1).\]
(A triangle is non-degenerate if its vertices are not collinear.)

Proposed by Bruno Le Floch, France
87 replies
orl
Jul 16, 2009
asdf334
Yesterday at 6:50 PM
IMO 2009, Problem 5
G H J
Source: IMO 2009, Problem 5
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Spectator
657 posts
#79 • 1 Y
Y by gracemoon124
Spectator wrote:
Click to reveal hidden text
Legend says he still hasn't found time to rigorously do this

the real rigorous solve was the friends we made along the way
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
DongerLi
22 posts
#80
Y by
The only solution is $f(x) = x$ for all $x \in \mathbb{Z}_{>0}$. It is easy to confirm that this solution works.

Denote the given assertion as $P(a, b)$. $P(1, b)$ states that $1, f(b), f(b + f(1) - 1)$ are the sides of a non-degenerate triangle. Hence, $f(b) = f(b + f(1) - 1)$ for all $b \in \mathbb{Z}_{>0}$.

Case 1: $f(1) > 1$. Note that $f$ is periodic with period $f(1) - 1$, and thus has a maximum $M$. However, the assertion $P(2M, 1)$ states that $2M \geq f(1) + f(f(1)) > 2M$. Contradiction.

Case 2: $f(1) = 1$. $P(a, 1)$ states that $a, 1, f(f(a))$ are the sides of a non-degenerate triangle. Thus, $a = f(f(a))$ and so $f$ is a bijection. Let $g(a) = f(f(a) + f(2) - 1)$ for all $a \geq 1$. Furthermore, $P(a, f(2))$ states that $a, 2, g(a)$ are the sides of a non-degenerate triangle. By the Triangle Inequality,
\[g(a) \in \{a-1, a+1\}\](since $f(a) + f(2) - 1 > f(a)$ and $f$ is bijective, $g(a) \neq a$). Note that by injectivity, all $g(a)$ are distinct. Since $f(2) + f(2) - 1 \neq 1$, $g(2) \neq 1$, and so $g(2) = 3$. Since $f(3) + f(2) - 1 \neq f(2)$, $g(3) \neq 2$, and so $g(3) = 4$.

Claim: For all $a \geq 2$, $g(a) = a + 1$.

Proof: Proceed by induction. The claim is true for $a = 2, 3$. Suppose the claim is true for all $a \leq k - 1$, where $k \geq 4$. Then since $g(k) \neq g(k - 2) = k - 1$ and $g(k) \in \{k - 1, k + 1\}$, $g(k) = k + 1$, completing our induction.

Note that for all $a \geq 2$, $f(a) + f(2) - 1 \geq 2 + 2 - 1 = 3$. Hence, for all $a \geq 2$, $a + 1 = g(a) \neq f(2)$. Since $f$ is injective, $f(2) = 2$. Simple induction gives $f(x) = x$ for all $x \in \mathbb{Z}_{>0}$.
This post has been edited 1 time. Last edited by DongerLi, Jul 5, 2023, 5:09 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Math4Life7
1703 posts
#81
Y by
We plug $a = 1$. This gives that $f(b) = f(b+f(1) - 1)$. FTSOC assume that $f(1) \neq 1$. This means that $f(b) = f(b+c)$ for some positive constant $c$. This means that in our original equation we can increase $a$ to an arbitrarily large number and still have the same values for the other two sides. Contradiction.

We can plug in $b = 1$ to see that $f(f(a)) = a$. This means that $f$ is both surjective and injective.

We prove by strong induction that $f(x) = x$. Our base case is trivial.

Now we try to prove that $f(k) = k$ and we know that $f(x) = x$ for all $x <k$
We look at $P(2, k)$ where and see that $f(k + f(2) - 1) \in {f(k) - 1, f(k), f(k) + 1}$. If $f(k + f(2) - 1) = f(k) - 1$ then we can keep adding $f(2) - 1$ inside the function and make it negative which is impossible. If we have $f(k+f(2) - 1) = f(k)$ then by injectivity we have $f(2) = 1$ which is impossible because $f(1) = 1$. So, we must have $f(k+f(2) - 1) = f(k) + 1$. We can see that $f(k+x(f(2) - 1))$ takes on all values of $f$ such that $f(x) \geq f(k) + 1$ by injectivity. Thus we must have $f(k) = k$ $\blacksquare$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
bobthegod78
2982 posts
#82
Y by
Very cool problem! Let $P(a,b)$ denote the assertion.

Initially, we prove $f$ is unbounded. If $f$ was bounded, then take a sufficiently large $a$, and obviously the statement is not true.

We claim $f(1)=1$. Consider $P(1,b)$, then obviously $f(b) = f(b + f(1)-1)$.
If indeed $f(1)>1$, then the sequence would be periodic every $f(1)-1$ terms, implying that the image of $f$ is $f(1), f(2), \dots, f(f(1)-1)$. But this implies $f$ is bounded, contradiction.

Then taking $P(a,1)$, we have $f(f(a))=a$, so $f$ is an involution and therefore bijective.

We prove that $f((k-1)f(2) - (k-2)) = k$ for $k\geq 2$ through induction. The base case, $k=2$, is obvious.
Now assume this is true for $k=2, 3, \dots, m$. Consider $P(2,(m-1)f(2) - (m-2))$. We have $2, m, f(m f(2) - (m-1))$ are the sides of a triangle. Since $f$ is bijective, in fact, we must have $f(mf(2)-(m-1))=m+1$. This proves the claim.

But since $f((k-1)f(2) - (k-2))=k$, the set $S = \{(k-1)f(2) - (k-2) \mid k\geq 2, k \in \mathbb N \}$ must contain all the positive integers at least 2, which implies $f(2)=2$. It is easy to see this finishes.
This post has been edited 1 time. Last edited by bobthegod78, Nov 17, 2023, 11:19 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
abeot
123 posts
#83 • 2 Y
Y by megarnie, centslordm
Denote the assertion as $P(a, b)$.

First,
\[ P(1, b) \implies f(b) = f(b+f(1) - 1) \]Now, if $f(1) \neq 1$ then $f$ is periodic. If we make $a$ very large then we find that this case fails. Thus, $f(1) = 1$. Then,
\[ P(a, 1) \implies f(f(a)) = a \]This means that $f$ is both injective and surjective. Plug
\[ P(2, b) \implies f(b) - 1 \leq f(b + f(2) - 1) \leq f(b) + 1 \]Note that in particular since $f(b+f(2) - 1) \neq f(b)$ by injectivity, we have that either $f(b+f(2)-1) = f(b)+1$ or $f(b+f(2) - 1) = f(b) - 1$.

Now, suppose that $f(b+f(2)-1) = f(b) - 1$ for some $b$. Denote $m = f(2) - 1$. Then $f(b+2m) = f(b+m) - 1 = f(b) - 2$. By induction, then
\[ f(b+(k+1)m) = f(b+km) - 1 = f(b) - k - 1 \]for all positive integers $k$. But then we eventually get a nonnegative output, contradiction.

So we must have $f(b+f(2) - 1) = f(b) + 1$. If $m = f(2) - 1$, then by induction,
\[ f(b + (k+1)m) = f(b+km) + 1 = f(b) + k + 1 \]If $f(2) - 1 > 1$ then take some $c$ such that $c \not \equiv 1 \pmod{m}$. Since $f(c) \neq f(f(2)) = 2$, then there exists nonnegative integers $k$ and $j$ such that
\[ f(c+km) = f(c) + k = 2+j = f(1+jm) \]Then this contradicts injectivity.

Thus, $f(2) - 1 = 1$, and so we have $f(b+1) = f(b) + 1$. This implies that $f(n) = n$, which obviously works. $\blacksquare$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
amazingtheorem
17 posts
#84
Y by
The only solution is $f(n)=n$ for all $n \in \mathbb{N}$. It's easy to check that this function satisfies the problem condition.

Now, let $P(a,b)$ be the assertation of there is a triangle whose sides are $a,f(b)$, and $f(b+f(a)-1)$. This would later implies $$a+f(b)\ge f(b+f(a)-1)+1, a+f(b+f(a)-1)\ge f(b)+1,\text{and } f(b)+f(b+f(a)-1)\ge a+1.$$
Claim 1. $f(1)=1.$
Proof.

Assume to the contrary, we have $f(1)=c\ge 2$. Observe that $P(a,1)$ gives $f(b)\ge f(b+c-1)$ for all $b \in \mathbb{N}$. This implies the chain of inequality: $$f(b)\ge f(b+c-1)\ge f(b+2c-2)\ge f(b+3c-3)\ge \cdots $$It means that for every $i\in \{1,2,3,...,c-1 \}$, there is $M_i\in \mathbb{N}$ such that the sequence $f(i+M_i(c-1)), f(i+(M_i+1)(c-1)), f(i+(M_i+2)(c-1)), \cdots$ is a constant sequence. We now let every terms of that sequence be $N_i$.
Choose $r=\max(M_1,M_2,...,M_{c-1})+2$. Notice that the sequence $f(1+(c-1)r),f(2+(c-1)r),f(3+(c-1)r), \cdots$ is periodic in which the period is at most $c-1$.
Now, choose $a=2max(N_1,N_2,...,N_{c-1})$. Notice $P(a,1+(c-1)r)$ implies $$f(1+(c-1)r)+f(1+(c-1)r+f(a)-1)\ge a+1.$$However, $f(1+(c-1)r)+f(1+(c-1)r+f(a)-1)\le a$ by the definition of $a$. This is a contradiction. $\blacksquare$

Now, we have $f(1)=1$. Notice that $P(a,1)$ tells us $$f(f(a))+1\ge a+1 \text{and } a+1\ge f(f(a))+1. $$This implies $f(f(a))=a$ for every $a\in \mathbb{N}$, which gives us the bijectivity of $f$.
Let $k\ge 2$ be a natural number such that $f(k)=2$. We also have $k=f(2)$.

Claim 2. $f(1+(k-1)l)=l+1$ for all $l\in \mathbb{N}_0$
Proof.
We will use induction. For $l=0$ and $l=1$, it is clear. Assume that we now have $f(1+(k-1)d)=d+1$ for every $d=0,1,2,...,l$. For $d=l+1$, by the bijectivity of $f$, we have $f(1+(k-1)(l+1))\ge l+1$. However, from $P(f(a),k)$, we have $f(a)+1\ge f(a+k-1)$ for all $a \in \mathbb{N}$. Substituting $a=1+(k-1)l$, we get $l+2\ge f(1+(k-1)(l+1))$. This forces $f(1+(k-1)(l+1))=l+2$. This completes the induction. $\blacksquare$

We now have $f(1+(k-1)l)=l+1$ for all $l\in \mathbb{N}_0$. This implies $f(l)=1+(k-1)(l-1)$ for every $l \in \mathbb{N}$. Now, the bijectivity of $f$ forces $k=2$ (If not, then there is no $q\in \mathbb{N}$ such that $f(q)=2$). This brings us to $f(l)=l$ for every $l\in \mathbb{N}$.

To sum up, the only function that satisfies the problem condition is $f(n)=n$ for every $n \in \mathbb{N}$. It is easy to check that this solution indeed satisfies the property given.
This post has been edited 1 time. Last edited by amazingtheorem, Jan 23, 2024, 6:47 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Sedro
5811 posts
#85
Y by
We claim that the only solution is $\boxed{f(x)=x}$. It is easy to see that it satisfies the condition in the problem statement; we now prove there are no other solutions. Before we begin, we note all inequalities below are obtained from the triangle inequality unless specified otherwise.

Claim: $f(1)=1$.

Proof: Let $a=1$, and we have $f(b)+1> f(b+f(1)-1)$ and $f(b+f(1)-1)+1> f(b)$. Together, these imply $f(b) = f(b+f(1)-1)$. For the sake of contradiction, assume $f(1)>1$. Then, there are arbitrarily large positive integers $d$ such that $f(d)=f(1)$. Let $a=d$ and fix $b$ to obtain $f(b)+f(b+f(d)-1) = f(b)+f(b+f(1)-1) > d$. Taking $d$ large enough, we have a contradiction, and hence $f(1)=1$.

Claim: $f$ is an involution.

Proof: Let $b=1$, and we have $a+1 > f(f(a))$ and $f(f(a))+1 > a$, which together imply $f(f(a))=a$, as desired.

Claim: $f(2)=2$.

Proof: Assume for the sake of contradiction that $f(2)=r>2$, and hence $f(r)=2$. We prove by strong induction that for any nonnegative integer $k$, we have $f(r+k(r-1))=k+2$. The base case, $k=0$, is trivial, so we proceed to the inductive step.

Assume that this claim holds for $0,1,\dots,k$; we show it holds for $k+1$. Let $a=2$ and $b=r+k(r-1)$; then, we have $a+f(b) = k+4 > f(r+(k+1)(r-1))$. Combining this with the facts $f(1)=1$, $f(r+k(r-1)) = k+2$ for $k=0,1,\dots, k$, and $f$ is injective, we must have $f(r+(k+1)(r-1))=k+3$, which completes the inductive step. But this implies that $f(r+(r-2)(r-1)) = r$, so in order not to violate the injectivity of $f$, we must have $r+(r-2)(r-1)=r$. However, this implies $r\in \{1,2\}$, which is a contradiction. Hence, $f(2)=2$.

Claim: $f$ is the identity function.

Proof: we will show that $f(x)=x$ using strong induction. We already know that $f(1)=1$ and $f(2)=2$; these are our base cases. For the inductive step, we assume $f(x)=x$ for all positive integers less than or equal to $x$, and prove $f(x+1)=x+1$. Note that to preserve the injectivity of $f$, we must have $f(x+1)>x$. Then, let $a=2$, $b=x$, and we must have $x+2 > f(x+1)$. This implies $f(x+1)=x+1$, which completes the inductive step. We are now done. $\blacksquare$
This post has been edited 1 time. Last edited by Sedro, Jun 17, 2024, 2:56 PM
Reason: Cleaned up proof
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Bryan0224
53 posts
#86
Y by
Guys I really don’t know latex
Attachments:
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
ihatemath123
3430 posts
#87
Y by
The only solution is $f(x)=x$, which is easy to check.

Taking $P(1,a)$ gives us $f(a) = f(a+f(1)-1)$. If $f(1) \neq 1$, it follows that $f(x)$ is periodic with period $f(1)-1$; then, in our original equation, we can repeatedly increase $a$ by $f(1)-1$ to get a contradiction. So, $f(1) = 1$.

Taking $P(a,1)$ gives us $a = f(f(a))$, so in particular, $f$ is injective.

Claim: We have $f(x) \geq x$.
Proof: If $f(a+1) \leq a$, then taking $P(f(a+1),b)$ for any integer $b$ gives us \[f(a+b) \leq a-1+f(b),\]contradicting injectivity.

Combining the above claim with $f(f(x))$ gives us $f(x)=x$, as desired.
This post has been edited 2 times. Last edited by ihatemath123, Aug 11, 2024, 3:25 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
cursed_tangent1434
548 posts
#88
Y by
Solved with reni_wee. A bit long winded, but this was the solution that we found. Really fun and different kind of problem.

The answer is $f(n) = n$ for all $n\in \mathbb{Z}_{>0}$. It’s easy to see that these functions satisfy the given equation. We now show these are the only solutions. Let $P(a,b)$ be the assertion that $a$ , $f(b)$ and $f(b+f(a)-1)$ are the sides of a non-degenerate triangle. We start off by proving the following characteristic of $f$.

Claim : The function $f$ is an involution, i.e $f(f(a))=a$ for all positive integers $a$.
Proof : Note that from $(1,b)$ we have,
\[f(b)-1 < f(b+f(1)-1)< f(b)+1\]which implies $f(b+f(1)-1)=f(b)$ for all positive integers $b$. Now, if $f(1)>1$ this implies that $f$ is periodic with period $T = |f(1)-1|$. Then, since $f$ is a periodic function over the positive integers it must be bounded both above and below. Say $f(m)=M$ is the maximum of this function. Then, $P(2M,m)$ implies,
\[2M < f(m)+f(m+f(M)-1)\le 2M\]which is a clear contradiction. Thus, $f$ cannot be periodic and hence $f(1)=1$. Then, $P(a,1)$ implies,
\[a-1=a -f(1) < f(f(a))<a+f(1)a+1\]and thus, $f(f(a))=a$ for all positive integers $a$ as desired.

Note that now in fact $f$ is both injective and surjective. Next we look at $P(2,f(b))$. This tells us that
\[2 , f(f(b)) \text{ and } f(f(b)+f(2)-1)\]are the sides of a non-degenerate triangle. Thus, $2 , f(b)$ and $f(f(b)+f(2)-1)$ are sides of a non-degenerate triangle. This implies,
\[b-2 < f(f(b)+f(2)-1)<b+2\]We now have 3 cases to explore.

Case 1 : $f(f(b)+f(2)-1) = b$. Thus,
\[f(f(b)+f(2)-1)=b = f(f(b))\]which since $f$ is injective implies $f(b)+f(2)-1=f(b)$ or $f(2)=1$ which is a clear contradiction.

Case 2 : $f(f(b)+f(2)-1)=b-1$. Thus,
\[f(f(b)+f(2)-1)=b-1=f(f(b-1))\]which since $f$ is injective implies $f(b)+f(2)-1=f(b-1)$ But for $f=2$ this rewrites to $2f(2)-1=f(1)=1$ which implies $f(2)=1$ which is again a clear contradiction.

Case 3 : $f(f(b)+f(2)-1)=b+1$. Thus,
\[f(f(b)+f(2)-1)=b-1=f(f(b+1))\]which since $f$ is injective implies $f(b)+f(2)-1 = f(b+1)$. Thus,
\[f(b+1)=f(b)+f(2)-1 \ge f(b)+1>f(b)\]implies that $f$ is strictly increasing. Combining this with our previous observation that $f$ is injective and surjective, it follows that $f$ is indeed the identity function, as claimed.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
HamstPan38825
8853 posts
#89
Y by
This solution is very clear and motivated, making the problem nice but not particularly difficult.

From letting $a = 1$, we have $f(b) = f(b+f(1) - 1)$ for all $b \in \mathbb N$. If $f(1) - 1 > 0$, then $f$ is eventually periodic, thus taking sufficiently large $a$ in the original assertion yields a contradiction.

Thus $f(1) = 1$. Setting $b = 1$, it follows that $f(f(a)) = a$, hence $f$ is bijective.

Claim: [Key Claim] For all $n \in \mathbb N$, $f(n+1) = f(n) + f(2) - 1$.

Proof: We induct on $n$, with the $n=1$ case clear. First, observe that
\[n-1 \leq f(f(n) + f(2) - 1) \leq n+1\]by the condition.

First Case: If $f(f(n) + f(2) - 1) = n-1$, applying $f$ to both sides yields \[f(n) = f(n-1) - (f(2) - 1).\]But the inductive hypothesis forces $f(2) = 1$, which contradicts $f$ bijective.

Second Case: If $f(f(n) + f(2) - 1) = n$, applying $f$ to both sides yields $f(n) = f(n) - (f(2) - 1)$, hence once again $f(2) = 1$, contradiction.

Third Case: If $f(f(n) + f(2) - 1) = n+1$, applying $f$ to both sides yields $f(n) + f(2) - 1 = f(n+1)$, which is the desired conclusion. $\blacksquare$

So $f$ is bijective and linear, implying $f \equiv n$, which works.
This post has been edited 2 times. Last edited by HamstPan38825, Nov 5, 2024, 4:28 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
bin_sherlo
662 posts
#90 • 1 Y
Y by tiny_brain123
Answer is $f(n)=n$ for each positive integer.
Claim: $f(1)=1$.
Proof:$a=1$ implies $f(b)=f(b+f(1)-1)$. If $f(1)\neq 1$, then $f$ is periodic. Denote by $T$ the period. \[f(b)+f(b+f(a)-1)=f(b)+f(b+f(a+nT)-1)\geq a+nT\]Which is impossible for sufficiently large $n$.$\square$
$b=1$ gives $f(f(a))=a$ hence $f$ is an involution. This yields $f$ is bijective.
Claim: $f(2)-1\geq |f(a+1)-f(a)|$.
Proof: $a,b\rightarrow f(a),2$ implies $f(2)+f(a+1)\geq f(a)+1\iff f(2)-1\geq f(a)-f(a+1)$. Similarily $f(a)+f(2)\geq f(a+1)+1\iff f(2)-1\geq f(a+1)-f(a)$ which gives the conclusion.$\square$
Claim: $f(2)=2$.
Proof: Let $f(c)=2\iff f(2)=c$ by injectivity. Note that $c\neq 1$. $f(a),c,f(a+1)$ are sides hence $a=c-1$ yields $c+1\geq f(c-1)\geq c-1$. Now we split into $3$ cases.
Suppose that $f(c-1)=c$. Then, $c=3$ by injectivity and $f(a),2,f(a+2)$ are sides which implies $f(a+2)\leq f(a)+1$. Since $f(1)=1,f(3)=2$, induction with utilising injectivity gives $f(2k-1)=k$. However, $4k-3=f(f(4k-3))=f(2k-1)=k$ does not hold for $k>1$ which results in a contradiction.
Assume that $f(c-1)=c+1\iff f(c+1)=c-1$. We observe that $f(a),f(c+1),f(a+c)$ are sides of a triangle thus, $f(a+c)-f(a)\leq c-2$. Let $m_i$ be the maximum among $\{f((i-1)c+1),\dots,f(ic)\}$. $m_i$ increases at most $c-2$ hence \[\max\{f(1),\dots,f(nc)\}\leq m_1+(n-1)(c-1)=m_1+cn-n-c+1\]Since $f$ is injective, $\max\{f(1),\dots,f(nc)\}\geq nc$ which implies $m_1+cn-c-n+1\geq cn$ or $m_1-c\geq n$ which is impossible for sufficiently large $n$.
So we get $f(c-1)=c-1$. Pick $a=c,b=c-1$ which yields $f(c),f(c-1),f(2c-2)$ are sides or $2,c-1,f(2c-2)$ are sides. Thus, $f(2c-2)\leq c$. Choose $b=2c-2$ to get $f(a),f(2c-2),f(a+2c-3)$ are sides. So we conclude that
\[f(a+2c-3)\leq f(a)+f(2c-2)-1\leq f(a)+c-1\implies f(a+2c-3)-f(a)\leq c-1\]Let $m_i$ be the maximum among $\{f((i-1)(2c-3)+1),\dots,f(i(2c-3))\}$. $m_i$ increases at most $c-1$ thus,
\[\max\{f(1),\dots,f(n(2c-3))\}\leq m_1+(c-1)(n-1)=m_1+cn-c-n+1\]Since $f$ is injective, $\max\{f(1),\dots,f(n(2c-3))\}\geq n(2c-3)$ so $2cn-3n\leq m_1+cn-c-n+1$ which is equavilent to $(c-2)n\leq m_1-c+1$. Since $c\neq 1$ and $c$ cannot be larger than $2$, $c=2$.$\square$
We have $|f(a+1)-f(a)|\leq 1$ and $f$ is injective hence $f(n)=n$ for all positive integers as desired.$\blacksquare$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Mathandski
711 posts
#91
Y by
Subjective Rating (MOHs) $       $
Attachments:
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Ilikeminecraft
298 posts
#92
Y by
The answer is $f\equiv x.$
Pick $a = 1$ first, and we have $f(b) = f(b + f(1) - 1).$ If $f(1)\neq1,$ then $f$ has period $f(1) - 1 > 1.$ However, if we fix $b,$ and pick an arbitrarily large $a \equiv1\pmod{f(1)-1}$ such that $a > f(b) + f(b + f(1) - 1),$ then this is a contradiction. Thus, $f(1) = 1.$

Take $b = 1$ and we get that $f$ is an involution.
Hence, $f$ is injective and surjective.

Plug in $b = f(b)$ and we get the new equation $a, b, f(f(a) + f(b) - 1)$ forms a triangle.

We now prove $f\equiv x$ using strong induction.
Assume $f(s) = 2.$ Take $2, 2$ and we get $4 > f(3).$ Hence, either $f(3) = 2$ or $f(3) = 3.$
In the first case, we have $f(3) = 2, f(2) = 3.$ Take $2, 2$ and so $4 > f(5),$ contradiction.
To finish, easy induction suffices. Assume $f(k) = k$ for all $k < n.$
Take $n-1, 2$ and we get $f(n) < n + 1,$ so $f\equiv n.$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
asdf334
7585 posts
#93
Y by
hey that was kind of fun lol
Okay so we need to brainstorm. The first piece of information we can get comes from plugging in $a=1$; we get $f(b)=f(b+f(1)-1)$. In that case if $f(1)\ne 1$ then we ultimately find that $f$ is periodic and thus bounded, a contradiction to the original triplet given as we can set $a$ to be large.

Thus $f(1)=1$, hence we obtain from $b=1$ that $a=f(f(a))$. Now write $a\to f(a)$ to get the nicer triplet $f(a)$, $f(b)$, and $f(a+b-1)$.

Turns out we are almost done. Suppose that $f(2)=S$ and $f(S)=2$. What information can we get from this? Well, we can set $a+b-1=S$, but this restricts our options and doesn't work as well.

Instead write $a=S$ to obtain that $(2,f(b),f(b+S-1))$ form the side lengths of a triangle. Note that $f$ is injective and surjective; if $S>2$ then we must have $|f(b)-f(b+S-1)|=1$. But now consider the set $\{b+0(S-1),b+1(S-1),b+2(S-1),\dots\}$. When adjacent values in the set are plugged into $f$, they yield consecutive outputs. Furthermore, all outputs are distinct. As a result, the outputs are simply $\{f(b)+0,f(b)+1,f(b)+2,\dots\}$.

But if $S>2$ then there are still an infinite number of inputs outside this set, and only a finite number of outputs left (less than $f(b)$). That is a contradiction, so $S=f(2)=2$.

Hence $f(n)\le n$ for $n\in \{1,2\}$. Now we can induct: if $f(n)\le n$ and $n\ge 2$, write
\[n+2\ge f(n)+f(2)>f(n+1)\]thus proving that $f(n+1)\le n+1$ and so $f(n)\le n$ always. As $f$ is injective we get $f(n)=n$ always, done. $\blacksquare$
Z K Y
N Quick Reply
G
H
=
a