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

G
Topic
First Poster
Last Poster
k a April Highlights and 2025 AoPS Online Class Information
jlacosta   0
Apr 2, 2025
Spring is in full swing and summer is right around the corner, what are your plans? At AoPS Online our schedule has new classes starting now through July, so be sure to keep your skills sharp and be prepared for the Fall school year! Check out the schedule of upcoming classes below.

WOOT early bird pricing is in effect, don’t miss out! If you took MathWOOT Level 2 last year, no worries, it is all new problems this year! Our Worldwide Online Olympiad Training program is for high school level competitors. AoPS designed these courses to help our top students get the deep focus they need to succeed in their specific competition goals. Check out the details at this link for all our WOOT programs in math, computer science, chemistry, and physics.

Looking for summer camps in math and language arts? Be sure to check out the video-based summer camps offered at the Virtual Campus that are 2- to 4-weeks in duration. There are middle and high school competition math camps as well as Math Beasts camps that review key topics coupled with fun explorations covering areas such as graph theory (Math Beasts Camp 6), cryptography (Math Beasts Camp 7-8), and topology (Math Beasts Camp 8-9)!

Be sure to mark your calendars for the following events:
[list][*]April 3rd (Webinar), 4pm PT/7:00pm ET, Learning with AoPS: Perspectives from a Parent, Math Camp Instructor, and University Professor
[*]April 8th (Math Jam), 4:30pm PT/7:30pm ET, 2025 MATHCOUNTS State Discussion
April 9th (Webinar), 4:00pm PT/7:00pm ET, Learn about Video-based Summer Camps at the Virtual Campus
[*]April 10th (Math Jam), 4:30pm PT/7:30pm ET, 2025 MathILy and MathILy-Er Math Jam: Multibackwards Numbers
[*]April 22nd (Webinar), 4:00pm PT/7:00pm ET, Competitive Programming at AoPS (USACO).[/list]
Our full course list for upcoming classes is below:
All classes run 7:30pm-8:45pm ET/4:30pm - 5:45pm PT unless otherwise noted.

Introductory: Grades 5-10

Prealgebra 1 Self-Paced

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

Prealgebra 2 Self-Paced

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

Introduction to Algebra A Self-Paced

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

Introduction to Counting & Probability Self-Paced

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

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

Introduction to Algebra B Self-Paced

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

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

Intermediate: Grades 8-12

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

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

Intermediate Number Theory
Friday, Apr 11 - Jun 27
Sunday, Jun 1 - Aug 24
Wednesday, Jun 18 - Sep 3

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

Advanced: Grades 9-12

Olympiad Geometry
Tuesday, Jun 10 - Aug 26

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

Group Theory
Thursday, Jun 12 - Sep 11

Contest Preparation: Grades 6-12

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

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

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

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

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

AMC 12 Final Fives
Sunday, May 18 - Jun 15

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

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


MathWOOT Level 1
MathWOOT Level 2
ChemWOOT
CodeWOOT
PhysicsWOOT

Programming

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

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

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

Physics

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

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

Relativity
Sat & Sun, Apr 26 - Apr 27 (4:00 - 7:00 pm ET/1:00 - 4:00pm PT)
Mon, Tue, Wed & Thurs, Jun 23 - Jun 26 (meets every day of the week!)
0 replies
jlacosta
Apr 2, 2025
0 replies
Inspired by old results
sqing   3
N a minute ago by sqing
Source: Own
Let \( a, b, c \) be real numbers.Prove that
$$ \frac{(a - b + c)^2}{  (a^2+  a+1)(b^2+b+1)(c^2+ c+1)} \leq 4$$$$ \frac{(a + b + c)^2}{  (a^2+  a+1)(b^2 +b+1)(c^2+ c+1)} \leq \frac{2(69 + 11\sqrt{33})}{27}$$
3 replies
sqing
4 hours ago
sqing
a minute ago
x^n + 1 = y^{n+1}
orl   8
N 10 minutes ago by AshAuktober
Source: IMO 1980 Finland, problem 3
Prove that the equation \[ x^n + 1 = y^{n+1}, \] where $n$ is a positive integer not smaller then 2, has no positive integer solutions in $x$ and $y$ for which $x$ and $n+1$ are relatively prime.
8 replies
orl
May 6, 2004
AshAuktober
10 minutes ago
A cyclic inequality
KhuongTrang   13
N 15 minutes ago by KhuongTrang
Source: own-CRUX
IMAGE
Link
13 replies
2 viewing
KhuongTrang
Apr 2, 2025
KhuongTrang
15 minutes ago
Quadric function
soryn   4
N 21 minutes ago by soryn
If f(x)=ax^2+bx+c, a,b,c integers, |a|>=3, and M îs the set of integers x for which f(x) is a prime number and f has exactly one integer solution,prove that M has at most three elements.
4 replies
soryn
Apr 18, 2025
soryn
21 minutes ago
Complex Numbers Question
franklin2013   2
N 4 hours ago by osszhangbanvan
Hello everyone! This is one of my favorite complex numbers questions. Have fun!

$f(z)=z^{720}-z^{120}$. How many complex numbers $z$ are there such that $|z|=1$ and $f(z)$ is an integer.

Hint
2 replies
franklin2013
Yesterday at 4:08 PM
osszhangbanvan
4 hours ago
Inequalities
sqing   25
N 5 hours ago by sqing
Let $   a,b    $ be reals such that $  a^2+ab+b^2 =3$ . Prove that
$$ \frac{4}{ 3}\geq \frac{1}{ a^2+5 }+ \frac{1}{ b^2+5 }+ab \geq -\frac{11}{4 }$$$$ \frac{13}{ 4}\geq \frac{1}{ a^2+5 }+ \frac{1}{ b^2+5 }+ab \geq -\frac{2}{3 }$$$$ \frac{3}{ 2}\geq  \frac{1}{ a^4+3 }+ \frac{1}{ b^4+3 }+ab \geq -\frac{17}{6 }$$$$ \frac{19}{ 6}\geq  \frac{1}{ a^4+3 }+ \frac{1}{ b^4+3 }-ab \geq -\frac{1}{2}$$Let $   a,b    $ be reals such that $  a^2-ab+b^2 =1 $ . Prove that
$$ \frac{3}{ 2}\geq \frac{1}{ a^2+3 }+ \frac{1}{ b^2+3 }+ab \geq \frac{4}{15 }$$$$ \frac{14}{ 15}\geq \frac{1}{ a^2+3 }+ \frac{1}{ b^2+3 }-ab \geq -\frac{1}{2 }$$$$ \frac{3}{ 2}\geq \frac{1}{ a^4+3 }+ \frac{1}{ b^4+3 }+ab \geq \frac{13}{42 }$$$$ \frac{41}{ 42}\geq \frac{1}{ a^4+3 }+ \frac{1}{ b^4+3 }-ab \geq -\frac{1}{2 }$$
25 replies
sqing
Apr 16, 2025
sqing
5 hours ago
Three variables inequality
Headhunter   4
N 6 hours ago by lbh_qys
$\forall a\in R$ ,$~\forall b\in R$ ,$~\forall c \in R$
Prove that at least one of $(a-b)^{2}$, $(b-c)^{2}$, $(c-a)^{2}$ is not greater than $\frac{a^{2}+b^{2}+c^{2}}{2}$.

I assume that all are greater than it, but can't go more.
4 replies
Headhunter
Yesterday at 6:58 AM
lbh_qys
6 hours ago
Indonesia Regional MO 2019 Part A
parmenides51   23
N Today at 2:08 AM by chinawgp
Indonesia Regional MO
Year 2019 Part A

