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 Peer-to-Peer Programs Forum
jwelsh   157
N Dec 11, 2023 by cw357
Many of our AoPS Community members share their knowledge with their peers in a variety of ways, ranging from creating mock contests to creating real contests to writing handouts to hosting sessions as part of our partnership with schoolhouse.world.

To facilitate students in these efforts, we have created a new Peer-to-Peer Programs forum. With the creation of this forum, we are starting a new process for those of you who want to advertise your efforts. These advertisements and ensuing discussions have been cluttering up some of the forums that were meant for other purposes, so we’re gathering these topics in one place. This also allows students to find new peer-to-peer learning opportunities without having to poke around all the other forums.

To announce your program, or to invite others to work with you on it, here’s what to do:

1) Post a new topic in the Peer-to-Peer Programs forum. This will be the discussion thread for your program.

2) Post a single brief post in this thread that links the discussion thread of your program in the Peer-to-Peer Programs forum.

Please note that we’ll move or delete any future advertisement posts that are outside the Peer-to-Peer Programs forum, as well as any posts in this topic that are not brief announcements of new opportunities. In particular, this topic should not be used to discuss specific programs; those discussions should occur in topics in the Peer-to-Peer Programs forum.

Your post in this thread should have what you're sharing (class, session, tutoring, handout, math or coding game/other program) and a link to the thread in the Peer-to-Peer Programs forum, which should have more information (like where to find what you're sharing).
157 replies
jwelsh
Mar 15, 2021
cw357
Dec 11, 2023
k i C&P posting recs by mods
v_Enhance   0
Jun 12, 2020
The purpose of this post is to lay out a few suggestions about what kind of posts work well for the C&P forum. Except in a few cases these are mostly meant to be "suggestions based on historical trends" rather than firm hard rules; we may eventually replace this with an actual list of firm rules but that requires admin approval :) That said, if you post something in the "discouraged" category, you should not be totally surprised if it gets locked; they are discouraged exactly because past experience shows they tend to go badly.
-----------------------------
1. Program discussion: Allowed
If you have questions about specific camps or programs (e.g. which classes are good at X camp?), these questions fit well here. Many camps/programs have specific sub-forums too but we understand a lot of them are not active.
-----------------------------
2. Results discussion: Allowed
You can make threads about e.g. how you did on contests (including AMC), though on AMC day when there is a lot of discussion. Moderators and administrators may do a lot of thread-merging / forum-wrangling to keep things in one place.
-----------------------------
3. Reposting solutions or questions to past AMC/AIME/USAMO problems: Allowed
This forum contains a post for nearly every problem from AMC8, AMC10, AMC12, AIME, USAJMO, USAMO (and these links give you an index of all these posts). It is always permitted to post a full solution to any problem in its own thread (linked above), regardless of how old the problem is, and even if this solution is similar to one that has already been posted. We encourage this type of posting because it is helpful for the user to explain their solution in full to an audience, and for future users who want to see multiple approaches to a problem or even just the frequency distribution of common approaches. We do ask for some explanation; if you just post "the answer is (B); ez" then you are not adding anything useful.

You are also encouraged to post questions about a specific problem in the specific thread for that problem, or about previous user's solutions. It's almost always better to use the existing thread than to start a new one, to keep all the discussion in one place easily searchable for future visitors.
-----------------------------
4. Advice posts: Allowed, but read below first
You can use this forum to ask for advice about how to prepare for math competitions in general. But you should be aware that this question has been asked many many times. Before making a post, you are encouraged to look at the following:
[list]
[*] Stop looking for the right training: A generic post about advice that keeps getting stickied :)
[*] There is an enormous list of links on the Wiki of books / problems / etc for all levels.
[/list]
When you do post, we really encourage you to be as specific as possible in your question. Tell us about your background, what you've tried already, etc.

Actually, the absolute best way to get a helpful response is to take a few examples of problems that you tried to solve but couldn't, and explain what you tried on them / why you couldn't solve them. Here is a great example of a specific question.
-----------------------------
5. Publicity: use P2P forum instead
See https://artofproblemsolving.com/community/c5h2489297_peertopeer_programs_forum.
Some exceptions have been allowed in the past, but these require approval from administrators. (I am not totally sure what the criteria is. I am not an administrator.)
-----------------------------
6. Mock contests: use Mock Contests forum instead
Mock contests should be posted in the dedicated forum instead:
https://artofproblemsolving.com/community/c594864_aops_mock_contests
-----------------------------
7. AMC procedural questions: suggest to contact the AMC HQ instead
If you have a question like "how do I submit a change of venue form for the AIME" or "why is my name not on the qualifiers list even though I have a 300 index", you would be better off calling or emailing the AMC program to ask, they are the ones who can help you :)
-----------------------------
8. Discussion of random math problems: suggest to use MSM/HSM/HSO instead
If you are discussing a specific math problem that isn't from the AMC/AIME/USAMO, it's better to post these in Middle School Math, High School Math, High School Olympiads instead.
-----------------------------
9. Politics: suggest to use Round Table instead
There are important conversations to be had about things like gender diversity in math contests, etc., for sure. However, from experience we think that C&P is historically not a good place to have these conversations, as they go off the rails very quickly. We encourage you to use the Round Table instead, where it is much more clear that all posts need to be serious.
-----------------------------
10. MAA complaints: discouraged
We don't want to pretend that the MAA is perfect or that we agree with everything they do. However, we chose to discourage this sort of behavior because in practice most of the comments we see are not useful and some are frankly offensive.
[list] [*] If you just want to blow off steam, do it on your blog instead.
[*] When you have criticism, it should be reasoned, well-thought and constructive. What we mean by this is, for example, when the AOIME was announced, there was great outrage about potential cheating. Well, do you really think that this is something the organizers didn't think about too? Simply posting that "people will cheat and steal my USAMOO qualification, the MAA are idiots!" is not helpful as it is not bringing any new information to the table.
[*] Even if you do have reasoned, well-thought, constructive criticism, we think it is actually better to email it the MAA instead, rather than post it here. Experience shows that even polite, well-meaning suggestions posted in C&P are often derailed by less mature users who insist on complaining about everything.
[/list]
-----------------------------
11. Memes and joke posts: discouraged
It's fine to make jokes or lighthearted posts every so often. But it should be done with discretion. Ideally, jokes should be done within a longer post that has other content. For example, in my response to one user's question about olympiad combinatorics, I used a silly picture of Sogiita Gunha, but it was done within a context of a much longer post where it was meant to actually make a point.

