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

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

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

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

Be sure to mark your calendars for the following upcoming events:
[list][*]May 9th, 4:30pm PT/7:30pm ET, Casework 2: Overwhelming Evidence — A Text Adventure, a game where participants will work together to navigate the map, solve puzzles, and win! All are welcome.
[*]May 19th, 4:30pm PT/7:30pm ET, What's Next After Beast Academy?, designed for students finishing Beast Academy and ready for Prealgebra 1.
[*]May 20th, 4:00pm PT/7:00pm ET, Mathcamp 2025 Qualifying Quiz Part 1 Math Jam, Problems 1 to 4, join the Canada/USA Mathcamp staff for this exciting Math Jam, where they discuss solutions to Problems 1 to 4 of the 2025 Mathcamp Qualifying Quiz!
[*]May 21st, 4:00pm PT/7:00pm ET, Mathcamp 2025 Qualifying Quiz Part 2 Math Jam, Problems 5 and 6, Canada/USA Mathcamp staff will discuss solutions to Problems 5 and 6 of the 2025 Mathcamp Qualifying Quiz![/list]
Our full course list for upcoming classes is below:
All classes run 7:30pm-8:45pm ET/4:30pm - 5:45pm PT unless otherwise noted.

Introductory: Grades 5-10

Prealgebra 1 Self-Paced

Prealgebra 1
Tuesday, May 13 - Aug 26
Thursday, May 29 - Sep 11
Sunday, Jun 15 - Oct 12
Monday, Jun 30 - Oct 20
Wednesday, Jul 16 - Oct 29

Prealgebra 2 Self-Paced

Prealgebra 2
Wednesday, May 7 - Aug 20
Monday, Jun 2 - Sep 22
Sunday, Jun 29 - Oct 26
Friday, Jul 25 - Nov 21

Introduction to Algebra A Self-Paced

Introduction to Algebra A
Sunday, May 11 - Sep 14 (1:00 - 2:30 pm ET/10:00 - 11:30 am PT)
Wednesday, May 14 - Aug 27
Friday, May 30 - Sep 26
Monday, Jun 2 - Sep 22
Sunday, Jun 15 - Oct 12
Thursday, Jun 26 - Oct 9
Tuesday, Jul 15 - Oct 28

Introduction to Counting & Probability Self-Paced

Introduction to Counting & Probability
Thursday, May 15 - Jul 31
Sunday, Jun 1 - Aug 24
Thursday, Jun 12 - Aug 28
Wednesday, Jul 9 - Sep 24
Sunday, Jul 27 - Oct 19

Introduction to Number Theory
Friday, May 9 - Aug 1
Wednesday, May 21 - Aug 6
Monday, Jun 9 - Aug 25
Sunday, Jun 15 - Sep 14
Tuesday, Jul 15 - Sep 30

Introduction to Algebra B Self-Paced

Introduction to Algebra B
Tuesday, May 6 - Aug 19
Wednesday, Jun 4 - Sep 17
Sunday, Jun 22 - Oct 19
Friday, Jul 18 - Nov 14

Introduction to Geometry
Sunday, May 11 - Nov 9
Tuesday, May 20 - Oct 28
Monday, Jun 16 - Dec 8
Friday, Jun 20 - Jan 9
Sunday, Jun 29 - Jan 11
Monday, Jul 14 - Jan 19

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

Intermediate: Grades 8-12

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

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

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

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

Advanced: Grades 9-12

Olympiad Geometry
Tuesday, Jun 10 - Aug 26

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

Group Theory
Thursday, Jun 12 - Sep 11

Contest Preparation: Grades 6-12

MATHCOUNTS/AMC 8 Basics
Friday, May 23 - Aug 15
Monday, Jun 2 - Aug 18
Thursday, Jun 12 - Aug 28
Sunday, Jun 22 - Sep 21
Tues & Thurs, Jul 8 - Aug 14 (meets twice a week!)

MATHCOUNTS/AMC 8 Advanced
Sunday, May 11 - Aug 10
Tuesday, May 27 - Aug 12
Wednesday, Jun 11 - Aug 27
Sunday, Jun 22 - Sep 21
Tues & Thurs, Jul 8 - Aug 14 (meets twice a week!)

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

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

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