Time: 90 minutes Rules


p1. In the bag there are $7$ red balls and $8$ white balls. Audi took two balls at once from inside the bag. The chance of taking two balls of the same color is ...


p2. Given a regular hexagon with a side length of $1$ unit. The area of the hexagon is ...


p3. It is known that $r, s$ and $1$ are the roots of the cubic equation $x^3 - 2x + c = 0$. The value of $(r-s)^2$ is ...


p4. The number of pairs of natural numbers $(m, n)$ so that $GCD(n,m) = 2$ and $LCM(m,n) = 1000$ is ...


p5. A data with four real numbers $2n-4$, $2n-6$, $n^2-8$, $3n^2-6$ has an average of $0$ and a median of $9/2$. The largest number of such data is ...


p6. Suppose $a, b, c, d$ are integers greater than $2019$ which are four consecutive quarters of an arithmetic row with $a <b <c <d$. If $a$ and $d$ are squares of two consecutive natural numbers, then the smallest value of $c-b$ is ...


p7. Given a triangle $ABC$, with $AB = 6$, $AC = 8$ and $BC = 10$. The points $D$ and $E$ lies on the line segment $BC$. with $BD = 2$ and $CE = 4$. The measure of the angle $\angle DAE$ is ...


p8. Sequqnce of real numbers $a_1,a_2,a_3,...$ meet $\frac{na_1+(n-1)a_2+...+2a_{n-1}+a_n}{n^2}=1$ for each natural number $n$. The value of $a_1a_2a_3...a_{2019}$ is ....


p9. The number of ways to select four numbers from $\{1,2,3, ..., 15\}$ provided that the difference of any two numbers at least $3$ is ...


p10. Pairs of natural numbers $(m , n)$ which satisfies $$m^2n+mn^2 +m^2+2mn = 2018m + 2019n + 2019$$are as many as ...


p11. Given a triangle $ABC$ with $\angle ABC =135^o$ and $BC> AB$. Point $D$ lies on the side $BC$ so that $AB=CD$. Suppose $F$ is a point on the side extension $AB$ so that $DF$ is perpendicular to $AB$. The point $E$ lies on the ray $DF$ such that $DE> DF$ and $\angle ACE = 45^o$. The large angle $\angle AEC$ is ...


p12. The set of $S$ consists of $n$ integers with the following properties: For every three different members of $S$ there are two of them whose sum is a member of $S$. The largest value of $n$ is ....


p13. The minimum value of $\frac{a^2+2b^2+\sqrt2}{\sqrt{ab}}$ with $a, b$ positive reals is ....


p14. The polynomial P satisfies the equation $P (x^2) = x^{2019} (x+ 1) P (x)$ with $P (1/2)= -1$ is ....


p15. Look at a chessboard measuring $19 \times 19$ square units. Two plots are said to be neighbors if they both have one side in common. Initially, there are a total of $k$ coins on the chessboard where each coin is only loaded exactly on one square and each square can contain coins or blanks. At each turn. You must select exactly one plot that holds the minimum number of coins in the number of neighbors of the plot and then you must give exactly one coin to each neighbor of the selected plot. The game ends if you are no longer able to select squares with the intended conditions. The smallest number of $k$ so that the game never ends for any initial square selection is ....
23 replies
parmenides51
Nov 11, 2021
chinawgp
Today at 2:08 AM
VOLUNTEERING OPPORTUNITIES OPEN TO HIGH/MIDDLE SCHOOLERS
im_space_cadet   13
N Today at 12:30 AM by im_space_cadet
Hi everyone!
Do you specialize in contest math? Do you have a passion for teaching? Do you want to help leverage those college apps? Well, I have something for all of you.

I am im_space_cadet, and during the fall of last year, I opened my non-profit DeltaMathPrep which teaches students preparing for contest math the problem-solving skills they need in order to succeed at these competitions. Currently, we are very much understaffed and would greatly appreciate the help of more tutors on our platform.

Each week on Saturday and Wednesday, we meet once for each competition: Wednesday for AMC 8 and Saturday for AMC 10 and we go over a past year paper for the entire class. On both of these days, we meet at 9PM EST in the night.

This is a great opportunity for anyone who is looking to have a solid activity to add to their college resumes that requires low effort from tutors and is very flexible with regards to time.

This is the link to our non-profit for anyone who would like to view our initiative:
https://www.deltamathprep.org/

If you are interested in this opportunity, please send me a DM on AoPS or respond to this post expressing your interest. I look forward to having you all on the team!

Thanks,
im_space_cadet
13 replies
im_space_cadet
Yesterday at 2:27 PM
im_space_cadet
Today at 12:30 AM
100th post
MathJedi108   1
N Yesterday at 11:10 PM by mdk2013
Well I guess this is my 100th post, it would be really funny if it isn't can yall share your favorite experience on AoPS here?
1 reply
MathJedi108
Yesterday at 10:59 PM
mdk2013
Yesterday at 11:10 PM
Find all triples
pedronis   2
N Yesterday at 10:43 PM by Kempu33334
Find all triples of positive integers $(n, r, s)$ such that $n^2 + n + 1$ divides $n^r + n^s + 1$.
2 replies
pedronis
Apr 19, 2025
Kempu33334
Yesterday at 10:43 PM
Median geometry
Sedro   4
N Yesterday at 10:01 PM by Sedro
In triangle $ABC$, points $D$, $E$, and $F$ are the midpoints of sides $BC$, $CA$, and $AB$, respectively. Prove that the area of the triangle with side lengths $AD$, $BE$, and $CF$ has area $\tfrac{3}{4}[ABC]$.
4 replies
Sedro
Yesterday at 6:03 PM
Sedro
Yesterday at 10:01 PM
geometry
carvaan   1
N Yesterday at 6:38 PM by Lankou
The difference between two angles of a triangle is 24°. All angles are numerically double digits. Find the number of possible values of the third angle.
1 reply
carvaan
Yesterday at 5:46 PM
Lankou
Yesterday at 6:38 PM
weird permutation problem
Sedro   1
N Yesterday at 6:07 PM by Sedro
Let $\sigma$ be a permutation of $1,2,3,4,5,6,7$ such that there are exactly $7$ ordered pairs of integers $(a,b)$ satisfying $1\le a < b \le 7$ and $\sigma(a) < \sigma(b)$. How many possible $\sigma$ exist?
1 reply
Sedro
Yesterday at 2:09 AM
Sedro
Yesterday at 6:07 PM
IMO ShortList 1998, number theory problem 6
orl   28
N Mar 29, 2025 by Zany9998
Source: IMO ShortList 1998, number theory problem 6
For any positive integer $n$, let $\tau (n)$ denote the number of its positive divisors (including 1 and itself). Determine all positive integers $m$ for which there exists a positive integer $n$ such that $\frac{\tau (n^{2})}{\tau (n)}=m$.
28 replies
orl
Oct 22, 2004
Zany9998
Mar 29, 2025
IMO ShortList 1998, number theory problem 6
G H J
Source: IMO ShortList 1998, number theory problem 6
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
orl
3647 posts
#1 • 4 Y
Y by lahmacun, Adventure10, megarnie, Mango247
For any positive integer $n$, let $\tau (n)$ denote the number of its positive divisors (including 1 and itself). Determine all positive integers $m$ for which there exists a positive integer $n$ such that $\frac{\tau (n^{2})}{\tau (n)}=m$.
This post has been edited 1 time. Last edited by orl, Oct 23, 2004, 12:42 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
pavel25
122 posts
#2 • 3 Y
Y by Adventure10, Mango247, and 1 other user
Let $\tau (n)=k$
$d_1,d_2,d_3,\ldots,d_{k-2},d_{k-1},d_k$ - divisors of $n$
${{d_k={n\over d_1},d_{k-1}={n\over d_2}},d_{k-2}={n\over d_3}},\ldots,d_3={n\over d_{k-2}},d_2={n\over d_{k-1}},d_1={n\over d_k}$
So if we are looking on the divisors of $n^2$ from the greatest one to the least one we get:
$l_1,l_2,l_3,\ldots,l_{k-2},l_{k-1},l_k$ - divisors of $n^2$
$l_1={{n^2}\over d_1},l_2={{n^2}\over d_2},l_3={{n^2}\over d_3},\ldots,l_k={{n^2}\over d_k},\ldots$
$l_k={{n^2}\over d_k}=n$
So all other divisors of $n^2$ are smaller than $n$ so they actually divisors of $n$. From here we get:
$\tau ({n^2})=2k-1$
$m={\tau ({n^2})\over \tau (n)}={{2k-1}\over k}$
$km=2k-1$
$k(2-m)=1$
The only solution in positive integers is:
$k=1,m=1$
So $m={\tau ({n^2})\over \tau (n)}$ only when $m=1,n=1$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
pluricomplex
390 posts
#3 • 1 Y
Y by Adventure10
pavel25 wrote:
So all other divisors of $n^2$ are smaller than $n$ so they actually divisors of $n$.

