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
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
COS(Matrix)
FFA21   0
2 hours ago
Source: My head
1)Let $A\in M_{2\times 2}$ what is range of values of $cos(A)$
$cos(A)=\sum _{n=0}^{\infty }{\frac {(-1)^{n}}{(2n)!}}X^{2n}$
2) Let $A\in M_{n\times n}$ what is range of values of $cos(A)$
0 replies
FFA21
2 hours ago
0 replies
A very simple question about calculus for middle school students
Craftybutterfly   9
N 2 hours ago by Craftybutterfly
Source: own
$\lim_{x \to 8} \frac{2x^2+13x+6}{x^2+14x+48}=$ ? (there is an easy workaround)
(I know this is very easy- a kindergartener can solve this in 1 second kinda problem so don't argue or mock me please)
9 replies
Craftybutterfly
Yesterday at 7:41 AM
Craftybutterfly
2 hours ago
Maximize Weighted Sum of Geometric Means
holahello   6
N 2 hours ago by watery
Let $a_1,a_2,\dots$ be a sequence of nonnegative real numbers whose sum is $1$. Find the maximum possible value of $$\sum_{k=1}^\infty \left(k\cdot (3k+2) \cdot 2^{-k} \cdot \sqrt[k]{a_1a_2\dots a_k}\right).$$
6 replies
holahello
Feb 17, 2025
watery
2 hours ago
Distribution of prime numbers
Rainbow1971   3
N 3 hours ago by Rainbow1971
Could anybody possibly prove that the limit of $$(\frac{p_n}{p_n + p_{n-1}})$$is $\tfrac{1}{2}$, maybe even with rather elementary means? As usual, $p_n$ denotes the $n$-th prime number. The problem of that limit came up in my partial solution of this problem: https://artofproblemsolving.com/community/c7h3495516.

Thank you for your efforts.
3 replies
Rainbow1971
Yesterday at 7:24 PM
Rainbow1971
3 hours ago
Linear recurrence fits with factorial finitely often
Assassino9931   2
N Today at 8:12 AM by Assassino9931
Source: Bulgaria Balkan MO TST 2025
Let $k\geq 3$ be an integer. The sequence $(a_n)_{n\geq 1}$ is defined via $a_1 = 1$, $a_2 = k$ and
\[ a_{n+2} = ka_{n+1} + a_n \]for any positive integer $n$. Prove that there are finitely many pairs $(m, \ell)$ of positive integers such that $a_m = \ell!$.
2 replies
Assassino9931
Yesterday at 10:25 PM
Assassino9931
Today at 8:12 AM
Rational Number Theory
Olympiadium   11
N Yesterday at 1:15 PM by whwlqkd
Source: KJMO 2022 P8
Find all pairs $(x, y)$ of rational numbers such that $$xy^2=x^2+2x-3$$
11 replies
Olympiadium
Oct 29, 2022
whwlqkd
Yesterday at 1:15 PM
Stereotypical Diophantine Equation
Mathdreams   2
N Apr 6, 2025 by grupyorum
Source: 2025 Nepal Mock TST Day 2 Problem 1
Find all solutions in the nonnegative integers to $2^a3^b5^c7^d - 1 = 11^e$.

(Shining Sun, USA)
2 replies
Mathdreams
Apr 6, 2025
grupyorum
Apr 6, 2025
An easy 3 variable equation
BarisKoyuncu   6
N Apr 4, 2025 by Burak0609
Source: Turkey National Mathematical Olympiad 2022 P4
For which real numbers $a$, there exist pairwise different real numbers $x, y, z$ satisfying
$$\frac{x^3+a}{y+z}=\frac{y^3+a}{x+z}=\frac{z^3+a}{x+y}= -3.$$
6 replies
BarisKoyuncu
Dec 23, 2022
Burak0609
Apr 4, 2025
Junior Balkan Mathematical Olympiad 2024- P3
Lukaluce   13
N Apr 3, 2025 by EVKV
Source: JBMO 2024
Find all triples of positive integers $(x, y, z)$ that satisfy the equation

$$2020^x + 2^y = 2024^z.$$
Proposed by Ognjen Tešić, Serbia
13 replies
Lukaluce
Jun 27, 2024
EVKV
Apr 3, 2025
solve in Z: xy = 3 (x+y)-1
parmenides51   5
N Mar 31, 2025 by fruitmonster97
Source: Greece JBMO TST 2008 p4
Product of two integers is $1$ less than three times of their sum. Find those integers.
5 replies
parmenides51
Apr 29, 2019
fruitmonster97
Mar 31, 2025
Israel Number Theory
mathisreaI   62
N Mar 31, 2025 by cursed_tangent1434
Source: IMO 2022 Problem 5
Find all triples $(a,b,p)$ of positive integers with $p$ prime and \[ a^p=b!+p. \]
62 replies
mathisreaI
Jul 13, 2022
cursed_tangent1434
Mar 31, 2025
Hard number theory
Hip1zzzil   13
N Mar 30, 2025 by Hip1zzzil
Source: FKMO 2025 P6
Positive integers $a, b$ satisfy both of the following conditions.
For a positive integer $m$, if $m^2 \mid ab$, then $m = 1$.
There exist integers $x, y, z, w$ that satisfies the equation $ax^2 + by^2 = z^2 + w^2$ and $z^2 + w^2 > 0$.
Prove that there exist integers $x, y, z, w$ that satisfies the equation $ax^2 + by^2 + n = z^2 + w^2$, for each integer $n$.
13 replies
Hip1zzzil
Mar 30, 2025
Hip1zzzil
Mar 30, 2025
weird looking system of equations
Valentin Vornicu   37
N Mar 30, 2025 by deduck
Source: USAMO 2005, problem 2, Razvan Gelca
Prove that the system \begin{align*}
x^6+x^3+x^3y+y & = 147^{157} \\
x^3+x^3y+y^2+y+z^9 & = 157^{147}
\end{align*} has no solutions in integers $x$, $y$, and $z$.
37 replies
Valentin Vornicu
Apr 21, 2005
deduck
Mar 30, 2025
k Factorials, Sum of Powers, Diophantine Equations,
John_Mgr   3
N Mar 27, 2025 by John_Mgr
Source: Nepal NMO 2025 p4
Find all the pairs of positive integers $n$ and $x$ such that: \[1^n+2^n+3^n+\cdots +n^n=x!\]
$Petko$ $Lazarov, Bulgaria$
3 replies
John_Mgr
Mar 15, 2025
John_Mgr
Mar 27, 2025
Putnam 2000 A2
ahaanomegas   15
N Apr 5, 2025 by Levieee
Prove that there exist infinitely many integers $n$ such that $n$, $n+1$, $n+2$ are each the sum of the squares of two integers. [Example: $0=0^2+0^2$, $1=0^2+1^2$, $2=1^2+1^2$.]
15 replies
ahaanomegas
Sep 6, 2011
Levieee
Apr 5, 2025
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
ahaanomegas
6294 posts
#1 • 2 Y
Y by Adventure10, Mango247
Prove that there exist infinitely many integers $n$ such that $n$, $n+1$, $n+2$ are each the sum of the squares of two integers. [Example: $0=0^2+0^2$, $1=0^2+1^2$, $2=1^2+1^2$.]
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Kent Merryfield
18574 posts
#2 • 5 Y
Y by qbaonguyen, Binomial-theorem, Adventure10, Mango247, and 1 other user
There are many different ways of generating an infinite family of solutions to this system of quadratic Diophantine equations. One possibility would be to find numbers $a$ and $b$ such that $2a^2 + 1 = b^2.$ Given such numbers we can let $n = a^2 + a^2, n + 1 = b^2+ 0^2, n + 2 = b^2 + 1^2 $. Such numbers $a$ and $b$ render $\frac ba$ as a rational approximation of $\sqrt{2}  .$ Here is a scheme for generating such numbers: Let $a_0= 1, b_0 = 1,$ and after that, $a_{k+1}= a_k + b_k$ and $b_{k+1}= 2a_k + b_k.$ We claim that for these sequences, $2a_k^2- b_k^2 = (-1)^k.$ We prove this claim by induction. It is clearly true for
$k = 0.$ After that,
\begin{align*}2a_{k+1}^2 - b_{k+1}^2 &= 2(a_k + b_k)^2 - (2a_k + b_k)^2\\
&=  2a_k^2 + 4a_kb_k + 2b_k^2 - 4a_k^2 - 4a_kb_k - b_k^2\\
&=  -(2a_k^2 - b_k^2) = -(-1)^k = (-1)^{k+1}\end{align*}
Since we wanted $2a^2 - b^2$ to be $-1$ rather than $+1,$ we take $a_{2k+1}$ and $b_{2k+1}.$ This gives us the following first few $(a, b)$ pairs: $(2, 3), (12, 17), (70, 99),$ giving rise to these $(n, n + 1, n +  2)$ triples: $(8, 9, 10), (288, 289, 290), (9800, 9801, 9802).$ This does, as required, give us an infinite list of solutions. It is very far from exhaustive, as is shown by the following list of the first 10 solution triples: $(0, 1, 2),$ $(8, 9, 10),$ $(16, 17, 18),$ $(72, 73, 74),$ $(80, 81, 82), (144, 145, 146),$ $(232, 233, 234),$ $(288, 289, 290),$ $(360, 361, 362),$ $(520, 521, 522).$

There are plenty of completely different proofs possible. One side thing that can be proved: all such $n$ are equivalent to $0,8,$ or $16$ $\mod{72}.$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Kent Merryfield
18574 posts
#3 • 4 Y
Y by Saint123, Adventure10, Mango247, and 1 other user
Here's a different infinite family, geared towards putting an odd perfect square in the middle. Call it a generalization of the $(80, 81, 82)$ case.

For positive integer $k,$ let $n=2^{4k-2}+2^{2k}.$ Clearly $n$ is the sum of two squares. Then $n+1=(2^{2k-1}+1)^2$ so $n+1=a^2+0$ and $n+2=a^2+1$ for $a=2^{2k-1}+1.$ This gives us $(8,9,10),(80,81,82),(1088,1089,1090)$ and so on.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
mavropnevma
15142 posts
#4 • 3 Y
Y by Vietjung, Adventure10, Mango247
Kent Merryfield wrote:
One possibility would be to find numbers $a$ and $b$ such that $2a^2 + 1 = b^2.$
So we have the Pell equation $b^2 - 2a^2 = 1$, of primitive solution $b_1 = 3$, $a_1 = 2$. Then we have the general solution $b_n + a_n\sqrt{2} = (3+2\sqrt{2})^n$, with the recurrence relation(s) $b_{n+1} = 3b_n + 4a_n$, $a_{n+1} = 2b_n + 3a_n$. Both sequences satisfy the linear recurrence of characteristic polynomial $\lambda^2 - 6\lambda + 1 = 0$.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
atomicwedgie
1195 posts
#5 • 2 Y
Y by qbaonguyen, Adventure10
Wouldn't it just be easier to suppose that there exists an integer $k$ such that $k^2 - 1$ is the sum of two squares, and furthermore, say that there is an integer $x$ such that $k^2 - 1 = (k-1)^2 + x^2$. Thus $k = \frac{x^2}{2} + 1$, so let $x = 2m$ for some integer $m$, from which we find $k = 2m^2 + 1$ and \[ (2m^2 + 1)^2 - 1 = (2m^2)^2 + (2m)^2. \] Thus one infinite family of solutions is \[ \{ (2m^2)^2 + (2m)^2, (2m^2 + 1)^2 + 0^2, (2m^2 + 1)^2 + 1^2 \}. \] A similar approach finds another family of solutions, \[ \{(2m^2 + 2m)^2 + 0^2, (2m^2 + 2m)^2 + 1^2, (2m^2 + 2m - 1)^2 + (2m+1)^2 \}. \] There appears to be at least one more family of solutions which I haven't looked into, but the above is more than sufficient.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
math_genie
40 posts
#6 • 6 Y
Y by SilverSurfer, SaeedOdak, Madhavi, Adventure10, Mango247, and 1 other user
Choose $a$ such that $2a + 1$ is a perfect square, ie $2a + 1 = x^2 $ for some $x$. Clearly this is always possible for infinitely many $a$.
Now take $n = a^2$. Then
$n = a^2 + 0^2$
$n + 1 = a^2 + 1^2$
$n + 2 = a^2 + 2 = (a-1)^2 + 2a + 1 = (a-1)^2 + x^2$
This gives infinitely many n.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
dgreenb801
1896 posts
#7 • 3 Y
Y by TripteshBiswas, Adventure10, Mango247
Here is a proof by induction:

I claim $3^{2^k}-1$, $3^{2^k}$, $3^{2^k}+1$ is always such a triple for $k \ge 1$. Note that it is clear for any $k$ the last two of these are sums of squares. The hypothesis is true for $k=1$, as $8=4+4$, $9=9+0$, $10=9+1$. Now suppose it is true for $k$. Then, $3^{2^{k+1}}-1=(3^{2^k}+1)(3^{2^k}-1)$, and from the inductive hypothesis both factors are sums of squares, and the product of sums of squares is also a sum of squares (since $(a^2+b^2)(c^2+d^2)=(ac-bd)^2+(ad+bc)^2$), which completes the proof.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
viperstrike
1198 posts
#8 • 1 Y
Y by Adventure10
We claim that $n=(2c^2+2c)^2$ works for $c \ge 0$. It is clear that $n$ and $n+1$ are expressible as a sum of two squares. Now just verify that

$n+2=(2c^2+2c)^2+2=(2c^2+2c-1)^2+(2c+1)^2$.

Motivation:

Call an integer "good" if it is expressible as a sum of two squares. Try the simplest thing possible: $n=a^2$. Automatically $n+1=a^2+1^2$. Now we need that $n+2=a^2+2$ is good. The quadratic residues $\mod 8$ are $0,1,4$ so any good number is either $0,1,2,4,5$ $\mod 8$. So $a^2 =0 \mod 8$. So let $a=4b$. We now need that $(4b)^2+2=2(8b^2+1)$ is good. It is well known that product of two good numbers is itself good. This follows from the identity

$(x_1^2+y_1^2)(x_2^2+y_2^2)=(x_1x_2-y_1y_2)^2+(x_1y_2+x_2y_1)^2$

Since $2$ is good, it suffices to show that for infinitely many $b$, $8b^2+1$ is good. Some experimentation shows that $b=\frac{c(c+1)}{2}$ works for all $c \ge 0$ .
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
acegikmoqsuwy2000
767 posts
#9 • 3 Y
Y by terotron, Adventure10, Mango247
Different?

EDIT: Nvm, not different.
This post has been edited 1 time. Last edited by acegikmoqsuwy2000, Nov 5, 2017, 4:29 AM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
grupyorum
1409 posts
#10 • 2 Y
Y by Adventure10, Mango247
Here is a different solution. Call an integer $n$ good, if $n=x^2+y^2$ with $x,y\in\mathbb{Z}$.
1) $n\equiv 0\pmod{4}$. Set $n=(2\ell)^2$, for a suitable $\ell$. Clearly, $n$ is good.
2) $n+2 =4\ell^2+2$. I claim that, $4\ell^2+2=2y^2$ has infinitely many solutions. (note that, this immediately clinches $n+2$ to be good). Indeed, this yields $y^2-2\ell^2=1$, and this is nothing but the Pell's equation, with $(y_n,\ell_n)=(3+2\sqrt{2})^n$.
3) Finally, we will show $n+1$ is good. Note that, $n+1=(2\ell)^2+1$, and thus, any prime $p\mid n+1$ must obey $p\equiv 1\pmod{4}$. For this, let $n+1=\prod_{k=1}^N p_k^{\alpha_k}$ is the prime decomposition of $n+1$. It is well-known that, the congruence $q_i^2\equiv -1\pmod{p_i^{\alpha_i}}$ is solvable, for every $p_i\equiv 1\pmod{4}$ prime. Thus, taking $q\equiv q_i\pmod{p_i^{\alpha_i}}$ yields $q^2+1\equiv 0\pmod{n+1}$. Now, using Thue's theorem, there exists $x,y$ such that $0<|x|,|y|<\sqrt{n+1}$, such that $x\equiv qy\pmod{n+1}$. This yields, $x^2+y^2\equiv 0\pmod{n+1}$. Finally, since $0<x^2+y^2<2(n+1)$, it must follow that $n+1$ is a sum of two squares.

