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
IMO Shortlist 2013, Combinatorics #4
lyukhson   21
N an hour ago by Ciobi_
Source: IMO Shortlist 2013, Combinatorics #4
Let $n$ be a positive integer, and let $A$ be a subset of $\{ 1,\cdots ,n\}$. An $A$-partition of $n$ into $k$ parts is a representation of n as a sum $n = a_1 + \cdots + a_k$, where the parts $a_1 , \cdots , a_k $ belong to $A$ and are not necessarily distinct. The number of different parts in such a partition is the number of (distinct) elements in the set $\{ a_1 , a_2 , \cdots , a_k \} $.
We say that an $A$-partition of $n$ into $k$ parts is optimal if there is no $A$-partition of $n$ into $r$ parts with $r<k$. Prove that any optimal $A$-partition of $n$ contains at most $\sqrt[3]{6n}$ different parts.
21 replies
lyukhson
Jul 9, 2014
Ciobi_
an hour ago
Cycle in a graph with a minimal number of chords
GeorgeRP   4
N 2 hours ago by CBMaster
Source: Bulgaria IMO TST 2025 P3
In King Arthur's court every knight is friends with at least $d>2$ other knights where friendship is mutual. Prove that King Arthur can place some of his knights around a round table in such a way that every knight is friends with the $2$ people adjacent to him and between them there are at least $\frac{d^2}{10}$ friendships of knights that are not adjacent to each other.
4 replies
GeorgeRP
Yesterday at 7:51 AM
CBMaster
2 hours ago
amazing balkan combi
egxa   8
N 2 hours ago by Gausikaci
Source: BMO 2025 P4
There are $n$ cities in a country, where $n \geq 100$ is an integer. Some pairs of cities are connected by direct (two-way) flights. For two cities $A$ and $B$ we define:

$(i)$ A $\emph{path}$ between $A$ and $B$ as a sequence of distinct cities $A = C_0, C_1, \dots, C_k, C_{k+1} = B$, $k \geq 0$, such that there are direct flights between $C_i$ and $C_{i+1}$ for every $0 \leq i \leq k$;
$(ii)$ A $\emph{long path}$ between $A$ and $B$ as a path between $A$ and $B$ such that no other path between $A$ and $B$ has more cities;
$(iii)$ A $\emph{short path}$ between $A$ and $B$ as a path between $A$ and $B$ such that no other path between $A$ and $B$ has fewer cities.
Assume that for any pair of cities $A$ and $B$ in the country, there exist a long path and a short path between them that have no cities in common (except $A$ and $B$). Let $F$ be the total number of pairs of cities in the country that are connected by direct flights. In terms of $n$, find all possible values $F$

Proposed by David-Andrei Anghel, Romania.
8 replies
egxa
Apr 27, 2025
Gausikaci
2 hours ago
abc = 1 Inequality generalisation
CHESSR1DER   6
N 3 hours ago by CHESSR1DER
Source: Own
Let $a,b,c > 0$, $abc=1$.
Find min $ \frac{1}{a^m(bx+cy)^n} + \frac{1}{b^m(cx+ay)^n} + \frac{1}{c^m(cx+ay)^n}$.
$1)$ $m,n,x,y$ are fixed positive integers.
$2)$ $m,n,x,y$ are fixed positive real numbers.
6 replies
CHESSR1DER
4 hours ago
CHESSR1DER
3 hours ago
Fond all functions in M with a) f(1)=5/2, b) f(1)=√3
Amir Hossein   5
N 3 hours ago by jasperE3
Source: IMO LongList 1982 - P34
Let $M$ be the set of all functions $f$ with the following properties:

(i) $f$ is defined for all real numbers and takes only real values.

(ii) For all $x, y \in \mathbb R$ the following equality holds: $f(x)f(y) = f(x + y) + f(x - y).$

(iii) $f(0) \neq 0.$

Determine all functions $f \in M$ such that

(a) $f(1)=\frac 52$,