I don't think so pavel25, try compare with $n=2^5\times3^2$ and $2^6\times3$
:D

I know two sols of it and both seems boring! :)
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
abdurashidjon
119 posts
#4 • 1 Y
Y by Adventure10
pavel25 wrote:
Let $\tau (n)=k$
$d_1,d_2,d_3,\ldots,d_{k-2},d_{k-1},d_k$ - divisors of $n$
${{d_k={n\over d_1},d_{k-1}={n\over d_2}},d_{k-2}={n\over d_3}},\ldots,d_3={n\over d_{k-2}},d_2={n\over d_{k-1}},d_1={n\over d_k}$
So if we are looking on the divisors of $n^2$ from the greatest one to the least one we get:
$l_1,l_2,l_3,\ldots,l_{k-2},l_{k-1},l_k$ - divisors of $n^2$
$l_1={{n^2}\over d_1},l_2={{n^2}\over d_2},l_3={{n^2}\over d_3},\ldots,l_k={{n^2}\over d_k},\ldots$
$l_k={{n^2}\over d_k}=n$
So all other divisors of $n^2$ are smaller than $n$ so they actually divisors of $n$. From here we get:
$\tau ({n^2})=2k-1$
$m={\tau ({n^2})\over \tau (n)}={{2k-1}\over k}$
$km=2k-1$
$k(2-m)=1$
The only solution in positive integers is:
$k=1,m=1$
So $m={\tau ({n^2})\over \tau (n)}$ only when $m=1,n=1$

Why you have taken this as
${{d_k={n\over d_1},d_{k-1}={n\over d_2}},d_{k-2}={n\over d_3}},\ldots,d_3={n\over d_{k-2}},d_2={n\over d_{k-1}},d_1={n\over d_k}$ or there is any rule in such situation s=can you explain it. Really I can not still why you have used as sequence.
Abdurashid
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Davron
484 posts
#5 • 2 Y
Y by Adventure10 and 1 other user
Yes, this is a very useful method also for example you can see an imo 2002 if i remember correctly i will check and say later.

Explanation : we know that $d_1,d_2,\dots, d_k$ are positive divisors of $n$. Then can't we say that $n=d_1\times d_k=d_2\times d_{k-1}=d_3\times d_{k-2}=\dots$ please try to understand it might be very easy.

ex: let n be 12 then we have ${1,2,3,4,6,12}$ as a postitive divisors of n, right ?
Then we can say that $1\times 12=12=2\times 6=4\times 3$, now it is yes?

davron
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
gollywog
64 posts
#6 • 4 Y
Y by KereMath, Adventure10, Mango247, MarioLuigi8972
your solution above is obviously wrong. answer is: every odd m. you use well-known equality

if $n = \prod p_{i}^{\alpha_{i}}$, then $d(n) = \prod (\alpha_{i}+1)$ then by induction we prove that every odd m can be represented as $\frac{\prod (2\alpha_{i}+1)}{\prod (\alpha_{i}+1)}$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Rust
5049 posts
#7 • 2 Y
Y by Adventure10, Mango247
Let $t(n)=\frac{\tau(n^{2})}{\tau(n)}$, then t(n) is multiplicative (if $n=n_{1}n_{2}, \ (n_{1},n_{2})=1$, then $t(n)=t(n_{1})t(n_{2})$).
Because $\tau(n^{2})$ is odd, if $t(n)$ integer, then $n=m^{2}$ and $t(n)$ is odd.
Let $n=p_{1}^{2k}p_{2}^{4k}...p_{s}^{2^{s}k}$, then $t(n)=\frac{2^{s}2k+1}{2k+1}=2^{s}-\frac{2^{s}-1}{2k+1}$.
Let $S=\{m|exist \ n: \ m=t(n)\}$ is multiplicative ($m_{1}\in S, \ m_{2}\in S \Longrightarrow m_{1}m_{2}\in S$) subset of odd numbers.
Let $m(s,d)=2^{s}-d, \ d|2^{s}-1, d<2^{s}-1$, then $m(s,d)\in S$, because $m(s,d)=t(n), n=p_{1}^{2k}...p_{s}^{2^{s}2k}$, were $k=\frac{2^{s}-1-d}{2d}$.
For example $m(2,1)=3,m(3,1)=7,m(4,5)=11,m(4,3)=13,m(4,1)=15$.
If $m\in S$ then $2^{s}m-(2^{s}-1)\in S \ \forall s\in N$, because $2^{s}(m-1)+1=t(np_{1}^{m-1}p_{2}^{2(m-1)}...p_{s-1}^{2^{s-1}(m-1)}), \ (n,\prod_{i}p_{i})=1, t(n)=m$.
Therefore $5=2*3-1\in S$. I think all odd numbers belongs to S.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Zhero
2043 posts
#8 • 1 Y
Y by Adventure10
Let $S$ be the set of all integers $m$ representable in the form $\frac{\tau(n^2)}{\tau(n)}$. I claim that $S$ is the set of all positive odd integers. First, it is clear that $1 \in S$, as $\frac{\tau(1^2)}{\tau(1)} = 1 \in S$.

If $m \in S$, then $m$ is expressible in the form $\frac{(2e_1 + 1)(2e_2 + 1) \ldots (2e_n + 1)}{(e_1 + 1)(e_2 + 1) \ldots (e_n + 1)}$. Since the numerator of this fraction is odd, $m$ must be odd.

We now claim that every positive odd integer $m$ greater than 1 can be expressed as a product of (not necessarily distinct) numbers of the form $\frac{4a+1}{2a+1} =\frac{2(2a) + 1}{(2a) + 1}$, then $m = \frac{\tau(\prod p_i^{4a_i})}{\tau(\prod p_i^{2a_i})}$, where $p_i$ is the $i$th prime, which implies that $m \in S$. (It also follows that $m, n \in S$ implies that $mn \in S$.)

We shall prove our claim with strong induction. Our base case, $m = 3$ follows from $3 = \frac{5}{3} \cdot \frac{9}{5}$.

