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
Inequality by Po-Ru Loh
v_Enhance   54
N 13 minutes 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
13 minutes ago
Problem 5
Functional_equation   14
N 25 minutes 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
25 minutes ago
a^12+3^b=1788^c
falantrng   6
N an hour 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
an hour ago
stuck on a system of recurrence sequence
Nonecludiangeofan   0
an hour 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
an hour ago
0 replies
No more topics!
IMO Shortlist 2009 - Problem N4
April   12
N Yesterday at 4:21 PM 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
Yesterday at 4:21 PM
IMO Shortlist 2009 - Problem N4
G H J
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
April
1270 posts
#1 • 3 Y
Y by Amir Hossein, dien9c, Adventure10
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
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Rust
5049 posts
#2 • 1 Y
Y by Adventure10
Let $b_k=a_{k-1}-a_k$, then
${b_{k+1}=\frac{(b_k+2)a_k+b_k}{a_k+b_k+1}<b_k+2}$.
Therefore if $a_1=N^2,a_2=N^2-1$, then $a_3>N^2-2^2,a_4>N^2-3^2,...a_{N+1}>N^2-N^2=0.$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Zhero
2043 posts
#3 • 6 Y
Y by Amir Hossein, nikgran, IFA, Adventure10, and 2 other users
Click to reveal hidden text
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
#4 • 4 Y
Y by Polynom_Efendi, Arshia.esl, Adventure10, Mango247
This is like a "troll" problem. Very simple, but it is stated in such a way that it tricks you into trying other stuff that doesn't work.

The answer is $4$. It is easy to see that if there were $5$, then we would have two even distinct numbers $n$ and $m$ (either $a_2$ and $a_3$ or $a_3$ and $a_4$) satisfying $n+1 | m^2+1$ and $m+1 | n^2+1$. But this is impossible. To prove this, take the least two such numbers $n$ and $m$ (with $n+m$ minimal), and take $m'=(n^2+1)/(m+1)-1$, with $m \textgreater n$. It is easy to see $(n,m')$ also satisfies and that $m' \textless m$. So we must have $m'=0$ so $n^2+1=m+1$ so $n^2=m$, which is easy to discard. So the answer must be at most $4$.

To find such a sequence of 4, one must prove a nontrivial ($n^2 \neq m \neq \sqrt{n}$, $n,m \ge 3$) solution to $n+1 | m^2+1$ and $m+1 | n^2+1$ (where they are both odd), exists. I initially thought they didn't exist. Later I did some casework and found a solution. The smallest such solution is $33$, $217$. I doubt the problem requires you to find this value, so I guess there's an easier way to prove these numbers exist.
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
#5 • 1 Y
Y by Adventure10
The answer is $n\le 4$, which is achievable with the sequence $4,33,217,1384$.

First, suppose that $a_i$ is odd. Then, we need $2|a_{i+1}^2+1$, so $a_{i+1}\equiv 1\pmod 2$. So, an odd number must follow an odd number. However, $a_{i+1}^2+1\equiv 2\pmod 4$, so $\frac{a_{i+1}^2+1}{a_i+1}\equiv 1\pmod 2\implies 2|a_{i+2}$. Therefore, $a_{i+3}$ cannot exist. So, if $a_i$ is an odd, then $n\le i+2$.

