We have your learning goals covered with Spring and Summer courses available. Enroll today!

G
Topic
First Poster
Last Poster
k a March Highlights and 2025 AoPS Online Class Information
jlacosta   0
Mar 2, 2025
March is the month for State MATHCOUNTS competitions! Kudos to everyone who participated in their local chapter competitions and best of luck to all going to State! Join us on March 11th for a Math Jam devoted to our favorite Chapter competition problems! Are you interested in training for MATHCOUNTS? Be sure to check out our AMC 8/MATHCOUNTS Basics and Advanced courses.

Are you ready to level up with Olympiad training? Registration is open with early bird pricing available for our WOOT programs: MathWOOT (Levels 1 and 2), CodeWOOT, PhysicsWOOT, and ChemWOOT. What is WOOT? WOOT stands for Worldwide Online Olympiad Training and is a 7-month high school math Olympiad preparation and testing program that brings together many of the best students from around the world to learn Olympiad problem solving skills. Classes begin in September!

Do you have plans this summer? There are so many options to fit your schedule and goals whether attending a summer camp or taking online classes, it can be a great break from the routine of the school year. Check out our summer courses at AoPS Online, or if you want a math or language arts class that doesn’t have homework, but is an enriching summer experience, our AoPS Virtual Campus summer camps may be just the ticket! We are expanding our locations for our AoPS Academies across the country with 15 locations so far and new campuses opening in Saratoga CA, Johns Creek GA, and the Upper West Side NY. Check out this page for summer camp information.