Now, let $m$ be any odd integer larger than 3, and suppose that all odd integers less than $p$ lie in $S$. Let $p$ be congruent to $2^{b-1} - 1$ modulo $2^b$, for some positive integer $b \geq 2$; then $p = 2^b x + 2^{b-1} - 1$ for some nonnegative integer $x$. If $b = 2$, then $p \equiv 1 \pmod{4}$, so $p = \frac{4x+1}{2x+1} \cdot (2x+1)$, which lies in $S$ since $\frac{4x+1}{2x+1} \in S$ and $2x+1 \in S$ by our inductive hypothesis.

If $b > 2$, we shall define the sequences $a_0 = 3 \cdot 2^b$, and $a_{i+1} = \frac{3a_{i+1}}{2}$, and $c_0 = 3 \cdot (2^{b-1} - 1)$ and $c_{i+1} = \frac{3c_i + 3}{2}.$ It is clear that $a_k, c_k$ are all positive integers when $0 \leq k \leq b$, $a_b = 4 \cdot 3^b$, $c_b = 2 \cdot 3^b - 1$, $\lfloor \frac{a_kx + c_k}{2} \rfloor = \frac{a_{k+1}x + c_{k+1}}{3}$ when $0 \leq k \leq b-1$. $a_kx + c_k \equiv 1 \pmod{4}$ when $0 \leq k \leq b$.

It follows from the above that each of the numbers $\frac{a_i x + c_i}{\frac{a_{i+1}x + c_{i+1}}{3}}$ for $0 \leq i \leq b-1$ and $\frac{a_b x + c_b}{2 \cdot 3^b x + 3^b}$ are of the form $\frac{4y + 1}{2y + 1}$. Hence, the product $\frac{a_0x + c_0}{\frac{a_1x + c_1}{3}} \cdot \frac{a_1x + c_1}{\frac{a_2x + c_2}{3}} \cdot \ldots \cdot \frac{a_b x + c_b}{2 \cdot 3^b x +  3^b} = \frac{a_0 x + b_0}{3(2x + 1)} = \frac{2^bx + 2^{b-1} - 1}{2x + 1} \in S$. But by our inductive hypothesis, $2x + 1 \in S$ as well, so $2^bx + 2^{b-1} - 1 \in S$, which completes our proof.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
lasha
204 posts
#9 • 3 Y
Y by Adventure10, Mango247, and 1 other user
I came across that problem yesterday and after I've solved it, I saw the solutions and got confused that all the solutions I've seen where much harder. Maybe my solution is wrong, but anyway here it is:
We will prove that each odd positive integer, greater than 1, can be represented as $\frac{d(n^2)}{d(n)}$, for some positive integer $n$. It's well known fact that the number of positive divisors of $P_{1}^{a_{1}}P_{2}^{a_{2}} . . . P_{k}^{a_{k}}$ is equal to $(a_{1}+1)(a_{2}+1) . . . (a_{n}+1)$. So we have to prove that for each odd positive integer $A$ there exist such finite sequence ${a_{i}, 1\leq{i}\leq{n}}$ that $\frac{(2a_{1}+1)(2a_{2}+1)...(2a_{n}+1)}{(a_{1}+1)(a_{2}+1)...(a_{n}+1)}$ is equal to $A$. Let $S$ be the set containing all such numbers $A$. Easy to note that each element of $s$ is an odd integer.
First, we show that if $x$ and $y$ both belong to $S$, than their product $xy$ also belong to $S$. Take $a_{i}, 1\leq{i}\leq{m}$ and $b_{j}, 1\leq{j}\leq{k}$ such that $x= \frac {(2a_{1}+1)...(2a_{m}+1)}{(a_{1}+1)...(a_{m}+1)}$ and $y=\frac{(2b_{1}+1)...(2b_{k}+1)}{(b_{1}+1)...(b_{k}+1)}$. It means that \[xy=\frac{(2a_{1}+1)...(2a_{m}+1)(2b_{1}+1)...(2b_{k}+1)}{(a_{1}+1)...(a_{m}+1)(b_{1}+1)...(b_{k}+1)}\]. It follows that $xy$ is in $S$, as desired.
It means that for any two $x,y$ in $S$, $xy$ is also in $S$. (1)
So, if we manage to prove that each odd prime number belongs to $S$, than it will follow that each odd number is contained in $S$, which we need to prove. Apply strong induction and prove the following conjecture: If $3=p_{1}<p_{2}<...<p{n}$ are all in $S$, where $p_{i}$-s are first $n$ primes, starting from $3$, than also $p_{n+1}$ belongs to $S$, where $p_{n+1}$ is minimal prime number, greater than $p_{n}$.
We have a basis, since $N=2^{4}3^{2}$ imply $\frac{d(n^{2})}{d(n)}=3$ and hence, $3$ is in $S$. Assume now for $3=p_{1}<...<p_{n}$. Than, from (1), each number, whose factorization into primes contains only numbers from ${p_{1},...,p_{n}}$, is contained in $S$. Consider now $L=\frac{p_{n+1}-1}{2}$. Obviously, $L$ is a positive integer and $L+1<p_{n+1}$. So, factorization of $L+1$ into primes is of the form $p_{1}^{x_{1}}...p_{n}^{x_{n}}$, where each $x_{i}$ is a nonnegative integer. By assumption, $L+1$ is in $S$. It means that $2L+1=(L+1) \frac{2L+1}{L+1}$ is in $S$, but $2L+1=p_{n+1}$, completing the proof of our conjecture. So, each odd prime is contained in $S$ and by (1), each odd positive integer is contained in $S$, except for $1$. (Easy to prove).
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Zhero
2043 posts
#10 • 2 Y
Y by Adventure10 and 1 other user
lasha wrote:
Consider now $L=\frac{p_{n+1}-1}{2}$. Obviously, $L$ is a positive integer and $L+1<p_{n+1}$. So, factorization of $L+1$ into primes is of the form $p_{1}^{x_{1}}...p_{n}^{x_{n}}$, where each $x_{i}$ is a nonnegative integer. By assumption, $L+1$ is in $S$. It means that $2L+1=(L+1) \frac{2L+1}{L+1}$ is in $S$, but $2L+1=p_{n+1}$, completing the proof of our conjecture. So, each odd prime is contained in $S$ and by (1), each odd positive integer is contained in $S$, except for $1$. (Easy to prove).
I don't particularly understand the bolded part. If $4 | p - 3$, can't $L + 1$ be even?
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
cwein3
148 posts
#11 • 6 Y
Y by Pratik12, peter_infty, Adventure10, Mango247, dancho, and 1 other user
I hope my solution is correct... this seemed too easy for an IMO 3/6.
Call an integer good if there exists a positive integer n such that $\frac{\tau (n^{2})}{\tau (n)}=m$.

I claim that all odd positive integers are good.

First, any good integer must be expressible in the form $\dfrac {(2a_1 + 1)(2a_2 + 1) \cdots (2a_n + 1)} {(a_1 + 1) (a_2 + 1) \cdots (a_n + 1)}$. Since the numerator is odd, a good integer cannot be an even integer.

The case $m = 1$ is obvious.

Now we induct to show that all odds are good. The base case $m = 3$ can be expressed as $\dfrac {5} {3} \cdot \dfrac {9} {5}$.
Assume that all odds less than an odd number $k$ are good.

Case 1: $k \equiv 1 \bmod 4$.
Then we take $k = \dfrac {k} {\dfrac {k + 1} {2}} \cdot \dfrac {k+ 1} {2}$. Since $\dfrac {k + 1} {2}$ is odd and less than $k$, it's good.