Suppose, then, that $2|a_1,a_2$. Then, we need $a_1+1|a_2^2+1$, and $$a_2+1|a_3^2+1=\left(\frac{a_2^2-a_1}{a_1+1}\right)^2+1\implies a_2+1\bigg|a_2^4-2a_2^2a_1+2a_1^2+2a_1+1\implies a_2+1|2a_1^2+2\implies a_2+1|a_1^2+2$$So, we have two even numbers such that $a+1|b^2+1,b+1|a^2+1$. I claim that no such pair exists, which we can do with Vieta Jumping. Suppose there exists such $a,b$, and consider the pair which minimizes $a+b$. Also, WLOG $b\le a$ and define $k=\frac{b^2+1}{a+1}-1$. Of course, $k\in2\mathbb{Z}^+$, since if $a=b^2$, then $b+1|b^4+1\iff b+1|2$, which is a contradiction. Furthermore, $k=\frac{b^2-a}{a+1}<\frac{a^2+a}{a+1}=a$, and $$k^2+1=\left(\frac{b^2-a}{a+1}\right)^2+1=\frac{b^4-2b^2a+2a^2+2a+1}{(a+1)^2}=\frac{(b+1)(b^3-b^2+(2-2a)b+(2a-2))+2(a^2+1)}{(a+1)^2}$$As $\gcd(b+1,a+1)|\gcd(b+1,b^2+1)=1$ and $b+1|a^2+1$, we must have that $b+1|k^2+1$. So, $(k,b)$ satisfies our conditions, and $k<a$, so minimality is contradicted. Therefore, if $2|a_{k-1},a_k$, then $a_{k+1}$ cannot exist.

Given these restrictions, our sequence can start like: OE, OOE, EE, EOE, EOOE, giving it a maximum length of 4, as desired.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
TheUltimate123
1739 posts
#6 • 1 Y
Y by Soundricio
Solved with goodbear, Th3Numb3rThr33.

The answer is \(n\le4\), achieved by \(4\), \(33\), \(217\), \(1384\). First observe that
  • \(a_{k-1}\) odd and \(a_k\) even imply \(a_{k+1}\) does not exist;
  • \(a_{k-1}\) odd and \(a_k\) odd imply \(a_{k+1}\) even;
  • \(a_{k-1}\) even and \(a_k\) odd imply \(a_{k+1}\) odd.
  • \(a_{k-1}\) even and \(a_k\) even imply \(a_{k+1}\) even.
Hence unless the sequence is forever even, its maximum length is four.

Lemma: If \(a\), \(b\) are even, then \(a+1\mid b^2+1\) and \(b+1\mid a^2+1\) cannot simultaneously hold.

Proof. The proof is Vieta jumping: take the minimal pair \((a,b)\), and let \[\frac{b^2+1}{a+1}=m+1\quad\text{and}\quad\frac{a^2+1}{b+1}=n+1.\]We cannot simultaneously have \(m\ge a\) and \(n\ge b\), so without loss of generality \(m<a\).

Note \(\gcd(a,b+1)=\gcd(a+1,b+1)=1\) since \(b+1\mid a^2+1\), \(a\mid a^2\), \(a+1\mid a^2-1\). By design, \(m+1\mid b^2+1\) and \[m^2+1\equiv\left(\frac{b^2+1}{a+1}-1\right)^2+1\equiv\left(\frac{1-a}{1+a}\right)^2+1\equiv\frac{-2a}{2a}+1\equiv0\pmod{b+1},\]so \((m,b)\) is a smaller pair that works. \(\blacksquare\)

But if the sequence is all even and has length at least four, then both \(a_2+1\mid a_3^2+1\) and \(a_3+1\mid a_2^2+1\) hold, contradiction.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
mathaddiction
308 posts
#7
Y by
The answer is $n=3$ and $n=4$. Notice that by taking $(a_1,a_2,a_3,a_4)=(4,33,217,1384)$, the condition is satisfied.
Now notice that if such sequence exists for $n$ then we can simply take its first $m(m<n)$ terms to form a sequence with $m$ terms. Hence it suffices to show that there does not exist such a sequence for $n=5$. Suppose on the contrary that such a sequence exists for $n=5$.