Be sure to mark your calendars for the following events:
[list][*]March 5th (Wednesday), 4:30pm PT/7:30pm ET, HCSSiM Math Jam 2025. Amber Verser, Assistant Director of the Hampshire College Summer Studies in Mathematics, will host an information session about HCSSiM, a summer program for high school students.
[*]March 6th (Thursday), 4:00pm PT/7:00pm ET, Free Webinar on Math Competitions from elementary through high school. Join us for an enlightening session that demystifies the world of math competitions and helps you make informed decisions about your contest journey.
[*]March 11th (Tuesday), 4:30pm PT/7:30pm ET, 2025 MATHCOUNTS Chapter Discussion MATH JAM. AoPS instructors will discuss some of their favorite problems from the MATHCOUNTS Chapter Competition. All are welcome!
[*]March 13th (Thursday), 4:00pm PT/7:00pm ET, Free Webinar about Summer Camps at the Virtual Campus. Transform your summer into an unforgettable learning adventure! From elementary through high school, we offer dynamic summer camps featuring topics in mathematics, language arts, and competition preparation - all designed to fit your schedule and ignite your passion for learning.[/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, Mar 2 - Jun 22
Friday, Mar 28 - Jul 18
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
Tuesday, Mar 25 - Jul 8
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
Sunday, Mar 23 - Jul 20
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
Sunday, Mar 16 - Jun 8
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
Monday, Mar 17 - Jun 9
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
Sunday, Mar 2 - Jun 22
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
Tuesday, Mar 4 - Aug 12
Sunday, Mar 23 - Sep 21
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
Sunday, Mar 16 - Sep 14
Tuesday, Mar 25 - Sep 2
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
Sunday, Mar 23 - Aug 3
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
Sunday, Mar 16 - Aug 24
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
Wednesday, Mar 5 - May 21
Tuesday, Jun 10 - Aug 26

Calculus
Sunday, Mar 30 - Oct 5
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
Sunday, Mar 23 - Jun 15
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
Tuesday, Mar 4 - May 20
Monday, Mar 31 - Jun 23
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
Monday, Mar 24 - Jun 16
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
Sunday, Mar 30 - Jun 22
Wednesday, May 21 - Aug 6
Sunday, Jun 15 - Sep 14
Monday, Jun 23 - Sep 15

Physics 1: Mechanics
Tuesday, Mar 25 - Sep 2
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
Mar 2, 2025
0 replies
Mathhhhh
mathbetter   7
N 32 minutes ago by KAME06
Three turtles are crawling along a straight road heading in the same
direction. "Two other turtles are behind me," says the first turtle. "One turtle is
behind me and one other is ahead," says the second. "Two turtles are ahead of me
and one other is behind," says the third turtle. How can this be possible?
7 replies
+1 w
mathbetter
Yesterday at 11:21 AM
KAME06
32 minutes ago
IMO ShortList 1998, algebra problem 3
orl   69
N an hour ago by Marcus_Zhang
Source: IMO ShortList 1998, algebra problem 3
Let $x,y$ and $z$ be positive real numbers such that $xyz=1$. Prove that


\[
 \frac{x^{3}}{(1 + y)(1 + z)}+\frac{y^{3}}{(1 + z)(1 + x)}+\frac{z^{3}}{(1 + x)(1 + y)}
 \geq \frac{3}{4}. 
\]
69 replies
orl
Oct 22, 2004
Marcus_Zhang
an hour ago
IMO ShortList 2001, algebra problem 6
orl   137
N an hour ago by Levieee
Source: IMO ShortList 2001, algebra problem 6
Prove that for all positive real numbers $a,b,c$, \[ \frac{a}{\sqrt{a^2 + 8bc}} + \frac{b}{\sqrt{b^2 + 8ca}} + \frac{c}{\sqrt{c^2 + 8ab}} \geq 1.  \]
137 replies
orl
Sep 30, 2004
Levieee
an hour ago
Checkerboard
Ecrin_eren   2
N 2 hours ago by Thorbeam
On an 8×8 checkerboard, what is the minimum number of squares that must be marked (including the marked ones) so that every square has exactly one marked neighbor? (We define neighbors as squares that share a common edge, and a square is not considered a neighbor of itself.)
2 replies
Ecrin_eren
Today at 5:20 AM
Thorbeam
2 hours ago
No more topics!
Twin Prime Diophantine
awesomeming327.   18
N Mar 19, 2025 by EthanWYX2009
Source: CMO 2025
Determine all positive integers $a$, $b$, $c$, $p$, where $p$ and $p+2$ are odd primes and
\[2^ap^b=(p+2)^c-1.\]
18 replies
awesomeming327.
Mar 7, 2025
EthanWYX2009
Mar 19, 2025
Twin Prime Diophantine
G H J
G H BBookmark kLocked kLocked NReply
Source: CMO 2025
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
awesomeming327.
1665 posts
#1
Y by
Determine all positive integers $a$, $b$, $c$, $p$, where $p$ and $p+2$ are odd primes and
\[2^ap^b=(p+2)^c-1.\]
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Maximilian113
504 posts
#2 • 1 Y
Y by TrendCrusher
Click to reveal hidden text
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
awesomeming327.
1665 posts
#3
Y by
Solution Sketch:

mod $p+1$ gives $p+1$ is a power of $2$, but $p+1$ is also divisible by $6$ if it's too large due to twin primes, so we just get $p+1=4$ as an option, we have $p=3$.

Obviously at this point, Zsigmondy just finishes. If you don't like zsigmondy there are other ways as well.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
alexanderhamilton124
378 posts
#4 • 1 Y
Y by COCBSGGCTG3
Observe that $p + 1 \mid (p + 2)^c - 1 \implies p + 1 \mid 2^a p^b \implies p + 1 \mid 2^a$, since $\gcd(p + 1, p) = 1$. So, $p + 1$ is a power of $2$. Let $p + 1 = 2^x$. Note that both $p, p + 2$ are prime, but one of $2^x - 1$, $2^x + 1$ must be divisible by $3$, so one of them must be $3$. Of course, $p \neq 1$, so $p = 3$.

We have $2^a 3^b = 5^c - 1$. Note that $v_2(5^c - 1) = 2 + v_2(c)$, so $2 + v_2(c) = a \implies a - 2 = v_2(c) \implies 2^{a - 2} \mid c$. $3 \mid 5^c - 1$ means that $c$ is even, let $c = 2k$. We have $v_3(5^{2k} - 1) = v_3(5^2 - 1) + v_3(k) = 1 + v_3(c) = b \implies b - 1 = v_3(c) \implies 3^{b - 1} \mid c$.

So, $2^{a - 2}3^{b - 1} \mid c \implies 2^{a - 2}3^{b - 1} \leq c$. Note $5^{2^{a - 2}} > 2^a$ for $a \geq 2$, $5^{3^{b - 1}} > 3^b + 1$ for $b \geq 1$, by simply inducting. So, we have an obvious contradiction by size and we are reduced to a minimal case check which is left as an excercise to the reader.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
ihatemath123
3439 posts
#5
Y by
Carried by GrantStar.

The equation modulo $p+1$ gives
\[2^a (-1)^b \equiv 0 \pmod{p+1},\]implying $p+1$ is a power of $2$. At least one of $p$, $p+1$ and $p+2$ must be a multiple of $3$, so it must be one of $p$ or $p+2$. It thus follows that $p=3$. Now Zsigmondy finishes as it implies $c\leq 2$. This gives us our only solution of $(a,b,c,p) = (3,1,2,3)$.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
a_507_bc
676 posts
#6
Y by
2022 China TST, Test 4 P4 with $(p+2)^c-1$ instead of $(p+2)^c+1$.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Ilikeminecraft
302 posts
#7
Y by
Observe that the left hand side is divisible by $p + 1,$ and so $p = 2^k - 1$ for some $k\in\mathbb Z.$ Clearly, we have that $k$ is a prime. Hence, if $k>2,$ then $3\not\mid 2^k + 1 = p + 2.$ However, we already know that 3 divides one of $p, p +1,p + 2.$ It also can't divide $p + 1$ as this would imply $p = 3.$ Hence, $3\mid p \implies p = 3.$ The rest is trivial by Zsigmondy
This post has been edited 1 time. Last edited by Ilikeminecraft, Mar 7, 2025, 9:28 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
grupyorum
1400 posts
#8
Y by
No need for fancy Zsigmondy whatsoever.

Using modulo $p+1$, we find $p+1\mid 2^a (-1)^b$, i.e., $p+1=2^u$ for a suitable $u$. Suppose $u\ne 2$. As $2^u-1$ is a prime, we must have $u$ is a prime. At the same time, $p+2=2^u+1$ is also a prime, which is possible only when $u=2$. Thus, $p=3$ and $2^a3^b=5^c-1$. Using modulo 3, we find that $c$ is even, set $c=2k$ and factorize
\[
2^a 3^b = (5^k-1)(5^k+1).
\]Clearly $v_2(5^k+1)=1$. So, $2^{a-1}\mid 5^k-1$. Since $5^k\pm 1$ cannot be simultaneously divisible by 3, we must have $5^k+1=2\cdot 3^b$ and $5^k-1=2^{a-1}$. The cases $a\le 3$ are easy, $(a,b,c)=(3,1,2)$ is the only solution. Let $a\ge 4$. Then, using modulo 8, we find $k$ is even. Moreover, using modulo 5, we find $a-1\equiv 2\pmod{4}$. So, $5^k-2^{a-1}=1$ where $k,a-1$ are both even, which doesn't have any solutions.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
megarnie
5538 posts
#9 • 1 Y
Y by imagien_bad
Since $p + 1$ divides the RHS, it's clear that $p + 1$ is a power of $2$. Note that this means $3\nmid p + 1$, so $3$ divides one of $p, p + 2$, from which we obviously have $p = 3$. By Zsigmondy (or just noting that $c$ is even and factoring) we can find that $c = 2$, so $(a,b,c,p) = (3,1,2,3)$ must hold, and it clearly works.


edit (even easier way to show $p = 3$): If $p \ne 3$, then neither of $p, p + 2$ are $0\pmod 3$, so $p \equiv 2 \pmod 3$ and $p + 2 \equiv 1 \pmod 3$, so $3$ divides the RHS, which is absurd as $p \ne 3$.
This post has been edited 2 times. Last edited by megarnie, Mar 7, 2025, 10:11 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
MathLuis
1457 posts
#10
Y by
Okay so $\pmod{p+1}$ inmediately gives that $p+1$ is a power of $2$ but also if $p \ge 5$ then $p \equiv -1 \pmod 6$ and thus $3 \mid p+1$ which can't happen so $p=3$, now by Zsigmondy we have for $c \ge 3$ a contradiction so if $c=1$ then $b=0$ by checking $\nu_3$ so contradiction and if $c=2$ then $b=1$ and $a=3$ thus we are done :cool:.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
PEKKA
1834 posts
#11
Y by
Sketch of my in-contest solution:
1. Take mod $p+1$ to get $p+1 \mid 2^k$ for some $k.$
2. Take mod $p$ and by orders we get $c \mid p-1$ which means $\nu_2(c) \le 1$
3. Then by LTE we get $\nu_2(p+1)=a$ or $a-1.$
4. Realize that since $p+1$ is a power of $2,$ then one of $p, p+2$ is a multiple of $3$ which obviously implies $p=3.$
5. If $b \ge 2$ then by mod $9$ we have $6 \mid c$ which gives $2^a3^b \equiv 0 \pmod{7}$ by orders.

I kinda forgot what I did afterwards. If I can get my submission/scratch work from my proctor I will complete the solution.
This post has been edited 4 times. Last edited by PEKKA, Mar 8, 2025, 7:25 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Assassino9931
1198 posts
#12
Y by
a_507_bc wrote:
2022 China TST, Test 4 P4 with $(p+2)^c-1$ instead of $(p+2)^c+1$.

The same factoring + mod ideas also appear in Bulgaria JBMO TST 2023 and JBMO 2022/3.
This post has been edited 1 time. Last edited by Assassino9931, Mar 8, 2025, 10:13 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
P2nisic
406 posts
#13
Y by
awesomeming327. wrote:
Determine all positive integers $a$, $b$, $c$, $p$, where $p$ and $p+2$ are odd primes and
\[2^ap^b=(p+2)^c-1.\]

I think that the idea of contraction this problem comes from 2022 China TST, Test 4 P4:
https://artofproblemsolving.com/community/c6h2835394p25099645
JustPostChinaTST wrote:
Find all positive integers $a,b,c$ and prime $p$ satisfying that
\[ 2^a p^b=(p+2)^c+1.\]
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Mapism
15 posts
#14
Y by
$$2^ap^b=(p+2)^c-1 \implies 2^a(-1)^b\equiv 0 \pmod {p+1} \implies p+1\mid 2^a \implies p+1=2^x,\ x\in \mathbb{Z^+}$$Since one of $p,p+1,p+2$ is divisible by $3$ and $3\nmid p+1=2^x;\ p=3,\ p+2=5$.
$$2^a3^b=5^c-1\implies 5^c\equiv1 \pmod {3}\implies 2\mid c$$So,
$$a=\nu_2(5^c-1)=\nu_2(4)+ \nu_2(6)+\nu_2(c)-1=2+ \nu_2(c)$$$$b=\nu_3(25^{\frac{c}{2}}-1)=\nu_3(24)+ \nu_3(\frac{c}{2})$$Thus,
$$2^{2+\nu_2(c)}3^{1+\nu_3(\frac{c}{2})}=5^c-1\implies 2^{2+log_2(c)}3^{1+log_3(\frac{c}{2})}\ge 5^c-1 \implies 6c^2\ge 5^c-1\implies c\le 2 \implies c=2$$It follows that the only solution is $(a,b,c,p)=(3,1,2,3)$.
This post has been edited 1 time. Last edited by Mapism, Mar 10, 2025, 6:09 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Assassino9931
1198 posts
#15
Y by
If I am not mistaken, heavy theorems can be very easily avoided?

UPDATE: Actually, mod $p+1$ is also not needed!

By mod $3$ we cannot have $p\not\equiv 1 \pmod 3$ since $p+2$ must be prime. Also, if $p\equiv 2 \pmod 3$, then the left-hand side is not divisible by $3$, but the right-hand side is, contradiction. Hence $p=3$.

The equation now reads $2^a3^b = 5^c - 1$. By mod $3$ we get that $c$ is even. With $c=2k$ we factor $2^a3^b = (5^k - 1)(5^k + 1)$ and the greatest common divisor of the factors on the right is $2$. Since $5^k \equiv 1 \pmod 4$ and $5^k + 1 > 2$, we get $5^k - 1 = 2^{a-1}$ and $5^k + 1 = 2 \cdot 3^b$. Work only with the former -- if $a=3$, then $k=1$ and no solution for $a=1,2$. If $a\geq 4$, then by mod $8$ we get $k$ is even, so $k = 2t$, factor $(5^t-1)(5^t+1) = 2^{a-1}$ and $5^t + 1 = 2$ by mod $4$, contradiction. Therefore, the only solution is $(a,b,c,p) = (3,1,2,3)$.
This post has been edited 1 time. Last edited by Assassino9931, Mar 18, 2025, 7:53 AM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
NewtonVieta1729
9 posts
#16
Y by
a_507_bc wrote:
2022 China TST, Test 4 P4 with $(p+2)^c-1$ instead of $(p+2)^c+1$.
YESSSS. The problem looked so familiar to state the least.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
scannose
981 posts
#17
Y by
awesomeming327. wrote:
Determine all positive integers $a$, $b$, $c$, $p$, where $p$ and $p+2$ are odd primes and
\[2^ap^b=(p+2)^c-1.\]

sketch:
p+1 | (p+2)^c - 1 => p = 2^q - 1 for some prime q
p | (p+2)^c - 1 \equiv 2^c - 1 => q | c, c = qd for some positive integer d
do some bashing to show v_p((p+2)^q - 1) = 1
note that for any d and prime r != 2 or p, v_r((p+2)^(qd) - 1) >= v_r((p+2)^d - 1) = 0; therefore, if there exists a solution for a certain value of p, there must also exist a solution for the same value of p when d = 1. this implies b = 1 because v_p((p+2)^q - 1) = 1
v_2(2^a * (2^q - 1)) = v_2((2^q + 1)^q - 1) => a = q + v_2(q)
if q > 2, a = q and 2^q * (2^q - 1) < (2^q + 1)^q - 1, contradiction; therefore, q = 2, so p = 2^2 - 1 = 3. when d = 1, this gives the solution set (3, 1, 2, 3)

if d > 1 is even, 13 | 624 | 25^d - 1 = (p+2)^c - 1, contradiction
otherwise, if d > 1, note that v2((25^d - 1) / (25 - 1)) = 1 0 and v3((25^d - 1) / (25 - 1)) = v3(d) by lte. therefore, there must be another prime r >= 5 that divides 25^d - 1, reaching a contradiction as well
therefore, d = 1, and the solution mentioned above is unique
This post has been edited 1 time. Last edited by scannose, Mar 17, 2025, 4:42 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
snorlax_snorlax
2 posts
#18
Y by
This was a frustrating trolling problem. As soon as you realize that if $p+2$ is prime, it simply means that for sufficiently large $p,p+2$ isn’t divisible by three, and that’s all you need. I wasted an hour just to spot this not-suitable-for-IMO property. Once you notice it, it’s basically an obvious application of Zsigmondy’s theorem.
This post has been edited 1 time. Last edited by snorlax_snorlax, Mar 19, 2025, 6:24 AM
Reason: not suitable
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
EthanWYX2009
828 posts
#19
Y by
Seriously? https://artofproblemsolving.com/community/c6h2835394p25099645
Z K Y
N Quick Reply
G
H
=
a