On the other hand, there are many threads which consist largely of posts whose only content is an attached meme with the word "MAA" in it. When done in excess like this, the jokes reflect poorly on the community, so we explicitly discourage them.
-----------------------------
12. Questions that no one can answer: discouraged
Examples of this: "will MIT ask for AOIME scores?", "what will the AIME 2021 cutoffs be (asked in 2020)", etc. Basically, if you ask a question on this forum, it's better if the question is something that a user can plausibly answer :)
-----------------------------
13. Blind speculation: discouraged
Along these lines, if you do see a question that you don't have an answer to, we discourage "blindly guessing" as it leads to spreading of baseless rumors. For example, if you see some user posting "why are there fewer qualifiers than usual this year?", you should not reply "the MAA must have been worried about online cheating so they took fewer people!!". Was sich überhaupt sagen lässt, lässt sich klar sagen; und wovon man nicht reden kann, darüber muss man schweigen.
-----------------------------
14. Discussion of cheating: strongly discouraged
If you have evidence or reasonable suspicion of cheating, please report this to your Competition Manager or to the AMC HQ; these forums cannot help you.
Otherwise, please avoid public discussion of cheating. That is: no discussion of methods of cheating, no speculation about how cheating affects cutoffs, and so on --- it is not helpful to anyone, and it creates a sour atmosphere. A longer explanation is given in Seriously, please stop discussing how to cheat.
-----------------------------
15. Cutoff jokes: never allowed
Whenever the cutoffs for any major contest are released, it is very obvious when they are official. In the past, this has been achieved by the numbers being posted on the official AMC website (here) or through a post from the AMCDirector account.

You must never post fake cutoffs, even as a joke. You should also refrain from posting cutoffs that you've heard of via email, etc., because it is better to wait for the obvious official announcement. A longer explanation is given in A Treatise on Cutoff Trolling.
-----------------------------
16. Meanness: never allowed
Being mean is worse than being immature and unproductive. If another user does something which you think is inappropriate, use the Report button to bring the post to moderator attention, or if you really must reply, do so in a way that is tactful and constructive rather than inflammatory.
-----------------------------

Finally, we remind you all to sit back and enjoy the problems. :D

-----------------------------
(EDIT 2024-09-13: AoPS has asked to me to add the following item.)

Advertising paid program or service: never allowed

Per the AoPS Terms of Service (rule 5h), general advertisements are not allowed.

While we do allow advertisements of official contests (at the MAA and MATHCOUNTS level) and those run by college students with at least one successful year, any and all advertisements of a paid service or program is not allowed and will be deleted.
0 replies
v_Enhance
Jun 12, 2020
0 replies
k i Stop looking for the "right" training
v_Enhance   50
N Oct 16, 2017 by blawho12
Source: Contest advice
EDIT 2019-02-01: https://blog.evanchen.cc/2019/01/31/math-contest-platitudes-v3/ is the updated version of this.

EDIT 2021-06-09: see also https://web.evanchen.cc/faq-contest.html.

Original 2013 post
50 replies
v_Enhance
Feb 15, 2013
blawho12
Oct 16, 2017
Angle Relationships in Triangles
steven_zhang123   0
33 minutes ago
In $\triangle ABC$, $AB > AC$. The internal angle bisector of $\angle BAC$ and the external angle bisector of $\angle BAC$ intersect the ray $BC$ at points $D$ and $E$, respectively. Given that $CE - CD = 2AC$, prove that $\angle ACB = 2\angle ABC$.
0 replies
steven_zhang123
33 minutes ago
0 replies
acute triangle and its circumcenter and orthocenter
N.T.TUAN   6
N an hour ago by MathLuis
Source: USA TST 2005, Problem 2
Let $A_{1}A_{2}A_{3}$ be an acute triangle, and let $O$ and $H$ be its circumcenter and orthocenter, respectively. For $1\leq i \leq 3$, points $P_{i}$ and $Q_{i}$ lie on lines $OA_{i}$ and $A_{i+1}A_{i+2}$ (where $A_{i+3}=A_{i}$), respectively, such that $OP_{i}HQ_{i}$ is a parallelogram. Prove that
\[\frac{OQ_{1}}{OP_{1}}+\frac{OQ_{2}}{OP_{2}}+\frac{OQ_{3}}{OP_{3}}\geq 3.\]
6 replies
N.T.TUAN
May 14, 2007
MathLuis
an hour ago
Nice one
imnotgoodatmathsorry   3
N an hour ago by Bergo1305
Source: Own
With $x,y,z >0$.Prove that: $\frac{xy}{4y+4z+x} + \frac{yz}{4z+4x+y} +\frac{zx}{4x+4y+z} \le \frac{x+y+z}{9}$
3 replies
imnotgoodatmathsorry
May 2, 2025
Bergo1305
an hour ago
Imtersecting two regular pentagons
Miquel-point   2
N 2 hours ago by ohiorizzler1434
Source: KoMaL B. 5093
The intersection of two congruent regular pentagons is a decagon with sides of $a_1,a_2,\ldots ,a_{10}$ in this order. Prove that
\[a_1a_3+a_3a_5+a_5a_7+a_7a_9+a_9a_1=a_2a_4+a_4a_6+a_6a_8+a_8a_{10}+a_{10}a_2.\]
2 replies
1 viewing
Miquel-point
5 hours ago
ohiorizzler1434
2 hours ago
ranttttt
alcumusftwgrind   40
N May 12, 2025 by ZMB038
rant
40 replies
alcumusftwgrind
Apr 30, 2025
ZMB038
May 12, 2025
HCSSiM vs other programs
MathWizardThatCanBeatYou   2
N May 9, 2025 by MasterInTheMaking
For anyone that has been to HCSSiM and other summer math programs like Canada/USA Mathcamp, Ross, PROMYS, etc. What's the difference and which would you consider more worth it?
2 replies
MathWizardThatCanBeatYou
May 6, 2025
MasterInTheMaking
May 9, 2025
How many people get waitlisted st promys?
dragoon   34
N May 2, 2025 by dragoon
Asking for a friend here
34 replies
dragoon
Apr 18, 2025
dragoon
May 2, 2025
PROMYS Europe
Taxicab-1211729   5
N Apr 28, 2025 by Alex-131
Is anyone attending Promys Europe this summer?
5 replies
Taxicab-1211729
Apr 19, 2025
Alex-131
Apr 28, 2025
2025 PROMYS Results
Danielzh   30
N Apr 23, 2025 by ilovepizza2020
Discuss your results here!
30 replies
Danielzh
Apr 18, 2025
ilovepizza2020
Apr 23, 2025
Hot Take: Mathcamps Don't Matter
alcumusftwgrind   7
N Apr 19, 2025 by cowstalker
Mathcamps mathcamps mathcamps.........