AMC 12 Final Fives
Sunday, May 18 - Jun 15

AIME Problem Series A
Thursday, May 22 - Jul 31

AIME Problem Series B
Sunday, Jun 22 - Sep 21

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

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


MathWOOT Level 1
MathWOOT Level 2
ChemWOOT
CodeWOOT
PhysicsWOOT

Programming

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

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

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

Physics

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

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

Relativity
Mon, Tue, Wed & Thurs, Jun 23 - Jun 26 (meets every day of the week!)
0 replies
jlacosta
May 1, 2025
0 replies
k i Adding contests to the Contest Collections
dcouchman   1
N Apr 5, 2023 by v_Enhance
Want to help AoPS remain a valuable Olympiad resource? Help us add contests to AoPS's Contest Collections.

Find instructions and a list of contests to add here: https://artofproblemsolving.com/community/c40244h1064480_contests_to_add
1 reply
dcouchman
Sep 9, 2019
v_Enhance
Apr 5, 2023
k i Zero tolerance
ZetaX   49
N May 4, 2019 by NoDealsHere
Source: Use your common sense! (enough is enough)
Some users don't want to learn, some other simply ignore advises.
But please follow the following guideline:


To make it short: ALWAYS USE YOUR COMMON SENSE IF POSTING!
If you don't have common sense, don't post.


More specifically:

For new threads:


a) Good, meaningful title:
The title has to say what the problem is about in best way possible.
If that title occured already, it's definitely bad. And contest names aren't good either.
That's in fact a requirement for being able to search old problems.

Examples:
Bad titles:
- "Hard"/"Medium"/"Easy" (if you find it so cool how hard/easy it is, tell it in the post and use a title that tells us the problem)
- "Number Theory" (hey guy, guess why this forum's named that way¿ and is it the only such problem on earth¿)
- "Fibonacci" (there are millions of Fibonacci problems out there, all posted and named the same...)
- "Chinese TST 2003" (does this say anything about the problem¿)
Good titles:
- "On divisors of a³+2b³+4c³-6abc"
- "Number of solutions to x²+y²=6z²"
- "Fibonacci numbers are never squares"


b) Use search function:
Before posting a "new" problem spend at least two, better five, minutes to look if this problem was posted before. If it was, don't repost it. If you have anything important to say on topic, post it in one of the older threads.
If the thread is locked cause of this, use search function.

Update (by Amir Hossein). The best way to search for two keywords in AoPS is to input
[code]+"first keyword" +"second keyword"[/code]
so that any post containing both strings "first word" and "second form".


c) Good problem statement:
Some recent really bad post was:
[quote]$lim_{n\to 1}^{+\infty}\frac{1}{n}-lnn$[/quote]
It contains no question and no answer.
If you do this, too, you are on the best way to get your thread deleted. Write everything clearly, define where your variables come from (and define the "natural" numbers if used). Additionally read your post at least twice before submitting. After you sent it, read it again and use the Edit-Button if necessary to correct errors.


For answers to already existing threads:


d) Of any interest and with content:
Don't post things that are more trivial than completely obvious. For example, if the question is to solve $x^{3}+y^{3}=z^{3}$, do not answer with "$x=y=z=0$ is a solution" only. Either you post any kind of proof or at least something unexpected (like "$x=1337, y=481, z=42$ is the smallest solution). Someone that does not see that $x=y=z=0$ is a solution of the above without your post is completely wrong here, this is an IMO-level forum.
Similar, posting "I have solved this problem" but not posting anything else is not welcome; it even looks that you just want to show off what a genius you are.

e) Well written and checked answers:
Like c) for new threads, check your solutions at least twice for mistakes. And after sending, read it again and use the Edit-Button if necessary to correct errors.



To repeat it: ALWAYS USE YOUR COMMON SENSE IF POSTING!


Everything definitely out of range of common sense will be locked or deleted (exept for new users having less than about 42 posts, they are newbies and need/get some time to learn).

