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

Contests & Programs AMC and other contests, summer programs, etc.
AMC and other contests, summer programs, etc.
3 M G
BBookmark  VNew Topic kLocked
Contests & Programs AMC and other contests, summer programs, etc.
AMC and other contests, summer programs, etc.
3 M G
BBookmark  VNew Topic kLocked
G
Topic
First Poster
Last Poster
k a 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
1 viewing
jlacosta
Mar 2, 2025
0 replies
k i Adding contests to the Contest Collections
dcouchman   1
N Apr 5, 2023 by v_Enhance
Want to help AoPS remain a valuable Olympiad resource? Help us add contests to AoPS's Contest Collections.

Find instructions and a list of contests to add here: https://artofproblemsolving.com/community/c40244h1064480_contests_to_add
1 reply
dcouchman
Sep 9, 2019
v_Enhance
Apr 5, 2023
k i Zero tolerance
ZetaX   49
N May 4, 2019 by NoDealsHere
Source: Use your common sense! (enough is enough)
Some users don't want to learn, some other simply ignore advises.
But please follow the following guideline:


To make it short: ALWAYS USE YOUR COMMON SENSE IF POSTING!
If you don't have common sense, don't post.


More specifically:

For new threads:


a) Good, meaningful title:
The title has to say what the problem is about in best way possible.
If that title occured already, it's definitely bad. And contest names aren't good either.
That's in fact a requirement for being able to search old problems.

Examples:
Bad titles:
- "Hard"/"Medium"/"Easy" (if you find it so cool how hard/easy it is, tell it in the post and use a title that tells us the problem)
- "Number Theory" (hey guy, guess why this forum's named that way¿ and is it the only such problem on earth¿)
- "Fibonacci" (there are millions of Fibonacci problems out there, all posted and named the same...)
- "Chinese TST 2003" (does this say anything about the problem¿)
Good titles:
- "On divisors of a³+2b³+4c³-6abc"
- "Number of solutions to x²+y²=6z²"
- "Fibonacci numbers are never squares"


b) Use search function:
Before posting a "new" problem spend at least two, better five, minutes to look if this problem was posted before. If it was, don't repost it. If you have anything important to say on topic, post it in one of the older threads.
If the thread is locked cause of this, use search function.

Update (by Amir Hossein). The best way to search for two keywords in AoPS is to input
[code]+"first keyword" +"second keyword"[/code]
so that any post containing both strings "first word" and "second form".


c) Good problem statement:
Some recent really bad post was:
[quote]$lim_{n\to 1}^{+\infty}\frac{1}{n}-lnn$[/quote]
It contains no question and no answer.
If you do this, too, you are on the best way to get your thread deleted. Write everything clearly, define where your variables come from (and define the "natural" numbers if used). Additionally read your post at least twice before submitting. After you sent it, read it again and use the Edit-Button if necessary to correct errors.


For answers to already existing threads:


d) Of any interest and with content:
Don't post things that are more trivial than completely obvious. For example, if the question is to solve $x^{3}+y^{3}=z^{3}$, do not answer with "$x=y=z=0$ is a solution" only. Either you post any kind of proof or at least something unexpected (like "$x=1337, y=481, z=42$ is the smallest solution). Someone that does not see that $x=y=z=0$ is a solution of the above without your post is completely wrong here, this is an IMO-level forum.
Similar, posting "I have solved this problem" but not posting anything else is not welcome; it even looks that you just want to show off what a genius you are.

e) Well written and checked answers:
Like c) for new threads, check your solutions at least twice for mistakes. And after sending, read it again and use the Edit-Button if necessary to correct errors.



To repeat it: ALWAYS USE YOUR COMMON SENSE IF POSTING!


Everything definitely out of range of common sense will be locked or deleted (exept for new users having less than about 42 posts, they are newbies and need/get some time to learn).

The above rules will be applied from next monday (5. march of 2007).
Feel free to discuss on this here.
49 replies
ZetaX
Feb 27, 2007
NoDealsHere
May 4, 2019
questions from a first-time applicant to math camps
akliu   23
N 4 minutes ago by John_Mgr
hey!! im a first time applicant for a lot of math camps (namely: usa-canada mathcamp, PROMYS, Ross, MathILY, HCSSiM), and I was just wondering:

1. how much of an effect would being a first-time applicant have on making these math camps individually?
2. I spent a huge amount of effort (like 50 or something hours) on the USA-Canada Mathcamp application quiz in particular, but I'm pretty worried because supposedly almost no first-time applicants get into the camp. Are there any first-time applicants that you know of, and what did their applications (as in, qualifying quiz solutions) look like?
3. Additionally, a lot of people give off the impression that not doing the full problem set will screw your application over, except in rare cases. How much do you think a fakesolve would impact my PROMYS application chances?

thanks in advance!
23 replies
akliu
Mar 12, 2025
John_Mgr
4 minutes ago
combo j3 :blobheart:
rhydon516   14
N 5 minutes ago by aliz
Source: USAJMO 2025/3
Let $m$ and $n$ be positive integers, and let $\mathcal R$ be a $2m\times 2n$ grid of unit squares.

A domino is a $1\times2$ or $2\times1$ rectangle. A subset $S$ of grid squares in $\mathcal R$ is domino-tileable if dominoes can be placed to cover every square of $S$ exactly once with no domino extending outside of $S$. Note: The empty set is domino tileable.

An up-right path is a path from the lower-left corner of $\mathcal R$ to the upper-right corner of $\mathcal R$ formed by exactly $2m+2n$ edges of the grid squares.

Determine, with proof, in terms of $m$ and $n$, the number of up-right paths that divide $\mathcal R$ into two domino-tileable subsets.
14 replies
rhydon516
Yesterday at 12:08 PM
aliz
5 minutes ago
high tech FE as J1?!
imagien_bad   48
N 13 minutes ago by Super_AA
Source: USAJMO 2025/1
Let $\mathbb Z$ be the set of integers, and let $f\colon \mathbb Z \to \mathbb Z$ be a function. Prove that there are infinitely many integers $c$ such that the function $g\colon \mathbb Z \to \mathbb Z$ defined by $g(x) = f(x) + cx$ is not bijective.
Note: A function $g\colon \mathbb Z \to \mathbb Z$ is bijective if for every integer $b$, there exists exactly one integer $a$ such that $g(a) = b$.
48 replies
imagien_bad
Yesterday at 12:00 PM
Super_AA
13 minutes ago
Anyone LFT for SMT?
Mathdreams   0
27 minutes ago
Hi everyone,

Is there anyone willing to join an SMT (Stanford Math Tournament) team?

I have a team looking for one more person.

