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
Cubic function from Olymon
Adywastaken   1
N 12 minutes ago by Ahmed_mallek
Source: Olymon Volume 11 2010 663
Find all $f:\mathbb{R}\rightarrow\mathbb{R}$ such that
$x^2y^2(f(x+y)-f(x)-f(y))=3(x+y)f(x)f(y)$ $\forall$ $x,y \in \mathbb{R}$
1 reply
+1 w
Adywastaken
an hour ago
Ahmed_mallek
12 minutes ago
Colouring numbers
kitun   2
N 21 minutes ago by quasar_lord
What is the least number required to colour the integers $1, 2,.....,2^{n}-1$ such that for any set of consecutive integers taken from the given set of integers, there will always be a colour colouring exactly one of them? That is, for all integers $i, j$ such that $1<=i<=j<=2^{n}-1$, there will be a colour coloring exactly one integer from the set $i, i+1,.... , j-1, j$.
2 replies
kitun
Nov 15, 2021
quasar_lord
21 minutes ago
Mathhhhh
mathbetter   4
N 23 minutes ago by Amkan2022
Three turtles are crawling along a straight road heading in the same
direction. "Two other turtles are behind me," says the first turtle. "One turtle is
behind me and one other is ahead," says the second. "Two turtles are ahead of me
and one other is behind," says the third turtle. How can this be possible?
4 replies
mathbetter
Yesterday at 11:21 AM
Amkan2022
23 minutes ago
Finally hard NT on UKR MO from NT master
mshtand1   3
N 36 minutes ago by Jupiterballs
Source: Ukrainian Mathematical Olympiad 2025. Day 1, Problem 11.4
A pair of positive integer numbers \((a, b)\) is given. It turns out that for every positive integer number \(n\), for which the numbers \((n - a)(n + b)\) and \(n^2 - ab\) are positive, they have the same number of divisors. Is it necessarily true that \(a = b\)?

Proposed by Oleksii Masalitin
3 replies
1 viewing
mshtand1
Mar 13, 2025
Jupiterballs
36 minutes ago
No more topics!
One secuence satisfying condition
hatchguy   8
N Mar 17, 2025 by jaescl
Prove that there exists only one infinite secuence of positive integers $a_1,a_2,...$ with $a_1=1$, $a_2>1$ and $a_{n+1}^3 + 1 = a_na_{n+2}$ for all positive integers $n$.
8 replies
hatchguy
Sep 4, 2011
jaescl
Mar 17, 2025
One secuence satisfying condition
G H J
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
hatchguy
555 posts
#1 • 2 Y
Y by Adventure10, cubres
Prove that there exists only one infinite secuence of positive integers $a_1,a_2,...$ with $a_1=1$, $a_2>1$ and $a_{n+1}^3 + 1 = a_na_{n+2}$ for all positive integers $n$.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
ZetaSelberg
138 posts
#2 • 3 Y
Y by Adventure10, Mango247, cubres
I have an (little) approach

Let's suppouse that $a_2=2$ then se sequence is $1, 2, 5, 13, 34...$ and the definition of this sequence is

$a_1=1$
$a_n=\displaystyle a_{n-1}+\sum_{i=1}^{n-1}a_i$

I could not prove that it is the sequence (neither that it is the only sequence) but at least it works.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
darij grinberg
6555 posts
#3 • 5 Y
Y by Adventure10, Mango247, cubres, and 2 other users
ZetaSelberg, your sequence is wrong. Is it possible that you have misread 3rd power as 2nd power?

About the problem... First it is clear that $a_2$ can only be $2$; otherwise $a_4\notin\mathbb Z$.

The interesting part is to prove that all members of the sequence are integers if $a_2=2$. The sequence is A003818 in Sloane. Armed with this keyword, we get two topics:

http://www.artofproblemsolving.com/Forum/viewtopic.php?f=56&t=287631
http://www.artofproblemsolving.com/Forum/viewtopic.php?f=36&t=299591

No proof, though. Why not give one?

Theorem 1. Let $\left(b_1,b_2,b_3,...\right)$ be a sequence of positive rational numbers defined recursively by

$b_1=1$, $b_2=2$ and $b_{n+1}=\frac{b_n^3+1}{b_{n-1}}$ for every integer $n\geq 2$.

Then, $b_n$ is a positive integer for every positive integer $n$.


Proof of Theorem 1. We are going to show that every integer $N\geq 3$ satisfies the following assertion:

(1) The numbers $b_1$, $b_2$, ..., $b_{N+1}$ are positive integers, and $b_{N-1}$ is coprime to $b_N$.

In fact, we will prove (1) by induction over $N$:

The induction base ($N=3$) is very easy (just notice that the recurrent definition of $\left(b_1,b_2,b_3,...\right)$ yields $b_3=\frac{b_2^3+1}{b_1}=\frac{2^3+1}{1}=9$ and subsequently $b_4=\frac{b_3^3+1}{b_2}=\frac{9^3+1}{2}=365$).

Now for the induction step. Let $n\geq 3$ be an integer. Assume that (1) holds for $N=n$. Now let us prove that (1) holds for $N=n+1$.

Since (1) holds for $N=n$, we know that the numbers $b_1$, $b_2$, ..., $b_{n+1}$ are positive integers, and that $b_{n-1}$ is coprime to $b_n$.

Now, the recurrent definition of $\left(b_1,b_2,b_3,...\right)$ yields $b_{n+2}=\frac{b_{n+1}^3+1}{b_n}$, $b_{n+1}=\frac{b_n^3+1}{b_{n-1}}$ and $b_n=\frac{b_{n-1}^3+1}{b_{n-2}}$. Since $\frac{b_{n-1}^3+1}{b_{n-2}}=b_n$, we have $b_{n-1}^3+1 = b_nb_{n-2}\equiv 0\mod b_n$.

Since $b_{n-1}$ is coprime to $b_n$, we see that $b_{n-1}^3$ is coprime to $b_n$.

Substituting $b_{n+1}=\frac{b_n^3+1}{b_{n-1}}$ in $b_{n+2}=\frac{b_{n+1}^3+1}{b_n}$, we obtain

(2) $b_{n+2}=\frac{\left(\frac{b_n^3+1}{b_{n-1}}\right)^3+1}{b_n}=\frac{\left(b_n^3+1\right)^3+b_{n-1}^3}{b_nb_{n-1}^3}$.

Now, $b_n\equiv 0\mod b_n$, so that $\left(b_n^3+1\right)^3+b_{n-1}^3\equiv \left(0^3+1\right)^3+b_{n-1}^3=1+b_{n-1}^3=b_{n-1}^3+1\equiv 0\mod b_n$. In other words, $b_n\mid \left(b_n^3+1\right)^3+b_{n-1}^3$. On the other hand, $\frac{b_n^3+1}{b_{n-1}}=b_{n+1}$ is an integer, so that $b_{n-1}\mid b_n^3+1$ and thus $b_{n-1}^3\mid \left(b_n^3+1\right)^3$. Hence, $b_{n-1}^3\mid \left(b_n^3+1\right)^3+b_{n-1}^3$ as well (because clearly $b_{n-1}^3\mid b_{n-1}^3$). So we now know that the number $\left(b_n^3+1\right)^3+b_{n-1}^3$ is divisible by both of $b_{n-1}^3$ and $b_n$. Since $b_{n-1}^3$ is coprime to $b_n$, this yields that the number $\left(b_n^3+1\right)^3+b_{n-1}^3$ is also divisible by the product $b_nb_{n-1}^3$. Hence, $\frac{\left(b_n^3+1\right)^3+b_{n-1}^3}{b_nb_{n-1}^3}$ is an integer. Due to (2), this shows that $b_{n+2}$ is an integer. Thus, $b_{n+2}$ is a positive integer (since clearly $b_{n+2}>0$). Combined with the fact that $b_1$, $b_2$, ..., $b_{n+1}$ are positive integers, this yields that $b_1$, $b_2$, ..., $b_{n+2}$ are positive integers.

Besides, $b_{n+1}=\frac{b_n^3+1}{b_{n-1}}$, so that $b_{n-1}b_{n+1}=b_n^3+1$ and thus $1=b_{n-1}b_{n+1}-b_n^3$. Hence, every common divisor of $b_n$ and $b_{n+1}$ must also divide $1$. In other words, $b_n$ and $b_{n+1}$ are coprime. So we have shown that $b_n$ is coprime to $b_{n+1}$.

We have thus shown that $b_1$, $b_2$, ..., $b_{n+2}$ are positive integers, and that $b_n$ is coprime to $b_{n+1}$. In other words, (1) holds for $N=n+1$. This completes the induction step.

