Join our FREE webinar on May 1st to learn about managing anxiety.

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
An easy ineq; ISI BS 2011, P1
Sayan   39
N 2 minutes ago by proxima1681
Let $x_1, x_2, \cdots , x_n$ be positive reals with $x_1+x_2+\cdots+x_n=1$. Then show that
\[\sum_{i=1}^n \frac{x_i}{2-x_i} \ge \frac{n}{2n-1}\]
39 replies
2 viewing
Sayan
Mar 31, 2013
proxima1681
2 minutes ago
problem interesting
Cobedangiu   0
6 minutes ago
Let $a=3k^2+3k+1 (a,k \in N)$
$i)$ Prove that: $a^2$ is the sum of $3$ square numbers
$ii)$ Let $b \vdots a$ and $b$ is the sum of $3$ square numbers. Prove that: $b^n$ is the sum of $3$ square numbers
0 replies
+1 w
Cobedangiu
6 minutes ago
0 replies
Find f
Redriver   2
N 8 minutes ago by Blackbeam999
Find all $: R \to R : \ \ f(x^2+f(y))=y+f^2(x)$
2 replies
Redriver
Jun 25, 2006
Blackbeam999
8 minutes ago
Easy Geometry Problem in Taiwan TST
chengbilly   7
N an hour ago by L13832
Source: 2025 Taiwan TST Round 1 Independent Study 2-G
Suppose $I$ and $I_A$ are the incenter and the $A$-excenter of triangle $ABC$, respectively.
Let $M$ be the midpoint of arc $BAC$ on the circumcircle, and $D$ be the foot of the
perpendicular from $I_A$ to $BC$. The line $MI$ intersects the circumcircle again at $T$ . For
any point $X$ on the circumcircle of triangle $ABC$, let $XT$ intersect $BC$ at $Y$ . Prove
that $A, D, X, Y$ are concyclic.
7 replies
chengbilly
Mar 6, 2025
L13832
an hour ago
No more topics!
You'll be sure of the answer
egxa   8
N Apr 4, 2025 by Burak0609
Source: Turkey National MO 2024 P4
Let $n$ be a positive integer, and let $1=d_1<d_2<\dots < d_k=n$ denote all positive divisors of $n$, If the following conditions are satisfied:
$$ 2d_2+d_4+d_5=d_7$$$$ d_3 d_6 d_7=n$$$$ (d_6+d_7)^2=n+1$$
find all possible values of $n$.

8 replies
egxa
Dec 17, 2024
Burak0609
Apr 4, 2025
You'll be sure of the answer
G H J
G H BBookmark kLocked kLocked NReply
Source: Turkey National MO 2024 P4
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
egxa
209 posts
#1 • 3 Y
Y by alexanderhamilton124, Turker31, sami1618
Let $n$ be a positive integer, and let $1=d_1<d_2<\dots < d_k=n$ denote all positive divisors of $n$, If the following conditions are satisfied:
$$ 2d_2+d_4+d_5=d_7$$$$ d_3 d_6 d_7=n$$$$ (d_6+d_7)^2=n+1$$
find all possible values of $n$.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
alexanderhamilton124
389 posts
#2 • 3 Y
Y by egxa, L13832, sami1618
I love the answer of this question :rotfl: Also great title.

solution
This post has been edited 2 times. Last edited by alexanderhamilton124, Dec 17, 2024, 10:35 AM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
BarisKoyuncu
577 posts
#3 • 2 Y
Y by alexanderhamilton124, sami1618
Basically the same as above
This post has been edited 1 time. Last edited by BarisKoyuncu, Dec 17, 2024, 11:25 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.
Anancibedih
18 posts
#4 • 1 Y
Y by sami1618
Suppose that $n$ is odd. $2d_2+d_4+d_5$ is even and $d_7$ is not even. Thus $n$ is even. If $3|n$, its clear that $d_3=3$, by second and thirth condition $d_7^2-d_6d_7+d_6^2=1$, contradiction. So $d_3>3$. If $4|n,d_3=4$ so $d_7=d_6+1$. And by second condition $8$ is a divisor too. If $5,7|n$ by firs t condition we get $16=d_7=d_6+1$ and $3|d_6$, if $5$ is not a divisor and $7$ is, we get $19=d_7$ and $3|d_6$, if $5|n$ and $7$ doesnt, $17=d_7$ and $n=1088$ but $5$ is not a divisor. if $5$ and $7$ both are not divisors, we get $d_5+12=d_7$ and $(d_5+12)(d_5+11)4=d_5d_{k-4}=n$ and we know that $d_5>7$ is a prime thus it must be $11$. $n=23\cdot 22\cdot 4=2024$. If $v_2(n)=1$Let $d_3=p$ If $d_6\geq 2p$. By Last two conditions we get $$d_6=\frac{d_7(p-2)-\sqrt{d_7^2(p^2-4p)+4}}{2}\geq 2p\Longrightarrow (d_7-4)p-2d_7\geq \sqrt{d_7^2(p^2-4p)+4}\Longrightarrow (d_7-4)^2p^2>d_7^2(p-3)^2+4$$gives a contradiction. Thus $d_6<2p$ so $d_4,d_5,d_6<2p$ are primes. And by $d_7$ is even its $2p$ thus we get $d_6=\frac{2p(p-2)-\sqrt{4p^2(p^2-4p)+4}}{2}$ and $\Delta=[2p(p-4)]^2-4\cdot 4p^2+4$ and it can't be perfect square eqsily. Thus theres no solution more. Thus $n=2024$.
This post has been edited 8 times. Last edited by Anancibedih, Dec 19, 2024, 1:46 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Turker31
10 posts
#5 • 3 Y
Y by egxa, bin_sherlo, sami1618
It's so easy after saw that $d_7=d_6+1$.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
sami1618
900 posts
#7 • 2 Y
Y by alexanderhamilton124, WithMath328
The answer is only $\boxed{n = 2024}$.
First we verify that $2024$ works. The divisors of $2024$ are $1,2,4,8,11,22,23,\dots$ which indeed satisfy
$$\begin{aligned}
    2 \cdot 2 + 8 + 11 &= 23 \\
    4 \cdot 22 \cdot 23 &= 2024 \\
    (22 + 23)^2 &= 2024+1
