Join our free webinar April 22 to learn about competitive programming!

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 A Letter to MSM
Arr0w   23
N Sep 19, 2022 by scannose
Greetings.

I have seen many posts talking about commonly asked questions, such as finding the value of $0^0$, $\frac{1}{0}$,$\frac{0}{0}$, $\frac{\infty}{\infty}$, why $0.999...=1$ or even expressions of those terms combined as if that would make them defined. I have made this post to answer these questions once and for all, and I politely ask everyone to link this post to threads that are talking about this issue.
[list]
[*]Firstly, the case of $0^0$. It is usually regarded that $0^0=1$, not because this works numerically but because it is convenient to define it this way. You will see the convenience of defining other undefined things later on in this post.

[*]What about $\frac{\infty}{\infty}$? The issue here is that $\infty$ isn't even rigorously defined in this expression. What exactly do we mean by $\infty$? Unless the example in question is put in context in a formal manner, then we say that $\frac{\infty}{\infty}$ is meaningless.

[*]What about $\frac{1}{0}$? Suppose that $x=\frac{1}{0}$. Then we would have $x\cdot 0=0=1$, absurd. A more rigorous treatment of the idea is that $\lim_{x\to0}\frac{1}{x}$ does not exist in the first place, although you will see why in a calculus course. So the point is that $\frac{1}{0}$ is undefined.

[*]What about if $0.99999...=1$? An article from brilliant has a good explanation. Alternatively, you can just use a geometric series. Notice that
\begin{align*}
\sum_{n=1}^{\infty} \frac{9}{10^n}&=9\sum_{n=1}^{\infty}\frac{1}{10^n}=9\sum_{n=1}^{\infty}\biggr(\frac{1}{10}\biggr)^n=9\biggr(\frac{\frac{1}{10}}{1-\frac{1}{10}}\biggr)=9\biggr(\frac{\frac{1}{10}}{\frac{9}{10}}\biggr)=9\biggr(\frac{1}{9}\biggr)=\boxed{1}
\end{align*}
[*]What about $\frac{0}{0}$? Usually this is considered to be an indeterminate form, but I would also wager that this is also undefined.
[/list]
Hopefully all of these issues and their corollaries are finally put to rest. Cheers.

2nd EDIT (6/14/22): Since I originally posted this, it has since blown up so I will try to add additional information per the request of users in the thread below.

INDETERMINATE VS UNDEFINED

What makes something indeterminate? As you can see above, there are many things that are indeterminate. While definitions might vary slightly, it is the consensus that the following definition holds: A mathematical expression is be said to be indeterminate if it is not definitively or precisely determined. So how does this make, say, something like $0/0$ indeterminate? In analysis (the theory behind calculus and beyond), limits involving an algebraic combination of functions in an independent variable may often be evaluated by replacing these functions by their limits. However, if the expression obtained after this substitution does not provide sufficient information to determine the original limit, then the expression is called an indeterminate form. For example, we could say that $0/0$ is an indeterminate form.

But we need to more specific, this is still ambiguous. An indeterminate form is a mathematical expression involving at most two of $0$, $1$ or $\infty$, obtained by applying the algebraic limit theorem (a theorem in analysis, look this up for details) in the process of attempting to determine a limit, which fails to restrict that limit to one specific value or infinity, and thus does not determine the limit being calculated. This is why it is called indeterminate. Some examples of indeterminate forms are
\[0/0, \infty/\infty, \infty-\infty, \infty \times 0\]etc etc. So what makes something undefined? In the broader scope, something being undefined refers to an expression which is not assigned an interpretation or a value. A function is said to be undefined for points outside its domain. For example, the function $f:\mathbb{R}^{+}\cup\{0\}\rightarrow\mathbb{R}$ given by the mapping $x\mapsto \sqrt{x}$ is undefined for $x<0$. On the other hand, $1/0$ is undefined because dividing by $0$ is not defined in arithmetic by definition. In other words, something is undefined when it is not defined in some mathematical context.

WHEN THE WATERS GET MUDDIED

So with this notion of indeterminate and undefined, things get convoluted. First of all, just because something is indeterminate does not mean it is not undefined. For example $0/0$ is considered both indeterminate and undefined (but in the context of a limit then it is considered in indeterminate form). Additionally, this notion of something being undefined also means that we can define it in some way. To rephrase, this means that technically, we can make something that is undefined to something that is defined as long as we define it. I'll show you what I mean.