This finishes the proof.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
ZETA_in_olympiad
2211 posts
#11
Y by
ahaanomegas wrote:
Prove that there exist infinitely many integers $n$ such that $n$, $n+1$, $n+2$ are each the sum of the squares of two integers. [Example: $0=0^2+0^2$, $1=0^2+1^2$, $2=1^2+1^2$.]

The equations are of the form $x^2-2y^2=1$, which is an example of Pell's equation. Since by definition of Pell's equation, it has infinite solutions. Therefore we're done. $\square$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
aansc1729
111 posts
#12
Y by
Take $k=2m^{2}+1$. Then we have, $$\begin{array}{l}
k^2-1=\left(2 m^2\right)^2+(2 m)^2 \\
k^2=\left(2 m^2+1\right)^2+0^2 \\
k^2+1=\left(2 m^2+1\right)^2+(1)^2
\end{array}$$And so we are done.
This post has been edited 1 time. Last edited by aansc1729, Feb 25, 2023, 10:40 AM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
sanyalarnab
930 posts
#13
Y by
For all $t \in \mathbb{N}$, consider $n=4t^4+4t^2$. Then note that
$$n=(2t^2)^2+(2t)^2$$$$n+1=(2t^2+1)^2+0^2$$$$n+2=(2t^2+1)^2+1^2$$Maybe it would be interesting to see this problem with the restriction that the numbers can be expressed as sum of two non-zero perfect squares. :)
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
MrOreoJuice
594 posts
#14
Y by
Consider the solutions to pell equation $x^2 - 2y^2=1$ then $n=2y^2= y^2+y^2$, $n+1=2y^2+1= x^2+0^2$, $n+2=2y^2 + 2=x^2 + 1^2$ works.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
jelena_ivanchic
151 posts
#15
Y by
Note that there are infinitely many solutions to $\alpha^2+\beta^2=4k\alpha+2,\alpha,\beta,k\in \Bbb{N}$. This is because, take $\alpha=1$, then for all odd $\beta$ we get an unique $k$.