(b) $f(1)= \sqrt 3$.
5 replies
Amir Hossein
Mar 18, 2011
jasperE3
3 hours ago
help me please
thuanz123   6
N 4 hours ago by pavel kozlov
find all $a,b \in \mathbb{Z}$ such that:
a) $3a^2-2b^2=1$
b) $a^2-6b^2=1$
6 replies
thuanz123
Jan 17, 2016
pavel kozlov
4 hours ago
Problem 5 (Second Day)
darij grinberg   78
N 4 hours ago by cj13609517288
Source: IMO 2004 Athens
In a convex quadrilateral $ABCD$, the diagonal $BD$ bisects neither the angle $ABC$ nor the angle $CDA$. The point $P$ lies inside $ABCD$ and satisfies \[\angle PBC=\angle DBA\quad\text{and}\quad \angle PDC=\angle BDA.\] Prove that $ABCD$ is a cyclic quadrilateral if and only if $AP=CP$.
78 replies
darij grinberg
Jul 13, 2004
cj13609517288
4 hours ago
concyclic wanted, PQ = BP, cyclic quadrilateral and 2 parallelograms related
parmenides51   2
N 4 hours ago by SuperBarsh
Source: 2011 Italy TST 2.2
Let $ABCD$ be a cyclic quadrilateral in which the lines $BC$ and $AD$ meet at a point $P$. Let $Q$ be the point of the line $BP$, different from $B$, such that $PQ = BP$. We construct the parallelograms $CAQR$ and $DBCS$. Prove that the points $C, Q, R, S$ lie on the same circle.
2 replies
parmenides51
Sep 25, 2020
SuperBarsh
4 hours ago
Integer FE Again
popcorn1   43
N 4 hours ago by DeathIsAwe
Source: ISL 2020 N5
Determine all functions $f$ defined on the set of all positive integers and taking non-negative integer values, satisfying the three conditions:
[list]
[*] $(i)$ $f(n) \neq 0$ for at least one $n$;
[*] $(ii)$ $f(x y)=f(x)+f(y)$ for every positive integers $x$ and $y$;
[*] $(iii)$ there are infinitely many positive integers $n$ such that $f(k)=f(n-k)$ for all $k<n$.
[/list]
43 replies
popcorn1
Jul 20, 2021
DeathIsAwe
4 hours ago
Long and wacky inequality
Royal_mhyasd   2
N 4 hours ago by Royal_mhyasd
Source: Me
Let $x, y, z$ be positive real numbers such that $x^2 + y^2 + z^2 = 12$. Find the minimum value of the following sum :
$$\sum_{cyc}\frac{(x^3+2y)^3}{3x^2yz - 16z - 8yz + 6x^2z}$$knowing that the denominators are positive real numbers.
2 replies
Royal_mhyasd
May 12, 2025
Royal_mhyasd
4 hours ago
Perpendicular passes from the intersection of diagonals, \angle AEB = \angle CED
NO_SQUARES   1
N 4 hours ago by mathuz
Source: 239 MO 2025 10-11 p3
Inside of convex quadrilateral $ABCD$ point $E$ was chosen such that $\angle DAE = \angle CAB$ and $\angle ADE = \angle CDB$. Prove that if perpendicular from $E$ to $AD$ passes from the intersection of diagonals of $ABCD$, then $\angle AEB = \angle CED$.
1 reply
NO_SQUARES
May 5, 2025
mathuz
4 hours ago
A game with balls and boxes
egxa   6
N 5 hours ago by Sh309had
Source: Turkey JBMO TST 2023 Day 1 P4
Initially, Aslı distributes $1000$ balls to $30$ boxes as she wishes. After that, Aslı and Zehra make alternated moves which consists of taking a ball in any wanted box starting with Aslı. One who takes the last ball from any box takes that box to herself. What is the maximum number of boxes can Aslı guarantee to take herself regardless of Zehra's moves?
6 replies
egxa
Apr 30, 2023
Sh309had
5 hours ago
Angle Relationships in Triangles
steven_zhang123   2
N 5 hours ago by Captainscrubz
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$.
2 replies
steven_zhang123
Yesterday at 11:09 PM
Captainscrubz
5 hours ago
Easy functional equation
fattypiggy123   14
N 5 hours ago by Fly_into_the_sky
Source: Singapore Mathematical Olympiad 2014 Problem 2
Find all functions from the reals to the reals satisfying
\[f(xf(y) + x) = xy + f(x)\]
14 replies
fattypiggy123
Jul 5, 2014
Fly_into_the_sky
5 hours ago
2^n-1 has n divisors
megarnie   47
N Apr 26, 2025 by Ilikeminecraft
Source: 2021 USEMO Day 1 Problem 2
Find all integers $n\ge1$ such that $2^n-1$ has exactly $n$ positive integer divisors.