Case 2: $k \equiv 3 \bmod 4$.
Let $k = x \cdot 2^a - 1$, where $x$ is odd. Let $r = k(2^a - 1) = 2^{2a} \cdot k - 2^a \cdot (1 + k) + 1$, and let $g(b) = \dfrac {b + 1} {2}$ for all integers $b$.
Then we have $\dfrac {b} {g(b)} \cdot \dfrac {g(b)} {g^2 (b)} \cdot ... \cdot \dfrac {g^{a-1} (b)} {g^a (b)} = \dfrac {(2^a \cdot x - 1)(2^a - 1)} {(x) (2^a - 1)}$. Since $x$ is odd, $x$ is good, so $\dfrac {b} {g(b)} \cdot \dfrac {g(b)} {g^2 (b)} \cdot ... \cdot \dfrac {g^{a-1} (b)} {g^a (b)} \cdot x = k$ is also good.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
dinoboy
2903 posts
#12 • 2 Y
Y by Adventure10 and 1 other user
@cwein3

Your case of $k \equiv 1 \pmod{4}$ is correct. However, I don't understand your case of $k \equiv 3 \pmod{4}$, what is $b$? And what does $g^a(b)$ mean? It normally means $g(b)^a$, but it appears it means $g(g(g(...b))...)$ in how you are using it. Can you clarify on these two problems? Then maybe I can understand your proof :)
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
SCP
1502 posts
#13 • 1 Y
Y by Adventure10
cwein3 wrote:
Case 2: $k \equiv 3 \bmod 4$.

Let $k = x \cdot 2^a - 1$, where $x$ is odd. Let $b = k(2^a - 1) = 2^{2a} \cdot x - 2^a \cdot (1 + x) + 1$, and let $g(b) = \dfrac {b + 1} {2}$ for all integers $b$.
Then we have $\dfrac {b} {g(b)} \cdot \dfrac {g(b)} {g^2 (b)} \cdot ... \cdot \dfrac {g^{a-1} (b)} {g^a (b)} = \dfrac {(2^a \cdot x - 1)(2^a - 1)} {(x) (2^a - 1)}$. Since $x$ is odd, $x$ is good, so $\dfrac {b} {g(b)} \cdot \dfrac {g(b)} {g^2 (b)} \cdot ... \cdot \dfrac {g^{a-1} (b)} {g^a (b)} \cdot x = k$ is also good.

I think the solution is changed to what he meant and $g^a(b)$ means $g(g( \cdots g(a))))\cdots)$ with $a$ times taken the function $g.$

Also to understand: $g^l (b)= 2^{2a-l}x-2^{a-l}(x+1)+1$ for $l\le a$ meaning,
so $g^a(b)=2^a x -x$ and his proof is correct.

Nice solution , cwein3!
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
MMEEvN
252 posts
#14 • 3 Y
Y by andreafort, Adventure10, Mango247
We can obviously see that it woks for no even number .I will use induction to prove that it works for all odd.
As said earlier our target is to prove that any odd number may be represented in the form $\frac{4a_1+1}{2a_1+1}....\frac{4a_r+1}{2a_r+1}$. Assume the result is valid for all $k \le n$ Let $2^x || n+1$ and $n=2^x y-1$ where $y$ is odd .
Consider the number $(2^x y-1)(2^x -1)=2^x((2^x-1) y -1)+1$ .Now consider the sequence
$A=\frac{2^x((2^x-1) y -1)+1}{2^{x-1}((2^x-1) y -1)+1} .\frac{2^{x-1}((2^x-1) y -1)+1}{2^{x-2}((2^x-1) y -1)+1}.......
\frac{2((2^x-1) y -1)+1}{((2^x-1) y -1)+1}$.
Which is of the form we required.Above expression is equivalent to
$\frac{2^x((2^x-1) y -1)+1}{(2^x-1) y}.=\frac{(2^x y-1)(2^x -1)}{(2^x-1) y}=\frac{(2^x y-1)}{ y}$.Let $[y]$ be the representation of $y$ in the above form .Hence $n$ would be represented in the form $A. [y]$ .Hence the induction is complete
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Αρχιμήδης 6
933 posts
#15 • 2 Y
Y by Adventure10, Mango247
@Rust

$5\in S$ is false :)
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
codyj
723 posts
#16 • 2 Y
Y by Adventure10, Mango247
orly, $5\not\in S$? what about $n=3600$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
HsuAn
14 posts
#17 • 1 Y
Y by Adventure10
The answer is all the odd numbers,when k=1,3, we can just check by hand. Use induction, suppose every odd number not bigger than 2j+1 can be expressed to the requirement. Now we working on 2j+3, if j is even, then there are nothing to prove. If j is odd, we can do conversions on j endless. Finally know that k=1, by our basic inspection, it's true.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
anantmudgal09
1980 posts
#18 • 10 Y
Y by Pluto1708, mijail, valsidalv007, AlastorMoody, khina, Aimingformygoal, hakN, kamatadu, Adventure10, Stuffybear
Am I missing something? :maybe:
1998 N6 wrote:
For any positive integer $n$, let $\tau (n)$ denote the number of its positive divisors (including 1 and itself). Determine all positive integers $m$ for which there exists a positive integer $n$ such that $\frac{\tau (n^{2})}{\tau (n)}=m$.

Fancy way of asking which positive integers greater than $1$ can be written as $\prod^n_{j=1} \frac{2\alpha_j+1}{\alpha_j+1}$ for $\alpha_j \geqslant 1$ and $n \geqslant 1$ integers (for $1=\tau(1^2)/ \tau(1)$ anyway). Clearly, any such number must be odd, as the numerator is odd. Note that $3$ is expressible, simply by $n=2$ and $\alpha_1=1, \alpha_2=4$.