One example of making something undefined into something defined is the extended real number line, which we define as
\[\overline{\mathbb{R}}=\mathbb{R}\cup \{-\infty,+\infty\}.\]So instead of treating infinity as an idea, we define infinity (positively and negatively, mind you) as actual numbers in the reals. The advantage of doing this is for two reasons. The first is because we can turn this thing into a totally ordered set. Specifically, we can let $-\infty\le a\le \infty$ for each $a\in\overline{\mathbb{R}}$ which means that via this order topology each subset has an infimum and supremum and $\overline{\mathbb{R}}$ is therefore compact. While this is nice from an analytic standpoint, extending the reals in this way can allow for interesting arithmetic! In $\overline{\mathbb{R}}$ it is perfectly OK to say that,
\begin{align*}
a + \infty = \infty + a & = \infty, & a & \neq -\infty \\
a - \infty = -\infty + a & = -\infty, & a & \neq \infty \\
a \cdot (\pm\infty) = \pm\infty \cdot a & = \pm\infty, & a & \in (0, +\infty] \\
a \cdot (\pm\infty) = \pm\infty \cdot a & = \mp\infty, & a & \in [-\infty, 0) \\
\frac{a}{\pm\infty} & = 0, & a & \in \mathbb{R} \\
\frac{\pm\infty}{a} & = \pm\infty, & a & \in (0, +\infty) \\
\frac{\pm\infty}{a} & = \mp\infty, & a & \in (-\infty, 0).
\end{align*}So addition, multiplication, and division are all defined nicely. However, notice that we have some indeterminate forms here which are also undefined,
\[\infty-\infty,\frac{\pm\infty}{\pm\infty},\frac{\pm\infty}{0},0\cdot \pm\infty.\]So while we define certain things, we also left others undefined/indeterminate in the process! However, in the context of measure theory it is common to define $\infty \times 0=0$ as greenturtle3141 noted below. I encourage to reread what he wrote, it's great stuff! As you may notice, though, dividing by $0$ is undefined still! Is there a place where it isn't? Kind of. To do this, we can extend the complex numbers! More formally, we can define this extension as
\[\mathbb{C}^*=\mathbb{C}\cup\{\tilde{\infty}\}\]which we call the Riemann Sphere (it actually forms a sphere, pretty cool right?). As a note, $\tilde{\infty}$ means complex infinity, since we are in the complex plane now. Here's the catch: division by $0$ is allowed here! In fact, we have
\[\frac{z}{0}=\tilde{\infty},\frac{z}{\tilde{\infty}}=0.\]where $\tilde{\infty}/\tilde{\infty}$ and $0/0$ are left undefined. We also have
\begin{align*}
z+\tilde{\infty}=\tilde{\infty}, \forall z\ne -\infty\\
z\times \tilde{\infty}=\tilde{\infty}, \forall z\ne 0
\end{align*}Furthermore, we actually have some nice properties with multiplication that we didn't have before. In $\mathbb{C}^*$ it holds that
\[\tilde{\infty}\times \tilde{\infty}=\tilde{\infty}\]but $\tilde{\infty}-\tilde{\infty}$ and $0\times \tilde{\infty}$ are left as undefined (unless there is an explicit need to change that somehow). One could define the projectively extended reals as we did with $\mathbb{C}^*$, by defining them as
\[{\widehat {\mathbb {R} }}=\mathbb {R} \cup \{\infty \}.\]They behave in a similar way to the Riemann Sphere, with division by $0$ also being allowed with the same indeterminate forms (in addition to some other ones).
23 replies
Arr0w
Feb 11, 2022
scannose
Sep 19, 2022
k i Marathon Threads
LauraZed   0
Jul 2, 2019
Due to excessive spam and inappropriate posts, we have locked the Prealgebra and Beginning Algebra threads.

We will either unlock these threads once we've cleaned them up or start new ones, but for now, do not start new marathon threads for these subjects. Any new marathon threads started while this announcement is up will be immediately deleted.
0 replies
LauraZed
Jul 2, 2019
0 replies
k i Basic Forum Rules and Info (Read before posting)
jellymoop   368
N May 16, 2018 by harry1234
f (Reminder: Do not post Alcumus or class homework questions on this forum. Instructions below.) f
Welcome to the Middle School Math Forum! Please take a moment to familiarize yourself with the rules.

Overview:
[list]
[*] When you're posting a new topic with a math problem, give the topic a detailed title that includes the subject of the problem (not just "easy problem" or "nice problem")
[*] Stay on topic and be courteous.
[*] Hide solutions!
[*] If you see an inappropriate post in this forum, simply report the post and a moderator will deal with it. Don't make your own post telling people they're not following the rules - that usually just makes the issue worse.
[*] When you post a question that you need help solving, post what you've attempted so far and not just the question. We are here to learn from each other, not to do your homework. :P
[*] Avoid making posts just to thank someone - you can use the upvote function instead
[*] Don't make a new reply just to repeat yourself or comment on the quality of others' posts; instead, post when you have a new insight or question. You can also edit your post if it's the most recent and you want to add more information.
[*] Avoid bumping old posts.
[*] Use GameBot to post alcumus questions.
[*] If you need general MATHCOUNTS/math competition advice, check out the threads below.
[*] Don't post other users' real names.
[*] Advertisements are not allowed. You can advertise your forum on your profile with a link, on your blog, and on user-created forums that permit forum advertisements.
[/list]

Here are links to more detailed versions of the rules. These are from the older forums, so you can overlook "Classroom math/Competition math only" instructions.
Posting Guidelines
Update on Basic Forum Rules
What belongs on this forum?
How do I write a thorough solution?
How do I get a problem on the contest page?
How do I study for mathcounts?
Mathcounts FAQ and resources
Mathcounts and how to learn

As always, if you have any questions, you can PM me or any of the other Middle School Moderators. Once again, if you see spam, it would help a lot if you filed a report instead of responding :)

Marathons!
Relays might be a better way to describe it, but these threads definitely go the distance! One person starts off by posting a problem, and the next person comes up with a solution and a new problem for another user to solve. Here's some of the frequently active marathons running in this forum:
[list][*]Algebra
[*]Prealgebra
[*]Proofs
[*]Factoring
[*]Geometry
[*]Counting & Probability
[*]Number Theory[/list]
Some of these haven't received attention in a while, but these are the main ones for their respective subjects. Rather than starting a new marathon, please give the existing ones a shot first.

You can also view marathons via the Marathon tag.

Think this list is incomplete or needs changes? Let the mods know and we'll take a look.
368 replies
jellymoop
May 8, 2015
harry1234
May 16, 2018
AGI-Origin Solves Full IMO 2020–2024 Benchmark Without Solver (30/30) beat Alpha
AGI-Origin   8
N a minute ago by AGI-Origin
Hello IMO community,

I’m sharing here a full 30-problem solution set to all IMO problems from 2020 to 2024.

Standard AI: Prompt --> Symbolic Solver (SymPy, Geometry API, etc.)

Unlike AlphaGeometry or symbolic math tools that solve through direct symbolic computation, AGI-Origin operates via recursive symbolic cognition.

AGI-Origin:
Prompt --> Internal symbolic mapping --> Recursive contradiction/repair --> Structural reasoning --> Human-style proof

It builds human-readable logic paths by recursively tracing contradictions, repairing structure, and collapsing ambiguity — not by invoking any external symbolic solver.

These results were produced by a recursive symbolic cognition framework called AGI-Origin, designed to simulate semi-AGI through contradiction collapse, symbolic feedback, and recursion-based error repair.

These were solved without using any symbolic computation engine or solver.
Instead, the solutions were derived using a recursive symbolic framework called AGI-Origin, based on:
- Contradiction collapse
- Self-correcting recursion
- Symbolic anchoring and logical repair