Proposed by Ankan Bhattacharya
47 replies
megarnie
Oct 30, 2021
Ilikeminecraft
Apr 26, 2025
2^n-1 has n divisors
G H J
Source: 2021 USEMO Day 1 Problem 2
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
megarnie
5608 posts
#1 • 9 Y
Y by HWenslawski, OlympusHero, centslordm, Justpassingby, Epsilon-, TheHawk, Ciel_vert, GoodMorning, OronSH
Find all integers $n\ge1$ such that $2^n-1$ has exactly $n$ positive integer divisors.

Proposed by Ankan Bhattacharya
This post has been edited 2 times. Last edited by megarnie, Nov 6, 2021, 7:37 PM
Reason: Added the proposer
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
nukelauncher
354 posts
#6 • 10 Y
Y by centslordm, megarnie, CT17, math31415926535, RedFlame2112, ILOVEMYFAMILY, StarLex1, rayfish, mijail, Asynchrone
Solution
This post has been edited 2 times. Last edited by nukelauncher, Oct 30, 2021, 11:40 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
DottedCaculator
7355 posts
#7 • 2 Y
Y by centslordm, megarnie
solution attached
Attachments:
2021 USEMO Problem 2.pdf (299kb)
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
TheUltimate123
1740 posts
#8 • 3 Y
Y by centslordm, megarnie, ilikemath40
The answers are 1, 2, 4, 6, 8, 16, 32. It is easy to check by hand that these work via Fermat primes. Moreover, we may check that \(d(2^{12}-1)=24\) and \(d(2^{64}-1)=128\).

Now we claim for all other \(n\) that \[\nu_2(d(2^n-1))>\nu_2(n).\]
To this end, we induct on \(\nu_2(n)\), with base cases \(n=12\), \(n=64\), and \(n\ne1\) odd. The first two have been checked above. For \(n\ne1\) odd, \(d(2^n-1)\) is even since \(2^n-1\equiv3\pmod4\) is not a square.

For the inductive step \(n\to2n\), observe that \(2^{2n}-1=(2^n-1)(2^n+1)\), and since the two terms are coprime, we have \[d(2^{2n}-1)=d(2^n-1)\cdot d(2^n+1).\]But \(\nu_2(d(2^n-1))>\nu_2(n)\) by inductive hypothesis, and \(d(2^n+1)\) is even since \(2^n+1\) is not a square for \(n\ne3\) by Mih\u ailescu theorem. Hence \[\nu_2(d(2^{2n}-1))>\nu_2(n)+1=\nu_2(2n).\]
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
megarnie
5608 posts
#9
Y by
oh no I wrote a super long proof of why $\gcd(2^m-1,2^{2^i\cdot m}+1)=1$.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
MarkBcc168
1595 posts
#10 • 4 Y
Y by centslordm, megarnie, MatBoy-123, RaceCar21
Nice problem! Here is a very different solution.

The answers are $n=1,2,4,6,8,16,32$. These can be easily checked to be all work. To show that there are no other solutions, we first recall the functions $\omega$ and $\Omega$ defined by
\begin{align*}
\omega(p_1^{e_1}p_2^{e_2}\dots p_k^{e_k}) &= k \\
\Omega(p_1^{e_1}p_2^{e_2}\dots p_k^{e_k}) &= e_1+e_2+\dots +e_k,
\end{align*}where $p_1,\dots,p_k$ are primes. The main idea of the solution is the following lemma.
Lemma: For any positive integer $n$, $\Omega(\tau(n)) \geq \omega(n)$.

Proof: Obvious after writing $n$ as the factorization form. $\blacksquare$
In light of this lemma, we bound $\omega(2^n-1)$. By Zsigmondy's theorem, for each divisor $d\ne 1,6$, there exists a prime $p_d$ such that $\mathrm{ord}_{p_d}(2) = d$. All the $p_d$'s are distinct, so
$$\tau(n) - 2 \leq \omega(2^n-1) \leq \Omega(\tau(2^n-1)) = \Omega(n).$$This inequality alone is enough to deduce that:
Claim: $n$ must be a prime power or the product of two primes.