\end{aligned}$$
Claim: $n$ is a multiple of $8$
Proof: First, notice that if \( n \) is odd, then all of its divisors will be odd, so \( 2d_2 + d_4 + d_5 \equiv 0 \not\equiv d_7 \pmod{2} \), a contradiction. Thus, \( n \) is even. Since \( n + 1 \) is an odd perfect square, it must satisfy \( n + 1 \equiv 1 \pmod{8} \), the claim follows. A corollary is that $d_2=2$.
Claim: $d_3=4$ and $d_7=d_6+1$.
Proof: Combining the last two equations,
\[
(d_6-d_7)^2=n+1-\frac{4n}{d_3}
\]If $d_3<4$ then the right hand side would be strictly smaller than $1$, a contradiction. Thus $d_3\geq 4$. As $4|n$ we must have that $d_3=4$. Thus $(d_6-d_7)^2=1$ and hence $d_7=d_6+1$. A consequence of the fact that $d_3=4$ is that $3\nmid n$.
Substituting $d_2=2$ and $d_7=d_6+1$ into the first equation yields
\[
3 + d_4 + d_5 = d_6.
\]We proceed with casework on $(d_4,d_5)$.
Case 1: $d_4\neq 8$ (and thus a prime smaller than $8$)
Case 1.1: $(d_4,d_5)=(5,7)$
Then $d_6=15$, skipping $8$.
Case 1.2: $(d_4,d_5)=(5,8)$
Then $d_6=16$. But $5\nmid n=4\cdot 16\cdot 17$.
Case 1.3: $(d_4,d_5)=(7,8)$
Then $d_6=18$, but $3\nmid n$.
Case 2: $d_4=8$
Case 2.1: $d_5$ is even
Then $d_5=16$, but then $d_6=27$, a multiple of $3$
Case 2.2: $d_5$ is odd
Then $d_5|n=4d_6(d_6+1)=4(d_5+11)(d_5+12)$. As $d_5$ is the first odd divisor, it must be prime so either $d_5|11$ or $d_5|12$. The only possibility is $d_5=11$ giving $d_6=22$. Then $n=4\cdot 22\cdot 23=2024$, as desired.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Sadece_Threv
85 posts
#8
Y by
solution
This post has been edited 1 time. Last edited by Sadece_Threv, Dec 22, 2024, 12:34 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
cursed_tangent1434
604 posts
#9
Y by
To be honest this is just a nasty problem, which has potential mistakes lying hidden all over the place like landmines. We claim that the only answer is $n=2024$. We start with the following observation.

Claim : We have $d_2=2$ and $d_3=4$.

Proof : Say $n$ were odd then $d_2,d_4,d_5$ and $d_7$ are all odd. But then,
\[d_7 = 2d_2+d_4+d_5 \equiv 0 + 1 + 1 \equiv 0 \pmod{2}\]which is a contradiction. Thus, $n$ is even which implies $d_2=2$. Further, since $n$ is even,
\[(d_6+d_7)^2 = n+1 \equiv 1 \pmod{2}\]so $d_6+d_7$ is even. Since it is well known that the square of an odd integer is always $1\pmod{8}$ it follows that $n$ is divisible by $8$. Thus, $4\mid n$ so $d_3=3$ or $d_3=4$. Note that if $d_3=3$,
\begin{align*}
(d_6+d_7)^2 &= n+1 \\
d_6+2d_6d_7 + d_7^2 &= 3d_6d_7+1\\
d_6^2 + d_6^2 &= d_6d_7+1
\end{align*}But by AM-GM we have, $d_6^2+d_7^2 \ge 2d_6d_7 > d_6d_7 +1$ which is a clear contradiction. Thus, $d_3=4$ which proves the claim.