The above rules will be applied from next monday (5. march of 2007).
Feel free to discuss on this here.
49 replies
ZetaX
Feb 27, 2007
NoDealsHere
May 4, 2019
F.E....can you solve it?
Jackson0423   14
N 16 minutes ago by maromex
Find all functions \( f : \mathbb{R} \to \mathbb{R} \) such that
\[
f\left(\frac{x^2 - f(x)}{f(x) - 1}\right) = x
\]for all real numbers \( x \) satisfying \( f(x) \neq 1 \).
14 replies
Jackson0423
3 hours ago
maromex
16 minutes ago
Benelux fe
ErTeeEs06   11
N 17 minutes ago by Pitchu-25
Source: BxMO 2025 P1
Does there exist a function $f:\mathbb{R}\to \mathbb{R}$ such that $$f(x^2+f(y))=f(x)^2-y$$for all $x, y\in \mathbb{R}$?
11 replies
1 viewing
ErTeeEs06
Apr 26, 2025
Pitchu-25
17 minutes ago
Consecutive averages of sequence always integer squares
math154   40
N 18 minutes ago by cursed_tangent1434
Source: USA December TST for IMO 2014, Problem 2
Let $a_1,a_2,a_3,\ldots$ be a sequence of integers, with the property that every consecutive group of $a_i$'s averages to a perfect square. More precisely, for every positive integers $n$ and $k$, the quantity \[\frac{a_n+a_{n+1}+\cdots+a_{n+k-1}}{k}\] is always the square of an integer. Prove that the sequence must be constant (all $a_i$ are equal to the same perfect square).

Evan O'Dorney and Victor Wang
40 replies
+1 w
math154
Dec 24, 2013
cursed_tangent1434
18 minutes ago
Problem3
samithayohan   115
N 23 minutes ago by bjump
Source: IMO 2015 problem 3
Let $ABC$ be an acute triangle with $AB > AC$. Let $\Gamma $ be its circumcircle, $H$ its orthocenter, and $F$ the foot of the altitude from $A$. Let $M$ be the midpoint of $BC$. Let $Q$ be the point on $\Gamma$ such that $\angle HQA = 90^{\circ}$ and let $K$ be the point on $\Gamma$ such that $\angle HKQ = 90^{\circ}$. Assume that the points $A$, $B$, $C$, $K$ and $Q$ are all different and lie on $\Gamma$ in this order.

Prove that the circumcircles of triangles $KQH$ and $FKM$ are tangent to each other.

Proposed by Ukraine
115 replies
samithayohan
Jul 10, 2015
bjump
23 minutes ago
hard problem
Cobedangiu   0
26 minutes ago
$a,b,c>0$ and $a+b+c=7$. CM:
$\dfrac{a}{b}+\dfrac{b}{c}+\dfrac{c}{a}+abc \ge ab+bc+ca-2$
0 replies
Cobedangiu
26 minutes ago
0 replies
IMO 2008, Question 4
orl   119
N 39 minutes ago by lpieleanu
Source: IMO Shortlist 2008, A1
Find all functions $ f: (0, \infty) \mapsto (0, \infty)$ (so $ f$ is a function from the positive real numbers) such that
\[ \frac {\left( f(w) \right)^2 + \left( f(x) \right)^2}{f(y^2) + f(z^2) } = \frac {w^2 + x^2}{y^2 + z^2}
\]
for all positive real numbers $ w,x,y,z,$ satisfying $ wx = yz.$


Author: Hojoo Lee, South Korea
119 replies
1 viewing
orl
Jul 17, 2008
lpieleanu
39 minutes ago
P29 [Geometry] - Turkish NMO 1st Round - 2004
matematikolimpiyati   2
N 39 minutes ago by ehuseyinyigit
Let $M$ be the intersection of the diagonals $AC$ and $BD$ of cyclic quadrilateral $ABCD$. If $|AB|=5$, $|CD|=3$, and $m(\widehat{AMB}) = 60^\circ$, what is the circumradius of the quadrilateral?

$ 
\textbf{(A)}\ 5\sqrt 3
\qquad\textbf{(B)}\ \dfrac {7\sqrt 3}{3}
\qquad\textbf{(C)}\ 6
\qquad\textbf{(D)}\ 4
\qquad\textbf{(E)}\ \sqrt{34}
$
2 replies
matematikolimpiyati
Nov 12, 2013
ehuseyinyigit
39 minutes ago
IMO Genre Predictions
ohiorizzler1434   45
N 42 minutes ago by ehuseyinyigit
Everybody, with IMO upcoming, what are you predictions for the problem genres?