CLAIM 1. Both $a_1$ and $a_2$ are even
Proof. This is just simple case work. We call an integer $i$ bad if $a_i$ is odd and $a_{i+1}$ is even. Notice that if $1\leq i\leq 3$ is bad, then
$$a_{i+2}=\frac{a_{i+1}^2+1}{a_i+1}-1$$can not be an integer since $a_{i+1}^2+1$ is odd while $a_i+1$ is even, contradiction.
Now
1. If $a_1$ is odd while $a_2$ is even then $1$ is bad, contradiction.
2. If both $a_1$ and $a_2$ is odd then $a_3$ is even, hence $2$ is bad, contradiction.
3. If $a_1$ is even while $a_2$ is odd then it is easy to see that $a_3$ is odd. Now notice that $$a_4=\frac{a_3^2+1}{a_2+1}-1$$Notice that $a_3^2+1\equiv 2\pmod 4$. Hence $a_4$ is even. This implies that $3$ is bad, contradiciton.
This justifies the claim.

CLAIM 2. $a_2+1|(a_1^2+1)$
Proof. Let $k=a_1+1$. We first show that $(k,a_2+1)=1$. Indeed if $p|k$ and $p|a_2+1$, from $a_1+1|a_2^2+1$ we have
$$0\equiv a_2^2+1\equiv (-1)^2+1\equiv 2\pmod p$$Hence $p=2$. But from CLAIM 1 we show that $k$ is odd, contradiction.
Therefore, the inverse of $k$ modulo $a_2+1$ exists. Now using $a_3=\frac{a_2^2+1}{a_1+1}$ we obtain
\begin{align*}
0&\equiv a_3^2+1\\
&\equiv ((-1)^2+1)k^{-1}-1)^2+1\\
&\equiv 4k^{-2}-4k^{-1}+2\\
&\equiv 4k^{-2}(1-k)+2\pmod{a_2+1}
\end{align*}Hence
\begin{align*}
4k^{-2}(k-1)&\equiv 2\pmod{a_2+1}\\
4(k-1)&\equiv 2k^2\pmod{a_2+1}\\ 
2((k-1)^2+1)&\equiv 0\pmod{a_2+1}\\
a_1^2+1&\equiv 0\pmod{a_2+1}
\end{align*}since $a_2+1$ is odd.

Now let $x=a_1+1$ and $y=a_2+1$. Then $(x,y)$ satisfies the system
$$x|(y-1)^2+1$$$$y|(x-1)^2+1$$Since $(x,y)=1$ we have
\begin{align}
xy|(x+y-1)^2+1
\end{align}CLAIM 3. The only positive integer solution to $(1)$ is $(1,1)$.
Proof. We will use the infinite descent method. WLOG assume $x\geq y$.Suppose that there exists another solution to $(1)$ other than $(1,1)$. We pick the one such that $x$ is minimized.
Notice that
$$(x+y-1)^2+1\equiv (x-1)^2+(y-1)^2\pmod xy$$Hence we have $$kxy=(x-1)^2+(y-1)^2$$for some $k\in\mathbb N$. Now since this is an quadratic equation in $x$ there exists another root $x'$ which satisfies
\begin{align*}
x+x'&=2+ky\\
xx'&=(y-1)^2+1\\
\end{align*}From these we see that $x'$ is a positive integer. Moreover
$$x'=\frac{(y-1)^2+1}{x}\leq\frac{(x-1)^2+1}{x}<x$$From the minimality of $x$ we have $x'=1$. Hence $y=1$. From $(1)$ we have $x=1$, contradiciton.

Therefore we must have $a_1=a_2=0$, contradiction.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Al3jandro0000
804 posts
#9
Y by
There are no $(m,n)\in (2\mathbb N)^2$ such that $m+1\mid n^2+1$ and $n+1\mid m^2+1$.

Suppose there exists with $m+n$ minimal and $WLOG: m>n$. Notice
$$(m+1)(n+1)\mid m^2+n^2$$So indeed $m^2+n^2=kmn+km+kn+k$ for some positive integer $k$. So
$$m^2-(kn+k)m+n^2-kn-k=0$$Let $m_0$ be the other root. It follows $m+m_0=k(n+1)$ and $mm_0+k(n+1)=n^2<m^2\implies m_0<m$. By $m+n$ minimal we get that if $m_0\in\mathbb N$ this implies $m_0$ is odd. But so $0\equiv n^2\equiv mm_0+m+m_0\mod 4$ indeed $mm_0\equiv -(m+m_0)\mod 4$ but we have an odd part in $RHS$ and even in $LHS$ contradiction indeed $m_0\in\mathbb Z^-$. So it follows $mm_0+m+m_0=n^2>0$ so $mm_0>-(m+m_0)$ which is a clearly contradiction since $|mm_0|>|m+m_0|$.