If you get into one, cool! If you don't that's okay. You don't need a mathcamp to learn math. You can grind AMC/AIME at home and qual for olympiad, and if you get into a mathcamp that doesn't guarantee you for olympiad.

If you get rejected, its not the end of the world! Over the summer, you can go play frisbee and hang out with your friends; you'll probably be happier this way than laboring over problems 8 hours a day.

Besides, you have next year! And if you are a rising senior, then you will go to college and none of this will matter. Don't take rejections as an evaluation on your qualities!

I'm coping rn
7 replies
alcumusftwgrind
Apr 18, 2025
cowstalker
Apr 19, 2025
questions from a first-time applicant to math camps
akliu   23
N Mar 21, 2025 by John_Mgr
hey!! im a first time applicant for a lot of math camps (namely: usa-canada mathcamp, PROMYS, Ross, MathILY, HCSSiM), and I was just wondering:

1. how much of an effect would being a first-time applicant have on making these math camps individually?
2. I spent a huge amount of effort (like 50 or something hours) on the USA-Canada Mathcamp application quiz in particular, but I'm pretty worried because supposedly almost no first-time applicants get into the camp. Are there any first-time applicants that you know of, and what did their applications (as in, qualifying quiz solutions) look like?
3. Additionally, a lot of people give off the impression that not doing the full problem set will screw your application over, except in rare cases. How much do you think a fakesolve would impact my PROMYS application chances?

thanks in advance!
23 replies
akliu
Mar 12, 2025
John_Mgr
Mar 21, 2025
SUMMER PROGRAMS THAT ARE STILL OPEN
itsjeyanth   7
N Mar 6, 2025 by fake123
HI!

I want to do a math summer program! I did awesomemath, applied for ross an and promys already, but need something else thats still open. Please suggest
7 replies
itsjeyanth
Mar 5, 2025
fake123
Mar 6, 2025
Proof-Writing
zoo1202   2
N Mar 6, 2025 by poodle2
Hi everyone!

My dream for this year (and the past year) has been to get into a math-related summer program (ROSS, PROMYS, SUMaC, etc.) However, one of the biggest parts of the application process is writing a killer problem set. To be honest (although I can hope), I do not think that any math camp will accept me this year.

To be frank, I do not have much experience writing proofs. Writing problem sets for summer camps is one of the only times that I ever formalize my ideas and put it into formatted latex. So, it usually takes me a ton of time to finish writing up one problem (2-3 hours) when I see other people speeding through and finishing everything within 3 days (and their solutions / formatting is way better than mine too). Usually, my solutions are also not with great 'mathematical' language and seem pretty hard to follow my ideas (which is not good)

While I understand that writing proofs and formulating creative ideas is extremely important, I am at a loss as to where to start. In comparison, competitive math kind of already has this 'path' laid out, but for proof writing practice/improvement it seems less so. How can I get started & improve to the point where I will be comfortable with writing by next year? One of my friends told me that USAMTS is a really nice way to practice (albeit all of the hate, it still has its merits), but I do not have a clear cut path ahead of me to really follow I guess.

tl:dr
1) How can I learn to write proofs more efficiently?
2) How can I learn some of the more advanced topics required for some elegant proofs (that you see in math camp sets)

thank you!
2 replies
zoo1202
Mar 6, 2025
poodle2
Mar 6, 2025
query about computing for summer program application psets
Possible   2
N Feb 28, 2025 by Yiyj1
Hello AoPSers,

I am applying for PROMYS this year. For some of the problems in the application problem set, I have considered writing out some code to I can notice certain patterns within smaller test cases more efficiently. Would this be acceptable as long as I include mathematical justification?

Best, Possible
2 replies
Possible
Feb 25, 2025
Yiyj1
Feb 28, 2025
IMO 90/3 and IMO 00/5 cross-up
v_Enhance   60
N May 4, 2025 by GingerMan
Source: USA TSTST 2018 Problem 8
For which positive integers $b > 2$ do there exist infinitely many positive integers $n$ such that $n^2$ divides $b^n+1$?

Evan Chen and Ankan Bhattacharya
60 replies
v_Enhance
Jun 26, 2018
GingerMan
May 4, 2025
IMO 90/3 and IMO 00/5 cross-up
G H J
G H BBookmark kLocked kLocked NReply
Source: USA TSTST 2018 Problem 8
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
OronSH
1745 posts
#49
Y by
The answer is all $b$ such that $b+1$ is not a power of $2.$

First, we may assume $n$ odd since otherwise it fails $\pmod 4.$ Additionally, let $o$ be the order of $b \pmod p.$ If we have $p \mid b^n+1,$ then we must have $o \mid 2n$ and $o \mid p-1.$ Now, if $b+1$ is a power of $2,$ we let $p$ be the smallest prime factor of $n$ and we see that $o<p$ but $o \mid 2n$ so we must have $o=2,$ which gives $b+1 \equiv 0 \pmod p,$ impossible. Thus there are no solutions (except for trivial $1$) in this case.