Proof: Suppose that $n=p_1^{e_1}p_2^{e_2}\dots p_k^{e_k}$ where $k\geq 2$. Then,
\begin{align*}
\tau(n) &= (e_1+1)(e_2+1)\dots (e_k+1)  \\
&\geq e_1e_2\dots e_k + (e_1+e_2+\dots + e_k) + 1  \\
&\geq \Omega(n)+2.
\end{align*}The equality occurs iff $e_1e_2\dots e_k=1$ and $k=2$, implying the result. $\blacksquare$
The rest is just grinding. First, note that, except $n=1$, $n$ must be even because otherwise, $2^n-1$ must be a perfect square, which is impossible because $2^n-1\equiv 3\pmod 4$. Thus, we have two cases.
  • If $n=2^k$ for some $k$, then note the factorization
    $$2^{2^k}-1 = (2^{2^0}+1)(2^{2^1}+1)(2^{2^2}+1)\dots (2^{2^{k-1}}+1),$$which implies that it has at least $k$ divisors. Furthermore, $2^{2^5}+1$ is composite, forcing $k\leq 5$ or $n\in\{1,2,4,8,16,32\}$.
  • Otherwise, $n$ must be $2p$ for some prime $p$. If $p\ne 3$, then we can go back and stregthen the bound above to $\omega(2^n-1)\geq 3$, which implies that $\Omega(n)\geq 3$, contradiction.
Thus, all answers are indeed $1,2,4,6,8,16,32$.
This post has been edited 1 time. Last edited by MarkBcc168, Sep 4, 2023, 1:44 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
megarnie
5608 posts
#11 • 3 Y
Y by centslordm, bjump, peace09
I literally learned about Fermat Primes yesterday.

We claim the answer is $\boxed{n=1,2,4,6,8,16,32}$. Proof that these work

Let $d(m)$ denote the number of positive integer divisors of $m$.

Claim: If $n$ is odd, then $n=1$.
Note that $d(2^1-1)=1$, so $n=1$ works. If $n>1$, then \[2^n-1\equiv3\pmod 4\]Since $3$ is not a quadratic residue $\pmod4$, $2^n-1$ is not a perfect square, and thus doesn't have an odd number of divisors.

Henceforth assume that $n$ is even.

We can write $2^n-1$ as \[(2^m-1)(2^m+1)(2^{2m}+1)(2^{4m}+1)\cdots(2^\frac{n}{2}+1),\]where $m$ is an odd positive integer and $m=\frac{n}{2^k}$.