Note: This solution works if $\gcd(m+1,n+1)=1$.
This post has been edited 1 time. Last edited by Al3jandro0000, Jul 28, 2020, 3:08 AM
Reason: Change > for <
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Jalil_Huseynov
439 posts
#10 • 4 Y
Y by farhad.fritl, Mango247, Mango247, Mango247
I proved that $n\geq 5$ fails, and I got stuck on $n=4$ case. I tried to prove that "There is not odd $a,b$ such that \(a+1\mid b^2+1\) and \(b+1\mid a^2+1\)". But I coldn't prove it, because it is not true. So I want to know the motivaton behind finiding example for $n=4$, because to find it you need to check numbers, but there are a lot of numbers until valid one.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Assassino9931
1197 posts
#11
Y by
Jalil_Huseynov wrote:
I proved that $n\geq 5$ fails, and I got stuck on $n=4$ case. I tried to prove that "There is not odd $a,b$ such that \(a+1\mid b^2+1\) and \(b+1\mid a^2+1\)". But I coldn't prove it, because it is not true. So I want to know the motivaton behind finiding example for $n=4$, because to find it you need to check numbers, but there are a lot of numbers until valid one.

https://www.imo-official.org/problems/IMO2009SL.pdf See Comment 1
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
awesomeming327.
1665 posts
#12
Y by
It is not possible for $n\ge 5$. If it were possible then $(a_1+1)(a_3+1)=a^2+1$, $(a_2+1)(a_4+1)=a^3+1$, and $(a_3+1)(a_5+1)=a^4+1$. Note that in the equation $(x+1)(z+1)=y^2+1$, if $x$ and $z$ were both odd then $4\mid y^2+1$ which is impossible. Furthermore, if $x$ or $z$ were odd then $y$ is odd. If $x$ and $z$ are even then $y$ is even. We know that of $a_2$ or $a_4$, one is even, so $a_3$ must be also even. WLOG, $a_2$ is even with $a_3$. Then, we have $a_2+1\mid a_3^2+1$ and $a_3+1\mid a_2^2+1$ and both are even. We prove that no such pair $(a_2,a_3)$ can exist.

Suppose it does exist then select the minimal pair $(a,b)$. If $a=b$ then $a+1\mid a^2+1$ which implies $a=1$, so WLOG let $a>b$. Let $(a+1)(c+1)=b^2+1$. Since $a>b$, we have $c<b$. We already know that $c+1\mid b^2+1$. We'll show that $(c,b)$ is a smaller pair by looking at $c^2+1\pmod {b+1}$. Note that $b^2\equiv 1\pmod {b+1}$. We have
\[c^2+1=\left(\frac{b^2+1}{a+1}-1\right)^2+1\equiv\left(\frac{a-1}{a+1}\right)^2+1\equiv\frac{a^2-2a+1}{a^2+2a+1}+1\pmod{b+1}\]but since $a^2\equiv -1\pmod {b+1}$ we have that this is equivalent to $0$ so we constructed a smaller pair. Since $c$ must also be even, this is a contradiction.

For $n\le 4$ consider the sequence: $12,57,249,1068$.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
vsamc
3783 posts
#13
Y by
Solution
This post has been edited 1 time. Last edited by vsamc, Jun 4, 2024, 8:55 PM
Reason: a_4 = 1384 not 1385 oops forgot to subtract by 1
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
asdf334
7586 posts
#14
Y by
not writing a solution i guess but okay these strange divisibility conditions should encourage me to brainstorm vieta jumping in the future i guess okay coolio
Z K Y
N Quick Reply
G
H
=
a