Let $m>3$ be the smallest odd number that is not expressible. Suppose $m=2^tx-1$ where $x$ is odd and $x, t \geqslant 1$. Consider $$\frac{2^tx\ell-(2^t-1)}{\ell}=x \frac{2x\ell-1}{x\ell} \cdot \frac{2^2x\ell -3}{2x\ell-1} \dots \cdot \frac{2^tx\ell-(2^t-1)}{2^{t-1}x\ell-(2^{t-1}-1)}$$and plug $\ell=2^t-1$ to obtain an expression for $m$, since $x<m$ is odd, hence expressible, by assumption, yielding a contradiction! So all odd numbers are expressible. $\blacksquare$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
math_pi_rate
1218 posts
#19 • 2 Y
Y by amar_04, metricpaper
Nice problem! Here's my solution: The answer is all odd $m$. $m=1$ easily follows on taking $n=1$, so from now on assume $m>1$. First let $$n=p_1^{a_1}p_2^{a_2} \dots p_k^{a_k}$$where the $a_i$'s are positive integers, and $p_i$'s are primes. Then the problem condition translates to $$m=\prod_{i=1}^k \left(\frac{2a_i+1}{a_i+1} \right)$$Since numerator is odd, so for $m$ to be an integer, the denominator must also be odd (and also $m$ must be an odd integer, so we can effectively ignore even $m$ from now on). This means that $2 \nmid a_i+1$, or equivalently that all $a_i$'s are even. Letting $a_i=2b_i$, we get $$m=\prod_{i=1}^k \left(\frac{4b_i+1}{2b_i+1} \right)$$Call all integers $m$, which can be written in the fashion above, as expressible numbers. Also, for any expressible number $m$, we let $g(m)$ denote its notation in the above form (note that we have $g(m)=m$ only). We proceed by strong induction to show that all odd $m$ are expressible. For $m=3$, take $b_1=1$ and $b_2=2$. Now, suppose the result is true for all odd numbers less than $m$. We will show that it is true for $m$ as well. If $m \equiv 1 \pmod{4}$, then write $m=4z+1$. Thus, we have $$m=\frac{4z+1}{2z+1} \times g(2z+1)$$where $2z+1$ is expressible by induction hypothesis. So from now on let $m \not \equiv 3 \pmod{4}$. Suppose there exists some $r \geq 2$ with $m \equiv 2^r-1 \pmod{2^{r+1}}$ (we'll later prove why such an $r$ must exist). Write $m=2^{r+1}x+2^r-1$. Then we have $$(2^r-1)m=4(4^{r-1}(2x+1)-2^{r-1}(x+1))+1 \equiv 1 \pmod{4}$$This gives $$(2^r-1)m=\frac{4(4^{r-1}(2x+1)-2^{r-1}(x+1))+1}{2(4^{r-1}(2x+1)-2^{r-1}(x+1))+1} \times \frac{4(4^{r-2}(4x+2)-2^{r-2}(x+1))+1}{2(4^{r-2}(4x+2)-2^{r-2}(x+1))+1} \times \dots \times \frac{4(2^{r-1}(2x+1)-(x+1))+1}{2(2^{r-1}(2x+1)-(x+1))+1} \times (2(2^{r-1}(2x+1)-(x+1))+1)$$Since $2(2^{r-1}(2x+1)-(x+1))+1=(2^r-1)(2x+1)$, so we get that $$m=\frac{4(4^{r-1}(2x+1)-2^{r-1}(x+1))+1}{2(4^{r-1}(2x+1)-2^{r-1}(x+1))+1} \times \frac{4(4^{r-2}(4x+2)-2^{r-2}(x+1))+1}{2(4^{r-2}(4x+2)-2^{r-2}(x+1))+1} \times \dots \times \frac{4(2^{r-1}(2x+1)-(x+1))+1}{2(2^{r-1}(2x+1)-(x+1))+1} \times g(2x+1)$$where $2x+1$ is expressible by induction hypothesis. Thus, all odd $m$ are expressible if such an $r$ exists.

Now we show that such an $r$ exists. Suppose not. Then $m \not \equiv 2^r-1 \pmod{2^{r+1}}$ for any $r \geq 1$ ($r=1$ simply gives $m \equiv 1 \pmod{4}$). This easily converts to the form that $m \not \equiv -1 \pmod{2^a}$ for any $a \geq 1$. But this means that $2 \nmid m+1$, contradicting the fact that $m$ is odd. Thus, such an $r$ exists for all odd $m$. Hence, done. $\blacksquare$

REMARKS: I believe that this was a highly motivated problem, and easily follows if one works according to the direction it gives. The solution above includes the most trivial of details also (like proving $m \equiv 1 \pmod{4}$ seperately, and showing why $r$ exists), and I haven't changed anything coz this is how I discovered the solution. To be completely honest, I had a thinking that maybe just dividing into cases modulo $4$ will work. However, it soon became clear that this wasn't the case, as each case was getting divided into a sub-case. Luckily for us, the whole thing generalized easily (Or maybe the problem was designed in such a way only :P).
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
SnowPanda
186 posts
#20
Y by
Solution
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
superagh
1865 posts
#21
Y by
SnowPanda wrote:
Solution

Great solution. Just to prevent possible future confusion, there is a typo in the second fraction in the last big equation, it should be: \[\frac{2(2^ra - a - 1) + 1}{2^ra - a - 1 + 1} \cdot \frac{4(2^ra - a - 1) + 1}{2(2^ra - a - 1)+1} \cdots \frac{2^r(2^ra - a - 1) + 1}{2^{r - 1}(2^ra - a - 1) + 1} = \frac{2^ra - 1}{a}.\]
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Mogmog8
1080 posts
#22 • 2 Y
Y by centslordm, peter_infty
If $n=\prod p_i^{\alpha_i},$ then $m=\frac{\tau(n^2)}{\tau(n)}=\prod\frac{2\alpha_i+1}{\alpha_i+1}.$ Notice the numerator is always odd, so $m$ is odd. We now claim all odd $m$ work; we proceed by strong induction. Let $m=2^k\ell-1,$ letting $\ell$ be an odd integer less than $m.$ Then $\ell$ is in the form $\prod\frac{2\alpha_i+1}{\alpha_i+1},$ so $$\ell\prod_{i=0}^{k-1}\frac{2\cdot{\color{blue}2^i(2^k\ell-\ell-1)}+1}{{\color{blue}2^i(2^k\ell-\ell-1)}+1}=\ell\cdot\frac{2\cdot 2^{k-1}(2^k\ell-\ell-1)+1}{(2^k\ell-\ell-1)+1}=\ell\cdot\frac{(2^k\ell-1)(2^k-1)}{\ell(2^k-1)}=m$$is also of the desired form. $\square$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
metricpaper
54 posts
#23
Y by
We claim that the answer is all odd positive integers. Note $f(1)=1$, so $1$ is achievable. Let $f(n)=\tfrac{\tau(n^2)}{\tau(n)}$. Let $n=p_1^{e_1}\dots p_k^{e_k}$ be the prime factorization of $n$. Then $\tau(n)=\Pi_{i=1}^k (e_i+1)$ and $\tau(n^2)=\Pi_{i=1}^k (2e_i+1)$. In order for $f(n)$ to be an integer, it is necessary that $\tau(n)$ is odd, since $\tau(n^2)$ is odd. So $f(n)$ is always odd.

Note that since $\tau(n)$ is multiplicative, $f(n)$ is also multiplicative. Also, note that $f(p_1^{e_1}\dots p_k^{e_k})=f(p_{k+1}^{e_1}\dots p_{2k}^{e_k})$, in other words, the primes used in the base of the prime factorization of the input "don't matter". So if $f(p_1^{e_1}\dots p_k^{e_k})=m$, and $(p_i)_{i=1}^{\infty}$ is the sequence of primes, then $$f\left(\prod_{j=0}^{\ell-1} \left(\prod_{i=1}^{k} p_{i+jk}^{e_i}\right)\right)=\prod_{j=0}^{\ell-1} f\left(\prod_{i=1}^{k} p_{i+jk}^{e_i}\right)=m^\ell,$$for any positive integer $\ell$. It follows that if all odd primes are in the range of $f(n)$, then all odd positive integers are in the range of $f(n)$, since we can write every odd positive integer as a product of odd primes.

Suppose for contradiction that not all primes are in the range of $f(n)$, and take the least prime $p$ that is not in the range of $f(n)$. Note that $f(2^2 3^4)=3$, so $p>3$. If $p\equiv 1\pmod{4}$ then let $e=\tfrac{p-1}{4}$, so $$f(q^{2e})=\frac{p}{\frac{p-1}{2}+1}=\frac{p}{\frac{p+1}{2}},$$for any prime $q$. Since $\tfrac{p+1}{2}$ is odd due to $p\equiv 1\pmod{4}$ and $\tfrac{p+1}{2}<p$, there exists an $r$ such that $f(r)=\tfrac{p+1}{2}$, due to minimality of $p$. So $f(q^{2e})f(r)=p$. Since the primes in the prime factorization of $r$ "don't matter", as established earlier, we can make $\gcd(q^{2e},r)=1$, so $f(q^{2e}r)=p$, and thus $p$ must be in the range of $f(n)$, contradiction.

If $p\equiv 3\pmod{4}$, then take $e=\tfrac{3p-1}{4}$, so $f(q^{2e})=\tfrac{3p}{(3p+1)/2}$. Note that $\tfrac{3p+1}{2}$ is odd since $p\equiv 3\pmod{4}$. Then taking $d=\tfrac{3p-1}{8}$, we have $f(s^{2d})=\tfrac{(3p+1)/2}{(3p+3)/4}=\tfrac{(3p+1)/2}{3\cdot (p+1)/4}$, for some prime $s$. Note that $\tfrac{p+1}{4}$ is smaller than $p$, so we have some $r$ such that $f(r)=\tfrac{p+1}{4}$. So then $f(s^{2d})f(r)=\tfrac{(3p+1)/2}{3}$, and we can make $\gcd(q^{2e},s^{2d},r)=1$, so $f(s^{2d}r)=\tfrac{(3p+1)/2}{3}$. Then $$f(q^{2e}s^{2d}r)=f(q^{2e})f(s^{2d}r)=\frac{3p}{\frac{3p+1}{2}}\cdot \frac{\frac{3p+1}{2}}{3}=p,$$so $p$ is achievable. Therefore all odd primes are in the range of $f(n)$, and we are done.
This post has been edited 1 time. Last edited by metricpaper, Aug 2, 2022, 3:46 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
L567
1184 posts
#24
Y by
Solved together with, after gatecrashing a groupsolve by mxlcv and mathscrazy

We claim all odd numbers work, clearly any such number is odd so it suffices to show a construction for them. Proceed by strong induction with the base case $m = 1$ which works when $n = 1$. Now, if $m+1 = 2^k \cdot \ell$ with $\ell$ odd, then we have $$\frac{(2^k - 1)m}{\frac{(2^k - 1)m + 1}{2}} \cdot \frac{\frac{(2^k - 1)m + 1}{2}}{\frac{(2^k - 1)m+3}{4}} \cdot \frac{\frac{(2^k - 1)m + 3}{4}}{\frac{(2^k - 1)m + 7}{8}} \cdots \frac{\frac{(2^k - 1)m + 2^{k-1} - 1}{2^{k-1}}}{\frac{(2^k - 1)m + 2^k - 1}{2^k}} = \frac{m}{\ell}$$By induction, since $\ell$ can be represented, 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.
awesomeming327.
1699 posts
#25 • 2 Y
Y by Mango247, Funcshun840
Let $n=p_1^{e_1}p_2^{e_2}\dots p_k^{e_k}$ for distinct primes $p_1,p_2,\dots,p_k$ and positive integers $e_1,e_2,\dots,e_k.$ Then, we have \[\frac{\tau\left(n^2\right)}{\tau(n)}=\frac{(2e_1+1)(2e_2+1)\dots(2e_k+1)}{(e_1+1)(e_2+1)\dots(e_k+1)}.\]Since the numerator is odd, the denominator must also be odd, so all $e_i$ are even, and $m$ is odd. It just remains to solve the following equivalent problem: for which odd positive integers $m$ is it possible to find elements that multiply to $m$, not necessarily distinct, from the set $S=\left\{\tfrac{4k+1}{2k+1}\right\}$ where $k$ is a positive integer. Call rational number $m$ good if it satsifies that. Note that

(1) $1$ is good by taking no elements at all. An empty product is equal to $1$. $3$ is good by taking $5/3$ and $9/5$.
(2) If $m$ and $n$ are good rationals, not necessarily distinct, then $mn$ is good. Take all the elements from the construction for $m$ and then the ones from the one for $n$, and then take the product of them all.
(3) If $m$ is a good positive integer, then $2m-1$ is good. In this case, take the elements from the construction for $m$ and add on the element described by $k=\tfrac{m-1}{2}.$

We proceed by strong induction on $m$, for the statement for all odd $m$, $m$ is good. If $m\equiv 1\pmod 4$ then $\tfrac{m+1}{2}$ is an odd positive integer, which must be good. Thus, $2\cdot \tfrac{m+1}{2}-1=m$ is good.

$~$
Otherwise, let $m=2^a\cdot b-1$ for $b$ odd. Since $b$ is odd, $b$ must be good, so it suffices to show that $\tfrac{m}{b}$ is good. Indeed, let $c=b(2^a-1)$ then $c$ is odd, so $2c-1\equiv 1\pmod 4.$ Thus, \[\frac{2c-1}{c}\cdot \frac{4c-3}{2c-1}\cdot \dots \cdot \frac{2^a(c)-(2^a-1)}{2^{a-1}(c)-(2^{a-1}-1)}=\frac{2^ac-(2^a-1)}{c}=\frac{m}{b}\]is good as desired.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
megarnie
5585 posts
#26 • 1 Y
Y by GoodMorning
Solved with GoodMorning

The answer is all odd positive integers. To see that $m$ must be odd, we have $\tau(n^2)$ is odd, so $\frac{\tau(n^2)}{\tau(n)} $ is also odd. It remains to show that all odd numbers work.

Since $\tau(n)\mid \tau(n^2)$, $\tau(n)$ is odd, so $n$ must be a perfect square. Write \[n = p_1^{2a_1} p_2 ^{2a_2} \cdots p_l ^{2a_l} \]for some positive integer $l$, distinct primes $p_1, p_2, \ldots, p_l$, and positive integers $a_1, a_2, \ldots, a_l$.

We have \[m = \frac{(4a_1 + 1)(4a_2 + 1)\cdots (4a_l + 1)}{(2a_1 + 1)(2a_2 + 1)\cdots  (2a_l + 1)} \]Note that if we can find $l$ $a_1, a_2,a_3,\ldots, a_l$ such that the expression is equal to $m$, then $m$ is a valid number in the problem.

Thus, it suffices to show that all odd positive integers can be expressed as the product of (not necessarily distinct) values in $\left\{\frac{4x+1}{2x+1}\right\}_{x\in \mathbb{N}}$

We do this by induction. The base cases $m=1,3$ work by having no $a_i$ at all, and $\frac{5}{3} \cdot \frac{9}{5}$, respectively.

Now fix an odd positive integer $c$. Suppose that all odd positive integers less than $c$ were expressible. We show that $c$ is also expressible.

Let $a = \nu_2(c+1)$ and $c = k\cdot 2^{a+1} + 2^a - 1$.

Claim: If $f(x) = \frac{x+1}{2}$ for all positive integers $x$, then we have \[f^y(c\cdot (2^a - 1)) = k\cdot 2^{a+1 - y} \cdot (2^a - 1) + 2^{2a  - y} - 2^{a+1 - y} + 1 \]for all positive integers $0\le y\le a$.
Proof: Induction (base case $y = 0$ is obvious), we see that if $y$ works, then \begin{align*} 
f^{y+1}(c\cdot (2^a - 1)) = \frac{k\cdot 2^{a+1 - y} \cdot (2^a - 1) + 2^{2a  - y} - 2^{a+1 - y} +  2}{2} \\
=  k\cdot 2^{a+1 - (y+1)} \cdot (2^a - 1) + 2^{2a - (y+1)} - 2^{a+1 - (y+1)} + 1,\\
\end{align*}as desired. So the induction is complete.
$\square$

Now notice that $\frac{t}{f(t)} \in \left\{\frac{4x+1}{2x+1}\right\}_{x\in \mathbb{N}}$ for any positive integer $t\equiv 1\pmod 4$. Using the fact that $f^y(c\cdot (2^a - 1) ) \equiv 1\pmod 4$ for $0\le y\le a-1$, we get that the number \[\frac{d}{f(d)} \cdot \frac{f(d)}{f^2(d)} \cdots \frac{f^{a-1}(d)}{f^a(d)} = \frac{d}{f^a(d)} = \frac{k\cdot 2^{a+1} \cdot (2^a - 1) + (2^a - 1)^2}{(2^a - 1)(2k + 1)}  \]is expressible. Since $2k + 1$ is expressible, we can multiply by $2k + 1$ and get that \[\frac{k\cdot 2^{a+1} \cdot (2^a - 1) + (2^a - 1)^2}{2^a - 1} = c\]is also expressible, which completes the induction.

Therefore, all odds are expressible, 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.
signifance
140 posts
#27
Y by
Shoot... This problem I had to ACTIVELY try and reassure myself that I was not to stray away from hard problems in lieu of improving...

Note that $\frac{\tau\left(n^2\right)}{\tau(n)}=\prod\frac{2e_i+1}{e_i+1}$ (where $e_i$ are exponents in the factorization of n). From here, it's obvious evens don't work, all exponents are even, and we prove all odds work by proving you can find elements from the set $S=\left\{\frac{4k+1}{2k+1}\right\}$ (repeating allowed) that multiply to m; call these numbers obtainable. We proceed by induction, manually computing base cases n=1,3; observe that if m is obtainable then 2m-1 is obtainable by also using $\frac{m-1}2$ (1), and if a and b are obtainable then ab is obtainable by combining sets (2); assume henceforth the inductive hypotheses for $k\le m$. In this way, the next minimal number $m_0>m,m_0\equiv1\pmod4$ is obtainable by using (1) and inductive hypothesis. Furthermore, if $m=2^ij-1:i\ge2$ is 3 mod 4, by inductive hypothesis j is obtainable, so by (2) it suffices to prove $\frac mj$ is obtainable. But this is evident, as $\frac{2(2^ij-j)-1}{2^ij-j}\frac{4(2^ij-j)-3}{2(2^ij-j)-1}\dots\frac{2^i(2^ij-j)-(2^i-1)}{2^{i-1}(2^ij-j)-(2^{i-1}-1)}=\frac mj$ is indeed obtained.

Motivational remark. The last construction is not so easy to obtain; the way I got it was by solving for a general form in the telescope, if the first term was c, that it would be of the form $\frac{2^dc-(2^d-1)}{c}=\frac mj$ for arbitrary d (i hope i didn't get this wrong, someone pls check), and from there it was easy.
This post has been edited 2 times. Last edited by signifance, Oct 10, 2023, 12:25 AM
Reason: grmamar
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
IAmTheHazard
5002 posts
#28 • 2 Y
Y by centslordm, Infinityfun
The answer is all odd $m$. Clearly $m=1$ works by taking $n=1$, so suppose $m>1$.

Clearly we are being asked to find the positive integers which can be expressed as the product of not necessarily distinct numbers of the form $\tfrac{2e-1}{e}$ for positive integers $e$. Call rational numbers which can be written like this good. Obviously products of good numbers are also good. Observe that each fraction always have nonpositive $\nu_2$, hence $m$ must be odd. We now show that every odd prime $p$ is good, which will finish the problem. To do this, we induct on $p$.

Let $\nu_2(k+1)=k>0$, so $p \equiv 2^k-1 \pmod{2^{k+1}}$. Then we consider the identity
$$\frac{(2^k-1)p}{\frac{(2^k-1)p+1}{2}}\cdot \frac{\frac{(2^k-1)p+1}{2}}{\frac{(2^k-1)p+3}{4}}\cdots\frac{\frac{(2^k-1)p+(2^{k-1}-1)}{2^{k-1}}}{\frac{(2^k-1)p+(2^k-1)}{2^k}}=\frac{(2^k-1)p}{\frac{(2^k-1)(p+1)}{2^k}}=\frac{2^k}{p+1}p,$$hence $\tfrac{p+1}{2^k}p$ is good. On the other hand, by the definition of $k$, $\tfrac{p+1}{2^k}$ is odd and strictly less than $k$, hence by inductive hypothesis it is good as well. Thus $p$ is good: done. $\blacksquare$

Remark (motivation): I figured out how to get $1 \pmod{4}$ primes by using $\tfrac{p+1}{2}$, but for $3 \pmod{4}$ primes this doesn't work. When I tried $p=11,19$, I found that we could "start" from $3p$, but again this doesn't work for $p \equiv 7 \pmod{8}$. But for this case "starting" from $7p$ sometimes works. At this point we figure out the solution.

Remark: Oh using primes doesn't actually matter and we can generally work with odds instead. But the solution isn't actually made any harder if we only think about primes (nor is it made any easier)
This post has been edited 2 times. Last edited by IAmTheHazard, Oct 21, 2023, 1:31 AM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Zany9998
11 posts
#29
Y by
Note that $d(n^2)$ is odd so $k$ can never be even. We claim that all odd numbers are possible.

Let set $S := \{\frac{d(n^2)}{d(n)} : n \in \mathbb{N}\}$. Then let prime factorization of $n$ be
$\prod_{i=1}^{i=k} p_i^{a_i}$ where $a_i \in \mathbb{N}_0$. Then $\frac{d(n^2)}{d(n)}=\prod_{i=1}^{i=k} (2-\frac{1}{a_i+1})$. Of course all numbers in $S$ are of form
$\prod_{i=1}^{i=k} (2-\frac{1}{a_i})$ where $a_i  \in \mathbb{N}$ , note that any number of form $\prod_{i=1}^{i=k} (2-\frac{1}{a_i})$ is also in $S$ by choosing appropriate prime factors. So we only have to consider rationals of these forms.

First of all note that $1 \in S$ by choosing $n=1$ (or choosing $k=1 , a_1 = 1$). Now if $a \in S$ and $b \in S$,then $ab \in S$. Now note that $\forall n ,t \in \mathbb{N}$ we have $\frac{2^t(n-1)+1}{n} \in S$. This can be proved by induction on $t$. For $t=1$ consider the sequence $k=1,a_1=n$. Now if for $t=m$ , if we have $\frac{2^m(n-1)+1}{n} \in S$, then note that by choosing the sequence
$k=1, a_1 = (2^m (n-1)+1)$ we get $\frac{2^{m+1}(n-1)+1}{2^m (n-1)+1} \in S$. Hence their product $\frac{2^m(n-1)+1}{n} \cdot \frac{2^{m+1}(n-1)+1}{2^m (n-1)+1} \in S$. This completes the induction step. As we have $\frac{2^t(n-1)+1}{n} = 2^t - \frac{2^t-1}{n} \in S$. Letting
$n= a \cdot (2^t-1)$ we get $2^t - \frac{1}{a} \in S$ for all $a \in \mathbb{N}$.

Now let's prove any number of form $2t-1 \in S$ where $t \in \mathbb{N}$. For $t=1$, it is already established that $1 \in S$. Now let's suppose for the sake of induction that the given relation holds for all $t<m$ where $t>1$. Then note that $2m-1=2^k \cdot q - 1$ for some positive $k$ where $q$ is an odd number. Note that $q< (2m-1)$ hence $q \in S$. Now as establised earlier that $2^k - \frac{1}{q} \in S$. We get
$(2^k - \frac{1}{q} )\cdot q = 2^k \cdot q - 1 = 2m-1 \in S$. This finishes the induction step.
Hence all odd numbers $k$ satisfy the given equation for some $n \in \mathbb{N}$.
Z K Y
N Quick Reply
G
H
=
a