Claim: All terms in the above product are relatively prime.
Proof (on the test I took 4.5 pages to prove this claim :( ) (I also write big): I will first show that the first term is relatively prime to all other terms. We must show that \[\gcd(2^m-1,2^{m\cdot 2^i}+1)=1\]for all integers $0<i<k$. Note that $(2^m-1)(2^m+1)(2^{2m}+1)\cdots (2^{m\cdot 2^{i-1}}+1)=2^{m\cdot 2^i}-1$, so by the Euclidean Algorithm, \[\gcd(2^m-1,2^{m\cdot 2^i}+1)=\gcd(2^m-1, 2)=1\]
Now, to prove our original claim, it suffices to show that all other terms are pairwise relatively prime. We must show that \[\gcd(2^{m\cdot2^i}+1,2^{m\cdot 2^j}+1)=1\],

for all integers $0<i<j<k$.

Note that \[(2^{m\cdot2^i}+1)(2^{m\cdot2^i}-1)(2^{m\cdot 2^{i+1}}+1)(2^{m\cdot 2^{i+2}}+1)\cdots (2^{m\cdot2^{j-1}}+1)=2^{m\cdot 2^j}-1\], so by the Euclidean Algorithm, \[\gcd(2^{m\cdot2^i}+1,2^{m\cdot 2^j}+1)=\gcd(2^{m\cdot2^i}+1,2)=1,\]as desired.


Since $d(m)d(n)=d(mn)$ whenever $m$ and $n$ are relatively prime, we have \[d(2^n-1)=d(2^m-1)d(2^{m}+1)d(2^{2m}+1)\cdots d(2^{\frac{n}{4}}+1)d(2^{\frac{n}{2}}+1)=n\].


Since there are $m+1$ terms in the above product, and $\nu_2(n)=m$, one of the terms has an odd number of divisors, and must be a perfect square.


Case 1: $2^m-1$ is a perfect square.
So $m=1$. Thus, $n=2^k$.
Claim: The rest of the terms are not perfect squares.
Proof: Suppose $2^i+1=a^2$. Then $(a-1)(a+1)=2^i$, so $a-1$ and $a+1$ are both powers of $2$, which implies $a=3$ and so, $i=3$. $3$ is not a power of $2$, so we are done.

Now, if one of the terms has the number of divisors equal to a multiple of $4$, then $d(2^n-1)$ has at least one more power of $2$ than $n$.

We have $2^{32}+1=641\cdot6700417$, both of which are primes, so $d(2^{32}+1)=4$. Thus, $k<6$ and all integers $0<k<6$ work.


Case 2: $2^m-1$ is not a perfect square.
One of the other terms must be a perfect square, so $m=3$. Thus, $n=3\cdot 2^k$.

Now, if one of the terms has the number of divisors equal to a multiple of $4$, then $d(2^n-1)$ has at least one more power of $2$ than $n$.

Note that $d(2^{3\cdot 2^1}+1)=4$, so $k<2$. $k=1$ obviously works and $k=0$ doesn't.



Having exhausted all cases, we are done.
This post has been edited 4 times. Last edited by megarnie, Dec 30, 2021, 3:14 AM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
mathleticguyyy
3217 posts
#12 • 2 Y
Y by centslordm, megarnie
probably closer to (albeit still difficult for) a JMO 2 than USAMO/IMO 2, but still a cool problem nonetheless.

The answers are $1,2,4,6,8,16,32$. It's fairly easy to check that they do work.

Let $\nu_2(n)=m$ and $n=k\cdot 2^m$ for some odd $k$. We can factor $2^{n}-1=(2^{2^{m-1}k}+1)(2^{2^{m-2}k}+1)\ldots (2^{k}+1)(2^{k}-1)$, where there are notably $m+1$ terms on the RHS.

By Catalan conjecture, $2^k+1$ is a perfect square only when $k=3$, and $2^{k}-1$ is a perfect square only when $k=1$. Also, it's easy by Euclidean Algorithm to see that any two terms on the RHS are relatively prime; this means that when $k\ge 5$, the # of factors of RHS is a product of $m+1$ even integers by multiplicativity, but $n$ is not divisible by $2^{m+1}$. We can therefore concentrate on $k=1$ and $k=3$, where the answer can be derived by simply recognizing that $2^{2^5}+1$ and $2^{3\cdot 2}+1$ are not primes.
This post has been edited 7 times. Last edited by mathleticguyyy, Oct 31, 2021, 3:51 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
pad
1671 posts
#13 • 3 Y
Y by megarnie, centslordm, math31415926535
Write $n=2^\ell a$, where $a$ is odd. Then
\[ 2^n-1 = (2^a-1)(2^a+1)(2^{2a}+1)\cdots (2^{2^{\ell-1}a}+1). \]We claim that all the above $\ell+1$ terms are pairwise coprime. All are odd. If $p\mid 2^a-1$ is a prime, then $p\mid 2^{2^ka}-1$ for all $k\ge 0$, so in particular $p\nmid 2^{2^ka}+1$ since $p>2$. Similarly, if $p\mid 2^{2^ka}+1$, then $p\mid 2^{2^{k+1}a}-1 \mid 2^{2^{k'}a}-1$ for all $k'>k$, so $p\nmid 2^{2^{k'}a}+1$ for all $k'>k$.

Now,
\[ 2^\ell a = n = \tau(2^n-1) = \tau(2^a-1)\tau(2^a+1)\tau(2^{2a}+1)\cdots \tau(2^{2^{\ell-1}a}+1).\]It is well-known (and easy to prove) that $2^x-1$ square if and only if $x=1$, and $2^x+1$ square if and only if $x=3$. So if $a\ge 5$, then all the terms above are even, so $\nu_2(RHS) \ge \ell+1 > \ell = \nu_2(LHS)$, contradiction. So $a=1$ or $a=3$.

If $a=3$, then
\[
\tau(2^a-1) = 2, \tau(2^a+1)=3, \tau(2^{2a}+1) = 4 = 2^2, 
\]and of course $\tau(2^{2^ka}+1) \ge 2$ for all $k\ge 0$, so the product is at least $3\cdot 2^{\ell+1}>2^\ell a$, contradiction, unless $\ell\le 1$, in which case $n=6$.

If $a=1$, it can be confirmed that $\tau(2^{k}+1)=2$ for all $k=1,2,3,4$, but $\tau(2^{32}+1) > 2$. A similar argument gives a size contradiction for $k \ge 6$. So $1,2,4,8,16,32$ are possibilities for $n$.

It can be checked manually that $1,2,4,8,16,32,6$ work, so 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.
rama1728
800 posts
#14 • 3 Y
Y by megarnie, centslordm, cursed_tangent1434
megarnie wrote:
Find all integers $n\ge1$ such that $2^n-1$ has exactly $n$ positive integer divisors.

I'm loving this one. This is one of my favorite problems. The solution I am about to present will contain motivation too.

First of all by Fermat primes, we can check that \(n=1,2,4,6,8,16,32\) work.

Now we are starting the problem. We naturally start with plugging some random values of \(n\).
\begin{tabular}{ c c c }
            1 & 1 & 1 \\
            2 & 3 & 2 \\
            3 & 7 & 1 \\
            4 & 15 & 4 \\
            5 & 31 & 2 \\
            6 & 63 & 6 \\
            7 & 127 & 2 \\
            8 & 255 & 8 \\
            9 & 511 & 4 \\
            10 & 1023 & 8 \\
        \end{tabular}We have plugged the first ten values, where the first column tells the value of \(n\), second for \(2^n-1\) and third for \(d(2^n-1)\). Now, we check for patterns in this. Notice that many of the values in the last column (all except one, that is for \(6\) ) are giving powers of \(2\)! So this motivates us to consider the power of \(2\) dividing \(d(2^n-1)\), and as a consequence, we try to find some relation between \(\nu_2\left(d(2^n-1)\right)\) and \(\nu_2(n)\). If we check in this table, we see that the former is at least the latter! And this really relates to our problem because if we show that the former is at least the latter always, then we can try to show that after a point, the former is strictly greater than the latter, and this will imply that after that point, there is no value of \(n\).

Highly motivated by this, we try to show the inequality: \[\nu_2\left(d(2^n-1)\right)\geq\nu_2(n)\]This surely pings induction, because there is no possible way we could prove this (since it looks kind of abstract). We will induct over \(\nu_2(n)\). If \(\nu_2(n)=0\) (the base case), the proposed inequality is true, because every positive integer has at least one divisor. Now assume that this holds for \(\nu_2(n)=k\), that is \(n=2^k\cdot e\), where \(e\) can be any odd number. We have to show that the statement holds true for \(n=2^{k+1}\cdot e\). Notice that \[d\left(2^{2^{k+1}\cdot e}-1\right)=d\left(\left(2^{2^k\cdot e}-1\right)\left(2^{2^k\cdot e}+1\right)\right)=d\left(2^{2^k\cdot e}-1\right)\cdot d\left(2^{2^k\cdot e}+1\right)\]since both \(2^{2^k\cdot e}+1\) and \(2^{2^k\cdot e}-1\) are co-prime. Therefore, \[\nu_2\left(d\left(2^{2^{k+1}\cdot e}-1\right)\right)=\nu_2\left(d\left(2^{2^k\cdot e}-1\right)\right)+\nu_2\left(d\left(2^{2^k\cdot e}+1\right)\right)\geq k+1\]by our inductive assumption and the fact that \(2^{2^k\cdot e}+1\) is greater than \(1\). This completes the inductive step.

Now, we would like to show that after a point, the inequality becomes strict. We know that \(2^{2^5}-1\) has exactly \(32\) divisors. Now, let us assume that \(\nu_2(n)>5\). Then, since \(2^{2^5}+1\) is composite, we can say that \(\nu_2\left(d(2^{2^6\cdot e}-1)\right)>\nu_2(n)\) because the \(2^{2^5\cdot e}+1\) adds more than 1 factor (The solutions above worked because \(2^{2^k}+1\) is prime for \(1\leq k\leq 4\) and \(2^1-1\) has \(1\) prime factor). So if \(\nu_2(n)>=6\), their highest powers of \(2\) can never be equal, because we already got strict inequality for \(\nu_2(n)=6\) and if you increase \(\nu_2(n)\) by \(1\), the quantity \(\nu_2\left(d(2^n-1)\right)\) increases by at least \(1\) and so when \(\nu_2(n)\) is at least \(6\), the proposed statement fails. So \(\nu_2(n)\leq5\) and a simple case check reveals that the solutions presented above are the only ones that work.
This post has been edited 2 times. Last edited by rama1728, Oct 31, 2021, 6:05 AM
Reason: .
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Sprites
478 posts
#16 • 2 Y
Y by centslordm, megarnie
To factorise up,denote $n=2^km$ to get $$2^{2^km}-1=\left[2^m-1 \right] \cdot \prod_{j=0}^ {k-1} \left[2^{2^jm}-1 \right] $$
Claim #1:- The gcd of all the fore-mentioned terms is $1$

Proof:- The first term i.e $2^m-1$ clearly has a gcd of $1$ with $2^m+1$;moreover $$\gcd(2^m-1,2^{2^jm}+1)=\gcd(2^m-1,2)=1$$by Euclidean Algorithm.
For all other terms we have $$\gcd(2^{2^jm}+1,2^{2^im}+1)=1$$again by the Euclidean Algorithm.

Claim #2:- For all $n$ we must have \[\nu_2\left(\tau(2^n-1)\right)\geq\nu_2(n)\]
Proof:- Induction works;i.e induction over $\nu_2(n)$.Suppose that(since the base case works) $\nu_2(n)=k \;\;\; n=2^ek$ then \[\tau\left(2^{2^{k+1}\cdot e}-1\right)=\tau\left(\left(2^{2^k\cdot e}-1\right)\left(2^{2^k\cdot e}+1\right)\right)=\tau\left(2^{2^k\cdot e}-1\right)\cdot \tau\left(2^{2^k\cdot e}+1\right)\]since both \(2^{2^k\cdot e}+1\) and \(2^{2^k\cdot e}-1\) are co-prime. Therefore,\[\nu_2\left(\tau\left(2^{2^{k+1}\cdot e}-1\right)\right)=\nu_2\left(\tau \left(2^{2^k\cdot e}-1\right)\right)+\nu_2\left(\tau \left(2^{2^k\cdot e}+1\right)\right)\geq k+1\]where the last step follows from the inductive hypothesis and Mihalescu's theorem;(since $k>3$;$k=3$ can be verified seperately.)


Now by the multiplicative-ness of the $\tau$ function we get $$\tau \left(2^{2^km}-1 \right)=\tau \left[2^m-1 \right] \cdot \tau \left(\prod_{j=0}^ {k-1} \left[2^{2^jm}-1 \right]\right) $$If all of the terms on the RHS,were not perfect squares then their $\nu_2>\nu_2(n)$,which is a contradiction so again by Mihalescu's,$\boxed{m\in \{1,3 \}}$
$\;\;\;\;\;\;\;\;\; \bullet$ If $m=1$ then $n=2^{2^k}$ where we get the solutions $\boxed{n=1,2,4,8,16,32}$
$\;\;\;\;\;\;\;\;\; \bullet$ If $m=3$ then we get the solution $\boxed{n=6}$
Therefore,$\boxed{n=1,2,4,6,8,16,32}$.$\blacksquare$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
ChrisWren
323 posts
#17 • 2 Y
Y by centslordm, megarnie
Sillied this problem.. I thought $2^{16}+1$ was composite. :blush:

edit: How many points would I get?
This post has been edited 1 time. Last edited by ChrisWren, Oct 31, 2021, 3:39 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
megarnie
5608 posts
#18
Y by
ChrisWren wrote:
Sillied this problem.. I thought $2^{16}+1$ was composite. :blush:

edit: How many points would I get?

Was your answer $\boxed{1,2,4,6,8,16}$?
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
ChrisWren
323 posts
#19 • 1 Y
Y by megarnie
Yes. Every aspect of my solution was the same as the ones here (except for the $2^k$ case, which I messed up on)
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
megarnie
5608 posts
#20
Y by
ChrisWren wrote:
Yes. Every aspect of my solution was the same as the ones here (except for the $2^k$ case, which I messed up on)

Then maybe 6 points? IDK since I'm not a grader.
This post has been edited 1 time. Last edited by megarnie, Oct 31, 2021, 4:22 PM
Z K Y
G
H
=
a