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
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
Orthocenter config once again
Assassino9931   6
N 3 minutes ago by wassupevery1
Source: Bulgaria National Olympiad 2025, Day 2, Problem 4
Let \( ABC \) be an acute triangle with \( AB < AC \), midpoint $M$ of side $BC$, altitude \( AD \) (\( D \in BC \)), and orthocenter \( H \). A circle passes through points \( B \) and \( D \), is tangent to line \( AB \), and intersects the circumcircle of triangle \( ABC \) at a second point \( Q \). The circumcircle of triangle \( QDH \) intersects line \( BC \) at a second point \( P \). Prove that the lines \( MH \) and \( AP \) are perpendicular.
6 replies
Assassino9931
Tuesday at 1:53 PM
wassupevery1
3 minutes ago
Prove that x1=x2=....=x2025
Rohit-2006   5
N 18 minutes ago by Rohit-2006
Source: A mock
The real numbers $x_1,x_2,\cdots,x_{2025}$ satisfy,
$$x_1+x_2=2\bar{x_1}, x_2+x_3=2\bar{x_2},\cdots, x_{2025}+x_1=2\bar{x_{2025}}$$Where {$\bar{x_1},\cdots,\bar{x_{2025}}$} is a permutation of $x_1,x_2,\cdots,x_{2025}$. Prove that $x_1=x_2=\cdots=x_{2025}$
5 replies
Rohit-2006
Yesterday at 5:22 AM
Rohit-2006
18 minutes ago
Inspired by old results
sqing   0
18 minutes ago
Source: Own
Let $  a,b,c>0 $ and $a+ 2b+c =1.$ Prove that
$$\frac 1a + \frac 1{2b} + \frac 1c+abc \geq\frac{487}{54} $$Let $  a,b,c>0 $ and $2a+ b+2c = 1.$ Prove that
$$\frac 1a + \frac 2b + \frac 1c+abc \geq\frac{1945}{108} $$
0 replies
1 viewing
sqing
18 minutes ago
0 replies
Thanks u!
Ruji2018252   4
N 27 minutes ago by teomihai
Let $a^2+b^2+c^2-2a-4b-4c=7(a,b,c\in\mathbb{R})$
Find minimum $T=2a+3b+6c$
4 replies
Ruji2018252
Yesterday at 5:52 PM
teomihai
27 minutes ago
Integral solutions
KDS   4
N 34 minutes ago by Maximilian113
Source: Romania TST 1993
Prove that the equation $ (x+y)^n=x^m+y^m$ has a unique solution in integers with $ x>y>0$ and $ m,n>1$.
4 replies
KDS
Jul 12, 2009
Maximilian113
34 minutes ago
F=(F^3+F^3)/9-2F^3
Yiyj1   0
44 minutes ago
Source: 101 Algebra Problems for the AMSP
Define the Fibonacci sequence $F_n$ as $$F_1=F_2=1, F_{n+1}+F_n=F_{n-1}$$fir $n \in \mathbb{N}$. Prove that $$F_{2n}=\dfrac{F_{2n+2}^3+F_{2n-2}^3}{9}-2F_{2n}^3$$for all $n \ge 2$.
0 replies
Yiyj1
44 minutes ago
0 replies
4 lines concurrent
Zavyk09   2
N an hour ago by aidenkim119
Source: Homework
Let $ABC$ be triangle with circumcenter $(O)$ and orthocenter $H$. $BH, CH$ intersect $(O)$ again at $K, L$ respectively. Lines through $H$ parallel to $AB, AC$ intersects $AC, AB$ at $E, F$ respectively. Point $D$ such that $HKDL$ is a parallelogram. Prove that lines $KE, LF$ and $AD$ are concurrent at a point on $OH$.
2 replies
Zavyk09
Yesterday at 11:51 AM
aidenkim119
an hour ago
Inequality => square
Rushil   13
N an hour ago by mqoi_KOLA
Source: INMO 1998 Problem 4
Suppose $ABCD$ is a cyclic quadrilateral inscribed in a circle of radius one unit. If $AB \cdot BC \cdot CD \cdot DA \geq 4$, prove that $ABCD$ is a square.
13 replies
Rushil
Oct 7, 2005
mqoi_KOLA
an hour ago
where a, b, c are positive real numbers
eyesofgod1930   2
N an hour ago by sqing
where $a, b, c$ are positive real numbers.Prove that
$\frac{4}{\sqrt{a^{2}+b^{2}+c^{2}+4}}-\frac{9}{\sqrt{(a+b)\sqrt{(a+2c)(b+2c)}}}\leq \frac{5}{8}$
2 replies
eyesofgod1930
Jun 8, 2020
sqing
an hour ago
NT function debut
AshAuktober   4
N an hour ago by AshAuktober
Source: 2025 Nepal Practice TST 3 P2 of 3; Own
Let $f$ be a function taking in positive integers and outputting nonnegative integers, defined as follows:
$f(m)$ is the number of positive integers $n$ with $n \le m$ such that the equation $$an + bm = m^2 + n^2 + 1$$has an integer solution $(a, b)$.
Find all positive integers $x$ such that$f(x) \ne 0$ and $$f(f(x)) = f(x) - 1.$$(Adit Aggarwal, India.)
4 replies
AshAuktober
Yesterday at 3:53 PM
AshAuktober
an hour ago
Inspired by 2025 Nepal
sqing   1
N 2 hours ago by sqing
Source: Own
Let $ a, b, c $ be positive reals such that $ a+b +c+abc = 4 $. Prove that
$$ \frac{1}{a+1} + \frac{1}{b+1} + \frac{1}{c+ 1}\leq\frac{3}{2}(2 - abc) $$$$ \frac{1}{ab+1} + \frac{1}{bc+1} + \frac{1}{ca + 1}\leq\frac{3}{2}(2 - abc) $$
1 reply
sqing
2 hours ago
sqing
2 hours ago
Inspired by Ruji2018252
sqing   0
2 hours ago
Source: Own
Let $ a,b,c $ be reals such that $ a^2+b^2+c^2-2a-4b-4c=7. $ Prove that
$$ -4\leq 2a+b+2c\leq 20$$$$5-4\sqrt 3\leq a+b+c\leq 5+4\sqrt 3$$$$ 11-4\sqrt {14}\leq a+2b+3c\leq 11+4\sqrt {14}$$
0 replies
sqing
2 hours ago
0 replies
Isos Trap
MithsApprentice   38
N 2 hours ago by eg4334
Source: USAMO 1999 Problem 6
Let $ABCD$ be an isosceles trapezoid with $AB \parallel CD$. The inscribed circle $\omega$ of triangle $BCD$ meets $CD$ at $E$. Let $F$ be a point on the (internal) angle bisector of $\angle DAC$ such that $EF \perp CD$. Let the circumscribed circle of triangle $ACF$ meet line $CD$ at $C$ and $G$. Prove that the triangle $AFG$ is isosceles.
38 replies
MithsApprentice
Oct 3, 2005
eg4334
2 hours ago
Funny function that there isn't exist
ItzsleepyXD   0
2 hours ago
Source: Own, Modified from old problem
Determine all functions $f\colon\mathbb{Z}_{>0}\to\mathbb{Z}_{>0}$ such that, for all positive integers $m$ and $n$,
$$ m^{\phi(n)}+n^{\phi(m)} \mid f(m)^n + f(n)^m$$
0 replies
ItzsleepyXD
2 hours ago
0 replies
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
1979 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.
1692 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
5556 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
5001 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