Now consider such $(\alpha,\beta,k)$ which satisfy the above relations. Note that $$(2k)^2+0^2,(2k)^2+1^2,(2k-\alpha)^2+\beta^2$$is a solution with $n=(2k)^2$.

So, we got the solutions to be of the form:
$$1^2+1^2=4k_1+2\implies k_1=0\implies n=0\text{ is a solution }$$$$1^2+3^2=4k_2+2\implies k_2=2\implies n=16\text{ is a solution }$$$$1^2+5^2=4k_3+2\implies k_3=6\implies n=144\text{ is a solution }$$$$\vdots$$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Levieee
198 posts
#16
Y by
I'll explain my intuition too because that was the main part, cuz i dont like a solution where someone pulls out a solution randomly,

Note that if i make $n+1$ to be a square it'll be very helpful, because if its a square then i can just simply write that term as $a^{2}+0^{2}$ and the $n+2$ term as $a^{2}+{1}$

now check for small cases


Proof:
$\text{Hypothesis:}$
$3^{2^{k}}-1 , 3^{2^{k}}, 3^{2{k}}+1$ is a triple that works $k \geq 1$

$\text{we will apply strong induction}$
$3^{2^{k}}-1 , 3^{2^{k}}, 3^{2{k}}+1$ is a triple that works $k \geq 1$
check for base case $k=1$ which is trivially true,
$\text{Inductive step}$
assume that $3^{2^{n}}-1 , 3^{2^{n}}, 3^{2{n}}+1$ for some $k=n$
the $n+1$ and $n+2$ is super easy to see from the very first line
for $n-1$ ,
$3^{2^{n+1}}-1$ = $(3^{2^{n}}-1)(3^{2^{n}}+1)$
$(3^{2^{n}}-1)$ = $a^{2}+b^{2}$
$(3^{2^{n}}+1)$ = $a_{1}^{2}+b_{1}^{2}$
($a_{1}^{2}+b_{1}^{2}$)( $a^{2}+b^{2}$)
$(aa_{1}-bb_{1})^{2}+(ab_{1}+ba_{1})^{2}$
$\mathbb{Q.E.D}$ $\blacksquare$
:roll: :play_ball:
This post has been edited 5 times. Last edited by Levieee, Apr 6, 2025, 9:44 AM
Z K Y
N Quick Reply
G
H
=
a