Full PDF: [Upload to Dropbox/Google Drive/Notion or arXiv link when ready]

This effort surpasses AlphaGeometry’s previous 25/30 mark by covering:
- Algebra
- Combinatorics
- Geometry
- Functional Equations

Each solution follows a rigorous logical path and is written in fully human-readable format — no machine code or symbolic solvers were used.

I would greatly appreciate any feedback on the solution structure, logic clarity, or symbolic methodology.

Thank you!

— AGI-Origin Team
AGI-Origin.com
8 replies
+2 w
AGI-Origin
4 hours ago
AGI-Origin
a minute ago
Incredible combinatorics problem
A_E_R   1
N 2 minutes ago by CerealCipher
Source: Turkmenistan Math Olympiad - 2025
For any integer n, prove that there are exactly 18 integer whose sum and the sum of the fifth powers of each are equal to the integer n.
1 reply
A_E_R
an hour ago
CerealCipher
2 minutes ago
FE solution too simple?
Yiyj1   6
N 5 minutes ago by Primeniyazidayi
Source: 101 Algebra Problems from the AMSP
Find all functions $f: \mathbb{R} \rightarrow \mathbb{R}$ such that the equality $$f(f(x)+y) = f(x^2-y)+4f(x)y$$holds for all pairs of real numbers $(x,y)$.

My solution

I feel like my solution is too simple. Is there something I did wrong or something I missed?
6 replies
Yiyj1
Apr 9, 2025
Primeniyazidayi
5 minutes ago
Combo problem
soryn   1
N 23 minutes ago by soryn
The school A has m1 boys and m2 girls, and ,the school B has n1 boys and n2 girls. Each school is represented by one team formed by p students,boys and girls. If f(k) is the number of cases for which,the twice schools has,togheter k girls, fund f(k) and the valute of k, for which f(k) is maximum.
1 reply
soryn
5 hours ago
soryn
23 minutes ago
2025 MATHCOUNTS State Hub
SirAppel   589
N Today at 1:40 AM by CXP
Previous Years' "Hubs": (2022) (2023) (2024)Please Read

Now that it's April and we're allowed to discuss ...
[list=disc]
[*] CA: 43 (45 44 43 43 43 42 42 41 41 41)
[*] NJ: 43 (45 44 44 43 39 42 40 40 39 38) *
[*] NY: 42 (43 42 42 42 41 40)
[*] TX: 42 (43 43 43 42 42 40 40 38 38 38)
[*] MA: 41 (45 43 42 41)
[*] WA: 41 (41 45 42 41 41 41 41 41 41 40) *
[*]VA: 40 (41 40 40 40)
[*] FL: 39 (42 41 40 39 38 37 37)
[*] IN: 39 (41 40 40 39 36 35 35 35 34 34)
[*] NC: 39 (42 42 41 39)
[*] IL: 38 (41 40 39 38 38 38)
[*] OR: 38 (44 39 38 38)
[*] PA: 38 (41 40 40 38 38 37 36 36 34 34) *
[*] MD: 37 (43 39 39 37 37 37)
[*] AZ: 36 (40? 39? 39 36)
[*] CT: 36 (44 38 38 36 34? 34? 34 34 34 33 33)
[*] MI: 36 (39 41 41 36 37 37 36 36 36 36) *
[*] MN: 36 (40 36 36 36 35 35 35 34)
[*] CO: 35 (41 37 37 35 35 35 ?? 31 31 30) *
[*] GA: 35 (38 37 36 35 34 34 34 34 34 33)
[*] OH: 35 (41 37 36 35)
[*] AR: 34 (46 45 35 34 33 31 31 31 29 29)
[*] NV: 34 (41 38 ?? 34)
[*] TN: 34 (38 ?? ?? 34)
[*] WI: 34 (40 37 37 34 35 30 28 29 29 29) *
[*] HI: 32 (35 34 32 32)
[*] NH: 31 (42 35 33 31 30)
[*] DE: 30 (34 33 32 30 30 29 28 27 26? 24)
[*] SC: 30 (33 33 31 30)
[*] IA: 29 (33 30 31 29 29 29 29 29 29 29 29 29) *
[*] NE: 28 (34 30 28 28 27 27 26 26 25 25)
[*] SD: 22 (30 29 24 22 22 22 21 21 20 20)
[/list]
Cutoffs Unknown

* means that CDR is official in that state.

Notes

For those asking about the removal of the tiers, I'd like to quote Jason himself:
[quote=peace09]
learn from my mistakes
[/quote]

Help contribute by sharing your state's cutoffs!
589 replies
SirAppel
Apr 1, 2025
CXP
Today at 1:40 AM
Camp Conway acceptance
fossasor   18
N Today at 12:53 AM by EthanNg6
Hello! I've just been accepted into Camp Conway, but I'm not sure how popular this camp actually is, given that it's new. Has anyone else applied/has been accepted/is going? (I'm trying to figure out to what degree this acceptance was just lack of qualified applicants, so I can better predict my chances of getting into my preferred math camp.)
18 replies
fossasor
Feb 20, 2025
EthanNg6
Today at 12:53 AM
Bogus Proof Marathon
pifinity   7606
N Yesterday at 10:28 PM by Pengu14
Hi!
I'd like to introduce the Bogus Proof Marathon.

In this marathon, simply post a bogus proof that is middle-school level and the next person will find the error. You don't have to post the real solution :P