Now if $b+1$ is not a power of $2$ there is some prime $p$ dividing it. Furthermore, from Lifting the Exponent, we see that $p^2 \mid b^p+1,$ since $\nu_p(b^p+1)=\nu_p(b+1)+1.$ Next, since $b \ne 2,$ by Zsigmondy's there is some prime $q$ dividing $b^p+1$ but not $b^i+1$ for $1 \le i <p.$ Notice that $\nu_q(b^{pq}+1)=\nu_q(b^p+1)+1,$ so $p^2q^2 \mid b^{pq}+1.$ Then there is again some prime $r$ dividing $b^{pq}+1$ but not $b^i+1$ for $1 \le i < pq,$ and we get that $pqr=n$ works, and we may repeat this, so there are infinitely many solutions in this case and 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.
dolphinday
1327 posts
#50
Y by
All work except for $b = 2^x - 1$.
We will use induction to prove that all numbers $\neq 2^x - 1$ work.
$\newline$
Base Case:
We take a prime $p \neq 2$ that divides $b + 1$.
Then by LTE, we have $v_p(b^p + 1^p) = v_p(p) + v_p(b + 1) \geq 2$, so $p^2$ divides $b^p + 1^p$.

$\newline$
Inductive Step:
Then by Zsigmondy, there is a prime $q$ dividing $b^{pq} + 1^{pq}$ that does not divide $b^p + 1$. Using LTE again, we find that $p^2q^2$ also divides $b^{pq}$. We can repeat this, so there are infinitely many $n$ that work, so our induction is done