Personally I predict: predict
45 replies
ohiorizzler1434
May 3, 2025
ehuseyinyigit
42 minutes ago
2f(f(xy)-f(x+y))=xy+f(x)f(y)
dangerousliri   6
N 42 minutes ago by jasperE3
Find all functions $f:\mathbb{R}\rightarrow\mathbb{R}$ such that:
$$2f\left(f(xy)-f(x+y)\right)=xy+f(x)f(y)$$for all $x,y\in\mathbb{R}$.
6 replies
dangerousliri
May 12, 2019
jasperE3
42 minutes ago
Numbers on cards (again!)
popcorn1   78
N an hour ago by maromex
Source: IMO 2021 P1
Let $n \geqslant 100$ be an integer. Ivan writes the numbers $n, n+1, \ldots, 2 n$ each on different cards. He then shuffles these $n+1$ cards, and divides them into two piles. Prove that at least one of the piles contains two cards such that the sum of their numbers is a perfect square.
78 replies
popcorn1
Jul 20, 2021
maromex
an hour ago
Number Theory Chain!
JetFire008   61
N an hour ago by JetFire008
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
61 replies
JetFire008
Apr 7, 2025
JetFire008
an hour ago
Algebra Pure one
Jackson0423   0
an hour ago

Let \( x_1, x_2, \dots, x_6 \) be six distinct real numbers satisfying the following condition:

For each \( i = 1, 2, \dots, 6 \),
\[
x_i^6 + (-1)^{i+1} x_i = -x_1 x_2 x_3 x_4 x_5 x_6.
\]
Find the maximum value of \( x_1 x_2 + x_3 x_4 + x_5 x_6 \).
0 replies
Jackson0423
an hour ago
0 replies
Number theory
MathsII-enjoy   0
an hour ago
Prove that when $x^p+y^p$ | $(p^2-1)^n$ with $x,y$ are positive integers and $p$ is prime ($p>3$), we get: $x=y$
0 replies
MathsII-enjoy
an hour ago
0 replies
CooL geo
Pomegranat   1
N 2 hours ago by Pomegranat
Source: Idk

In triangle \( ABC \), \( D \) is the midpoint of \( BC \). \( E \) is an arbitrary point on \( AC \). Let \( S \) be the intersection of \( AD \) and \( BE \). The line \( CS \) intersects with the circumcircle of \( ACD \), for the second time at \( K \). \( P \) is the circumcenter of triangle \( ABE \). Prove that \( PK \perp CK \).
1 reply
1 viewing
Pomegranat
Today at 5:57 AM
Pomegranat
2 hours ago
IMO 2008, Question 3
delegat   79
N Apr 15, 2025 by shanelin-sigma
Source: IMO Shortlist 2008, N6
Prove that there are infinitely many positive integers $ n$ such that $ n^{2} + 1$ has a prime divisor greater than $ 2n + \sqrt {2n}$.

Author: Kestutis Cesnavicius, Lithuania
79 replies
delegat
Jul 16, 2008
shanelin-sigma
Apr 15, 2025
IMO 2008, Question 3
G H J
Source: IMO Shortlist 2008, N6
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
bryanguo
1032 posts
#70 • 1 Y
Y by centslordm
The above proof fails (the proof of the claim is incorrect). It is one of Landau's unsolved problems.

See this.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Amkan2022
2014 posts
#71
Y by
bryanguo wrote:
The above proof fails (the proof of the claim is incorrect). It is one of Landau's unsolved problems.

See this.

Wait how come?

I 99% expected that since I'm not very good at math, but why doesn't this work:

Claim: There exist infinite prime numbers of form $n^{2} + 1$ which $n \in Z^{+}$

If $n^{2} +1$ is prime then $n^2$, and $n$, are even. Thus we can consider the expression mod $4$, to assert that $n^{2} + 1$ is of form $4r + 1$ for positive integers $r$.

Simply proving there are infinite primes of form $4r + 1$ will suffice. This is well known. So done
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
YaoAOPS
1540 posts
#72
Y by
Well consider the following invalid argument.
Variant wrote:
If $n^{2} +1$ is prime then $n^2 + 1$ must be odd for $n \ge 2$. Thus we can consider the expression mod $2$, to assert that $n^{2} + 1$ is of form $2r + 1$ for positive integers $r$.