Use classic Marathon format:
[hide=P#]a1b2c3[/hide]
[hide=S#]a1b2c3[/hide]


Example posts:

P(x)
-----
S(x)
P(x+1)
-----
Let's go!! Just don't make it too hard!
7606 replies
pifinity
Mar 12, 2018
Pengu14
Yesterday at 10:28 PM
Area of Polygon
AIME15   48
N Yesterday at 9:05 PM by anticodon
The area of polygon $ ABCDEF$, in square units, is

IMAGE

\[ \textbf{(A)}\ 24 \qquad
\textbf{(B)}\ 30 \qquad
\textbf{(C)}\ 46 \qquad
\textbf{(D)}\ 66 \qquad
\textbf{(E)}\ 74
\]
48 replies
AIME15
Jan 12, 2009
anticodon
Yesterday at 9:05 PM
9 AMC 8 Scores
ChromeRaptor777   104
N Yesterday at 8:56 PM by GallopingUnicorn45
As far as I'm certain, I think all AMC8 scores are already out. Vote above.
104 replies
ChromeRaptor777
Apr 1, 2022
GallopingUnicorn45
Yesterday at 8:56 PM
Geometry Transformation Problems
ReticulatedPython   6
N Yesterday at 6:22 PM by ReticulatedPython
Problem 1:
A regular hexagon of side length $1$ is rotated $360$ degrees about one side. The space through which the hexagon travels during the rotation forms a solid. Find the volume of this solid.

Problem 2:

A regular octagon of side length $1$ is rotated $360$ degrees about one side. The space through which the octagon travels through during the rotation forms a solid. Find the volume of this solid.

Source:Own

Hint

Useful Formulas
6 replies
ReticulatedPython
Apr 17, 2025
ReticulatedPython
Yesterday at 6:22 PM
Facts About 2025!
Existing_Human1   249
N Yesterday at 2:02 AM by EthanNg6
Hello AOPS,

As we enter the New Year, the most exciting part is figuring out the mathematical connections to the number we have now temporally entered

Here are some facts about 2025:
$$2025 = 45^2 = (20+25)(20+25)$$$$2025 = 1^3 + 2^3 +3^3 + 4^3 +5^3 +6^3 + 7^3 +8^3 +9^3 = (1+2+3+4+5+6+7+8+9)^2 = {10 \choose 2}^2$$
If anyone has any more facts about 2025, enlighted the world with a new appreciation for the year


(I got some of the facts from this video)
249 replies
Existing_Human1
Jan 1, 2025
EthanNg6
Yesterday at 2:02 AM
random problem i just thought about one day
ceilingfan404   5
N Yesterday at 1:47 AM by e_is_2.71828
i don't even know if this is solvable
Prove that there are finite/infinite powers of 2 where all the digits are also powers of 2. (For example, $4$ and $128$ are numbers that work, but $64$ and $1024$ don't work.)
5 replies
ceilingfan404
Sunday at 7:54 PM
e_is_2.71828
Yesterday at 1:47 AM
geometry problem
kjhgyuio   7
N Yesterday at 12:56 AM by Shan3t
........
7 replies
kjhgyuio
Sunday at 10:21 PM
Shan3t
Yesterday at 12:56 AM
2500th post
Solocraftsolo   31
N Sunday at 10:15 PM by Solocraftsolo
i keep forgetting to do these...


2500 is cool.

i am not very sentimental so im not going to post a math story or anything.

here are some problems though

p1p2p3

p4
31 replies
Solocraftsolo
Apr 16, 2025
Solocraftsolo
Sunday at 10:15 PM
Sequence of numbers in form of a^2+b^2
TheOverlord   13
N Apr 10, 2025 by bin_sherlo
Source: Iran TST 2015, exam 1, day 1 problem 3
Let $ b_1<b_2<b_3<\dots $ be the sequence of all natural numbers which are sum of squares of two natural numbers.
Prove that there exists infinite natural numbers like $m$ which $b_{m+1}-b_m=2015$ .
13 replies
TheOverlord
May 11, 2015
bin_sherlo
Apr 10, 2025
Sequence of numbers in form of a^2+b^2
G H J
G H BBookmark kLocked kLocked NReply
Source: Iran TST 2015, exam 1, day 1 problem 3
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
TheOverlord
97 posts
#1 • 5 Y
Y by Dadgarnia, Hc417, adityaguharoy, Adventure10, Mango247
Let $ b_1<b_2<b_3<\dots $ be the sequence of all natural numbers which are sum of squares of two natural numbers.
Prove that there exists infinite natural numbers like $m$ which $b_{m+1}-b_m=2015$ .
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Aiscrim
409 posts
#4 • 2 Y
Y by Adventure10, Mango247
Let $p_1,p_2,...,p_{2014}$ be distinct prime numbers such that $p_i\equiv 3(\mathrm{mod}\ 4)$. By CRT, the system $x\equiv 2(\mathrm{mod}\ 8),\ x\equiv p_i-i(\mathrm{mod}\ p_i^2)\ \forall i\in \{1,2,..,2014\}$ has an infinite set $S$ of solutions.

Then for any $x\in S$, $x=2(4k+1),\ x+2015=4l+1$, hence $x$ and $x+2015$ can be written as the sum of two squares, while $x+i$ (with $1\le i\le 2014)$ is divisible by $p_i$ but not by $p_i^2$ hence it cannot be written as the sum of two squares. Thereby, there is $m$ such that $b_m=x$, $b_{m+1}=x+2015$, i.e. $b_{m+1}-b_m=2015$, whence the conclusion.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
junioragd
314 posts
#5 • 1 Y
Y by Adventure10
Quote:
Then for any $x\in S$, $x=2(4k+1),\ x+2015=4l+1$, hence $x$ and $x+2015$ can be sum of two squares
Why?It is not enough that number is of the form $4k+1$ or $2*(4l+1)$,it may exist some prime $q$ of the form $4m+3$ such that $q$ divides $4k+1$ and $q^2$ doesn't divide $4k+1$.I don't see how did you proved that.
This post has been edited 1 time. Last edited by junioragd, May 18, 2015, 9:13 AM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
fattypiggy123
615 posts
#6 • 3 Y
Y by andreiromania, doxuanlong15052000, Adventure10
Note that if $2b  - a = 1005$ then $(a-1)^2 + (b+2)^2 - a^2 - b^2 = 1005$ so it suffices to show that $a^2 + b^2 + 1 , ..., a^2 + b^2 + 2014$ cannot be represented as sum of two squares. We can then use a similar idea as Aiscrim to get $a^2 + b^2 + i \equiv p_i \pmod { {p_i}^2} $ for some primes $p_1,p_2,...,p_{2014}$ and we are done. This is equivalent to solving $x^2 \equiv mp_i - n - i \pmod {{p_i}^2}$ for some natural $m,n$ for all $i$. We can take a solution of $x^2 \equiv -n - i \pmod {p_i}$ of which infinitely many such primes $p_i$ exist and then lifting it by replacing $x$ with $x+kp$ and varying $k$.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
andreiromania
52 posts
#7 • 2 Y
Y by Adventure10, Mango247
Let $x$ be defined by CRT through $x\equiv p_i-i(\mathrm{mod}\ p_i^2)\ \forall i\in \{1,2,..,2014\}$ with $p_i\equiv 3(\mathrm{mod}\ 4)$,as in Aiscrim's solution.If we find an infinitude of $a$'s so that there exists $k$ for which $a^2+1007^2=x+k\prod p_i^2$.Label this number $y$.By aiscrim's argument we have that $y+i$ (with $1\le i\le 2014)$ cannot be written as sum of 2 squares,whereas $y=a^2+1007^2,y+2015=a^2+1008^2$ and we're done.Obviously,if we find only one such $a$,by taking $a+j\prod p_i^2$ for every $j$ we get an infinitude of satisfactory $a$'s,Q.E.D.

Now it only remains to find such an $a$.Notice that we can still choose our $p_i$'s,as long as they are distinct and congruent to 3 mod 4.

Suppose that $1007^2+i$ would be a residue modulo every prime $\equiv 3(\mathrm{mod}\ 4)$ bigger than some $N$;then let $m$ be the squarefree component of $1007^2+i$ and let its prime decomposition be $m=\prod_1^s q_i$;we would need $m$ to be a residue modulo every prime described above.$m$ obviously cannot be 1.If $m$ is $2$,then we have an easily provable contradiction,so assume there exists an odd prime factor of $m$,let it be $q_s$,and pick a non-quadratic residue of it $a$.By CRT there exists a number $l$ so that $l\equiv 3(\mathrm{mod}\ 4)$,$l\equiv a(\mathrm{mod}\ q_s)$ and $l\equiv 1(\mathrm{mod}\ q_i) \forall i\in \{1,2,..,s-1\}$.By Dirichlet's Theorem,since $l$ and $4m$ are coprime,the set $\{l+4jm|j \in \mathbb{N} \}$ has an infinite amount of primes,and thus an infinite amount of primes bigger than $N$;let one of them be $M$.But now by properties of Legendre's Symbol we obtain that $m$ is a nonquadratic residue mod $M$,contradiction with our assumption since $M\equiv 3(\mathrm{mod}\ 4)$.

So there must exist,$\forall i\in \{1,2,..,2014\}$,an infinite number of primes $p$ for which $1007^2+i$ is a nonresidue mod $p$,since otherwise there would exist an $N$ so that for every prime $\equiv 3(\mathrm{mod}\ 4)$,$1007^2+i$ is a residue,contradiction with the above.

Now we can easily pick distinct $p_i\equiv 3(\mathrm{mod}\ 4)$ so that $1007^2+i$ is a nonresidue mod $p_i$,$\forall i\in \{1,2,..,2014\}$;but then we have that $-1007^2-i$ IS a quadratic residue mod $p_i$.

Now,for any $i\in \{1,2,..,2014\}$,we can pick $a_i$ so that $a_i^2\equiv -1007^2-i\equiv -1007^2-x(\mathrm{mod}\ p_i)$.One of the numbers $a_i,a_i+p_i,...,a_i+p_i(p_i-1)$,we call him $b_i$,will then satisfy $b_i^2 \equiv -1007^2-x(\mathrm{mod}\ p_i^2)$.Now we choose $a$ by $CRT$ as $a \equiv b_i(\mathrm{mod}\ p_i^2)$;it will obviously satisfy the relations $a^2 \equiv -1007^2-x(\mathrm{mod}\ p_i^2)$,thus it satisfies $a^2 \equiv -1007^2-x(\mathrm{mod}\ \prod p_i^2)$,which is exactly $a^2+1007^2=x+k\prod p_i^2$ written in modulo terms.Thus we have found our $a$,and thus the solution is complete.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Aiscrim
409 posts
#9 • 5 Y
Y by biomathematics, SidVicious, nguyenhaan2209, Adventure10, Mango247
Lemma: For any number $1\le i\le 2014$, we can find an infinite number of primes $p$ such that $p\equiv 3(\mathrm{mod}\ 8)$ and $\left ( \dfrac{1007^2+i}{p} \right )=-1$ Proof.

Fix some primes $p_1,...,p_{2014}$ such that they are all distinct (and greater than $1008^2$) and $p_i\equiv 3(\mathrm{mod}\ 8)$ and $\left ( \dfrac{1007^2+i}{p_i} \right )=-1$. By CRT, the system $x+i\equiv p_i(\mathrm{mod}\ p_i^2)$ for $1\le i\le 2014$ has a solution $x\equiv k (\mathrm{mod}\ p_1^2p_2^2....p_k^2)\ \ (*)$. Obviously, any number satisfying this system has the property that $x+i$ cannot be written as the sum of two squares for any $1\le i\le 2014$. Note that $$\left ( \dfrac{k-1007^2}{p_i} \right )=\left ( \dfrac{-i-1007^2}{p_i} \right )=-\left ( \dfrac{1007^2+i}{p_i} \right )=1$$so there exists $x_i$ such that $x_i^2\equiv k-1007^2(\mathrm{mod}\ p_i)$. As $p_i$ does not divide $k-1007^2$ ($p_i>1008^2>1007^2+i$), we have that $p_i$ does not divide $x_i$ either. Taking $t\equiv -\dfrac{x_i-(k-1007^2)}{p}\cdot (2x_i)^{-1} (\mathrm{mod}\ p)$, we have that $p_i^2$ divides $(x_i+pt)^2-(k-1007^2)$. Denote $t_i=x_i+pt$. By CRT, we can find infinitely many positive integers $a$ such that $a\equiv t_i (\mathrm{mod}\ p_i^2)$. By the way we chose $a$, we have that
$$p_1^2p_2^2...p_{2014}^2|a^2-(k-1007^2)\Leftrightarrow a^2-(k-1007^2)=\beta_ap_1^2p_2^2...p_{2014}^2$$
We are now done: take $n=\beta_ap_1^2p_2^2...p_{2014}^2+k$. As $n$ satisfies the system $(*)$, the numbers $n+1,...,n+2014$ cannot be written as the sum of two squares. In the same time $n=a^2+1007^2$ and $n+2015=a^2+1008^2$. By making $a$ very big, $n$ can become arbitrarily large, whence the conclusion.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
nikolapavlovic
1246 posts
#10 • 2 Y
Y by Adventure10, Mango247
I'll work with numbers $5(y^2+202^2),5(y^2+201^2)$ for $y$ to be choosen later.Firstly note that they are both sum of two squares as $5=2^2+1^2$ and the set of the numbers being sum of two squares is closed under $\cdot$ and hence the desired.On the other hand their difference is $5(202-201)(201+202)=2015$.Now pick some 2014 prime numbers so that $p_i\equiv 3 \pmod 4$ where $p_i$ is much larger that $5\cdot 202^2$ and $\left(\tfrac{(5\cdot 201^2+1)\cdot 5^{-1}}{p_i}\right)=-1$.Now select $y$ as the solution to the :
$$y^2\equiv \frac{p_i-1}{5}-201^2 \pmod {p_i^2} \forall i\leq 2014$$Notice that as $y^2=-\tfrac{(5\cdot 201^2+1)}{5}$ has a solution in $\mathbb{Z}_{p_i}$ by Hensel's it has one in $Z_{p_i^2}$ and and hence we can pick by $y$ by CRT so that it satisfies previous conditions.Now let's show that in $(5(y^2+202^2),5(y^2+201^2))$ no number is the sum of two squares.This however follows immidiately after the construction as for $\forall a\in (5(y^2+202^2),5(y^2+201^2))$ we have $a\equiv p_i \pmod {p_i^2}$ for some $p_i$ a contradiction as it's well known that $v_{p_i}$ is either zero or even.So our constructed $y$ satisfies the conditions.Now just pick another 2014 primes each $\equiv 3\pmod 4$ to construct how many $y$ we want and hence there are infinitely many of them.$\blacksquare$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
MaySayToc124
53 posts
#11 • 2 Y
Y by pavel kozlov, Adventure10
I found a solution which not related to Dirichlet's Theorem or some unfamiliar quadratic-residue properties in my high school days but was too lazy to write down. Recently, one of my students has asked me about the problem in this post so I'd like to share it here.

First, we have three lemmas.
Lemma: A positive integer $n$ can be written as a sum of two squares if and only if $v_p(n)$ is even for all prime number $p$ of the form $4k+3$.
Lemma: Let $p$ be an odd prime number and $n$ be a integer that $p$ does not divide $n$. Then exists two integer $a,b$ that
$$a^2+b^2 \equiv n \pmod {p^2}$$Lemma: Let $a,b,c$ be positive integers. Then exist a integer $k$ that $(a+kb,c)=1$ if and only if $(a,b,c)=1$.

The first one is quite well-known. The second one can be approached by many ways. We can prove it for modulo $p$, then lift to $p^2$ by the idea of Hensel's lemma. In the last one, we can decompose the number $c$ to prime divisors, choose $k$ for individual prime divisor of $c$, and use CRT to choose a common $k$.

Back to the problem. We will prove this: for a positive integer $n$, there is a positive number $x$ that $x,x+n$ are both sum of two squares, but none of $x+1,\ldots,x+n-1$ is.

Note that there are infinitely many primes of the form $4k+3$, so we can choose $n-1$ distinct prime numbers $p_i$ of this form and larger than $n$ (we use this condition later). Let $X = (\prod_i^{n-1} p_i)^2$. Note that $p_i$ does not divide $p_i-i$ since $p_i > n > i$ (we need $p_i>n$ here), so by the second lemma, we can choose two integers $a,b$ that $p_i^2 | a^2+b^2+i-p_i$.

Now we will choose $4$ number $c,d,A,B$ satisfy $(A,B)=1$ and this equation
$$(a+cX)^2+(b+dX)^2 +n = (a+cX+A)^2+(b+dX+b)^2$$This equivalent to
$$\dfrac{n+a^2+b^2-(a+A)^2-(b+B)^2}{2X} = Ac+Bd ~~~ (*)$$
Let discuss why we come to this weird equation. If we take $x=(a+cX)^2+(b+dX)^2$, then $v_{p_i}(x+i)=1$ since $a+cX$ and $b+dX$ remains the same as $a$ and $b$ modulo $X$, so $x+i$ can not be sum of two squares. Moreover, $x+n =  (a+cX+A)^2+(b+dX+b)^2$ is sum of two square. Then the number $x$ is what we need!

Back to the equation $(*)$. First, we will choose $A,B$ modulo $2X$ that the fraction in the left of $(*)$ be integer. To handle the number $X$, once again we use the second lemma for every divisor $p_i^2$ of $X$ (note that $n+a^2+b^2 \equiv n-i \not\equiv 0 \pmod {p_i}$). For the number $2$, we can choose $A,B$ satisfy the condition and $A-B$ is odd. Then using CRT, we can choose common $A,B$ modulo $2X$ for all these condition.

You will wonder why we need $A-B$ is odd. Now we take $A$ to $A+k2X$ to get $(A+k2X,B)=1$, and also remain $A,B$ modulo $2X$. Since we have the third lemma, we have to show that $(A,B,2X)=1$ (we need $X-Y$ odd and also $p_i>n$ here). It is quite obviously so we omit it.

So now we have $A,B$ satisfy the left side of the equation $(*)$ is an integer and $(A,B)=1$. To get $c,d$, recall a familiar theorem which state that if $(A,B)=1$, there are integers $u,v$ that $uA+vB=1$. Now take $c,d$ equal to $u,v$ times the number on the left side to finish the proof.

The infinitely-condition can be done by taking $p_i$ arbitrary large. The proof above do not show how large of the number $x$, but if we take $p_1$ to be sufficiently large, since $p_1$ divides $x+1$, then $x$ must be "large" as $p_1$.

P/s: I’m working on improving my English, so please excuse any mistakes.
This post has been edited 8 times. Last edited by MaySayToc124, Oct 29, 2020, 2:04 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.
Aryan-23
558 posts
#12 • 2 Y
Y by AlastorMoody, pavel kozlov
We prove the statement for general odd $2k+1$ .

We prove that there exist infinitely many $N$ such that none of the numbers $\{N^2+k^2+j\}_{j=1}^{2k}$ are representable as the sum of two perfect squares .

The main idea of the proof is that we will construct primes $\{p_j\}_{j=1}^{2k}$ such that $p_j \equiv 3 \pmod 4 $ and $\nu_{p_j}(N^2+k^2+j)=1$ . This obviously finishes .


We will use two well known lemmas :

Lemma 1 : Given a positive integer $a$ which is not a perfect square , there exist infinitely many primes $p \equiv 3 \pmod 4$ such that $\left( \frac ap \right)=-1$ .

We omit the proof as it is quite classical and well known .

Lemma 2 : Given a quadratic residue $r$ modulo $p$ , there exists a positive integer $x$ with $0<x<2p$ with $p \nmid x$ such that the following congruences hold:

$$ x^2 \equiv r \pmod p \quad x^2 \neq r \pmod {p^2}$$
Proof : Simply note that $x^2$ and $(x+p)^2$ are congruent to the same quadratic residue modulo $p$ . However :

$$ (x+p)^2-x^2 = 2px + p^2 \neq 0 \pmod {p^2}$$Hence atleast one of $x$ and $x+p$ is a solution. $\blacksquare$

Now we return to the problem at hand .

Pick $2k$ primes $p_1,p_2, \dots p_{2k}$ such that all of them are of the form $3 \pmod 4$ and $$ \left ( \frac {k^2+j}{p_j} \right) =-1 \quad \forall 1\leq j \leq 2k$$
Allow $k^2+j \equiv -r_j \pmod {p_j}$ . Note that $r_j$ is a quadratic residue modulo $p_j$ .

By the lemma 2 , we can find a $k_j$ with $(k_j,p_j)=1$ and $0<k_j<2p_j$ , for all $1\leq j\leq 2k$ such that :

$$ {k_j}^2 \equiv r_j \pmod {p_j} \quad {k_j}^2 \neq r_j \pmod {p_j^2}$$
Now we let $$N= k_j \pmod {p_j^2} \quad \forall 1\leq j \leq 2k $$
Hence we observe that each of the numbers in the sequence $\{N^2+k^2+j\}_{j=1}^{2k}$ are fully divisible by a odd exponent of a $3  \pmod 4$ prime and hence can never be represented as the sum of two perfect squares . We finish by noting $$2k+1=(N^2+(k+1)^2)-(N^2+k^2)$$
We are done . $\blacksquare$
This post has been edited 1 time. Last edited by Aryan-23, Jul 26, 2020, 9:23 AM
Reason: Typo
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
TheUltimate123
1740 posts
#13
Y by
Solved with nukelauncher.

Say a number is fit if it is the sum of two squares, and unfit otherwise. Observe that if \(n\) is divisible by a prime \(p\equiv3\pmod4\) but not \(p^2\), then \(n\) is unfit. Note that for all integers \(x\), the numbers \(x^2+1007^2\) and \(x^2+1008^2\) are fit and differ by 2015. It will suffice to show there are infinitely many \(x\) such that the numbers \(x^2+1007^2+1\), \(x^2+1007^2+2\), \ldots, \(x^2+1007^2+2014\) are unfit.

Lemma: [Well-known QR] For every \(i\) that is not a perfect square, there is a prime \(p\equiv3\pmod4\) with \(p-i\) a quadratic residue modulo \(p^2\).

Proof. By Hensel's lemma, it is sufficient to show there is a \(p\equiv3\pmod4\) prime with \(-i\) a quadratic residue modulo \(p\); that is, \(i\) not a quadratic residue modulo \(p\).

Let \(i=q_1q_2\cdots q_k\cdot(\text{square})\), where \(q_1\), \ldots, \(q_k\) are distinct. Then \[\left(\frac ip\right)=\prod_{i=1}^k\left(\frac{q_i}p\right)=\pm\prod_{i=1}^k\left(\frac p{q_i}\right),\]It is obvious by Dirichlet theorem we can find \(p\) with the above expression equal to \(-1\). \(\blacksquare\)

Now for each \(i=1,\ldots,2014\), let \(p_i\) be a prime with \(p_i-(i+1007^2)\) a quadratic residue modulo \(p_i^2\) by the lemma. Then take \(P=p_1p_2\cdots p_{2014}\) and \(c\) a constant with \[c^2\equiv p_i-(i+1007^2)\pmod{p_i^2}\quad\text{for all }i=1,\ldots,2014.\]It follows that for all \(j\), the number \(x=P^2j+c\) has the property that \(x^2+1007^2+i\equiv p_i\pmod{p_i^2}\) for \(i=1,\ldots,2014\); that is, each \(x^2+1007^2+i\) is divisible by a \(3\pmod4\) prime but not its square, so it is unfit.

There are infinitely many such \(x\) of the form \(P^2j+c\), so this 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.
CANBANKAN
1301 posts
#14
Y by
Some motivation: It's easy to force 2014 consecutive numbers to not be sum of two squares, but it's not so easy to force two numbers to be sum of two squares. So we force the sum of two numbers to be sum of two squares via algebraic methods, and force the 2014 consecutive numbers to not be sum of two squares in a similar way.

When I experimented with $(a+1)^2+(a-1)^2=2a^2+2$, I am inspired to use $2a=b+1005, x=a^2+b^2, x+2015=(a+2)^2+(b-1)^2$. Then we can see $x+k=a^2+(2a-1005)^2+k=5a^2-4020a+1005^2+k=5(a-402)^2+k+C$ for some constant $C$.

We force $5(a-402)^2+k+C\equiv p_k(\bmod\; p_k^2)$ for $1\le k\le 2014, p_k\equiv -1(\bmod\; 4)$. This is equivalent to $5(a-402)^2\equiv p_k-k-C(\bmod\; p_k^2)$. This is not hard to just do; pick $p_k>500,$ first find $5(a-402)^2\equiv -(k+C) (\bmod\; p_k)$, which is viable through dirichlet and quadratic reciprocity. Then, for that $a$, we consider $5(a-402)^2, 5(a+p-402)^2,\cdots, 5(a+(p-1)p-402)^2$. It's not hard to verify they are distinct mod $p^2$ but same mod $p$, so we can pin down $a$ mod $p_k^2$, then finish with Chinese Remainder Theorem.
This post has been edited 2 times. Last edited by CANBANKAN, Feb 28, 2021, 8:25 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Sprites
478 posts
#15
Y by
Note that if $2b  - a = 1005$ then $(a-1)^2 + (b+2)^2 - a^2 - b^2 = 2015$ so it suffices to show that $a^2 + b^2 + 1 , ..., a^2 + b^2 + 2014$ cannot be represented as sum of two squares.
By Generalized Chestnut Ramification Theorem,choose \begin{align*}
a^2 \equiv -b^2-1 \pmod {p_1^2}
\\
a^2 \equiv -b^2-2 \pmod {p_2^2}
\\
.
\\
.
\\
.
\\
                                  .
\\
a^2 \equiv -b^2-2014 \pmod {{p_{2014}^2} }
\end{align*}and it's easy to guarantee that the congruencies have solutions so we are done$\blacksquare$
Edit:350th post!!!!!!!! :pilot:
This post has been edited 8 times. Last edited by Sprites, Sep 5, 2021, 3:18 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
ihategeo_1969
205 posts
#17
Y by
Pretty standard. This is the main claim.

Claim: If $x \in \mathbb{N}$ such that it is not a perfect square then there exists infinitely many primes $p \equiv 3 \pmod 4$ such that $x$ is NQR $\bmod p$.
Proof: If we remove the $3 \pmod 4$ condition on $p$, then we proceed the normal way, that is using QR law and manually choosing what we want $\left(\frac{p}q \right)$ to be where $\nu_q(x)$ is odd (and $q$ is odd); which only depends on $q$.

So see that when we take the CRT at the end, for the odd $q$ we are fine but the problem we will have is choosing $\left(\frac 2p \right)$ but see that if we want it to be QR then choose $p \equiv 7 \pmod 8$ and $p \equiv 3 \pmod 8$ otherwise. Now do a big aah Dirichlet at the end. $\square$

Let $b=B^2+1007^2$ and $b+2015=B^2+1008^2$.

Let $p_i \equiv 3 \pmod 4$ be large primes (from $1$ to $2014$) such that \[\left(\frac{1007^2+i}{p_i} \right)=-1\]by our above lemma; which is possible as $1007^2+2014<1008^2$.

Hence see that we need $B$ such that \[f_i(B)=B^2+1007^2+i \equiv p_i \pmod {p_i^2}\]for all $1 \le i \le 2014$ which is true by Hensel's lemma (see that $f_i(B)$ has a solution $\bmod p_i$ and doesn't satisfy $f_i'(B) \equiv 0$ as $p_i$ is large) and CRT at the end.

And so by Fermat's Christmas theorem, we get that $b+1$, $\dots$, $b+2014$ can not be written as sum of $2$ squares.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
bin_sherlo
705 posts
#18 • 1 Y
Y by MS_asdfgzxcvb
Lemma: We can find infinitely many primes $\equiv 3(mod \ 4)$ where a non-perfect square $a\in \mathbb{Z}^+$ is not a quadratic residue.
Proof: We will use Chinese Remainder Theorem and Drichlet. Let $q_1\dots q_k$ be the squarefree part of $a$. Pick $p\equiv 1(mod \ q_1\dots q_{k-1})$ and $p\equiv 7(mod \ 8)$. If $\nu_2(a)$ is odd, note that $(\frac{2a}{p})=(\frac{a}{p})$ hence assume that $q_i'$s are odd. Then, $(\frac{a}{p})=(\frac{q_1}{p})\dots (\frac{q_k}{p})=(-1)^k(\frac{p}{q_1})\dots (\frac{p}{q_k})=(-1)^k(\frac{p}{q_k})$. If $k$ is even, then pick $p$ non-quadratic residue mod $q_k$ and if $k$ is odd, pick $p\equiv 1(mod \ q_k)$.

Let $1007^2=\ell$, note that none of $\ell+1,\dots, \ell+2014$ is a perfect square and let $2025!\ell^{2024}<p_1<\dots <p_{2014}$ be $2014$ primes $\equiv 7(mod \ 8)$ such that $(\frac{-\ell-i}{p_i})=-(\frac{\ell+i}{p_i})=1$. Let $m_i^2\equiv -l-i(mod \ p_i)$ such that $p_i^2\not | m_i^2+\ell+i$ which can be provided since if $p_i^2|m_i^2+\ell+i$, then $p_i^2\not | (p_i-m)^2+\ell+i$. We have
$m_i^2+\ell+i\equiv p_it_i(mod \ p_i^2)$ where $(p_i,t_i)=1$ hence $m_i^2\equiv t_ip_i-\ell-i(mod \ p_i^2)$ for all $1\leq i\leq 2014$. Pick $k\equiv m_i(mod \ p_i^2)$ which exists by Chinese Remainder Theorem. This implies $k^2\equiv m_i^2\equiv t_ip_i-\ell-i(mod \ p_i^2)$ thus, $\nu_{p_i}(k^2+\ell+i)=1$ and this gives that none of $k^2+\ell+1,\dots, k^2+\ell+2014$ can be written as sum of two squares and $k^2+1007^2,k^2+1007^2+2015=k^2+1008^2$ can be written as desired.$\blacksquare$
Z K Y
N Quick Reply
G
H
=
a