Note that this does not work for $b = 2^x - 1$ as $b + 1$ is a power of two(so we can't apply LTE the same way we did.)
$\newline$

Now to prove the other direction.
Suppose $q$ is the smallest prime dividing $n$. Then we have $b^{2n} \equiv 1\pmod{p}$, so the order of $b\pmod{p}$ divides $\gcd(2n, p-1) = 2$, therefore $p$ divides $b^2 - 1$, so $b \equiv 1\pmod{p}$(not $-1$). This then means that $b^n + 1 \equiv 2\pmod{p}$, which is a contradiction because $p \neq 2$ due to $p$ dividing $2^x - 1$, so we are done.
This post has been edited 1 time. Last edited by dolphinday, Dec 25, 2023, 5:21 AM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Shreyasharma
682 posts
#51
Y by
We claim that $\boxed{\text{all } b \text{ not of the form } 2^k -1 \text{ are good.}}$

We first try to determine $b$ for which there may exist infinitely such good $n$. Say we have a satisfactory base case of $n$ for some $b$. Then we wish to find some prime $p \nmid n$ such that $p^2 \mid b^{np} + 1$.

Claim: We can find a satisfactory infinite sequence of $n$ for $b \neq 2$ and $b \neq 2^k - 1$ for some $k$, using Zsigmondy.

Proof. Consider taking $p \neq 2$ as a primitive divisor of $b^{2n} - 1$. Then note that $p \nmid n$ follows as $n \mid b^{\phi(n)} - 1$ and $p \nmid b^{\phi(n)}-1$. Also clearly $p \mid b^n + 1$ as $p \nmid b^n - 1$. Then we find,
\begin{align*}
b^{np} \equiv b^n \equiv - 1\pmod{p}
\end{align*}Note that LTE gives $\nu_p(b^{np} + 1) = \nu_p(b^n+1) + \nu_p(p) \geq 2$. Hence $p^2 \mid b^{np}+1$.

Now note this argument fails for $n$ in which we are unable to find a base case, or where our base case violates Zsigmondy's. Namely when we have,
  • The only solution for some $b$ such that $b + 1$ is a power of $2$ is $n = 2$.
  • The only solution when $b = 2$ is $n = 3$
Thus the claim holds. $\blacksquare$

Now we in fact show that for $b = 2$ or $ b =2^k - 1$ there exists no satisfactory $n$.

Claim: For $ b =2^k - 1$ or $b = 2$ there exists no satisfactory $n$ for a base case.

Proof. We will handle the first bullet to begin with. Assume that $b = 2^k - 1$ for some $k$. Then we wish to find $n \neq 2$ such that $n^2 \mid (2^k - 1)^n + 1$. Taking the smallest prime $p$ dividing $n$, which we will assume is greater than $2$. Then we must have,
\begin{align*}
(2^k - 1)^n &\equiv - 1 \pmod{p}\\
(2^k - 1)^{2n} &\equiv 1 \pmod{p}
\end{align*}Then $\text{ord}_p(2^k - 1) \mid \gcd(2n, p - 1) = 2$ from which we conclude either $\text{ord}_p(2^k - 1) = 1$ of $\text{ord}_p(2^k - 1) = 2$. Testing the first case we find we then have,
\begin{align*}
2^k - 1 &\equiv 1 \pmod{p}\\
\iff 2^k &\equiv 2 \pmod{p}\\
\iff 2^{k-1} &\equiv 0 \pmod{p} \iff p = 2
\end{align*}Testing the second case we have,
\begin{align*}
2^{2k} - 2^{k + 1} &\equiv 0 \pmod{p}\\
2^{2k} &\equiv 2^{k+1} \pmod{p}\\
2^{k - 1} &\equiv 0 \pmod{p} \iff p = 2
\end{align*}Thus we must have $2 \mid n$. However then note that then $4 \mid (2^k - 1)^{n} + 1$, but we have $(2^k - 1)^n + 1 \equiv 2 \pmod{4}$, a contradiction. Thus indeed whenever $b + 1$ is a power of $2$ there are no satisfactory values of $n$.

To handle the second bullet, note that it is just 90IMO3, and we see that $n = 3$ is indeed the only solution, so $b = 2$ fails. Hence our claim holds. $\blacksquare$

We will now present a base-case construction for all other $b$.

For some $b$ consider taking $n$ as the smallest odd prime divisor $p$ of $b + 1$. Then LTE we find,
\begin{align*}
\nu_p(b^p + 1) = \nu_p(b + 1) + \nu_p(p) \geq 2
\end{align*}Thus we're done.

Remark: I felt like this problem was just stress testing Zsigmondy, after using the 00IMO5 argument. Also big thank you to nebula on the OTIS discord server for hinting me along on this problem.
This post has been edited 1 time. Last edited by Shreyasharma, Dec 28, 2023, 5:19 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
AlanLG
241 posts
#52
Y by
:coolspeak:
$\boxed{\textcolor{blue}{\text{I claim all}\hspace{0.2cm} b\hspace{0.2cm} \text{satisfies, except when}\hspace{0.2cm} b+1 \hspace{0.2cm}\text{is a power of } \hspace{0.1cm}2}}$

$\textcolor{red}{\text{Case 1.} \hspace{0.2cm} b+1 \hspace{0.2cm} \text{is a power of} \hspace{0.2cm}2}$

If $n$ is even, as $b$ is odd then $b^n+1\equiv 1+1\equiv 2\not\equiv 0\pmod 4$ so n odd; let $p\neq 2$ be the smallest prime dividing then $b^{2n}\equiv 1\pmod p$ and $b^{p-1}\equiv 1\pmod p$ thus $\operatorname{Ord}_p(b)\mid 2\gcd\left(n,\frac{p-1}{2}\right)=2$, so $p\mid b^2-1=(b-1)(b+1)$, but $b+1$ is a power of $2$ thus $p\mid b-1$ thus $b^n+1\equiv  1^n+1\equiv 2\pmod p$ a contradiction.

$\textcolor{red}{\text{Case 2.} \hspace{0.2cm} b+1 \hspace{0.2cm} \text{is not a power of} \hspace{0.2cm}2}$
Let $p$ prime such that $p\mid b+1$, then by Lifting the Exponent
$$\nu_p(b^p+1)=\nu_p(b+1)+\nu_p(p)\geq 2$$so $p^2\mid b^p+1$, take $q\mid b^p+1$ a primitive prime divisor of $b^p+1$ which by Zsigmondy exists, then $q\mid b^p+1\mid b^{pq}+1$ and again by LTE
$$\nu_q\left((b^p)^q+1\right)=\nu_q(b^p+1)+\nu_q\geq 2$$so in fact $p^2q^2\mid b^{pq}+1$, therefore we can continue this sequence adding primes in a way that every new prime is a primitive prime that divides $b^{p_1p_2\cdots p_k}+1$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
joshualiu315
2534 posts
#53
Y by
The answer is $\boxed{n \neq 2^k-1, \ k \in \mathbb{N}_{>1}}$.

For numbers not of the form $2^k-1$, we will build up values of $n$ inductively. For the base case, consider a prime $p$ that divides $b+1$. LTE gives

\[\nu_p(b^p+1) = \nu_p(b+1)+\nu_p(p) \ge 2.\]\[\implies p^2 \mid b^p+1.\]
For the inductive step, consider a prime $q$ that divides $b^p+1$, which exists by Zsigmondy. We have

\[\nu_q(2^{pq}+1) = \nu_q(2^p+1)+1 \ge 2,\]
so $(pq)^2 \mid 2^{pq}+1$, completing the induction.

This only applies when the desired primes are not equal to $2$, or when the prime factorization of $b+1$ does not only consist of $2$'s. Hence, numbers that are one less than powers of $2$ are not covered in this induction.

For the sake of contradiction, assume $b+1$ is a perfect power of $2$. Let $r$ be the smallest prime dividing $b+1$; due to a modulo $4$ argument, $r \neq 2$. We have

\[b^{2n} \equiv 1 \pmod{p},\]
so $\operatorname{ord}_p(b) \mid \gcd(2n, p-1) = 2$. Thus, $p \mid b^2-1 = (b-1)(b+1)$. Since $b+1$ contains only factors of $2$, which cannot be $p$, we have $p \mid b-1$. However,

\[b \equiv 1 \pmod{p} \implies b^n \equiv -1 \equiv 1 \pmod{p} \implies p=2,\]
a contradiction.

Therefore, we are left with our desired solution set.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
shendrew7
796 posts
#54
Y by
Our answer is all $\boxed{b \neq 2^k-1}$. Notice that our condition implies
\[\operatorname{ord}_p b \mid 2n, \operatorname{ord}_p b \nmid n \implies v_2(\operatorname{ord}_p) > v_2(n).\]
First note that $n$ must be odd. Suppose $p_1$ is the least prime divisor of $n$, where we assume there exists a solution other than $n=1$. Then
\[\operatorname{ord}_{p_1} b \mid \gcd(2n,p_1-1) = 2 \implies p \mid b^2-1, p \nmid b-1.\]
Zsigmondy tells us this primitive root must exist iff $b+1$ is not a power of two. If it is, we're stuck; otherwise, we just procede inductively with Zsigmondy to find infinitely many solutions. $\blacksquare$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
peppapig_
280 posts
#55
Y by
I claim that the answer is all $b>2$ such that $b\neq 2^k-1$.

C1: First, I claim that $n$ is odd. This is obvious if $b$ is even. However, if $b$ is odd, we have that
\[b^n+1\equiv 2\mod 4 \iff \nu_2(b^n+1)=1,\]since both $b$ and $1$ are odd. However, this is a contradiction, since $\nu_2(n^2)\geq2$ if $n$ is even. Therefore, $n$ must be odd.

C2: I claim that $b=2$ and $b=2^k-1$ do not have infinite solutions. First, note that $b=2$ does not have infinite solutions. This is seen in IMO's 1990/3, where we proved that the only solutions were $n=1$ and $n=3$. Now, I claim that if $b=2^k-1$, then the only solution is $n=1$. This is because if we let $p$ be the smallest prime to divide $n$, we have that
\[p\mid b^n+1 \iff 2\mid ord_p(b), ord_p(b)\mid 2n.\]but by Euler's Totient, we also have that $ord_p(b)\mid p-1$, so this implies that $ord_p(b)\mid \gcd(2n,p-1)$. However, since $p$ is the smallest prime that divides $n$, this means that $\gcd(2n,p-1)=2$. Therefore, since $ord_p(b)$ is even, we have that $ord_p(b)=2$. This gives that
\[p\mid b^2-1=(b-1)(b+1).\]However, since $ord_p(b)=2>1$, this implies that $p$ does not divide $b-1$. Therefore, we have that
\[p\mid b+1=2^k,\]meaning that $p=2$ if $n>1$, which is impossible, since by (C1) we proved that $n$ must be odd. Therefore, if $b=2^k-1$, $n=1$ is the only solution, which is clearly not infinite.

C3: I claim that for all other $b$, we have infinitely many solutions. We do this by using an induction similar to that of IMO's 2000/5! Call a number $n$ "appley" if $n^2\mid b^n+1$. I now claim that if for a prime $p$ such that $p\mid b^n+1$ and $\gcd(p,n)=1$, if $n$ is "appley", then so is $np$. Note that by LTE, we have that
\[\nu_p(b^{np}+1)=\nu_p(b^n+1)+1\geq 2,\]meaning that $p^2\mid b^{np}+1$. Additionally, since $p$ is odd, we have that
\[b^n+1\mid b^{np}+1,\]meaning that $n^2\mid b^{np}+1$ since $n$ is "appley". Therefore we must have that $n^2p^2\mid b^{np}+1$, meaning that $np$ is also "appley", as desired. Finally, for the last step of the induction, we use the starting $n=1$ as our base case. Note that by Zsigmondy's, we have that there will always exist such a prime $p$ from here on out such that $p\mid b^n+1$ but not $n$. Therefore for all $b$ not equal to $2^k-1$ or $2$, $n^2\mid b^n+1$ has infinitely many solutions, finishing the problem.
This post has been edited 1 time. Last edited by peppapig_, Mar 14, 2024, 6:09 PM
Reason: Typo fix, b^n+1, not \nu_2(b^n+1)
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
asdf334
7585 posts
#56
Y by
bashing practice...

For any prime $p\mid n$ notice that
\[p\mid b^{2n}-1\implies \text{ord}_p(b)\mid 2n\implies \text{ord}_p(b)\mid \gcd(2n,p-1).\]The smallest prime $p$ dividing $n$ would then satisfy $\gcd(n,p-1)=1$. In particular, we should have $\text{ord}_p(b)\in \{1,2\}$.

So $p\mid b-1$ or $p\mid b^2-1$ and $p\nmid b-1$.

Note that $p\mid b^n+1$ though, hence we would require $p=2$ in the former case. In particular we need $4\mid b^n+1$ where $n$ is even, which is impossible.

Hence $p\mid b^2-1$ and $p\nmid b-1$. Also note that $n$ is odd, and $p\neq 2$. This additionally implies $b-1$ and $b+1$ are relatively prime.

In particular $p\mid b+1$. Hence if $b+1$ is a power of two we fail.

Admittedly I've been spoiled to the answer, but the point is that if $b+1$ is not a power of two we are fine. Start with said value of odd $p$ as a "base case" and we'll inductively create values $n_1,n_2,\dots$ which all satisfy $n_i^2\mid b^{n_i}+1$.

Oops the next step took too long. Write $n_1=pq$. By LTE we have $p^2\mid b^{pq}+1$. So we need $q^2\mid b^{pq}+1$. In particular it will suffice to have $b^p+1\equiv 0\pmod q$. Hence we just need to show there exists a prime $q$ dividing $b^p+1$ which doesn't divide $b+1$ (and is therefore not equal to $p$). This is guaranteed by Zsigmondy (since we can easily find $b\ge 4$ and bypass special cases).

Repeat the process. If $n_2=pqr$ we need $r^2\mid b^{pqr}+1$. It suffices to have $r\mid b^{pq}+1$ while $r\nmid b^p+1$, which is fine.

We can get infinitely many values this way. Done. $\blacksquare$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
straight
415 posts
#57
Y by
Truly one of the NT problems of all time
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
BestAOPS
707 posts
#58
Y by
Lemma: If $a \mid b$ and $a$ and $b$ are odd, then $x^a + 1 \mid x^b + 1$ for all natural numbers $x$.

Proof: We know $\frac{b}{a}$ is odd, so
\[ \frac{x^b + 1}{x^a + 1} = x^{b-a} - x^{b-2a} + x^{b-3a} - \ldots + 1. \]
We claim that all $b$ such that $b+1$ is not a power of $2$ work.
We will generate an infinite sequence of $n$'s satisfying the condition, starting with $n_1 = p_1$ where $p_1$ is an odd prime that divides $b+1$.
The sequence will also satisfy the additional condition that $n_i$ can be written in the form $p_1p_2\ldots p_i$ where the $p_j$'s are distinct odd primes.
To establish the base case, notice that since $p_1$ is odd, we can use lifting the exponent:
\[ \nu_{p_1}(b^{p_1} + 1) = \nu_{p_1}(b + 1) + 1 \geq 2. \]Thus, $n_1^2 \mid b^{n_1} + 1$.

Next, assume $n_i = p_1p_2\ldots p_i$ satisfies the condition that $n_i^2 \mid b^{n_i} + 1$.
Then, let $p_{i+1}$ be a primitive prime divisor of $b^n + 1$.
Its existence is guaranteed by Zsigmondy's theorem.
We claim that $p_{i+1} \neq 2$.
If $b$ is even, then that is obvious.
Otherwise, $2 \mid b+1$, so $2$ would not be a primitive divisor.
Thus, $p_{i+1}$ is an odd prime distinct from any of $p_1,p_2,\ldots,p_i$.

We then claim that if $n_{i+1} = p_1p_2\ldots p_{i+1}$, then $n_{i+1}$ satisfies the condition from the problem statement.
By our lemma, we know that $n_i^2 = (p_1p_2\ldots p_i)^2 \mid b^{n_i} + 1 \mid b^{n_{i+1}} + 1$.
It remains to check $p_{i+1}^2 \mid b^{n_{i+1}} + 1$.
Again, we use lifting the exponent:
\[ \nu_{p_{i+1}}(b^{n_{i+1}} + 1) = \nu_{p_{i+1}}(b^{n_i} + 1) + \nu_{p_{i+1}}(p_{i+1}) = \nu_{p_{i+1}}(b^{n_i} + 1) + 1 \geq 2. \]
Thus, by induction, every $n$ in this infinite sequence works.

Finally, we prove that if $b+1$ is a power of $2$, there are finitely many solutions to $n^2 \mid b^n + 1$.
Suppose $n > 1$ satisfies $n^2 \mid b^n + 1$.
If $n$ were even, then $b^n + 1$ would be either $1$ or $2$ mod $4$, but it also must be $0$ mod $4$ in order to be divisible by $n^2$.
Hence, $n$ must be odd.

Next, let $p$ be the least prime factor of $n$.
We have
\[ b^n \equiv -1 \implies b^{2n} \equiv 1 \pmod{p}, \]so the order of $b^2$ must divide $\gcd(p-1,n)$.
Since $p$ is the least prime factor of $n$, this GCD must equal $1$; otherwise, $\gcd(p-1,n)$ would have a prime factor less than $p$ which is also a factor of $n$, contradicting $p$'s minimality.
Thus, $b^2 \equiv 1 \pmod{p}$, or in other words, $p \mid (b-1)(b+1)$.
We know $p$ cannot divide $b+1$ since $b+1$ is a power of $2$.

Thus, $p$ must divide $b-1$, and $b \equiv 1 \pmod{p}$.
However, this means $b^n \equiv 1 \pmod{p}$, so $p$ must be $2$, which is impossible since $n$ is odd!
This concludes the proof.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
smileapple
1010 posts
#59
Y by
Fix the value of $b$. We say that $n$ is good if $n^2\mid b^n+1$ and there exists some odd prime $q$ such that $q\nmid n^2$ and $q\mid b^n+1$.

We claim that if $n$ is good, then so is $np$ for some odd prime $p$ with $p\nmid n$. Indeed, for such $n$, take $p$ satisfying $p\nmid n^2$ and $p\mid b^n+1$. Then $\nu_p(b^{np}+1)=\nu_p((b^n)^p-(-1)^p)=\nu_p(b^n+1)+\nu_p(p)\ge2$ from exponent lifting. Additionally, we have $n^2\mid b^{np}+1$ as $p$ is odd. This implies that $n^2p^2\mid b^{np}+1$.

Additionally, since $b>2$, by Zsigmondy there exists some odd prime $q$ for which $q\nmid b^n+1$ and $q\mid b^{np}+1$. In particular, $q\nmid n^2p^2$ but $q\mid b^{np}+1$. This proves our claim. In particular, it follows that if there exists some integer that is good, then there exists infinitely many integers that are good.

Let $k=\frac{b+1}{2^{\nu_2(b+1)}}$. We claim the if $k>1$, so that $b+1$ is not a power of two, then $k$ is good. If $p\mid k$, by exponent lifting we have $\nu_p(b^k+1)=\nu_p(b^k-(-1)^k)=\nu_p(b+1)+\nu_p(k)=2\nu_p(k)$, so $k^2\mid b^k+1$. Additionally, by Zsigmondy there exists some prime $q$ for which $q\nmid b+1$ and $q\mid b^k+1$. Since $k\mid b+1$, we have $q\nmid k^2$. Thus $k$ is good.

As a result, if $b+1$ is not a power of $2$, our above results imply that there exist infinitely many good integers and thus infinitely many positive integers $n$ such that $n^2\mid b^n+1$.

Finally, if $b+1=2^m$ for some $m$, we claim that $n^2\nmid b^n+1$ for all $n$. Indeed, if otherwise, let $p$ be the minimal odd divisor of $n$. Then $b^n\equiv-1\pmod p$ and $b^{p-1}\equiv1\pmod p$, so that $b^2\equiv b^{\gcd(2n,p-1)}\equiv1\pmod p$ by minimality. Thus $p\mid b^2-1=(b-1)(b+1)$, and since $p$ is odd we have $p\mid b-1$. But then $b^n\equiv1\pmod p$, a contradiction.

Our solution set for $b$ is therefore $\boxed{\{b\mid b\in\mathbb{N},b>2,\log_2(b+1)\notin\mathbb{Z}\}}$.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
cursed_tangent1434
634 posts
#60
Y by
We claim that the answer is all positive integers $b>2$ excluding those of the form $2^r-1$ for some positive integer $r>1$. We shall first show that such $b$ indeed do not work.

First note that if $n$ is even $2 \mid b^n+1$ which requires $b$ to be odd. However then,
\[b^n+1 \equiv 1+1 \equiv 2 \pmod{4}\]since $n$ is even which contradicts the fact that $4 \mid n^2 \mid b^n+1$. Thus, for all $b$ there exists no even $n$ such that $n^2 \mid b^n+1$.

With this observation in hand, it is clear that $b^n+1$ must have some odd prime factors. We look at the smallest prime factor $q \mid n$. Note that $b^{2n}\equiv1 \pmod{q}$ but $b^n \equiv -1 \pmod{q}$. This means that $\text{ord}_q(2) \mid 2n$. Thus, if $\text{ord}_q(2)$ has some odd prime factor, it is a violation of the minimality of $q$ implying that $\text{ord}_q(2)$ is a perfect power of two. However, $\nu_2(2n)=1$ since $n$ must be odd so $\text{ord}_q(2) \mid 2$. However, this cannot be $1$ as $b^n\equiv -1 \not \equiv 1 \pmod{q}$. This means that $\text{ord}_q(2)=2$ and thus, $b+1 \equiv 0 \pmod{q}$.

However, if $b=2^r-1$ for some positive integer $r$ this implies that there exists some odd prime $q$ such that $q \mid 2^r$ which is a clear contradiction. Thus, all $b$ of the prescribed form in deed do not satisfy the desired conditions.

To see why all other $b$ work, we employ induction. Consider an odd prime $p_1 \mid b+1$. Note that,
\[\nu_{p_1}(b^{p_1}+1) = \nu_{p_1}(b+1)+\nu_{p_1}(p_1) \ge 2\]and thus, $p_1^2 \mid b^{p_1}+1$. Now, assume that for some $r \ge 1$ there exists a product of distinct odd primes $x_{r-1}=p_1p_2\dots p_{r-1}$ and $x_r=p_1p_2\dots p_r$ such that $x_{r-1}^2 \mid b^{x_{r-1}}+1$ and $p_{r} \mid b^{x_{r-1}}+1$ ($p_r\not \in \{p_1,p_2,\dots , p_{r-1}\}$). Note that,
\[(p_1p_2\dots p_{r-1})^2 \mid 2^{x_{r-1}}+1 \mid 2^{x_r}+1\]Also, by Lifting the Exponent Lemma,
\[\nu_{p_r}(2^{x_r}+1)= \nu_{p_r}(2^{x_{r-1}}+1)+\nu_{p_r}(p_r) \ge 2\]Thus, $p_r^2 \mid 2^{x_r}+1$ and we conclude that $x_r^2 \mid 2^{x_r}+1$. Further, by Zsigmondy's Theorem there exists some odd prime factor $p_{r+1}$ such that $p_{r+1} \mid 2^{x_r}+1$ but $p_{r+1} \nmid 2^{x_{r-1}}+1$ (and hence $p_{r+1} \not \in \{p_1,p_2,\dots , p_r\}$). We then let $x_{r+1}=p_1p_2\dots p_rp_{r+1}$ which completes the induction and solves the problem.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Adywastaken
46 posts
#61
Y by
Claim: $\exists$ infinitely many $n$ iff $b+1\neq 2^k$

Proof: FTSOC assume otherwise.
Let $p_1$ be a prime such that $p_1\mid b+1$
$v_{p_1}(b^{p_1}+1)=1+v_{p_1}(b+1)$
$\implies (p_1)^2\mid b^{p_1}+1$
By Zsig, $\exists p_2\neq p_1$ such that $p_2\mid b^{p-1}+1$
Now, let's say $(p_1p_2\dots p_{n-1})^2p_n\mid b^{p_1p_2\dots p_{n-1}}+1$
By LTE again, $(p_1p_2\dots p_n)^2\mid b^{p_1p_2\dots p_n}+1$
By Zsig, $\exists p_{n+1}$ such that $p_{n+1}\mid b^{p_1p_2\dots p_n}+1$
So, $(p_1p_2\dots p_n)^2p_{n+1}\mid b^{p_1p_2\dots p_n}+1$
Hence, there are infinitely many solutions.

Now, let $b=2^k-1$
Let $p$ be the smallest prime dividing $n$.
$p\mid b^n+1$, $p\mid 2^{p-1}+1$, so $p\mid (b+1)(b-1)$.
$\implies p\mid b+1$, $p=2$
For $n\geq 2$, $4\mid b^n+1\equiv 2\pmod 4$, since $n$ is even and $b$ is odd. $\Rightarrow\!\Leftarrow$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Ilikeminecraft
648 posts
#62
Y by
I claim the answer is all integers that can't be expressed as $2^n - 1.$

I will start by proving that any integer of that form can't work.

I claim that $n$ must be odd. Take modulo 4, and thus $b^n + 1 \equiv 2 \pmod 4 \implies \nu_2(b^n + 1) = 1 < 2,$ which is a contradiction. For $n \neq 1,$ let $p$ be the smallest prime dividing $n.$ I claim that $p \mid b + 1.$

By using the fact that $b^{2n} \equiv 1\pmod {p},$ and $b^{p - 1} \equiv 1 \pmod p,$ we have that $\operatorname{ord}_(b) \mid (2n, p - 1) = 2.$ Thus, $p\mid b^2 - 1.$ However, if $p\mid b - 1,$ we have that $b^n + 1 \equiv 1 + 1 \equiv 2 \pmod p\implies p\mid 2,$ which is clearly a contradiction. Thus, $p\mid b + 1.$

If $b + 1 = 2^k$ for some $k,$ then we clearly have no solution because then $p = 2,$ which is a contradiction.

Now, I prove that any other integer can work. I will do this with induction. Let $p_i, n_i$ be an infinite sequence. Let $n_k = \prod\limits_{i = 0}^k p_i$. Let $p_i = 1,$ and then for all $i\geq 1,$ let $p_i$ be distinct primes such that $p_{i} \mid b^{n_{i - 1}} + 1.$ We know $p_i$ exists because of Zsigmondy's, and that $p_i$ are all odd. I claim that each term in the sequence $n_k$ is a valid construction. We will prove this with induction.

$k = 0$ is obviously true. $k = 1$ has that $n_1 = p_1 \mid b + 1.$ Thus, $\nu_{p_1} (b^{p_1} + 1) = \nu_{p_1}(b + 1) + 1 \geq 2.$ Thus, this is valid.

Now assume that $k = l$ has that is a valid construction. Hence, $n_l^2 \mid b^{n_l} + 1 \mid b^{n_lp_{l + 1}} + 1 = b^{n_{l + 1}} + 1.$ We also have that $p_{l + 1} \mid b^{n_{l}} + 1,$ and hence $\nu_{p_{l + 1}} (b^{n_{l + 1}} + 1) = \nu_{p_{l + 1}}({b^{n_{l}}}^{p_{l + 1}} + 1)\geq2.$ 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.
GingerMan
5 posts
#63
Y by
Answer is all integers $b>2$ except for those that are $1$ less than a power of $2$.
First, we show $b=2^k-1$ fails. Let $p$ be the minimal prime divisor of $n$; the order of $b$ mod $p$ divides $\gcd(2n, p-1) = 2$ and thus $p \mid b+1 \implies p=2$. Now $4 \mid b^n+1$ and since $b \equiv -1 \pmod 4$, we have $n$ odd which is a contradiction.
We now prove all other $b$ work. Let $p_1$ be an odd prime divisor of $b+1$. Define $p_{k+1}$ as an odd prime satisfying $p_{k+1} \mid b^{p_k}+1$ and $p_{k+1} \notin \{p_1,\dots,p_k\}$ (this exists by Zsigmondy). Fix any positive integer $m$ and define $n=p_1p_2\dotsb p_m$.
By LTE,
\begin{align*}
  \nu_{p_k}(b^n+1) &= \nu_{p_k}(b^{p_{k-1}}+1) + \nu_{p_k}(n/p_{k-1})\\
  &= \underbrace{\nu_{p_k}(b^{p_{k-1}}+1)}_{\ge 1} +
  \underbrace{\nu_{p_k}(n)}_{=1} \geq 2\nu_{p_k}(n)
\end{align*}for $k=2,\dots,m$; we similarly show
\[ \nu_{p_1}(b^n+1) = \nu_{p_1}(b+1) + \nu_{p_1}(n) \geq 2\nu_{p_1}(n). \]Hence $n^2 \mid b^n+1$, and by setting $m=1,2,\dots$, we get infinitely many integers.
The case $b=2$ fails by IMO 1990/3.
Z K Y
N Quick Reply
G
H
=
a