Simply proving there are infinite primes of form $2r + 1$ will suffice. This is well known. So done
This post has been edited 3 times. Last edited by YaoAOPS, Jul 15, 2023, 3:00 AM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Amkan2022
2014 posts
#73
Y by
Oh I see...

But still, why doesn't it work? Like why isn't mod 4 good enough? It usually works with similar diophantines so im confused

Are there other circumstances where this is true as well?
This post has been edited 1 time. Last edited by Amkan2022, Jul 15, 2023, 6:11 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
djmathman
7938 posts
#74 • 1 Y
Y by centslordm
Let's take YaoAOPS's example and push it even further.
Variant wrote:
If $n^{2} -1$ is prime then $n^2 - 1$ must be odd for $n \ge 2$. Thus we can consider the expression mod $2$, to assert that $n^{2} - 1$ is of form $2r - 1$ for positive integers $r$.

Simply proving there are infinite primes of form $2r - 1$ will suffice. This is well known. So done
But here the claim is false, because $n^2 - 1$ factors!

Do you see what's going on here? You've expanded the search space too much. An analogous "real life" version of your argument would be as follows:
Variant of a variant wrote:
Let's prove that over 1 billion people live in Mongolia. To do this, note that if someone lives in Mongolia, they must live in Asia. Thus, it suffices to prove that over 1 billion people live in Asia, which is true.
This post has been edited 3 times. Last edited by djmathman, Jul 15, 2023, 7:54 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Amkan2022
2014 posts
#75
Y by
Oh!!!!!!!! I see! Thank you so much

Basically for my proof to work I have to prove all primes of form 4n+1 are also of form x^2 + 1 which is false

tysm
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
pikapika007
298 posts
#76
Y by
For each sufficiently large prime $p \equiv 1 \pmod{4}$, let $n$ be the minimal root of $n^2 + 1 \equiv 0 \pmod{p}$. I claim that this $n$ has $p > 2n + \sqrt{2n}$, which will finish. Indeed, clearly $n \le \frac{p-1}{2} = a$, so let $n = a - k$. Now
\begin{align*}
  n^2 + 1 \equiv 0 \pmod{p} &\implies (a - k)^2 + 1 \equiv 0 \pmod{p} \\
  &\implies (2k+1)^2 + 4 \equiv 0 \pmod{p} \\
  &\implies p \le 4k^2 + 4k + 5. 
\end{align*}Putting this back in terms of $n$ gives
\begin{align*}
  p \le 4k^2 + 4k + 5  &\implies p \le (p - 2n)^2 + 4 \\
  &\implies p^2 - (4n+1)p + (4n^2+4) \ge 0 \\
  &\implies p \ge \frac{4n + 1 + \sqrt{8n - 15}}{2}
\end{align*}which implies the bound for sufficiently large $n$.