Thus, by induction, (1) is proven for all $N\in\mathbb N$. The claim of Theorem 1 now immediately follows.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
ZetaSelberg
138 posts
#4 • 2 Y
Y by Adventure10, cubres
darij grinberg wrote:
ZetaSelberg, your sequence is wrong. Is it possible that you have misread 3rd power as 2nd power?


Yeess! Now I had to go an visit an optometrist because it is the third time I have this problem.

Thanks for the solution.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
jaescl
11 posts
#5 • 4 Y
Y by Adventure10, Mango247, cubres, and 1 other user
Considering the above sequence, prove or disprove whether the following expressions take integer values for every positive integer $n$:
  1. $\frac{b_{n}+b_{n+4}}{b_{n+2}}$
  2. $\frac{b_{n}(b_{n+3}+1)}{b_{n+1}+1}$

I have no solution yet.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
darij grinberg
6555 posts
#6 • 2 Y
Y by Adventure10, cubres
Very nice observations.

Theorem 2. Let $\left(  b_{1},b_{2},b_{3},...\right)  $ be the sequence of integers defined in Theorem 1 (in post #3 above).

(a) Every integer $n\geq3$ satisfies $b_{n}\mid b_{n-2}+b_{n+2}$.

(b) Every integer $n\geq2$ satisfies $b_{n}+1\mid b_{n-1}\left( b_{n+2}+1\right)  $.


Proof of Theorem 2. From Theorem 1, we know that $b_{n}$ is a positive integer for every positive integer $n$.

From the auxiliary result (1) that we proved during our proof of Theorem 1, we know that

(3) $b_{N-1}$ is coprime to $b_{N}$ for every integer $N\geq3$.

(a) Let $n\geq3$ be an integer. From the auxiliary result (2) that we proved during our proof of Theorem 1, we know that

$b_{n+2}=\dfrac{\left(  b_{n}^3+1\right)  ^{3}+b_{n-1}^{3}}{b_{n}b_{n-1}^{3}}$.

Thus,

$b_{n+2}b_{n}b_{n-1}^{3}=\left(  b_{n}^3+1\right)  ^{3}+b_{n-1}^{3}$.

Since $\left(  b_{n}^3+1\right)  ^{3}\equiv1\mod b_{n}^{2}$ (this congruence even holds modulo $b_{n}^{3}$), this yields

$b_{n+2}b_{n}b_{n-1}^{3}\equiv1+b_{n-1}^{3}=b_{n-1}^{3}+1\mod  b_{n}^{2}$.

But the recurrent definition of $\left(  b_{1},b_{2},b_{3},...\right)  $ yields $b_{n}=\dfrac{b_{n-1}^{3}+1}{b_{n-2}}$, so that $b_{n-1}^{3} +1=b_{n}b_{n-2}$. Thus,

$b_{n+2}b_{n}b_{n-1}^{3}\equiv b_{n-1}^{3}+1=b_{n}b_{n-2}\mod  b_{n}^{2}$.

Now,

$\left(  b_{n+2}+b_{n-2}\right)  b_{n}b_{n-1}^{3}=\underbrace{b_{n+2}b_{n}b_{n-1}^{3}}_{\equiv b_{n}b_{n-2}\mod b_{n}^{2}} +b_{n-2}b_{n}b_{n-1}^{3}$

$\equiv b_{n}b_{n-2}+b_{n-2}b_{n}b_{n-1}^{3}=b_{n}b_{n-2}\underbrace{\left( b_{n-1}^{3}+1\right)  }_{=b_{n}b_{n-2}}=b_{n}b_{n-2}b_{n}b_{n-2}=b_{n}^{2}b_{n-2}^{2}$

$\equiv 0\mod b_{n}^{2}$.

In other words, $b_{n}^{2}\mid\left(  b_{n+2}+b_{n-2}\right)  b_{n}b_{n-1}^{3}$. Cancelling one $b_{n}$ out of this divisibility, we get $b_{n}\mid\left(  b_{n+2}+b_{n-2}\right)  b_{n-1}^{3}$. Since $b_{n-1}^{3}$ is coprime to $b_{n}$ (because (3) (applied to $N=n$) yields that $b_{n-1}$ is coprime to $b_{n}$), this yields that $b_{n}\mid b_{n+2}+b_{n-2} =  b_{n-2}+b_{n+2}$. This proves Theorem 2 (a).

(b) Let $n\geq2$ be an integer. The recurrent definition of $\left(b_{1},b_{2},b_{3},...\right)  $ yields $b_{n+2}=\dfrac{b_{n+1}^{3}+1}{b_{n}}$, so that $b_{n}b_{n+2}=b_{n+1}^{3}+1$. The recurrent definition of $\left( b_{1},b_{2},b_{3},...\right)  $ also yields $b_{n+1}=\dfrac{b_{n}^{3} +1}{b_{n-1}}$, so that $b_{n+1}b_{n-1}=b_{n}^{3}+1 = \left(b_n+1\right)\left(b_n^2-b_n+1\right)\equiv0\mod  b_{n}+1$.

We have

$b_{n}b_{n-1}\left(  b_{n+2}+1\right)  =b_{n}b_{n-1}b_{n+2}+b_nb_{n-1} =b_{n-1}\underbrace{b_{n}b_{n+2}}_{=b_{n+1}^{3}+1}+\underbrace{b_{n}} _{\equiv-1\mod b_{n}+1}b_{n-1}$

$\equiv b_{n-1}\left(  b_{n+1}^{3}+1\right)  +\left(  -1\right) b_{n-1}=b_{n-1}b_{n+1}^{3}+b_{n-1}-b_{n-1}=b_{n-1}b_{n+1}^{3} $

$=\underbrace{b_{n+1}b_{n-1}}_{\equiv0\mod b_{n}+1}b_{n+1}^{2} \equiv 0\mod b_{n}+1$.

In other words, $b_{n}+1\mid b_{n}b_{n-1}\left(  b_{n+2}+1\right)  $. Since $b_{n}+1$ is coprime to $b_{n}$, this yields $b_{n}+1\mid b_{n-1}\left( b_{n+2}+1\right)  $. This proves Theorem 2 (b).

Some educated guessing was used in this proof... I am wondering how much of it could be automated.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
darij grinberg
6555 posts
#7 • 5 Y
Y by Tintarn, Adventure10, Mango247, jaescl, cubres
I just revisited this thread as I was looking for a simple example on the Laurent phenomenon in cluster algebras, and it dawned upon me that both theorems in my posts can be generalized:

Theorem 3. Let $r$ be a positive integer. Let $\left(b_1,b_2,b_3,...\right)$ be a sequence of positive rational numbers defined recursively by

$b_1=1$, $b_2=2$ and $b_{n+1}=\frac{b_n^r+1}{b_{n-1}}$ for every integer $n\geq 2$.

(a) Then, $b_n$ is a positive integer for every positive integer $n$.

(b) If $r \geq 2$, then every integer $n\geq3$ satisfies $b_{n}\mid b_{n-2}+b_{n+2}$.

(c) If $r$ is odd, then every integer $n\geq2$ satisfies $b_{n}+1\mid b_{n-1}\left( b_{n+2}+1\right)  $.


Proof of Theorem 3. (a) The proof of Theorem 3 (a) can be obtained by replacing every $3$ by $r$ in the proof of Theorem 1 (in post #3 above), and making one further change: The induction base (the case $N=3$) becomes a bit more difficult. Here is how the induction base must be proven now: It is clear that $b_1$ and $b_2$ are positive integers, and $b_3$ is an integer as well (since $b_3 = \frac{b_2^r+1}{b_1}$ and $b_1 = 1 \mid b_2^r+1$). Also, $b_1$, $b_2$, $b_3$ and $b_4$ are clearly positive. To prove that $b_4$ is an integer, we need to argue as follows: We have $b_3 = \frac{b_2^r+1}{b_1} = \frac{2^r+1}{1}$ (since $b_1 = 1$ and $b_2 = 2$), so that $b_3 = \frac{2^r+1}{1} = 2^r+1$ is odd, and thus $b_3^r$ is odd, so that $b_3^r+1$ is even, and thus $2 \mid b_3^r + 1$. But $b_4 = \frac{b_3^r+1}{b_2} = \frac{b_3^r+1}{2}$ (since $b_2 = 2$) is an integer (since $2 \mid b_3^r + 1$). Now, in order to complete the induction base, we need to prove that $b_2$ is coprime to $b_3$. This is clear because $b_2 = 2$ whereas $b_3$ is odd.

(b) Assume that $r \geq 2$. The proof of Theorem 3 (b) can be obtained by replacing every $3$ by $r$ in the proof of Theorem 2 (a) (in post #6 above). The assumption $r \geq 2$ is used in the claim that $ \left( b_{n}^r+1\right) ^r \equiv1\mod b_{n}^{2}$.

(c) Assume that $r$ is odd. The proof of Theorem 3 (c) can be obtained by replacing every $3$ by $r$ in the proof of Theorem 2 (b) (in post #6 above), and replacing the equality $b_{n}^{3}+1 = \left(b_n+1\right)\left(b_n^2-b_n+1\right)$ by $b_{n}^r + 1 = \left(b_n+1\right)\left(b_n^{r-1}-b_n^{r-2}+b_n^{r-3}\pm ... +1\right)$ (this makes sense because $r$ is odd).

The proof of Theorem 3 is thus complete.

This all, of course, is related to cluster algebras: Our recurrence equation describes a cluster algebra of a two-vertex quiver with $r$ arrows from one vertex to the other. See §3.1.2 in Philipp Lampe's Cluster algebras notes. The Laurent phenomenon for cluster algebras can thus be used to prove Theorem 3 (a), although it should be applied with care: we need to extend our sequence $\left(b_1, b_2, b_3, ...\right)$ by an extra initial term $b_0 = 1$ (check that the recurrence is still satisfied) in order to ensure that "Laurent polynomials in the initial values" actually translates into "integers". See also §3.1 of Lee/Schiffler, Positivity for cluster algebras, arxiv:1306.2415v3 for combinatorial expressions for the general term of this sequence.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
jaescl
11 posts
#8 • 1 Y
Y by cubres
See also Notes on the combinatorial fundamentals of algebra (from page 126 onward)
Let $B_n$ and $k$ be as defined at https://artofproblemsolving.com/community/c6h1065491. I claim that the following expression is an integer for every integer $n\geq 3$:
$$k^{L_{2n-4}}\left(\frac{B_{n+2}+B_{n-2}}{B_{n}}\right)$$Where $L_{n}$ is the nth Lucas number
This post has been edited 1 time. Last edited by jaescl, Mar 2, 2025, 5:38 PM
Reason: Link format issue
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
jaescl
11 posts
#9
Y by
Plugging $r=3$ into result ($107$) of the Grinberg's notes, we get:

$$\left(\frac{B_{n+2}+B_{n-2}}{B_{n}}\right) = B_{n-2}B_{n+2} - \left(\frac{(B_{n}^{3}+1)^3-1}{B_{n}^2}\right)$$
Multiplying both sides of the equality by $k^{L_{2n-4}}$ and using the recurrence formula for $B_{n+2}$ gives:


$$k^{L_{2n-4}}\left(\frac{B_{n+2}+B_{n-2}}{B_{n}}\right) = \frac{k^{L_{2n-4}}B_{n-2}(B_{n+1}^3+1)}{B_{n}} - \frac{k^{L_{2n-4}}}{B_{n}}\left(\frac{(B_{n}^{3}+1)^3-1}{B_{n}}\right)$$
Remember that the main theorem of the linked thread states that $k^{F_{2(n-3)}}B_{n}$ is an integer, where $F_{n}$ is the nth Fibonacci number.

Note that $L_{2n-4}=F_{2(n-1)}-F_{2(n-3)}$ and $k^{F_{2(n-1)}}=\frac{k^{F_{2n}}}{k^{F_{2n}-F_{2(n-1)}}}$

The original statement is equivalent to prove that the following expression is divisible by $k^{F_{2n}-F_{2(n-1)}}$:
$$\frac{k^{F_{2n}}B_{n-2}(B_{n+1}^3+1)}{k^{F_{2(n-3)}}B_{n}} - \frac{k^{F_{2n}}}{k^{F_{2(n-3)}}B_{n}}\left(\frac{(B_{n}^{3}+1)^3-1}{B_{n}}\right)$$A previous step in the proof is to prove that the expressions involved in the subtraction are integers.
The main result follows from the fact that the expressions $k^{F_{2n}}B_{n-2}B_{n+1}^{3}$ and $k^{F_{2n}}\left(\frac{(B_{n}^{3}+1)^3-1}{B_{n}}\right)$ leave the same remainder when divided by $k^{F_{2n}-F_{2(n-1)}}$ for every integer $n\geq 3$, and that $k^{F_{2(n-3)}}B_{n}$ is coprime with $k^{F_{2n}-F_{2(n-1)}}$.
Z K Y
N Quick Reply
G
H
=
a