Stay ahead of learning milestones! Enroll in a class over the summer!

G
Topic
First Poster
Last Poster
k a April Highlights and 2025 AoPS Online Class Information
jlacosta   0
Apr 2, 2025
Spring is in full swing and summer is right around the corner, what are your plans? At AoPS Online our schedule has new classes starting now through July, so be sure to keep your skills sharp and be prepared for the Fall school year! Check out the schedule of upcoming classes below.

WOOT early bird pricing is in effect, don’t miss out! If you took MathWOOT Level 2 last year, no worries, it is all new problems this year! Our Worldwide Online Olympiad Training program is for high school level competitors. AoPS designed these courses to help our top students get the deep focus they need to succeed in their specific competition goals. Check out the details at this link for all our WOOT programs in math, computer science, chemistry, and physics.

Looking for summer camps in math and language arts? Be sure to check out the video-based summer camps offered at the Virtual Campus that are 2- to 4-weeks in duration. 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 events:
[list][*]April 3rd (Webinar), 4pm PT/7:00pm ET, Learning with AoPS: Perspectives from a Parent, Math Camp Instructor, and University Professor
[*]April 8th (Math Jam), 4:30pm PT/7:30pm ET, 2025 MATHCOUNTS State Discussion
April 9th (Webinar), 4:00pm PT/7:00pm ET, Learn about Video-based Summer Camps at the Virtual Campus
[*]April 10th (Math Jam), 4:30pm PT/7:30pm ET, 2025 MathILy and MathILy-Er Math Jam: Multibackwards Numbers
[*]April 22nd (Webinar), 4:00pm PT/7:00pm ET, Competitive Programming at AoPS (USACO).[/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, 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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Apr 2, 2025
0 replies
Inspired by lgx57
sqing   6
N 4 minutes ago by sqing
Source: Own
Let $ a,b\geq 0 $ and $\frac{1}{a^2+b}+\frac{1}{b^2+a}=1.  $ Prove that
$$a^2+b^2-a-b\leq 1$$$$a^3+b^3-a-b\leq \frac{3+\sqrt 5}{2}$$$$a^3+b^3-a^2-b^2\leq \frac{1+\sqrt 5}{2}$$
6 replies
sqing
an hour ago
sqing
4 minutes ago
Arithmetic progression
BR1F1SZ   2
N 10 minutes ago by NicoN9
Source: 2025 CJMO P1
Suppose an infinite non-constant arithmetic progression of integers contains $1$ in it. Prove that there are an infinite number of perfect cubes in this progression. (A perfect cube is an integer of the form $k^3$, where $k$ is an integer. For example, $-8$, $0$ and $1$ are perfect cubes.)
2 replies
BR1F1SZ
Mar 7, 2025
NicoN9
10 minutes ago
Number Theory Chain!
JetFire008   51
N 19 minutes ago by Primeniyazidayi
I will post a question and someone has to answer it. Then they have to post a question and someone else will answer it and so on. We can only post questions related to Number Theory and each problem should be more difficult than the previous. Let's start!

Question 1
51 replies
JetFire008
Apr 7, 2025
Primeniyazidayi
19 minutes ago
Injective arithmetic comparison
adityaguharoy   1
N 37 minutes ago by Mathzeus1024
Source: Own .. probably own
Show or refute :
For every injective function $f: \mathbb{N} \to \mathbb{N}$ there are elements $a,b,c$ in an arithmetic progression in the order $a<b<c$ such that $f(a)<f(b)<f(c)$ .
1 reply
1 viewing
adityaguharoy
Jan 16, 2017
Mathzeus1024
37 minutes ago
IMC 2018 P1
ThE-dArK-lOrD   3
N 3 hours ago by Fibonacci_math
Source: IMC 2018 P1
Let $(a_n)_{n=1}^{\infty}$ and $(b_n)_{n=1}^{\infty}$ be two sequences of positive numbers. Show that the following statements are equivalent:
[list=1]
[*]There is a sequence $(c_n)_{n=1}^{\infty}$ of positive numbers such that $\sum_{n=1}^{\infty}{\frac{a_n}{c_n}}$ and $\sum_{n=1}^{\infty}{\frac{c_n}{b_n}}$ both converge;[/*]
[*]$\sum_{n=1}^{\infty}{\sqrt{\frac{a_n}{b_n}}}$ converges.[/*]
[/list]

Proposed by Tomáš Bárta, Charles University, Prague
3 replies
ThE-dArK-lOrD
Jul 24, 2018
Fibonacci_math
3 hours ago
Infinite series involving tau function
bakkune   1
N 3 hours ago by Safal
For each positive integer $n$, let $\tau(n)$ be the number of positive divisors of $n$. Evaluate
$$
\sum_{n=1}^{+\infty} (-1)^n \frac{\tau(n)}{n}
$$
1 reply
bakkune
Today at 4:35 AM
Safal
3 hours ago
two solutions
τρικλινο   4
N 5 hours ago by Safal
in a book:CORE MATHS for A-LEVEL ON PAGE 41 i found the following


1st solution


$x^2-5x=0$



$ x(x-5)=0$



hence x=0 or x=5



2nd solution



$x^2-5x=0$

$x-5=0$ dividing by x



hence the solution x=0 has been lost



is the above correct?
4 replies
τρικλινο
Yesterday at 6:20 PM
Safal
5 hours ago
high school math
aothatday   5
N Today at 3:32 AM by aothatday
Let $x_n$ be a positive root of the equation $x_n^n=x^2+x+1$. Prove that the following sequence converges: $n^2(x_n-x_{ n+1})$
5 replies
aothatday
Apr 10, 2025
aothatday
Today at 3:32 AM
Putnam 2003 B1
btilm305   13
N Today at 12:08 AM by clarkculus
Do there exist polynomials $a(x)$, $b(x)$, $c(y)$, $d(y)$ such that \[1 + xy + x^2y^2= a(x)c(y) + b(x)d(y)\] holds identically?
13 replies
btilm305
Jun 23, 2011
clarkculus
Today at 12:08 AM
High School Integration Extravaganza Problem Set
Riemann123   12
N Yesterday at 5:20 PM by jkim0656
Source: River Hill High School Spring Integration Bee
Hello AoPS!

Along with user geodash2, I have organized another high-school integration bee (River Hill High School Spring Integration Bee) and wanted to share the problems!

We had enough folks for two concurrent rooms, hence the two sets. (ARML kids from across the county came.)

Keep in mind that these integrals were written for a high-school contest-math audience. I hope you find them enjoyable and insightful; enjoy!


[center]Warm Up Problems[/center]
\[
\int_{1}^{2} \frac{x^{3}+x^2}{x^5}dx
\]\[\int_{2025}^{2025^{2025}}\frac{1}{\ln\left(2025\right)\cdot x}dx\]\[
\int(\sin^2(x)+\cos^2(x)+\sec^2(x)+\csc^2(x))dx
\]\[
\int_{-2025.2025}^{2025.2025}\sin^{2025}(2025x)\cos^{2025}(2025x)dx
\]\[
    \int_{\frac \pi 6}^{\frac \pi 3} \tan(\theta)^2d\theta
\]\[
\int  \frac{1+\sqrt{t}}{1+t}dt
\]-----
[center]Easier Division Set 1[/center]
\[\int \frac{x^{2}+2x+1}{x^{3}+3x^{2}+3x+3}dx
\]\[\int_{0}^{\frac{3\pi}{2}}\left(\frac{\pi}{2}-x\right)\sin\left(x\right)dx\]\[
\int_{-\pi/2}^{\pi/2}x^3e^{-x^2}\cos(x^2)\sin^2(x)dx
\]\[
\int\frac{1}{\sqrt{12-t^{2}+4t}}dt
\]\[
\int \frac{\sqrt{e^{8x}}}{e^{8x}-1}dx
\]-----
[center]Easier Division Set 2[/center]
\[
\int \frac{e^x}{e^{2x}+1} dx
\]\[
\int_{-5}^5\sqrt{25-u^2}du
\]\[
\int_{-\frac12}^\frac121+x+x^2+x^3\ldots dx
\]\[\int \cos(\cos(\cos(\ln \theta)))\sin(\cos(\ln \theta))\sin(\ln \theta)\frac{1}{\theta}d\theta\]\[\int_{0}^{\frac{1}{6}}\frac{8^{2x}}{64^{2x}-8^{\left(2x+\frac{1}{3}\right)}+2}dx\]-----
[center]Harder Division Set 1[/center]
\[\int_{0}^{\frac{\pi}{2}}\frac{\sin\left(x\right)}{\sin\left(x\right)+\cos\left(x\right)}+\frac{\sin\left(\frac{\pi}{2}-x\right)}{\sin\left(\frac{\pi}{2}-x\right)+\cos\left(\frac{\pi}{2}-x\right)}dx\]\[
\int_0^{\infty}e^{-x}\Bigl(\cos(20x)+\sin(20x)\Bigr) dx
\]\[
\lim_{n\to \infty}\frac{1}{n}\int_{1}^{n}\sin(nt)^2dt
\]\[
\int_{x=0}^{x=1}\left( \int_{y=-x}^{y=x} \frac{y^2}{x^2+y^2}dy\right)dx
\]\[
\int_{0}^{13}\left\lceil\log_{10}\left(2^{\lceil x\rceil }x\right)\right\rceil dx
\]-----
[center]Harder Division Set 2[/center]
\[
\int \frac{6x^2}{x^6+2x^3+2}dx
\]\[
\int -\sin(2\theta)\cos(\theta)d\theta
\]\[
\int_{0}^{5}\sin(\frac{\pi}2 \lfloor{x}\rfloor x) dx
\]\[
\int_{0}^{1} \frac{\sin^{-1}(\sqrt{x})^2}{\sqrt{x-x^2}}dx
\]\[
\int\left(\cot(\theta)+\tan(\theta)\right)^2\cot(2\theta)^{100}d\theta
\]-----
[center]Bonanza Round (ie Fun/Hard/Weird Problems) (In No Particular Order)[/center]
\[
\int \ln\left\{\sqrt[7]{x}^\frac1{\ln\left\{\sqrt[5]{x}^\frac1{\ln\left\{\sqrt[3]{x}^\frac1{\ln\left\{\sqrt{x}\right\}}\right\}}\right\}}\right\}dx
\]\[\int_{1}^{{e}^{\pi}} \cos(\ln(\sqrt{u}))du\]\[
\int_e^{\infty}\frac {1-x\ln{x}}{xe^x}dx
\]\[\int_{0}^{1}\frac{e^{x}}{\left(x^{2}+3x+2\right)^{\frac{1}{2^{1}}}}\times\frac{e^{-\frac{x^{2}}{2}}}{\left(x^{2}+3x+2\right)^{\frac{1}{2^{2}}}}\times\frac{e^{\frac{x^{3}}{3}}}{\left(x^{2}+3x+2\right)^{\frac{1}{2^{3}}}}\times\frac{e^{-\frac{x^{4}}{4}}}{\left(x^{2}+3x+2\right)^{\frac{1}{2^{4}}}} \ldots \,dx\]
For $x$ on the domain $-0.2025\leq x\leq 0.2025$ it is known that \[\displaystyle f(x)=\sin\left(\int_{0}^x \sqrt[3]{\cos\left(\frac{\pi}{2} t\right)^3+26}\ dt\right)\]is invertible. What is $\displaystyle (f^{-1})'(0)$?
12 replies
Riemann123
Friday at 2:11 PM
jkim0656
Yesterday at 5:20 PM
limiting behavior of the generalization of IMO 1968/6 for arbitrary powers
revol_ufiaw   1
N Yesterday at 3:17 PM by alexheinis
Source: inspired by IMO 1968/6
Define $f : \mathbb{N} \rightarrow \mathbb{N}$ by
\[f(n) = \sum_{i\ge 0} \bigg\lfloor \frac{n + a^i}{a^{i+1}}\bigg\rfloor=\bigg\lfloor \frac{n + 1}{a} \bigg\rfloor + \bigg\lfloor \frac{n + a}{a^2} \bigg\rfloor + \bigg\lfloor \frac{n + a^2}{a^3} \bigg\rfloor + \cdots\]for some fixed $a \in \mathbb{N}$. Prove that
\[\lim_{n \rightarrow \infty} \frac{f(n)}{n/(a-1)} = 1.\]
[P.S.: IMO 1968/6 asks to prove $f(n) = n$ for $a = 2$.]
1 reply
revol_ufiaw
Yesterday at 1:43 PM
alexheinis
Yesterday at 3:17 PM
Putnam 2015 B4
Kent Merryfield   22
N Yesterday at 2:58 PM by lpieleanu
Let $T$ be the set of all triples $(a,b,c)$ of positive integers for which there exist triangles with side lengths $a,b,c.$ Express \[\sum_{(a,b,c)\in T}\frac{2^a}{3^b5^c}\]as a rational number in lowest terms.
22 replies
Kent Merryfield
Dec 6, 2015
lpieleanu
Yesterday at 2:58 PM
A real analysis Problem from contest
Safal   2
N Yesterday at 11:17 AM by Safal
Source: Random.
Let $f: (0,\infty)\rightarrow \mathbb{R}$ be a function such that $$\lim_{x\rightarrow \infty} f(x)=1$$and $$f(x+1)=f(x)$$for all $x\in (0,\infty)$

Prove or disprove the following statements.

1.$f$ is continuous.
2.$f$ is bounded.

Is My Idea correct?
2 replies
Safal
Yesterday at 8:34 AM
Safal
Yesterday at 11:17 AM
maximal determinant
EthanWYX2009   4
N Yesterday at 10:59 AM by loup blanc
Source: 2023 Aug taca-9
Let matrix
\[A=\begin{bmatrix} 1&1&1&1&1\\1&-1&1&-1&1\\?&?&?&?&?\\?&?&?&?&?\\?&?&?&?&?\end{bmatrix}\in\mathbb R^{5\times 5}\]satisfy $\text{tr} (AA^T)=28.$ Determine the maximum value of $\det A.$
4 replies
EthanWYX2009
Apr 9, 2025
loup blanc
Yesterday at 10:59 AM
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
31 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
3787 posts
#2
Y by
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
31 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
16 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
102 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
31 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
102 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
31 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
3787 posts
#9
Y by
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
31 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
3787 posts
#11 • 1 Y
Y by Rainbow1971
$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
31 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
102 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
102 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