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
9x9 board
oneplusone   8
N 9 minutes ago by lightsynth123
Source: Singapore MO 2011 open round 2 Q2
If 46 squares are colored red in a $9\times 9$ board, show that there is a $2\times 2$ block on the board in which at least 3 of the squares are colored red.
8 replies
1 viewing
oneplusone
Jul 2, 2011
lightsynth123
9 minutes ago
2025 - Turkmenistan National Math Olympiad
A_E_R   2
N 12 minutes ago by A_E_R
Source: Turkmenistan Math Olympiad - 2025
Let k,m,n>=2 positive integers and GCD(m,n)=1, Prove that the equation has infinitely many solutions in distict positive integers: x_1^m+x_2^m+⋯x_k^m=x_(k+1)^n
2 replies
+1 w
A_E_R
an hour ago
A_E_R
12 minutes ago
P2 Geo that most of contestants died
AlephG_64   1
N 26 minutes ago by Funcshun840
Source: 2025 Finals Portuguese Mathematical Olympiad P2
Let $ABCD$ be a quadrilateral such that $\angle A$ and $\angle D$ are acute and $\overline{AB} = \overline{BC} = \overline{CD}$. Suppose that $\angle BDA = 30^\circ$, prove that $\angle DAC= 30^\circ$.
1 reply
AlephG_64
Yesterday at 1:23 PM
Funcshun840
26 minutes ago
hard problem
Cobedangiu   14
N 35 minutes ago by Cobedangiu
problem
14 replies
Cobedangiu
Mar 27, 2025
Cobedangiu
35 minutes ago
Triangles with equal areas
socrates   11
N 43 minutes ago by Nari_Tom
Source: Baltic Way 2014, Problem 13
Let $ABCD$ be a square inscribed in a circle $\omega$ and let $P$ be a point on the shorter arc $AB$ of $\omega$. Let $CP\cap BD = R$ and $DP \cap  AC = S.$
Show that triangles $ARB$ and $DSR$ have equal areas.
11 replies
socrates
Nov 11, 2014
Nari_Tom
43 minutes ago
Alice in Wonderland
ilovemath04   26
N an hour ago by atdaotlohbh
Source: ISL 2019 C8
Alice has a map of Wonderland, a country consisting of $n \geq 2$ towns. For every pair of towns, there is a narrow road going from one town to the other. One day, all the roads are declared to be “one way” only. Alice has no information on the direction of the roads, but the King of Hearts has offered to help her. She is allowed to ask him a number of questions. For each question in turn, Alice chooses a pair of towns and the King of Hearts tells her the direction of the road connecting those two towns.

Alice wants to know whether there is at least one town in Wonderland with at most one outgoing road. Prove that she can always find out by asking at most $4n$ questions.
26 replies
ilovemath04
Sep 22, 2020
atdaotlohbh
an hour ago
Geometry
Captainscrubz   0
an hour ago
Source: Own
Let $D$ be any point on side $BC$ of $\triangle ABC$ .Let $E$ and $F$ be points on $AB$ and $AC$ such that $EB=ED$ and $FD=FC$ respectively. Prove that the locus of circumcenter of $(DEF)$ is a line.
Prove without using moving points :D
0 replies
Captainscrubz
an hour ago
0 replies
Pebble Game
oVlad   6
N 2 hours ago by The5within
Source: KöMaL A. 790
Andrew and Barry play the following game: there are two heaps with $a$ and $b$ pebbles, respectively. In the first round Barry chooses a positive integer $k,$ and Andrew takes away $k$ pebbles from one of the two heaps (if $k$ is bigger than the number of pebbles in the heap, he takes away the complete heap). In the second round, the roles are reversed: Andrew chooses a positive integer and Barry takes away the pebbles from one of the two heaps. This goes on, in each round the two players are reversing the roles. The player that takes the last pebble loses the game.

Which player has a winning strategy?