Edit: If you are interested, please PM me, and I'll answer any questions there :)
0 replies
Mathdreams
27 minutes ago
0 replies
USA 97 [1/(b^3+c^3+abc) + ... >= 1/(abc)]
Maverick   45
N 2 hours ago by Marcus_Zhang
Source: USAMO 1997/5; also: ineq E2.37 in Book: Inegalitati; Authors:L.Panaitopol,V. Bandila,M.Lascu
Prove that, for all positive real numbers $ a$, $ b$, $ c$, the inequality
\[ \frac {1}{a^3 + b^3 + abc} + \frac {1}{b^3 + c^3 + abc} + \frac {1}{c^3 + a^3 + abc} \leq \frac {1}{abc}
\]
holds.
45 replies
1 viewing
Maverick
Sep 12, 2003
Marcus_Zhang
2 hours ago
The prime inequality learning problem
orl   137
N 2 hours ago by Marcus_Zhang
Source: IMO 1995, Problem 2, Day 1, IMO Shortlist 1995, A1
Let $ a$, $ b$, $ c$ be positive real numbers such that $ abc = 1$. Prove that
\[ \frac {1}{a^{3}\left(b + c\right)} + \frac {1}{b^{3}\left(c + a\right)} + \frac {1}{c^{3}\left(a + b\right)}\geq \frac {3}{2}.
\]
137 replies
orl
Nov 9, 2005
Marcus_Zhang
2 hours ago
hard ............ (2)
Noname23   2
N 3 hours ago by mathprodigy2011
problem
2 replies
Noname23
Yesterday at 5:10 PM
mathprodigy2011
3 hours ago
Abelkonkurransen 2025 3a
Lil_flip38   5
N 3 hours ago by ariopro1387
Source: abelkonkurransen
Let \(ABC\) be a triangle. Let \(E,F\) be the feet of the altitudes from \(B,C\) respectively. Let \(P,Q\) be the projections of \(B,C\) onto line \(EF\). Show that \(PE=QF\).
5 replies
Lil_flip38
Yesterday at 11:14 AM
ariopro1387
3 hours ago
Inequality by Po-Ru Loh
v_Enhance   54
N 3 hours ago by Marcus_Zhang
Source: ELMO 2003 Problem 4
Let $x,y,z \ge 1$ be real numbers such that \[ \frac{1}{x^2-1} + \frac{1}{y^2-1} + \frac{1}{z^2-1} = 1. \] Prove that \[ \frac{1}{x+1} + \frac{1}{y+1} + \frac{1}{z+1} \le 1. \]
54 replies
v_Enhance
Dec 29, 2012
Marcus_Zhang
3 hours ago
Problem 5
Functional_equation   14
N 3 hours ago by ali123456
Source: Azerbaijan third round 2020(JBMO Shortlist 2019 N6)
$a,b,c$ are non-negative integers.
Solve: $a!+5^b=7^c$

Proposed by Serbia
14 replies
Functional_equation
Jun 6, 2020
ali123456
3 hours ago
a^12+3^b=1788^c
falantrng   6
N 4 hours ago by ali123456
Source: Azerbaijan NMO 2024. Junior P3
Find all the natural numbers $a, b, c$ satisfying the following equation:
$$a^{12} + 3^b = 1788^c$$.
6 replies
falantrng
Jul 8, 2024
ali123456
4 hours ago
stuck on a system of recurrence sequence
Nonecludiangeofan   0
4 hours ago
Please guys help me solve this nasty problem that i've been stuck for the past month:
Let \( (a_n) \) and \( (b_n) \) be two sequences defined by:
\[
a_{n+1} = \frac{1 + a_n + a_n b_n}{b_n} \quad \text{and} \quad b_{n+1} = \frac{1 + b_n + a_n b_n}{a_n}
\]for all \( n \ge 0 \), with initial values \( a_0 = 1 \) and \( b_0 = 2 \).

Prove that:
\[
a_{2024} < 5.
\]
(btw am still not comfortable with system of recurrence sequences)
0 replies
Nonecludiangeofan
4 hours ago
0 replies
A huge group of children compare their heights
Tintarn   5
N 4 hours ago by InCtrl
Source: All-Russian MO 2024 9.8
$1000$ children, no two of the same height, lined up. Let us call a pair of different children $(a,b)$ good if between them there is no child whose height is greater than the height of one of $a$ and $b$, but less than the height of the other. What is the greatest number of good pairs that could be formed? (Here, $(a,b)$ and $(b,a)$ are considered the same pair.)
Proposed by I. Bogdanov
5 replies
Tintarn
Apr 22, 2024
InCtrl
4 hours ago
Iran Inequality
mathmatecS   15
N 5 hours ago by Marcus_Zhang
Source: Iran 1998
When $x(\ge1),$ $y(\ge1),$ $z(\ge1)$ satisfy $\frac{1}{x}+\frac{1}{y}+\frac{1}{z}=2,$ prove in equality.
$$\sqrt{x+y+z}\ge\sqrt{x-1}+\sqrt{y-1}+\sqrt{z-1}$$
15 replies
mathmatecS
Jun 11, 2015
Marcus_Zhang
5 hours ago
Convolution of order f(n)
trumpeter   75
N Wednesday at 3:04 AM by quantam13
Source: 2019 USAMO Problem 1
Let $\mathbb{N}$ be the set of positive integers. A function $f:\mathbb{N}\to\mathbb{N}$ satisfies the equation \[\underbrace{f(f(\ldots f}_{f(n)\text{ times}}(n)\ldots))=\frac{n^2}{f(f(n))}\]for all positive integers $n$. Given this information, determine all possible values of $f(1000)$.