A small remark on motivation
This post has been edited 4 times. Last edited by pikapika007, Jan 8, 2024, 5:31 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
dolphinday
1324 posts
#77
Y by
Let $p$ be some arbitrarily large prime that is $\equiv 1\pmod{4}$. Then let $n$ be the smallest $n$ that satisfies $n^2 \equiv -1\pmod{p}$. Notice that $n \leq \frac{p-1}{2}$ since there are at most two distinct solutions to $n^2 \equiv -1\pmod{p}$ that add up to $p-1 \pmod{p}$ (you can prove this with primitive roots). So then let $k = \frac{p-1}{2} - n$.
Expanding $(\frac{p-1}{2} - k)^2 + 1 \pmod{p}$ gives $4k^2 + 4k + 5 \equiv 0\pmod{p}$.
Then plugging in $k = \frac{p-1}{2} - n$ again gives $(p - 2n)^2 + 4 \geq p$. Expanding gives $p^2 - (4n + 1)p + 4n^2 + 4 \geq 0 \implies p \geq \frac{4n + 1 + \sqrt{8n - 15}}{2}$ which is enough as $\sqrt{8n - 15} \geq \sqrt{2n}$ for sufficiently large $n$.
This post has been edited 1 time. Last edited by dolphinday, Feb 25, 2024, 12:14 AM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
awesomeming327.
1712 posts
#78 • 1 Y
Y by MathPerson12321
Let $p$ be a prime equivalent to $1\pmod 4$. Then $n^2\equiv -1 \pmod p$ has solutions. Note that if there are solutions for $n$ that are less than $p$, then they come in pairs adding up to $p-1$. Let $a=\tfrac{p-1}{2}$ then let the two smallest solutions be $a\pm k$. Note that $p\mid (a-k)^2+1$ so $p\mid (2a-2k)^2+4$, which implies $p\mid (2k+1)^2+4=(p-2n)^2+4$. Solving the quadratic equation gives
\[p=\frac{4n+1+\sqrt{8n-15}}{2}\]Now, $4n+1+\sqrt{8n-15}>4n+\sqrt{8n}$ if and only if $\sqrt{8n}-\sqrt{8n-15}<1$ which is true for sufficiently large $n$. The reason why sufficiently large $n$ ever appear in our method is because for any fixed $n$, only finitely many $p$ divides $n^2+1$.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
BlizzardWizard
108 posts
#79
Y by
Consider primes $p>20$ which are $1\pmod4$. (By Dirichlet's, there are infinitely many.)

Suppose the squareroots of $-1$ mod $p$ are $\frac{p-a}2$ and $\frac{p+a}2$, with $0<a<p$. Then $a^2\equiv(a-p)^2\equiv-4\pmod p$, so $p\leq a^2+4$. Since $p>20$, we have $a>4$, so $p\leq a^2+4<a^2+a$. Now $a>\sqrt{p-a}$, so $p>(p-a)+\sqrt{p-a}$, and we're done by setting $n=\frac{p-a}2$. Since $p$ can be arbitrarily large and $p\leq n^2+1$, $n$ can also be arbitrarily large, so there are infinitely many such $n$.
This post has been edited 1 time. Last edited by BlizzardWizard, Jul 9, 2024, 6:19 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
OronSH
1730 posts
#80 • 1 Y
Y by megarnie
We instead show that for infinitely many primes $p$ there exists $n$ with $p\mid n^2+1$ and $p>2n+\sqrt{2n}.$ This implies the problem, since no $n$ works for multiple $p$ as $n^2+1$ can have at most one divisor $>2n+\sqrt{2n}.$ In fact we show a much stronger statement: this is true for all $p\equiv 1\pmod 4$ and $p>20.$

First suppose $p\equiv 1\pmod 4.$ Then choose $n$ that satisfies $n^2\equiv -1\pmod p$ and $n<\frac p2.$ Next, we can see that $p>2n+\sqrt{2n}$ is equivalent to $n<\frac{2p+1-\sqrt{4p+1}}4$ by manipulating. Thus we just want to prove this bound.

Now set $n=\frac{p-c}2.$ From $n<\frac p2$ it follows $c$ is a positive odd integer. Now \[n^2=\left(\frac{p-c}2\right)^2\equiv -1\pmod p,\]so this becomes $c^2\equiv -4\pmod p.$ In particular, $c^2\ge p-4$ and $c\ge\sqrt{p-4}.$

Now we have $n\le\frac{p-\sqrt{p-4}}2.$ But \begin{align*}&\frac{p-\sqrt{p-4}}2<\frac{2p+1-\sqrt{4p+1}}4\\\iff&2p-2\sqrt{p-4}<2p+1-\sqrt{4p+1}\\\iff&2\sqrt{p-4}>\sqrt{4p+1}-1\\\iff&4p-16>4p+2-2\sqrt{4p+1}\\\iff&\sqrt{4p+1}>9\\\iff&p>20,\end{align*}so our claim is true.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
emi3.141592
71 posts
#81
Y by
Let $P = 4K + 1 \geq 13$ be a prime number. Then there exist two solutions to the equation $n^2 + 1 \equiv 0 \pmod{P}$. Let $0 < X_1 < X_2 < P$ be these solutions. Since $X_1 = P - X_2$, we have $X_2 > \frac{P}{2}$. That is, $X_2 \geq 2K + 1$. But if $X_2 = 2K + 1$, we would have:
\[
0 \equiv X_2^2 + 1 \equiv (2K + 1)^2 + 1 \equiv 2K(2K + 1) + 3K + 2 \equiv 3K + 2 \pmod{P}.
\]Which is not possible, since $P > 13$ we have $K \geq 3$, hence $0 < 3K + 1 \leq 4K + 1 = P$. Similarly, if $P = 2K + 2$ we would have:
\[
0 \equiv X_2^2 + 1 \equiv (2K + 2)^2 + 1  \equiv 4K(K+1)(K+1) + 3K + 4 \equiv 3K + 4 \pmod{P}.
\]Which is not possible, since $K > 3$ then $0 < 3K + 4 < 4K + 1 = P$. From the above, we have $X_2 \geq 2K + 3$. It follows that
$$2X_1 = 2(P - X_2) \leq 2(4K + 1 - (2K + 3)) = 2(2K - 2) = 4K - 4 < P - 4$$Finally, we observe that:
\[
(P - 2X_1)^2 + 4 \equiv P^2 - 4P X_1 + 4X_1^2 + 4 \equiv 4X_1^2 + 4 \equiv 0 \pmod{P}.
\]From which $P \leq (P - 2X_1)^2 + 4$, that is, $\sqrt{P - 4} \leq P - 2X_1$. We conclude that:
\[
P \geq 2X_1 + \sqrt{P - 4} > 2X_1 + \sqrt{2X_1}.
\]So for each $P > 13$ there exists an integer $n$ such that $P \mid n^2 + 1$ and $P > 2n + \sqrt{2n}$, thus we are done.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
john0512
4186 posts
#82
Y by
The main idea is that instead of thinking about it in terms of choosing $n$, think about it in terms of choosing a prime $p$ and considering the smallest $n$ for which $n^2\equiv -1\pmod{p}$. Clearly $p\equiv 1\pmod{4}$.

The idea is that the bound $$p>2n+\sqrt{2n}$$is not very strong, in fact, it says that $n$ only has to be slightly less than $\frac{p}{2}$. Since the two solutions are symmetric, the only concern is that both solutions may be very close to $\frac{p}{2}$. The following claim dispels this.

Claim: If $p\equiv 1\pmod{4}$ is sufficently large and $a$ is a positive integer such that $(\frac{p-a}{2})^2\equiv -1\pmod{p},$ then $a\geq\sqrt{p-4}$. We have $$p^2-2ap+a^2\equiv -4\pmod{p}$$$$a^2\equiv -4\pmod{p}.$$In particular, $a^2\geq p-4$.

Thus, since there exists a solution at most $\frac{p-1}{2}$ by symmetry, there exist $n\leq \frac{p-\sqrt{p-4}}{2}$ such that $n^2\equiv -1\pmod{p}$.

Thus, assuming $p\geq 29$, we have $$2n+\sqrt{2n}\leq p-\sqrt{p-4}+\sqrt{p-\sqrt{p-4}}$$$$< p-\sqrt{p-4}+\sqrt{p-4}=p,$$as desired.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
bin_sherlo
718 posts
#83
Y by
Solved with erkosfobiladol.
Pick a prime $p\equiv 17(mod \ 28)$. We will prove that there exists some $n$ such that $p|n^2+1$ and $n<\frac{p-\sqrt p}{2}$ which is stronger than given bound. There are two $n$ where $p|n^2+1$ and $0<n<p$, let $m$ be the smaller one. Suppose that $m=\frac{p-a}{2}$. We have $p|(\frac{p-a}{2})^2+1$ or $p|a^2+4$. If $a<\sqrt p$, then $a^2+4\leq p+4$ which implies $a^2+4=p$. However $a^2+4$ cannot be $3(mod \ 7)$. Thus, $a>\sqrt p$ and this gives $n<\frac{p-\sqrt p}{2}$ as desired.$\blacksquare$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
shanelin-sigma
165 posts
#84
Y by
One liner solution:
Apply Nagell's theorem on $f(n)=n^2+1$, we can see that for $N$ sufficient large, there exists a number $m<N$ such that the divisor of $m^2+1$ is greater than $cN\text{log}N$ ($c$ is a constant). Since $cN\text{log}N>2N+\sqrt{2N}$ for very large $N$, we're done.
This post has been edited 1 time. Last edited by shanelin-sigma, Apr 15, 2025, 1:46 PM
Z K Y
N Quick Reply
G
H
=
a