Submitted by András Imolay, Budapest
6 replies
oVlad
Mar 24, 2022
The5within
2 hours ago
Equality with Fermat Point
nsato   13
N 2 hours ago by Nari_Tom
Source: 2012 Baltic Way, Problem 11
Let $ABC$ be a triangle with $\angle A = 60^\circ$. The point $T$ lies inside the triangle in such a way that $\angle ATB = \angle BTC = \angle CTA = 120^\circ$. Let $M$ be the midpoint of $BC$. Prove that $TA + TB + TC = 2AM$.
13 replies
nsato
Nov 22, 2012
Nari_Tom
2 hours ago
China 2017 TSTST1 Day 2 Geometry Problem
HuangZhen   46
N 3 hours ago by ihategeo_1969
Source: China 2017 TSTST1 Day 2 Problem 5
In the non-isosceles triangle $ABC$,$D$ is the midpoint of side $BC$,$E$ is the midpoint of side $CA$,$F$ is the midpoint of side $AB$.The line(different from line $BC$) that is tangent to the inscribed circle of triangle $ABC$ and passing through point $D$ intersect line $EF$ at $X$.Define $Y,Z$ similarly.Prove that $X,Y,Z$ are collinear.
46 replies
HuangZhen
Mar 7, 2017
ihategeo_1969
3 hours ago
Cool combinatorial problem (grid)
Anto0110   1
N 3 hours ago by Anto0110
Suppose you have an $m \cdot n$ grid with $m$ rows and $n$ columns, and each square of the grid is filled with a non-negative integer. Let $a$ be the average of all the numbers in the grid. Prove that if $m >(10a+10)^n$ the there exist two identical rows (meaning same numbers in the same order).
1 reply
Anto0110
Yesterday at 1:57 PM
Anto0110
3 hours ago
one nice!
teomihai   2
N 3 hours ago by teomihai
3 girls and 4 boys must be seated at a round table. In how many distinct ways can they be seated so that the 3 girls do not sit next to each other and there can be a maximum of 2 girls next to each other. (The table is round so the seats are not numbered.)
2 replies
teomihai
Yesterday at 7:32 PM
teomihai
3 hours ago
Find the constant
JK1603JK   0
3 hours ago
Source: unknown
Find all $k$ such that $$\left(a^{3}+b^{3}+c^{3}-3abc\right)^{2}-\left[a^{3}+b^{3}+c^{3}+3abc-ab(a+b)-bc(b+c)-ca(c+a)\right]^{2}\ge 2k\cdot(a-b)^{2}(b-c)^{2}(c-a)^{2}$$forall $a,b,c\ge 0.$
0 replies
1 viewing
JK1603JK
3 hours ago
0 replies
IMO ShortList 1999, number theory problem 1
orl   61
N 4 hours ago by cursed_tangent1434
Source: IMO ShortList 1999, number theory problem 1
Find all the pairs of positive integers $(x,p)$ such that p is a prime, $x \leq 2p$ and $x^{p-1}$ is a divisor of $ (p-1)^{x}+1$.
61 replies
orl
Nov 13, 2004
cursed_tangent1434
4 hours ago
2015 solutions for quotient function!
raxu   48
N Apr 2, 2025 by zuat.e
Source: TSTST 2015 Problem 5
Let $\varphi(n)$ denote the number of positive integers less than $n$ that are relatively prime to $n$. Prove that there exists a positive integer $m$ for which the equation $\varphi(n)=m$ has at least $2015$ solutions in $n$.

Proposed by Iurie Boreico
48 replies
raxu
Jun 26, 2015
zuat.e
Apr 2, 2025
2015 solutions for quotient function!
G H J
Source: TSTST 2015 Problem 5
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
blackbluecar
302 posts
#43
Y by
Interesting!