Proposed by Evan Chen
75 replies
trumpeter
Apr 17, 2019
quantam13
Wednesday at 3:04 AM
Convolution of order f(n)
G H J
G H BBookmark kLocked kLocked NReply
Source: 2019 USAMO Problem 1
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
trumpeter
3332 posts
#1 • 6 Y
Y by megarnie, HWenslawski, asdf334, aaaa_27, Adventure10, NicoN9
Let $\mathbb{N}$ be the set of positive integers. A function $f:\mathbb{N}\to\mathbb{N}$ satisfies the equation \[\underbrace{f(f(\ldots f}_{f(n)\text{ times}}(n)\ldots))=\frac{n^2}{f(f(n))}\]for all positive integers $n$. Given this information, determine all possible values of $f(1000)$.

Proposed by Evan Chen
This post has been edited 1 time. Last edited by trumpeter, Apr 17, 2019, 11:36 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
william122
1576 posts
#2 • 21 Y
Y by kingofgeedorah, Pathological, P_ksAreAllEquivalent, samuel, Ultroid999OCPN, Naruto.D.Luffy, mathleticguyyy, Illuzion, Aryan-23, IAmTheHazard, suvamkonar, centslordm, 554183, asdf334, supercarry, ApraTrip, Lamboreghini, mathboy100, Adventure10, NicoN9, aidan0626
I claim that the answer is all positive evens. As a construction for an even $a$, consider the function \begin{align*}
f(x)=
\begin{cases}
  x \text{ for } x\neq a,1000 \\
  a \text{ for } x=1000 \\
  1000 \text { for } x=a \\
\end{cases}
\end{align*}Clearly, this function satisfies the assertion.

Now, suppose that $f(1000)$ is odd. First, we will show injectivity. If $f(a)=f(b)$, then the condition implies $a^2=b^2\implies a=b$ as desired. Now, consider the sequence $S:\,1000,f(1000),f^2(1000),\ldots$. Note that, if we plug $f^k(1000)$ into the assertion, we get $f^{f^{k+1}(1000)+k}(1000)f^{k+2}(1000)=f^k(1000)^2$. So, one of the factors on the LHS is $\le f^k(1000)$. In particular, this implies that for all elements in $S$, there always exists a later element which is at most the current number. However, we can't have it always strictly decreasing, since all the values are positive integers, so eventually we find $i>j$ such that $f^i(1000)=f^j(1000)$, which combined with injectivity gives that $f^{i-j}(1000)=1000$. Therefore, $S$ is periodic with period $i-j$.