Claim : The equality $d_7=d_6+1$ holds for any $n$ satisfying the given conditions.

Proof : Note that since we established $d_3=4$, letting $d_7=d_6 + \epsilon$ we have
\begin{align*}
(d_6+d_7)^2 &= n+1 \\
(d_6+d_7)^2 &= 4d_6d_7 + 1\\
d_6^2 + d_7^2 &= 2d_6d_7 + 1\\
d_6^2 + (d_6+\epsilon)^2 &= 2d_6(d_6+\epsilon) +1\\
2d_6^2 + 2d_6\epsilon + \epsilon^2 &= 2d_6^2 + 2d_6\epsilon +1\\
\epsilon^2 &= 1\\
\epsilon &= 1
\end{align*}which implies $d_7=d_6+1$ as claimed.

Now note that since $(d_6+d_7)^2=n+1$ and the square of an integer is always $0$ or $1 \pmod{3}$, since $3\nmid n$ the only possibility is $3\mid n+1$ so $3\mid d_6+d_7=2d_6+1$ which implies $d_6 \equiv 1 \pmod{3}$.

We now sadly have to resort to casework. Since $8\mid n$, $8$ is a factor of $n$. Further since $d_3=4$ , $d_8 \ge 9$. Thus, $8$ is one of $d_4$ , $d_5$ , $d_6$ and $d_7$. These will be our four cases.

Case 1 : $d_7=8$. We then require $d_4=5$ , $d_5=6$ , $d_6=7$ and $d_7=8$, which is a contradiction since $3\nmid n$.

Case 2 : $d_6=8$. But this is a contradiction since $d_6=8 \not \equiv 1 \pmod{3}$.

Case 3 : $d_5=8$. Then we require, $d_4=5$ or $d_4=7$ (since $3\nmid n$ $d_4\ne 6$). If $d_4=5$, then $d_7=2d_2+d_4+d_5=17$ so $d_6=16$. This immediately gives $n=d_3d_6d_7=4\cdot 16 \cdot 17$ which is a contradiction since this is not divisible by $5$. If $d_4=7$, then we have $d_7=2d_2+d_4+d_5=19$ and $d_6=18$ which is a contradiction since $3\nmid n$.

Case 4 : $d_4=8$. Here we have two possibilities. If $d_5=16$, then $d_7=2d_2+d_4+d_5 = 28$ and $d_6=27$ which is divisible by 3 which is impossible. If there exists some odd prime $p\mid d_5$, $d_7 = 2d_2+d_4+d_5=p+12$ so $d_6=p+11$. Since $d_5\mid n=d_3d_6d_7=4d_6d_7$. So $p\mid d_6$ or $p\mid d_7$.

If $p\mid d_7$, $p\mid d_7-d_5=12$ which is impossible since $3\nmid n$.

If $p \mid d_6$, $p\mid d_6-d_5 = 11$ so $p\mid 11$. Since no multiple of $11$ proceeds $d_5$ we must have $d_5=11$. So $d_6=22$ and $d_7=23$. Then, $n=4 \cdot 22 \cdot 23 = 2024$. It now remains to write out the divisors of $2024$ and check that all the conditions are met, which is easy enough.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Burak0609
14 posts
#11
Y by
So if $2 \nmid n\implies$ $2d_2+d_4+d_5=d_7$ is even it's contradiction. I mean $2 \mid n$ and $d_2=2$.
If $3\mid n \implies d_3=3$ and $(d_6+d_7)^2=n+1,3d_6d_7=n \implies d_6^2-d_6d_7+d_7^2=1$,we can see the only solution is$d_6=d_7=1$ and it is contradiction.
If $4 \mid n d_3=4$ and $(d_6+d_7)^2-4d_6d_7=1 \implies d_7=d_6+1$. So $n=4d_6(d_6+1)$.İt means $8 \mid n$.
If $d_6=8 n=4.8.9=288$ but $3 \nmid n$.İt is contradiction.
If $d_5=8$ we have 2 option. Firstly $d_4=5 \implies 2d_2+d_4+d_5=17=d_7 d_6=16$ but $10 \mid n$ is contradiction. Secondly $d_4=7 \implies d_7=2.2+7+8=19 and d_6=18$ but $3 \nmid n$ is contradiction. I mean $d_4=8 \implies d_7=d_5+12, n=4(d_5+11)(d_5+12) and d_5 \mid n=4(d_5+11)(d_5+12)$. So $d_5 \mid 4.11.12 \implies d_5 \mid 16.11$. If $d_5=16 d_6=27$ but $3 \nmid n$ is contradiction. I mean $d_5=11,d_6=22,d_7=23$. The only solution is $n=2024$.
This post has been edited 1 time. Last edited by Burak0609, Apr 4, 2025, 7:56 PM
Reason: typo
Z K Y
N Quick Reply
G
H
=
a