Summer is a great time to explore cool problems to keep your skills sharp!  Schedule a class today!

G
Topic
First Poster
Last Poster
k a May Highlights and 2025 AoPS Online Class Information
jlacosta   0
May 1, 2025
May is an exciting month! National MATHCOUNTS is the second week of May in Washington D.C. and our Founder, Richard Rusczyk will be presenting a seminar, Preparing Strong Math Students for College and Careers, on May 11th.

Are you interested in working towards MATHCOUNTS and don’t know where to start? We have you covered! If you have taken Prealgebra, then you are ready for MATHCOUNTS/AMC 8 Basics. Already aiming for State or National MATHCOUNTS and harder AMC 8 problems? Then our MATHCOUNTS/AMC 8 Advanced course is for you.

Summer camps are starting next month at the Virtual Campus in math and language arts that are 2 - to 4 - weeks in duration. Spaces are still available - don’t miss your chance to have an enriching summer experience. There are middle and high school competition math camps as well as Math Beasts camps that review key topics coupled with fun explorations covering areas such as graph theory (Math Beasts Camp 6), cryptography (Math Beasts Camp 7-8), and topology (Math Beasts Camp 8-9)!

Be sure to mark your calendars for the following upcoming events:
[list][*]May 9th, 4:30pm PT/7:30pm ET, Casework 2: Overwhelming Evidence — A Text Adventure, a game where participants will work together to navigate the map, solve puzzles, and win! All are welcome.
[*]May 19th, 4:30pm PT/7:30pm ET, What's Next After Beast Academy?, designed for students finishing Beast Academy and ready for Prealgebra 1.
[*]May 20th, 4:00pm PT/7:00pm ET, Mathcamp 2025 Qualifying Quiz Part 1 Math Jam, Problems 1 to 4, join the Canada/USA Mathcamp staff for this exciting Math Jam, where they discuss solutions to Problems 1 to 4 of the 2025 Mathcamp Qualifying Quiz!
[*]May 21st, 4:00pm PT/7:00pm ET, Mathcamp 2025 Qualifying Quiz Part 2 Math Jam, Problems 5 and 6, Canada/USA Mathcamp staff will discuss solutions to Problems 5 and 6 of the 2025 Mathcamp Qualifying Quiz![/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
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
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, 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
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
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
Tuesday, May 6 - Aug 19
Wednesday, Jun 4 - Sep 17
Sunday, Jun 22 - Oct 19
Friday, Jul 18 - Nov 14

Introduction to Geometry
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

Paradoxes and Infinity
Mon, Tue, Wed, & Thurs, Jul 14 - Jul 16 (meets every day of the week!)

Intermediate: Grades 8-12

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

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

Intermediate Number Theory
Sunday, Jun 1 - Aug 24
Wednesday, Jun 18 - Sep 3

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

Advanced: Grades 9-12

Olympiad Geometry
Tuesday, Jun 10 - Aug 26

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

Group Theory
Thursday, Jun 12 - Sep 11

Contest Preparation: Grades 6-12

MATHCOUNTS/AMC 8 Basics
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
Sunday, May 11 - Aug 10
Tuesday, May 27 - Aug 12
Wednesday, Jun 11 - Aug 27
Sunday, Jun 22 - Sep 21
Tues & Thurs, Jul 8 - Aug 14 (meets twice a week!)

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

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

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

AMC 12 Final Fives
Sunday, May 18 - Jun 15

AIME Problem Series A
Thursday, May 22 - Jul 31

AIME Problem Series B
Sunday, Jun 22 - Sep 21

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

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


MathWOOT Level 1
MathWOOT Level 2
ChemWOOT
CodeWOOT
PhysicsWOOT

Programming

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

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

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

Physics

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

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

Relativity
Mon, Tue, Wed & Thurs, Jun 23 - Jun 26 (meets every day of the week!)
0 replies
jlacosta
May 1, 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
Looking for someone to work with
midacer   1
N 13 minutes ago by wipid98
I’m looking for a motivated study partner (or small group) to collaborate on college-level competition math problems, particularly from contests like the Putnam, IMO Shortlist, IMC, and similar. My goal is to improve problem-solving skills, explore advanced topics (e.g., combinatorics, NT, analysis), and prepare for upcoming competitions. I’m new to contests but have a strong general math background(CPGE in Morocco). If interested, reply here or DM me to discuss
1 reply
midacer
an hour ago
wipid98
13 minutes ago
USAMO 1983 Problem 2 - Roots of Quintic
Binomial-theorem   33
N an hour ago by SomeonecoolLovesMaths
Source: USAMO 1983 Problem 2
Prove that the roots of\[x^5 + ax^4 + bx^3 + cx^2 + dx + e = 0\] cannot all be real if $2a^2 < 5b$.
33 replies
Binomial-theorem
Aug 16, 2011
SomeonecoolLovesMaths
an hour ago
Isogonal Conjugates of Nagel and Gergonne Point
SerdarBozdag   4
N 2 hours ago by zuat.e
Source: http://math.fau.edu/yiu/Oldwebsites/Geometry2013Fall/Geometry2013Chapter12.pdf
Proposition 12.1.
(a) The isogonal conjugate of the Gergonne point is the insimilicenter of
the circumcircle and the incircle.
(b) The isogonal conjugate of the Nagel point is the exsimilicenter of the circumcircle and
the incircle.
Note: I need synthetic solution.
4 replies
SerdarBozdag
Apr 17, 2021
zuat.e
2 hours ago
Compact powers of 2
NO_SQUARES   1
N 2 hours ago by Isolemma
Source: 239 MO 2025 8-9 p3 = 10-11 p2
Let's call a power of two compact if it can be represented as the sum of no more than $10^9$ not necessarily distinct factorials of positive integer numbers. Prove that the set of compact powers of two is finite.
1 reply
NO_SQUARES
May 5, 2025
Isolemma
2 hours ago
Cute NT Problem
M11100111001Y1R   4
N 2 hours ago by RANDOM__USER
Source: Iran TST 2025 Test 4 Problem 1
A number \( n \) is called lucky if it has at least two distinct prime divisors and can be written in the form:
\[
n = p_1^{\alpha_1} + \cdots + p_k^{\alpha_k}
\]where \( p_1, \dots, p_k \) are distinct prime numbers that divide \( n \). (Note: it is possible that \( n \) has other prime divisors not among \( p_1, \dots, p_k \).) Prove that for every prime number \( p \), there exists a lucky number \( n \) such that \( p \mid n \).
4 replies
M11100111001Y1R
Today at 7:20 AM
RANDOM__USER
2 hours ago
USAMO 2003 Problem 4
MithsApprentice   72
N 2 hours ago by endless_abyss
Let $ABC$ be a triangle. A circle passing through $A$ and $B$ intersects segments $AC$ and $BC$ at $D$ and $E$, respectively. Lines $AB$ and $DE$ intersect at $F$, while lines $BD$ and $CF$ intersect at $M$. Prove that $MF = MC$ if and only if $MB\cdot MD = MC^2$.
72 replies
MithsApprentice
Sep 27, 2005
endless_abyss
2 hours ago
Easy but unusual junior ineq
Maths_VC   1
N 2 hours ago by blug
Source: Serbia JBMO TST 2025, Problem 2
Real numbers $x, y$ $\ge$ $0$ satisfy $1$ $\le$ $x^2 + y^2$ $\le$ $5$. Determine the minimal and the maximal value of the expression $2x + y$
1 reply
Maths_VC
3 hours ago
blug
2 hours ago
Bosnia and Herzegovina JBMO TST 2009 Problem 1
gobathegreat   1
N 2 hours ago by FishkoBiH
Source: Bosnia and Herzegovina Junior Balkan Mathematical Olympiad TST 2009
Lengths of sides of triangle $ABC$ are positive integers, and smallest side is equal to $2$. Determine the area of triangle $P$ if $v_c = v_a + v_b$, where $v_a$, $v_b$ and $v_c$ are lengths of altitudes in triangle $ABC$ from vertices $A$, $B$ and $C$, respectively.
1 reply
gobathegreat
Sep 17, 2018
FishkoBiH
2 hours ago
USAMO 2001 Problem 2
MithsApprentice   53
N 2 hours ago by lksb
Let $ABC$ be a triangle and let $\omega$ be its incircle. Denote by $D_1$ and $E_1$ the points where $\omega$ is tangent to sides $BC$ and $AC$, respectively. Denote by $D_2$ and $E_2$ the points on sides $BC$ and $AC$, respectively, such that $CD_2=BD_1$ and $CE_2=AE_1$, and denote by $P$ the point of intersection of segments $AD_2$ and $BE_2$. Circle $\omega$ intersects segment $AD_2$ at two points, the closer of which to the vertex $A$ is denoted by $Q$. Prove that $AQ=D_2P$.
53 replies
1 viewing
MithsApprentice
Sep 30, 2005
lksb
2 hours ago
A=b
k2c901_1   89
N 3 hours ago by reni_wee
Source: Taiwan 1st TST 2006, 1st day, problem 3
Let $a$, $b$ be positive integers such that $b^n+n$ is a multiple of $a^n+n$ for all positive integers $n$. Prove that $a=b$.

Proposed by Mohsen Jamali, Iran
89 replies
k2c901_1
Mar 29, 2006
reni_wee
3 hours ago
Strange angle condition and concyclic points
lminsl   129
N 3 hours ago by Aiden-1089
Source: IMO 2019 Problem 2
In triangle $ABC$, point $A_1$ lies on side $BC$ and point $B_1$ lies on side $AC$. Let $P$ and $Q$ be points on segments $AA_1$ and $BB_1$, respectively, such that $PQ$ is parallel to $AB$. Let $P_1$ be a point on line $PB_1$, such that $B_1$ lies strictly between $P$ and $P_1$, and $\angle PP_1C=\angle BAC$. Similarly, let $Q_1$ be the point on line $QA_1$, such that $A_1$ lies strictly between $Q$ and $Q_1$, and $\angle CQ_1Q=\angle CBA$.

Prove that points $P,Q,P_1$, and $Q_1$ are concyclic.

Proposed by Anton Trygub, Ukraine
129 replies
1 viewing
lminsl
Jul 16, 2019
Aiden-1089
3 hours ago
Simple inequality
sqing   12
N 3 hours ago by Rayvhs
Source: MEMO 2018 T1
Let $a,b$ and $c$ be positive real numbers satisfying $abc=1.$ Prove that$$\frac{a^2-b^2}{a+bc}+\frac{b^2-c^2}{b+ca}+\frac{c^2-a^2}{c+ab}\leq a+b+c-3.$$
12 replies
sqing
Sep 2, 2018
Rayvhs
3 hours ago
Random concyclicity in a square config
Maths_VC   2
N 3 hours ago by Maths_VC
Source: Serbia JBMO TST 2025, Problem 1
Let $M$ be a random point on the smaller arc $AB$ of the circumcircle of square $ABCD$, and let $N$ be the intersection point of segments $AC$ and $DM$. The feet of the tangents from point $D$ to the circumcircle of the triangle $OMN$ are $P$ and $Q$ , where $O$ is the center of the square. Prove that points $A$, $C$, $P$ and $Q$ lie on a single circle.
2 replies
Maths_VC
3 hours ago
Maths_VC
3 hours ago
Serbian selection contest for the IMO 2025 - P3
OgnjenTesic   3
N 3 hours ago by atdaotlohbh
Source: Serbian selection contest for the IMO 2025
Find all functions $f : \mathbb{Z} \to \mathbb{Z}$ such that:
- $f$ is strictly increasing,
- there exists $M \in \mathbb{N}$ such that $f(x+1) - f(x) < M$ for all $x \in \mathbb{N}$,
- for every $x \in \mathbb{Z}$, there exists $y \in \mathbb{Z}$ such that
\[
            f(y) = \frac{f(x) + f(x + 2024)}{2}.
        \]Proposed by Pavle Martinović
3 replies
OgnjenTesic
May 22, 2025
atdaotlohbh
3 hours ago
A number theory problem from the British Math Olympiad
Rainbow1971   13
N Apr 3, 2025 by ektorasmiliotis
Source: British Math Olympiad, 2006/2007, round 1, problem 6
I am a little surprised to find that I am (so far) unable to solve this little problem:

[quote]Let $n$ be an integer. Show that, if $2 + 2 \sqrt{1+12n^2}$ is an integer, then it is a perfect square.[/quote]

I set $k := \sqrt{1+12n^2}$. If $2 + 2 \sqrt{1+12n^2}$ is an integer, then $k (=\sqrt{1+12n^2})$ is at least rational, so that $1 + 12n^2$ must be a perfect square then. Using Conway's topograph method, I have found out that the smallest non-negative pairs $(n, k)$ for which this happens are $(0,1), (2,7), (28,97)$ and $(390, 1351)$, and that, for every such pair $(n,k)$, the "next" such pair can be calculated as
$$
\begin{bmatrix}
7 & 2 \\
24 & 7 
\end{bmatrix} \begin{bmatrix}
n \\
k 
\end{bmatrix}
.$$The eigenvalues of that matrix are irrational, however, so that any calculation which uses powers of that matrix is a little cumbersome. There must be an easier way, but I cannot find it. Can you?

Thank you.




13 replies
Rainbow1971
Mar 28, 2025
ektorasmiliotis
Apr 3, 2025
A number theory problem from the British Math Olympiad
G H J
G H BBookmark kLocked kLocked NReply
Source: British Math Olympiad, 2006/2007, round 1, problem 6
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Rainbow1971
35 posts
#1
Y by
I am a little surprised to find that I am (so far) unable to solve this little problem:
Quote:
Let $n$ be an integer. Show that, if $2 + 2 \sqrt{1+12n^2}$ is an integer, then it is a perfect square.

I set $k := \sqrt{1+12n^2}$. If $2 + 2 \sqrt{1+12n^2}$ is an integer, then $k (=\sqrt{1+12n^2})$ is at least rational, so that $1 + 12n^2$ must be a perfect square then. Using Conway's topograph method, I have found out that the smallest non-negative pairs $(n, k)$ for which this happens are $(0,1), (2,7), (28,97)$ and $(390, 1351)$, and that, for every such pair $(n,k)$, the "next" such pair can be calculated as
$$
\begin{bmatrix}
7 & 2 \\
24 & 7 
\end{bmatrix} \begin{bmatrix}
n \\
k 
\end{bmatrix}
.$$The eigenvalues of that matrix are irrational, however, so that any calculation which uses powers of that matrix is a little cumbersome. There must be an easier way, but I cannot find it. Can you?

Thank you.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
vsamc
3789 posts
#2 • 1 Y
Y by centslordm
Try to write the general solution $(n, k)$ using pell equation theory, and then consider $2+2k$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Rainbow1971
35 posts
#3
Y by
Thank you for your suggestion. I am aware that there is a Pell equation here, but I am not sure if I can make any progress using the corresponding theory. That theory also tells us how to generate further solutions from a given solution, in a way that is quite parallel to the matrix-vector multiplication in my post. I cannot see anything beyond that which would be helpful.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
pooh123
75 posts
#4 • 1 Y
Y by Rainbow1971
The solution is surprisingly simple:

Let \( 2 + 2\sqrt{1+12n^2} = 2m \) (because it is even), where \( m \) is a positive integer.

Dividing both sides by 2 and subtracting 1 from both sides, we get

\[
m - 1 = \sqrt{1+12n^2}
\]
Squaring both sides, we get

\[
(m-1)^2 = 1 + 12n^2
\]
so

\[
12n^2 = m(m-2).
\]
Since the left side is even, \( m \) is even. Let \( m = 2k \), where \( k \) is a positive integer.

The equation becomes

\[
12n^2 = 2k(2k-2)
\]
or

\[
3n^2 = k(k-1).
\]
Since \( (k, k-1) = 1 \) and the left side is divisible by 3, exactly one of \( k \) and \( k-1 \) is divisible by 3.

We consider two cases:

Case 1: \( k \) is divisible by 3, so \( k-1 \) is a square, which is impossible because \( k-1 \equiv 2 \pmod{3} \).

Case 2: \( k-1 \) is divisible by 3, so \( k \) is a square. Let \( k = t^2 \), where \( t \) is a positive integer.

Then \[2 + 2\sqrt{1+12n^2} = 2m = 4k = (2t)^2\], which is a square.
This post has been edited 1 time. Last edited by pooh123, Mar 29, 2025, 1:49 PM
Reason: Typo
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
ektorasmiliotis
110 posts
#5
Y by
another problem from a competition called Kurshak(i think)
if 2 + 2sqrt(28n^2+1) is integer,show that is a perfect square
i solved it with pell,i think its the same with this problem
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Rainbow1971
35 posts
#6
Y by
Thank you, pooh123, your solution is indeed a nice one! A question to ektorasmiliotis: What exactly do you mean by "I solved it with pell"?
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
ektorasmiliotis
110 posts
#7
Y by
Rainbow1971 wrote:
Thank you, pooh123, your solution is indeed a nice one! A question to ektorasmiliotis: What exactly do you mean by "I solved it with pell"?

using pell's equation : https://en.wikipedia.org/wiki/Pell%27s_equation
for your exercise :
M=2+2sqrt(12n^2+1)
so sqrt(12n^2+1)=M/2 -1, Set X= M/2 -1
X^2-12n^2=1 with (Xo,No)=(7,2)
So Xn=1/2(((7+2sqrt(12))^n +(7-2sqrt(12))^n)
see that 7+2sqrt(12)=(2+sqrt(3))^2 ........
M=((2+sqrt(3))^n+(2-3sqrt(3))^n)^2,so M is always a perfect square by Binomial theorem
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Rainbow1971
35 posts
#8
Y by
Thank you for the clarification. There is one line in it which surprises me:

$$X_n=\tfrac{1}{2} \big( (7+2\sqrt{12})^n + (7-2\sqrt{12})^n)\big).$$
I did not know that it is so easy to calculate (the first component of) the $n$th solution pair, particularly without recursion, and I cannot find any remark in that direction in the Wikipedia article. However, numerical calculation confirms your claim. Can you give me a source that would explain the line above?
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
vsamc
3789 posts
#9 • 1 Y
Y by centslordm
I'm surprised you knew about Conway's topograph method but not the general formula. If $d > 1$ is squarefree, and $x^2 -dy^2 = 1$ has primitive (meaning "smallest", based on, say, $x$) solution $(x_1, y_1)$ in positive integers, then the $n$'th largest solution $(x_n, y_n)$ satisfies $x_n + y_n\sqrt{d} = (x_1+y_1\sqrt{d})^n$. The reason this even works is because $x^2-dy^2 = (x+y\sqrt{d})(x-y\sqrt{d})$, so $(x_n+y_n\sqrt{d})(x_n-y_n\sqrt{d}) = (x_1+y_1\sqrt{d})^n(x_1-y_1\sqrt{d})^n = (x_1^2-dy_1^2)^n = 1$. You can find the proof that this is all solutions on wikepedia (sketch: multiply a solution $x+y\sqrt{d}$ by $x_1-y_1\sqrt{d}$ and induct down)
This post has been edited 1 time. Last edited by vsamc, Mar 29, 2025, 6:55 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Rainbow1971
35 posts
#10
Y by
Lots of surprises in this thread... Thank you, vsamc. You mention that
$$x_n + y_n\sqrt{d} = (x_1+y_1\sqrt{d})^n,$$which is fine, but calculating $x_n$ still seems to require expanding the right-hand side of the equation and collecting the terms that are free of square roots. ektorasmiliotis, however, mentioned a way to calculate $x_n$ directly. Maybe ektorasmiliotis' method follows from what you, vsamc, wrote, but so far I don't see that...
This post has been edited 1 time. Last edited by Rainbow1971, Mar 29, 2025, 7:11 PM
Reason: minor error
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
vsamc
3789 posts
#11 • 2 Y
Y by Rainbow1971, centslordm
$x_n + y_n\sqrt{d} = (x_1+y_1\sqrt{d})^n$, it follows by taking the "radical conjugate" of both sides that
$x_n - y_n\sqrt{d} = (x_1-y_1\sqrt{d})^n$
so $x_n = \frac{(x_1+y_1\sqrt{d})^n + (x_1-y_1\sqrt{d})^n)}{2}$ and $y_n = \frac{(x_1+y_1\sqrt{d})^n - (x_1-y_1\sqrt{d})^n}{2\sqrt{d}}$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Rainbow1971
35 posts
#12
Y by
Ah, now I see the connection. Thanks a lot.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
ektorasmiliotis
110 posts
#13
Y by
vsamc wrote:
I'm surprised you knew about Conway's topograph method but not the general formula. If $d > 1$ is squarefree, and $x^2 -dy^2 = 1$ has primitive (meaning "smallest", based on, say, $x$) solution $(x_1, y_1)$ in positive integers, then the $n$'th largest solution $(x_n, y_n)$ satisfies $x_n + y_n\sqrt{d} = (x_1+y_1\sqrt{d})^n$. The reason this even works is because $x^2-dy^2 = (x+y\sqrt{d})(x-y\sqrt{d})$, so $(x_n+y_n\sqrt{d})(x_n-y_n\sqrt{d}) = (x_1+y_1\sqrt{d})^n(x_1-y_1\sqrt{d})^n = (x_1^2-dy_1^2)^n = 1$. You can find the proof that this is all solutions on wikepedia (sketch: multiply a solution $x+y\sqrt{d}$ by $x_1-y_1\sqrt{d}$ and induct down)

and the primitive solution is not (1,0),(-1,0)
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
ektorasmiliotis
110 posts
#14
Y by
another solution ,it's much easier i think..

sqrt(12n^2+1)=2k+1
12n^2+1=4k^2+4k+1
3n^2=k(k+1) but (k,k+1)=1
1)if k=x^2 and k+1=3y^2,then x^2-3y^2=-1 and we use mod 4,no solutions
2)if k=b^2 and k+1=a^2
M=2+2sqrt(12n^2+1)=2 +2(2k+1)=2 +4k +2=4(k+1)=4a^2=(2a)^2

**I just saw post 4, we have similar solutions.
This post has been edited 1 time. Last edited by ektorasmiliotis, Apr 3, 2025, 8:30 AM
Z K Y
N Quick Reply
G
H
=
a