Now, suppose we have an odd $x$. By the condition, $f^2(x)|x^2$, so $f^2(x)$ is odd. This means that $f^3(1000),f^5(1000),$ etc. are all odd. In general, $f^{2i+1}(1000)\equiv 1\pmod 2$. Now, plug $1000$ into the assertion to get that $1000^2=f^2(1000)f^{f(1000)}(1000)$. The latter factor is odd, so we must have $2^6|f^2(1000)$. Similarly, after plugging in $f^2(1000)$, we realize that $2^{12}|f^4(1000)$, and then $2^{24}|f^6(1000)$, etc. So, the sequence $\{v_2(f^{2i}(1000)\}$ is unbounded, which of course implies that $S$ is unbounded, as all terms are nonzero. However, this is a contradiction to the fact that it is periodic, and therefore $f(1000)$ cannot be odd.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
yayups
1614 posts
#3 • 5 Y
Y by HardySalmon, matinyousefi, megarnie, aaaa_27, Adventure10
Let $P(n)$ be the assertion that
\[f^{f(n)}(n)f^2(n)=n^2.\]Note that this is our FE.

We'll first show that $f(1)=1$. $P(1)$ gives
\[f^{f(1)}(1)f^2(1)=1,\]so $f^2(1)=1$. Let $k=f(1)$. Then, $P(k)$ gives
\[f^1(k)f^2(k)=k^2,\]so $k=k^2$, or $k=1$, or $f(1)=1$. We now have a lemma that is the crux of the solution.

Lemma: If $f(n)=n$, and $f(m)=n$, then $m=n$.

Proof of Lemma: $P(m)$ gives
\[f^n(m)f^2(m)=m^2,\]or $n^2=m^2$, or $n=m$. $\blacksquare$

This yields an easy corollary that if $f^\ell(m)=n$, then $m=n$. We now show that $f$ is the identity on the odds.

Claim: $f(n)=n$ for odd $n$.

Proof of Claim: Proceed by strong induction on $n$. The case $n=1$ is sovled. Suppose $f(n')=n'$ for all odd $n'<n$. We have
\[f^2(n)f^{f(n)}(n)=n,\]so if $f^2(n)\ne n$, then one of the two LHS terms is odd and less than $n$. But then the lemma gives a contradiction, so $f^2(n)=n$. Let $k=f(n)$. $P(k)$ gives
\[f^n(k)f^2(k)=k^2,\]or $f^n(k)=k$. But since $n$ is odd, $f^n(k)=f(k)=n$, so $n=k$, so $f(n)=n$, completing the induction. $\blacksquare$

The lemma now implies that $f(1000)$ must be even. To see that all even values are attained, it's easy to check that if $f$ is the identity on the odds and an involution on the evens, it satisfies the FE. Our involution can swap $1000$ and $k$ for any even $k$, so we hit all evens, 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
6862 posts
#4 • 74 Y
Y by trumpeter, yayups, Ultroid999OCPN, Ashrafuzzaman_Nafees, RAMUGAUSS, fatant, mela_20-15, notverysmart, scrabbler94, reaganchoi, MortemEtInteritum, AngleChasingXD, Cyclic_Melon, reedmj, alex_g, samuel, Wizard_32, GeneralCobra19, matinyousefi, Spiralflux789, GAAB, Omeredip, Fermat_Theorem, mathleticguyyy, ftheftics, aops29, Polynom_Efendi, Imayormaynotknowcalculus, user0003, Unum, fjm30, RubixMaster21, Pendronator, Jerry122805, Ankoganit, mlgjeffdoge21, Aryan-23, akjmop, ETS1331, tapir1729, Illuzion, OlympusHero, Ayod19, ghu2024, v4913, HamstPan38825, 606234, tigerzhang, megarnie, justJen, math31415926535, rayfish, IMUKAT, 554183, ironpanther29, Atpar, Anandatheertha, bobjoe123, Inconsistent, Tang_Tang, bobthegod78, Lamboreghini, EpicBird08, mathboy100, sabkx, ihatemath123, OronSH, Adventure10, Deadline, Sedro, aidan0626, vrondoS, NicoN9, ray66
My problem. Have a great story to tell during the upcoming math jam about how I came up with it...

EDIT: for posterity, here's the story. Two days before the start of grading of USAMO 2017, I had a dream that I was grading a functional equation. When I woke up, I wrote it down, and it was \[ f^{f(n)}(n) = \frac{n^2}{f(f(n))}. \]You can guess the rest of the story from there!




Actually, we classify all such functions: $f$ can be any function which fixes odd integers and acts as an involution on the even integers. In particular, $f(1000)$ may be any even integer.
It's easy to check that these all work, so now we check they are the only solutions.

Claim: $f$ is injective.
Proof. If $f(a) = f(b)$, then $a^2 = f^{f(a)}(a) f(f(a)) = f^{f(b)}(b) f(f(b)) = b^2$, so $a = b$. $\blacksquare$

Claim: $f$ fixes the odd integers.
Proof. We prove this by induction on odd $n \ge 1$.
Assume $f$ fixes $S = \{1,3,\dots,n-2\}$ now (allowing $S = \varnothing$ for $n=1$). Now we have that \[ f^{f(n)}(n) \cdot f^2(n) = n^2. \]However, neither of the two factors on the left-hand side can be in $S$ since $f$ was injective. Therefore they must both be $n$, and we have $f^2(n) = n$.
Now let $y = f(n)$, so $f(y) = n$. Substituting $y$ into the given yields \[ y^2 = f^n(y) \cdot y = f^{n+1}(n) \cdot y = ny \]since $n+1$ is even. We conclude $n=y$, as desired. $\blacksquare$

Click to reveal hidden text

Thus, $f$ maps even integers to even integers. In light of this, we may let $g \coloneqq f(f(n))$ (which is also injective), so we conclude that \[ g^{f(n)/2} (n) g(n) = n^2 \qquad \text{ for } n = 2, 4, \dots. \]
Claim: The function $g$ is the identity function.
Proof. The proof is similar to the earlier proof of the claim. Note that $g$ fixes the odd integers already. We proceed by induction to show $g$ fixes the even integers; so assume $g$ fixes the set $S = \{1, 2, \dots, n-1\}$, for some even integer $n \ge 2$. In the equation \[ g^{f(n)/2}(n) \cdot g(n) = n^2 \]neither of the two factors may be less than $n$. So they must both be $n$. $\blacksquare$
These three claims imply that the solutions we claimed earlier are the only ones.

Remark: The last claim is not necessary to solve the problem; after realizing $f$ and injective fixes the odd integers, this answers the question about the values of $f(1000)$. However, we chose to present the ``full'' solution anyways.

Remark: After noting $f$ is injective, another approach is outlined below. Starting from any $n$, consider the sequence \[ n, \; f(n), \; f(f(n)), \; \]and so on. We may let $m$ be the smallest term of the sequence; then $m^2 = f(f(m)) \cdot f^{f(m)}(m)$ which forces $f(f(m)) = f^{f(m)}(m) = m$ by minimality. Thus the sequence is $2$-periodic. Therefore, $f(f(n)) = n$ always holds, which is enough to finish.
This post has been edited 4 times. Last edited by v_Enhance, Feb 16, 2024, 5:45 PM
Reason: add sol in
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
#5 • 6 Y
Y by fatant, Vietjung, Imayormaynotknowcalculus, megarnie, aopsuser305, Adventure10
The possible values are all the even positive integers. To see that they work, note that
\[f(n) =
\begin{cases*}
n & $n \neq 1000, \lambda$\\
\lambda & $n = 1000$\\
1000 & $n = \lambda$
\end{cases*}\]is always a solution for any even $\lambda$. To check this, it is only important that $f$ fixes all odd integers and is an involution on the even integers. For convenience let $P(n)$ denote the functional equation.
  • If $n$ is odd, then $f(n) = n$ and so $P(n)$ reads $n = \tfrac{n^2}{n}$ which is valid.
  • If $n$ is even, then $f(f(n)) = n$, so $f^{f(n)}(n) = n$ as $f(n)$ itself is even. Hence once again $P(n)$ reads $n = \tfrac{n^2}{n}$ which is valid.

Now we prove that $f(1000)$ cannot be odd.
Claim. The function $f$ is injective.
Proof. If $f(a) = f(b)$, then
\[\frac{a^2}{f(f(a))} = f^{f(a)}(a) = f^{f(b)}(b) = \frac{b^2}{f(f(b))}\]so $a = b$. $\square$

Claim. The function $f$ fixes all the odd positive integers.
Proof. We prove by induction on odd $n$ that $f(n) = n$. Suppose it has been proven for all $1, 3, \dots, n-2$ and consider the statement for $n$. The statement $P(n)$ reads
\[f^{f(n)}(n) \cdot f(f(n)) = n^2.\]In particular, both numbers $f^{f(n)}(n)$ and $f(f(n))$ are odd. Since $f(k) = k$ for $k = 1, 3, \dots, n-2$, we obtain that $f^{f(n)}(n) \ge n$ and $f(f(n)) \ge n$, and so
\[f^{f(n)}(n) = f(f(n)) = n.\]If $f(n)$ is odd, we get $f(n) = n$ by injectivity. Suppose that $m = f(n)$ is even, so $n = f(m)$ and so $P(m)$ gives
\[m^2 = [f^{f(m)}(m)] \cdot [f(f(m))] = [f(m)] \cdot [m] \implies m = n\]which is not possible. Thus $f(n) = n$ and the inductive step is complete. $\square$

To finish the problem, recall that $f$ is injective, but $f(n) = n$ for all odd $n$. Hence $f(1000)$ cannot be odd.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
budu
1515 posts
#6 • 4 Y
Y by kevinmathz, sabkx, Adventure10, Mango247
Will this get a point?
This post has been edited 1 time. Last edited by budu, Apr 17, 2019, 11:10 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
yrnsmurf
20653 posts
#7 • 3 Y
Y by SpecialBeing2017, Adventure10, Mango247
I found that you only needed to prove f(n)=n for all prime powers, because 1000 has only 1 prime factor.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Generic_Username
1088 posts
#8 • 3 Y
Y by Imayormaynotknowcalculus, Adventure10, Mango247
Does this induction work to prove that $f(f(n))=n$ for odd $n$?

Define an order relationship on sequences of nondecreasing positive integers such that:
  • $s_1>s_2$ if $s_1$ has more elements than $s_2$
  • $s_1>s_2$ if $s_1$ and $s_2$ has the same number of elements but the sum of the terms of $s_1$ is bigger than that of $s_2$
  • Break ties lexicographically.

We induct on numbers of the form $n=\prod p_i^{e_i}$ where the $\{e_i\}$ are ordered as given above.
Now from $f(f(n))f^{f(n)}(n)=n^2,$ if $f(f(n)) \neq n,$ one of $f(f(n))$ or $f^{f(n)}(n)$ have its exponent sequence in its prime factorization come before that of $n$ in our ordering. But for those guys we already know $f(f(k))=k,$ breaking injectivity. So $f(f(n))=n.$

The main issue is whether doing the induction in this order is valid... can anyone confirm?
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
trumpeter
3332 posts
#9 • 3 Y
Y by Adventure10, Mango247, Mango247
The answer is any even integer. To show that these work, let $m$ be an even integer and consider the function $f$ that fixes all integers besides $1000$ and $m$ and swaps $1000$ and $m$. Then both sides of the equation are equal to $n$ for all $n$ — if $n=1000$ or $m$ then $f(n)$ is even so the LHS is a convolution of $f^2$ which is identity; if $n\neq1000$ or $m$ then everything is a convolution of the identity. Now we show that odd integers do not work.

First note that $f$ is injective. Indeed, if $f(a)=f(b)$ then \[a^2=f^{f(a)-1}(f(a))f(f(a))=f^{f(b)-1}(f(b))f(f(b))=b^2\]so $a=b$.

Now we prove that all odd $n$ are fixed points of $f$. For $n=1$, we have \[1=f^{f(1)}(1)f^2(1)\]so $f^{f(1)}(1)=f^2(1)=1$. Additionally, \[f(1)^2=f^{f(f(1))}(f(1))f^2(f(1))=1\cdot f(1)\]so $f(1)=1$. Now assume $1,3,\ldots,n-2$ are fixed points for some odd $n$. We have
\begin{align*}
n^2&=f^{f(n)}(n)f^2(n)\\
f(n)^2&=f^{f^2(n)+1}(n)f^3(n)
\end{align*}by the functional equation. Then $f^2(n)$ is odd. If $f^2(n)<n$ then it is a fixed point. Then $f^3(n)=f^2(n)$ so by injectivity, $f(n)=n$ so $f^2(n)=n$, contradiction. Similarly $f^{f(n)}(n)$ is odd. If $f^{f(n)}(n)<n$ then it is a fixed point, so $f^{f(n)+1}(n)=f^{f(n)}(n)$ and by injectivity, $f(n)=n$ so $f^{f(n)}(n)=n$, contradiction. Thus $f^2(n)$ and $f^{f(n)}(n)$ are both at least $n$. But their product is $n^2$, so both are exactly $n$. But then \[f(n)^2=f^{n+1}(n)f(n)\]and $n+1$ is even so $f^{n+1}(n)=n$ and it follows that $f(n)=n$. So by induction, all odd $n$ are fixed points.

Suppose $f(1000)=m$ with $m$ odd. Then $f^{f(n)}(n)=m$ and $f^2(n)=m$ so $n^2=m^2$, contradiction. Thus $f(1000)$ must be even.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
goodbear
1108 posts
#10 • 3 Y
Y by TheUltimate123, tapir1729, Adventure10
If $f(a)=f(b),$ $a^2=b^2$ and $a=b,$ so $f$ is injective.

Let $a_0=1000,$ $a_i=f(a_{i-1}).$ Plugging in $n=a_i$ gives $a_{i+a_{i+1}}a_2=(a_i)^2.$

Take $a_i$ minimal. As $a_{i+a_{i+1}}\ge a_i$ and $a_{i+2}\ge a_i,$ by the above $a_{i+2}=a_i.$ Backwards induction + injectivity then gives $a_2=a_0.$

Plugging in $1000$ then gives $a_1=1000$ or $a_1$ is even. As even is easy to construct, the answer is all positive even integers.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
sampai7
574 posts
#11 • 1 Y
Y by Adventure10
Generic_Username wrote:
Does this induction work to prove that $f(f(n))=n$ for odd $n$?

Define an order relationship on sequences of nondecreasing positive integers such that:
  • $s_1>s_2$ if $s_1$ has more elements than $s_2$
  • $s_1>s_2$ if $s_1$ and $s_2$ has the same number of elements but the sum of the terms of $s_1$ is bigger than that of $s_2$
  • Break ties lexicographically.

We induct on numbers of the form $n=\prod p_i^{e_i}$ where the $\{e_i\}$ are ordered as given above.
Now from $f(f(n))f^{f(n)}(n)=n^2,$ if $f(f(n)) \neq n,$ one of $f(f(n))$ or $f^{f(n)}(n)$ have its exponent sequence in its prime factorization come before that of $n$ in our ordering. But for those guys we already know $f(f(k))=k,$ breaking injectivity. So $f(f(n))=n.$

The main issue is whether doing the induction in this order is valid... can anyone confirm?

Are you sure there are countably many sequences?

Edit: can’t map reals
This post has been edited 1 time. Last edited by sampai7, Apr 17, 2019, 11:33 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
goodbear
1108 posts
#12 • 1 Y
Y by Adventure10
sampai7 wrote:
Generic_Username wrote:
Click to reveal hidden text

Are you sure there are countably many sequences? You can map the reals to sequences of integers right?

*infinite sequences, finite okay.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Generic_Username
1088 posts
#13 • 2 Y
Y by Adventure10, Mango247
Quote:
Are you sure there are countably many sequences?
Well the induction can be characterized by $(k,\Sigma, S)$ where $k$ is the number of terms, $\Sigma$ is the sum of the terms, and $S$ is the set of sequences with $k$ terms and sum $\Sigma.$ Here $S$ is finite. So one can envision this as induction on the two parameters $k$ and $\Sigma$?
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
aq1048576
32 posts
#14 • 4 Y
Y by Arrowhead575, Adventure10, Mango247, Mango247
I got that $f(n)$ fixes all odd $n$ in around 45 minutes and then freaked out after realizing that the answer was *not* $f(n)=n$, didn't see that I could just give a construction and finish, so spent another hour proving that $f$ is an involution for all $n$ (even and odd) and another hour writing up before realizing that it was unnecessary :thunk: . Rewrote my solution finishing from $f$ fixes odd step using half as many pages, but oh well :P

f is an involution
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
mathguy623
1855 posts
#15 • 2 Y
Y by budu, Adventure10
budu wrote:
Will this get a point?

I feel like it definitely should - especially since showing f(2n-1) = 2n-1 is done pretty much the same way as f(p) = p except with induction. However, I guess this was a large portion of the problem. I think given that you had f(1) = 1 and injectivity, it should be a point. Maybe more than 1 but that seems rare.
Z K Y
G
H
=
a