Clearly, $\varphi(p(p-1))= \varphi((p-1)^2)$. Clearly, by induction, Dirichlet, and CRT we can construct a set of primes $P = \{p_1,p_2,...,p_{\text{big }} \}$ where $p_i-1$ is not divisible by any element in $P$. For any $i$, we can either choose $p_i(p_i-1)$ or $(p_i-1)^2$ and each is independent since they are relatively prime. Clearly, $2^{\text{big}} \geq 2015$. 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.
Sprites
478 posts
#44
Y by
Let $p_1,p_2,p_3,......$ be an increasing sequence of primes and fix a positive integer $k$
Clearly $N=p_1 p_2 p_3.....p_k$ and $x_i=N \cdot (1 - \frac{1}{p_i})$ satisfies $\phi(N)=\phi(x_i)$ since $\frac{\phi(x_i)}{x_i}$$=\prod(1-\frac{q}{p_j}) \cdot \frac{p_i}{p_i-1}$$=$${\phi(N) \over N }\cdot$$ \frac{p_i}{p_i-1}$$=$$\frac{\phi(n)}{x_i}$,as required.
This post has been edited 1 time. Last edited by Sprites, Aug 20, 2021, 5:53 AM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
ChrisWren
323 posts
#45
Y by
$m=2^{20}\cdot 3^9\cdot 5^3\cdot 7^2\cdot 11^2$ works. We can let $\nu_{p}{(n)}$ equal $0$ or $1$ for every prime in $\{13, 17, 19, 23, 29, 31, 37, 41, 43, 61, 67\}$ and adjust the number of factors of $2,3,5,7,11$ in $n$ as needed.

The number $m$ is equivalent to $$15296168853504000$$
This post has been edited 1 time. Last edited by ChrisWren, Dec 1, 2021, 9:08 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
megarnie
5553 posts
#46 • 1 Y
Y by GoodMorning
Solved with GoodMorning.

We claim $m=\boxed{2^{41}\cdot 3^{19}}$ works.

Let $S$ be the set of primes $\{5,13,17,37,73,97,109,163,193,577,769\}$. We chose these primes because they are $1$ more than a power of $2$ times a power of $3$. Note that $m=\varphi\left({\prod_{x\in S}x}\right)$.

Claim: There exists a positive integer $x$ with $\varphi(x)=2^a\cdot 3^b$, for all positive integers $a$, nonnegative integers $b$, and $a=b=0$. Furthermore, $x$ has no prime factors except $2$ and $3$.
Proof: Set $x=2^a\cdot 3^{b+1}$. $\blacksquare$

Take any subset $T\subset S$. We have \[\frac{\varphi\left(\prod_{x\in S}x\right)}{\varphi\left(\prod_{x\in T}x\right)}=\varphi\left(\prod_{x\in S, x\not\in T}x\right)\]Note that this value can be written in the form $2^a3^b$, where $a>0$. Setting $n=2^a\cdot 3^{b+1}\cdot \prod_{x\in T}x$ gives $\varphi(n)=m$. Also setting $n=\prod_{x\in S}x$ works.

There are $2^{11}-1=2047$ ways to choose $T$, and one additional way, which gives at least $2048>2015$ different values of $n$.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
CyclicISLscelesTrapezoid
372 posts
#47
Y by
Oops.

We claim that \[m=312 \cdot 408 \cdot 576 \cdot 660 \cdot 936 \cdot 1152 \cdot 1800 \cdot 1320 \cdot 1008 \cdot 1200=149967695669069120274432000000\]works.

Choose $n=a_1 \cdot a_2 \cdots a_{11}$, where
\begin{align*}
a_1 &\in \{1,2\}\\
a_2 &\in \{313,3 \cdot 157\}\\
a_3 &\in \{409,5 \cdot 103\}\\
a_4 &\in \{577,7 \cdot 97\}\\
a_5 &\in \{661,11 \cdot 67\}\\
a_6 &\in \{937,13 \cdot 79\}\\
a_7 &\in \{1153,17 \cdot 73\}\\
a_8 &\in \{1801,19 \cdot 101\}\\
a_9 &\in \{1321,23 \cdot 61\}\\
a_{10} &\in \{1009,29 \cdot 37\}\\
a_{11} &\in \{1201,31 \cdot 41\}
.\end{align*}Since there are $2^{11}>2015$ choices for $n$, we are done.
This post has been edited 1 time. Last edited by CyclicISLscelesTrapezoid, Apr 5, 2022, 7:16 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
john0512
4176 posts
#48
Y by
Am I getting trolled?

We claim that $m=2^{10000}3^{10000}$ works.

Consider the eleven primes $$5,17,257,65537$$$$7,19,163$$$$13,37,109$$$$73.$$Each of these primes has the property that the number 1 less than it contains no prime factors other than possibly 2 or 3. We will generate 2048 different $n$ for which $\phi(n)=2^{10000}3^{10000}$ in the following manner:

Take any subset of the aformentioned 11 primes (which there are 2048 of), multiply all of those primes, and then multiply that result by 6. Call this intermediate result $I$. Clearly, $\phi(I)=2^a3^b$ for $a,b<10000.$ Then, since $I$ is already a multiple of 6, we then have $$\phi(I\cdot 2^{10000-a}3^{10000-b})=2^{10000}3^{10000},$$which gives us a solution for each of the 2048 values of $I$, 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.
trying_to_solve_br
191 posts
#49
Y by
Wait a minute..
Just take primes $p_1,p_2,...,p_2015$ such that $p_i$ does not divide $p_j - 1$ for all $i,j$, this is possible by Dirichilet.

Now, take all the prime divisors $q_i$ of $p_i-1$ for all $i$ and let $C$ be a big integer. Take numbers $p_i.q_1^{a_1}.q_2^{a_2}...q_j^{a_j}$, choosing $a_i$ in the following way: noticing $q_i\neq p_j$ for all $i,j$ by our choice, we choose $a_i$ such that $v_{q_i}(p_i-1)+a_i=C$, which solves the problem as all the v_q's of the numbers are equal, and all the $q-1$ all cancel out.
This post has been edited 1 time. Last edited by trying_to_solve_br, Jul 5, 2023, 12:22 AM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
minusonetwelth
225 posts
#50
Y by
For a positive integer $n=p_1^{\alpha_1}\cdot\ldots\cdot p_k^{\alpha_k}$, we have that $\phi(n)=\left(p_1^{\alpha_1}-p_1^{\alpha_1-1}\right)\cdot\ldots\cdot \left(p_k^{\alpha_k}-p_k^{\alpha_k-1}\right)$. Note that if we have $\phi(n)=x$ has at least $a$ solutions and $\phi(n)=y$ has at least $b$ solutions, then $\phi(n)=xy$ has at least $ab$ solutions as long as each of the $a$ solutions are coprime to each of the $b$ solutions. Letting the $a$ solutions for the first equation be $\{a_1,\ldots,a_a\}$ and the $b$ solutions for the second equation be $\{b_1,\ldots,b_b\}$, we see that this is true because if $a_i$ and $b_j$ are coprime, then $\phi(a_i\cdot b_j)=\phi(a_i)\cdot\phi(b_j)$. Therefore, finding enough numbers $m$ for which $\phi(n)=m$ has more than one solution will do the trick. For this,, just pick $\left\lceil\log_2(2015)\right\rceil=11$ pairs of paiwise distinct primes $p,q$ such that $r=(p-1)(q-1)+1$ is prime, and which are each also pairwise distinct from those constructed numbers $r$ (just do small cases, sorry :(). As then $\phi(r)=\phi(pq)=(p-1)(q-1)$, we get what we want.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
HamstPan38825
8857 posts
#51
Y by
I feel like I have some kind of obsession with Dirichlet now :/

Pick $2015$ primes $p \equiv 1 \pmod {10}$ by Dirichlet, and let $n$ be the LCM of $(p-1)^2$ for these primes multiplied by $10^{1000}$. Notice that we have $$\phi(n) = \phi\left((p-1) \cdot \frac n{p-1}\right) = \phi\left( p \cdot \frac n{p-1}\right)$$for each of these primes $p$ because $p-1$ divides $\frac n{p-1}$. It follows that by varying across all $p$ we can construct $2015$ solutions to $\phi(k) =\phi(n)$, as needed.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
ryanbear
1055 posts
#52
Y by
Let $n=30^{1434143414341434}$.
Let $p$ be the product of any subset of $\{ 7, 11, 13, 17, 31, 37, 41, 61, 97, 151, 181\}$ besides $1$. Note that there are $2047$ values of $p$.
Note that $\phi(\frac{pn}{\phi(p)})=\phi(p)*\phi(\frac{n}{\phi(p)})=\phi(n)$, since for all $p$, $\phi(p)$ is the product of all the prime factors of $p$ minus one, which only has prime factors $2,3,$ or $5$, so it divides $n$ and dividing by $\phi(p)$ does not impact the prime factors and only divides the final value by $\phi(p)$, which is then multiplied back.
All values of $p$ work, which is more than $2015$ values.
This post has been edited 1 time. Last edited by ryanbear, Jun 7, 2024, 12:43 AM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
ezpotd
1251 posts
#53
Y by
Consider the $11$ pairs of primes $(3,5), (7,13), (31,61) ,(37,73) ,( 57,113), (79,147) , (97,193) , (139,277) , (157, 313) , ( 199,397), (211, 421)$. The $2048$ numbers generated from picking one prime from each pair and taking the product have Totient functions differing by powers of $2$, so it suffices to multiply each of those numbers by a power of $2$, and we are done.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
lelouchvigeo
176 posts
#54
Y by
Nice Application of Dirichlet.Sketch
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
HamstPan38825
8857 posts
#55
Y by
Let $p_1, p_2, \dots, p_N$ be the first $N$ primes for some sufficiently large $n$, and consider
\[m=\phi(p_1p_2 \cdots p_N) = (p_1-1)(p_2-1)\cdots(p_N-1).\]The claim is that for all $N/2 < k < N$, we can construct an $n$ such that $p_k \nmid n$, $p_i \mid n$ for all $i \neq k$, and $\phi(n) = m$. Clearly these $n$ are distinct, so they exhibit our desired examples.

To do this, let $q_1, q_2, \dots, q_\ell$ be the maximal prime powers that divide $p_k - 1$. By construction, for each $i$ there exists an index $j < k$ such that $q_i$ is equal to the $a_i$th power of $p_j$. Then taking
\[n = (p_k - 1)\prod_{i \neq k} p_i\]works for each $k$.

Remark: The construction for $n$ is oddly simplistic by number theory standards.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
megahertz13
3181 posts
#56
Y by
The value $$m=(2-1)(3-1)(5-1)(7-1)\dots(k-1)$$works, where $k$ is the $2015$th prime number. The values of $n$ that work are of the form $$n=2\cdot 3\cdot5\cdot7\dots k\cdot\frac{p-1}{p}$$where $p$ is one of the first $2015$ primes. To prove that these work, notice that all the prime factors of $p-1$ are included in the other primes, so $$\varphi(n)=(p-1)\varphi\bigg(\frac{2\cdot3\cdot5\dots k}{p}\bigg)=(p-1)\frac{\varphi(2)\varphi(3)\varphi(5)\dots\varphi(k)}{\varphi(p)}=m$$since $\varphi(p)=p-1$.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
zuat.e
31 posts
#57
Y by
We generalise the problem for a sequence with at least $x$ solutions

Definition: For a sequence of primes $\{p_a\}$, define the set
$P(\{(p_a-1)\})=\{q:q\mid p_i-1\}$

Claim
We can choose $\{p_a\}$ such that $p_i\neq q_j$ for all $i,j$, where $q_j\in P(\{(p_a-1)\})$

Proof: We show we may always add another prime $p_{k+1}$ regardless of all previous $k$ primes.
Let $P(\{(p_a-1)\})=\{q_1,q_2,\dots q_t\}$, therefore consider $p_{k+1}\equiv 1\pmod{q_1q_2\dots q_t}$ and by Dirichlet we can obtain $p_{k+1}$ prime.

We now prove we can find $m$ such that $\phi (n)=m$ has at least $x$ solutions.
Let $\{p_a\}_{a=1}^{x-1}$ be a sequence of primes such that $p_i\neq q_j$ for all $i,j$, where $P(\{(p_a-1)\})=\{q_1,q_2,\dots q_t\}$ and write:
$m=(p_1-1)(p_2-1)\dots (p_{x-1}-1)(q_1-1)(q_2-1)\dots (q_k-1)$

Clearly $n=p_1p_2\dots p_{x-1}q_1q_2q_{k}$ satisfies. Provided that $p_i-1=q_1^{\alpha_1}q_2^{\alpha_2}\dots q_k^{\alpha_k}$, $n_i=\frac{n}{p_i}\cdot q_1^{\alpha_1}q_2^{\alpha_2}\dots q_k^{\alpha_k}$ also satisfies and clearly $n\neq n_i\neq n_j\neq n$, getting at least $n, n_1, n_2\dots n_{x-1}$ as the $x$ desired solutions.
Z K Y
N Quick Reply
G
H
=
a