We have your learning goals covered with Spring and Summer courses available. Enroll today!

G
Topic
First Poster
Last Poster
k a My Retirement & New Leadership at AoPS
rrusczyk   1573
N 2 hours ago by SmartGroot
I write today to announce my retirement as CEO from Art of Problem Solving. When I founded AoPS 22 years ago, I never imagined that we would reach so many students and families, or that we would find so many channels through which we discover, inspire, and train the great problem solvers of the next generation. I am very proud of all we have accomplished and I’m thankful for the many supporters who provided inspiration and encouragement along the way. I'm particularly grateful to all of the wonderful members of the AoPS Community!

I’m delighted to introduce our new leaders - Ben Kornell and Andrew Sutherland. Ben has extensive experience in education and edtech prior to joining AoPS as my successor as CEO, including starting like I did as a classroom teacher. He has a deep understanding of the value of our work because he’s an AoPS parent! Meanwhile, Andrew and I have common roots as founders of education companies; he launched Quizlet at age 15! His journey from founder to MIT to technology and product leader as our Chief Product Officer traces a pathway many of our students will follow in the years to come.

Thank you again for your support for Art of Problem Solving and we look forward to working with millions more wonderful problem solvers in the years to come.

And special thanks to all of the amazing AoPS team members who have helped build AoPS. We’ve come a long way from here:IMAGE
1573 replies
rrusczyk
Mar 24, 2025
SmartGroot
2 hours ago
k a March Highlights and 2025 AoPS Online Class Information
jlacosta   0
Mar 2, 2025
March is the month for State MATHCOUNTS competitions! Kudos to everyone who participated in their local chapter competitions and best of luck to all going to State! Join us on March 11th for a Math Jam devoted to our favorite Chapter competition problems! Are you interested in training for MATHCOUNTS? Be sure to check out our AMC 8/MATHCOUNTS Basics and Advanced courses.

Are you ready to level up with Olympiad training? Registration is open with early bird pricing available for our WOOT programs: MathWOOT (Levels 1 and 2), CodeWOOT, PhysicsWOOT, and ChemWOOT. What is WOOT? WOOT stands for Worldwide Online Olympiad Training and is a 7-month high school math Olympiad preparation and testing program that brings together many of the best students from around the world to learn Olympiad problem solving skills. Classes begin in September!

Do you have plans this summer? There are so many options to fit your schedule and goals whether attending a summer camp or taking online classes, it can be a great break from the routine of the school year. Check out our summer courses at AoPS Online, or if you want a math or language arts class that doesn’t have homework, but is an enriching summer experience, our AoPS Virtual Campus summer camps may be just the ticket! We are expanding our locations for our AoPS Academies across the country with 15 locations so far and new campuses opening in Saratoga CA, Johns Creek GA, and the Upper West Side NY. Check out this page for summer camp information.

Be sure to mark your calendars for the following events:
[list][*]March 5th (Wednesday), 4:30pm PT/7:30pm ET, HCSSiM Math Jam 2025. Amber Verser, Assistant Director of the Hampshire College Summer Studies in Mathematics, will host an information session about HCSSiM, a summer program for high school students.
[*]March 6th (Thursday), 4:00pm PT/7:00pm ET, Free Webinar on Math Competitions from elementary through high school. Join us for an enlightening session that demystifies the world of math competitions and helps you make informed decisions about your contest journey.
[*]March 11th (Tuesday), 4:30pm PT/7:30pm ET, 2025 MATHCOUNTS Chapter Discussion MATH JAM. AoPS instructors will discuss some of their favorite problems from the MATHCOUNTS Chapter Competition. All are welcome!
[*]March 13th (Thursday), 4:00pm PT/7:00pm ET, Free Webinar about Summer Camps at the Virtual Campus. Transform your summer into an unforgettable learning adventure! From elementary through high school, we offer dynamic summer camps featuring topics in mathematics, language arts, and competition preparation - all designed to fit your schedule and ignite your passion for learning.[/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, Mar 2 - Jun 22
Friday, Mar 28 - Jul 18
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
Tuesday, Mar 25 - Jul 8
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
Sunday, Mar 23 - Jul 20
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
Sunday, Mar 16 - Jun 8
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
Monday, Mar 17 - Jun 9
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
Sunday, Mar 2 - Jun 22
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
Tuesday, Mar 4 - Aug 12
Sunday, Mar 23 - Sep 21
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
Sunday, Mar 16 - Sep 14
Tuesday, Mar 25 - Sep 2
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
Sunday, Mar 23 - Aug 3
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
Sunday, Mar 16 - Aug 24
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
Wednesday, Mar 5 - May 21
Tuesday, Jun 10 - Aug 26

Calculus
Sunday, Mar 30 - Oct 5
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
Sunday, Mar 23 - Jun 15
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
Tuesday, Mar 4 - May 20
Monday, Mar 31 - Jun 23
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
Monday, Mar 24 - Jun 16
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
Sunday, Mar 30 - Jun 22
Wednesday, May 21 - Aug 6
Sunday, Jun 15 - Sep 14
Monday, Jun 23 - Sep 15

Physics 1: Mechanics
Tuesday, Mar 25 - Sep 2
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
Mar 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
Cauchy-Schwarz 5
prtoi   1
N 12 minutes ago by Quantum-Phantom
Source: Handout by Samin Riasat
If a, b, c and d are positive real numbers such that a + b + c + d = 4 prove that
$\sum_{cyc}^{}\frac{a}{1+b^2c}\ge2$
1 reply
prtoi
Yesterday at 4:27 PM
Quantum-Phantom
12 minutes ago
Rest in peace, Geometry!
mathisreaI   84
N 40 minutes ago by blueprimes
Source: IMO 2022 Problem 4
Let $ABCDE$ be a convex pentagon such that $BC=DE$. Assume that there is a point $T$ inside $ABCDE$ with $TB=TD,TC=TE$ and $\angle ABT = \angle TEA$. Let line $AB$ intersect lines $CD$ and $CT$ at points $P$ and $Q$, respectively. Assume that the points $P,B,A,Q$ occur on their line in that order. Let line $AE$ intersect $CD$ and $DT$ at points $R$ and $S$, respectively. Assume that the points $R,E,A,S$ occur on their line in that order. Prove that the points $P,S,Q,R$ lie on a circle.
84 replies
mathisreaI
Jul 13, 2022
blueprimes
40 minutes ago
Another functional equation
Hello_Kitty   6
N an hour ago by jasperE3
Source: My Own
Solve this
$f:\mathbb{R}\longrightarrow\mathbb{R}$,
$\forall x, \; f(x+2)-2f(x+1)+f(x)=x^2$
6 replies
Hello_Kitty
Jan 29, 2017
jasperE3
an hour ago
seven digit number divisible by 7
QueenArwen   1
N 2 hours ago by shiitakemushroom
Source: 46th International Tournament of Towns, Junior A-Level P1, Spring 2025
The teacher has chosen two different figures from $\{1, 2, 3, \dots, 9\}$. Nick intends to find a seven-digit number divisible by $7$ such that its decimal representation contains no figures besides these two. Is this possible for each teacher’s choice? (4 marks)
1 reply
QueenArwen
Mar 24, 2025
shiitakemushroom
2 hours ago
a_1 = 2025 implies a_k < 1/2025?
navi_09220114   5
N 2 hours ago by Chanome
Source: Own. Malaysian APMO CST 2025 P1
A sequence is defined as $a_1=2025$ and for all $n\ge 2$, $$a_n=\frac{a_{n-1}+1}{n}$$Determine the smallest $k$ such that $\displaystyle a_k<\frac{1}{2025}$.

Proposed by Ivan Chan Kai Chin
5 replies
navi_09220114
Feb 27, 2025
Chanome
2 hours ago
Coins in a circle
JuanDelPan   15
N 3 hours ago by Ilikeminecraft
Source: Pan-American Girls’ Mathematical Olympiad 2021, P1
There are $n \geq 2$ coins numbered from $1$ to $n$. These coins are placed around a circle, not necesarily in order.

In each turn, if we are on the coin numbered $i$, we will jump to the one $i$ places from it, always in a clockwise order, beginning with coin number 1. For an example, see the figure below.

Find all values of $n$ for which there exists an arrangement of the coins in which every coin will be visited.
15 replies
JuanDelPan
Oct 6, 2021
Ilikeminecraft
3 hours ago
Exponential + factorial diophantine
62861   34
N 3 hours ago by ali123456
Source: USA TSTST 2017, Problem 4, proposed by Mark Sellke
Find all nonnegative integer solutions to $2^a + 3^b + 5^c = n!$.

Proposed by Mark Sellke
34 replies
62861
Jun 29, 2017
ali123456
3 hours ago
Everybody has 66 balls
YaoAOPS   3
N 3 hours ago by Blast_S1
Source: 2025 CTST P5
There are $2025$ people and $66$ colors, where each person has one ball of each color. For each person, their $66$ balls have positive mass summing to one. Find the smallest constant $C$ such that regardless of the mass distribution, each person can choose one ball such that the sum of the chosen balls of each color does not exceed $C$.
3 replies
YaoAOPS
Mar 6, 2025
Blast_S1
3 hours ago
Inspired by IMO 1984
sqing   4
N 3 hours ago by SunnyEvan
Source: Own
Let $ a,b,c\geq 0 $ and $a+b+c=1$. Prove that
$$a^2+b^2+ ab +24abc\leq\frac{81}{64}$$Equality holds when $a=b=\frac{3}{8},c=\frac{1}{4}.$
$$a^2+b^2+ ab +18abc\leq\frac{343}{324}$$Equality holds when $a=b=\frac{7}{18},c=\frac{2}{9}.$
4 replies
sqing
Yesterday at 3:01 AM
SunnyEvan
3 hours ago
Partition set with equal sum and differnt cardinality
psi241   73
N 4 hours ago by mananaban
Source: IMO Shortlist 2018 C1
Let $n\geqslant 3$ be an integer. Prove that there exists a set $S$ of $2n$ positive integers satisfying the following property: For every $m=2,3,...,n$ the set $S$ can be partitioned into two subsets with equal sums of elements, with one of subsets of cardinality $m$.
73 replies
psi241
Jul 17, 2019
mananaban
4 hours ago
IMO 2018 Problem 5
orthocentre   75
N 5 hours ago by VideoCake
Source: IMO 2018
Let $a_1$, $a_2$, $\ldots$ be an infinite sequence of positive integers. Suppose that there is an integer $N > 1$ such that, for each $n \geq N$, the number
$$\frac{a_1}{a_2} + \frac{a_2}{a_3} + \cdots + \frac{a_{n-1}}{a_n} + \frac{a_n}{a_1}$$is an integer. Prove that there is a positive integer $M$ such that $a_m = a_{m+1}$ for all $m \geq M$.

Proposed by Bayarmagnai Gombodorj, Mongolia
75 replies
orthocentre
Jul 10, 2018
VideoCake
5 hours ago
Ornaments and Christmas trees
Morskow   29
N 5 hours ago by gladIasked
Source: Slovenia IMO TST 2018, Day 1, Problem 1
Let $n$ be a positive integer. On the table, we have $n^2$ ornaments in $n$ different colours, not necessarily $n$ of each colour. Prove that we can hang the ornaments on $n$ Christmas trees in such a way that there are exactly $n$ ornaments on each tree and the ornaments on every tree are of at most $2$ different colours.
29 replies
Morskow
Dec 17, 2017
gladIasked
5 hours ago
Another square grid :D
MathLuis   42
N 5 hours ago by gladIasked
Source: USEMO 2021 P1
Let $n$ be a fixed positive integer and consider an $n\times n$ grid of real numbers. Determine the greatest possible number of cells $c$ in the grid such that the entry in $c$ is both strictly greater than the average of $c$'s column and strictly less than the average of $c$'s row.

Proposed by Holden Mui
42 replies
MathLuis
Oct 30, 2021
gladIasked
5 hours ago
Cauchy-Schwarz 2
prtoi   2
N 6 hours ago by mpcnotnpc
Source: Handout by Samin Riasat
if $a^2+b^2+c^2+d^2=4$, prove that:
$\frac{a^2}{b}+\frac{b^2}{c}+\frac{c^2}{d}+\frac{d^2}{a}\ge4$
2 replies
prtoi
Yesterday at 4:19 PM
mpcnotnpc
6 hours ago
divisors on a circle
Valentin Vornicu   45
N Yesterday at 1:46 AM by Ilikeminecraft
Source: USAMO 2005, problem 1, Zuming Feng
Determine all composite positive integers $n$ for which it is possible to arrange all divisors of $n$ that are greater than 1 in a circle so that no two adjacent divisors are relatively prime.
45 replies
Valentin Vornicu
Apr 21, 2005
Ilikeminecraft
Yesterday at 1:46 AM
divisors on a circle
G H J
Source: USAMO 2005, problem 1, Zuming Feng
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Valentin Vornicu
7301 posts
#1 • 8 Y
Y by harazi, Adventure10, jhu08, HWenslawski, ImSh95, Mango247, cookie130, ItsBesi
Determine all composite positive integers $n$ for which it is possible to arrange all divisors of $n$ that are greater than 1 in a circle so that no two adjacent divisors are relatively prime.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Myth
4464 posts
#2 • 9 Y
Y by vsathiam, lneis1, Adventure10, jhu08, HWenslawski, ImSh95, Mango247, cookie130, ld414think
Click to reveal hidden text
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Ravi B
3083 posts
#3 • 11 Y
Y by mijail, Adventure10, jhu08, thedragon01, starchan, CyclicISLscelesTrapezoid, ImSh95, Ritwin, bobthegod78, Mango247, cookie130
Here is my candidate for the solution with the most overkill. We will use the following results from graph theory.

Dirac's Condition: Let $G$ be a graph with $v \ge 3$ vertices. If every vertex has degree at least $\frac{v}{2}$, then $G$ has a Hamiltonian cycle.

Chvatal's Condition: Let $G$ be a graph with $v$ vertices ($v$ odd). If every vertex has degree at least $\frac{v-1}{2}$, and at most $\frac{v-1}{2}$ vertices have degree exactly $\frac{v-1}{2}$, then $G$ has a Hamiltonian cycle.

We can check that the divisor graph obeys one of these two conditions, provided that $n$ is not the product of two distinct primes.

Can you find a solution with more overkill? :)
This post has been edited 1 time. Last edited by Ravi B, Apr 23, 2005, 1:25 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Myth
4464 posts
#4 • 4 Y
Y by Adventure10, jhu08, ImSh95, Mango247
He-he. In another thread rrusczyk wrote that convex hull and discrete continuity are too complicated ideas...
Your idea with Hamiltonian graph is absolurely right and clear. It was my first idea too. I always have in my mind this nice theorem.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
brothers-brt
32 posts
#5 • 4 Y
Y by jhu08, ImSh95, Adventure10, Mango247
an easy one
we proof by induction
we only need to proof that if n is an int and p is a prime and it's true for n it's true for N*p
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
brothers-brt
32 posts
#6 • 5 Y
Y by jhu08, ImSh95, Adventure10, Mango247, and 1 other user
some thing else how can I get some of those stars !!!!!!!
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Abdollahpour
63 posts
#9 • 4 Y
Y by jhu08, ImSh95, Adventure10, Mango247
$ n=p^k is the answer $
This post has been edited 2 times. Last edited by Abdollahpour, Jul 2, 2017, 4:16 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
franchester
1487 posts
#10 • 4 Y
Y by AlastorMoody, jhu08, ImSh95, Adventure10
I claim that all composites except for numbers of the form $pq$ work, where $p$ and $q$ are distinct primes. It is easy to see that $pq$ fails, and that numbers of the form $p^k$ work.

I will now show that all numbers of the form $p^aq^b$ work for all pairs of $a$ and $b$ except for when they are both one. We first isolate the factors of the form $p^k$, and place them such that $p$ and $p^a$ are adjacent. Now, "split" open this circle and place $pq$ next to $p$ and $p^aq$ next to $p^a$. Since the numbers left all have some factor of $q$, they are all not pairwise prime, so "closing" the circle with these numbers yields a valid construction.

I now show that numbers with $\geq 3$ primes work. For the three primes, take the previous construction, and split the circle open at $p$ and $pq$. Note that all the numbers we have left to place have some factor of the third prime $r$, so we can simply place $pqr$ next to $pq$ and $pr$ next to $p$ to achieve a valid construction. Now we can see that we can achieve four primes in a similar fashion: split at $p$ and $pr$, and suppose the fourth prime is $s$. We can place $ps$ next to $p$ and $prs$ next to $pr$ and place all factors that are divisible by $s$. This can clearly be extended to an indefinite number of primes, so we are done.
This post has been edited 1 time. Last edited by franchester, Jan 5, 2020, 3:53 AM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
GeronimoStilton
1521 posts
#11 • 6 Y
Y by naman12, jhu08, Quidditch, Mango247, Mango247, Mango247
We claim that such an arrangement is possible iff $n$ is not the product of two distinct primes. First, we show that such an arrangement is impossible in the latter case; let $n=pq$, then the divisors of $n$ greater than $1$ are $p,q,pq$, but $p$ must be next to $q$ in any such circle, contradiction.

Now, we show that such an ordering is possible for any other $n$. First, in the case that $n=p^k$ for some prime $p$ and integer $k\ge 2$, note that any ordering works. Additionally, remark that in the case $n=pqr$ for some primes $p,q,r$, we can take the ordering $\{p,pq,q,qr,r,rp,pqr\}$.

In the case that $n$ is square-free, either we can use the construction for $n=pqr$, or $n$ has at least four prime divisors and we can take some prime divisor $p\mid n$, then take the construction for $n/p$, choose two adjacent elements $a,b$ in that construction, then insert the multiples of $p$ in some consecutive order with $ap$ next to $a$ and $bp$ next to $b$. Similarly, in the case that $n$ is not square-free, choose a prime $p\mid n$ such that $n/p$ is not square-free and insert multiples of $p$ similarly to before, or $n=p^k$ and we have already found the construction thereof.

At least one of the criteria $\exists p\mid n \mbox{ s.t. } p^2\mid n$, $\exists p\ne q\ne r\ne p \mbox{ s.t. } pqr\mid n$ must hold as long as $n$ is not the product of exactly two distinct primes, hence 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.
Archimedes15
1491 posts
#12 • 4 Y
Y by jhu08, ImSh95, Mango247, Mango247
Claim: We can create such a circle for all composite numbers other than numbers of the form $n = pq$ where $p,q$ are distinct primes.

If $n = pq$ with $p,q$ distinct primes, the three divisors that are greater than $1$ are $p, q, pq$. Obviously they do not meet the condition as $p,q$ are forced to be next to each other, and they are relatively prime to each other.

There are a few cases we have to look at. The first case is if $n = p^k$ where $k \geq 2$. Obviously, all numbers of this form must satisfy the condition as all divisors $>1$ are multiples of $p$.

The next case we have to look at is $p^aq^b$ with $a,b \geq 2$. Notice that all of the terms with the exception of the powers of $p$ and $q$ must share a common divisor as they contain powers of both $p$ and $q$. So, start with a circle of the divisors of $p^aq^b$ other than 1 and the powers of $p,q$. All of these divisors have both powers of $p$ and $q$. If you place all of the powers of $p$ between one pair of terms and all of the powers of $q$ between another pair of terms, you have a circle that satisfies the conditions. So, you can do it for this case as well.

Another case to consider is the case where we have $pq^n$ with $n \geq 2$. Note that all of the divisors other than $1$ and $p$ have a power of $q$ in them. So, you can place all of the divisors greater than $1$ except for $p$ into a circle in such a way that there is at least one pair of adjacent numbers that are multiples of $p$ and place the $p$ in between that pair of adjacent numbers. So, it is possible for this case as well.

There is one last case to consider, which is $n = p_1^ap_2^bp_3^c\ldots$ where $a,b,c,\ldots \geq 1$. First, we can start by creating a circle that contains the integers $p_1p_2,p_2,p_3,\ldots,p_np_1$. All multiples of $p_1$ go in between $p_np_1$ and $p_1p_2$ and so on with multiples of $p_k$ going between $p_{k-1}p_k$ and $p_kp_{k+1}$. So, it is also possible to create such a circle for this case.

As all of the cases have been addressed, it has been proven that you can create such a circle for all composite numbers other than $n=pq$ with $p,q$ distinct primes.
This post has been edited 1 time. Last edited by Archimedes15, Aug 25, 2020, 5:43 PM
Reason: added newline to make aesthetically pleasing
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
EulersTurban
386 posts
#13 • 2 Y
Y by jhu08, ImSh95
First we shall show that for all numbers $n=p_1p_2p_3\dots p_k$ there is a possible arrangment, where $k \geq 3$.

We define a $p_i$-sector to be a circle section of angle $\alpha$ where all the numbers that are on the circumference of the circle are divisible by $p_i$.
We firstly throw on the numbers $p_i$ and $p_ip_{i+1}$ onto the circle for all $i$, where $1 \leq i \leq k$ and where all the indexes are taken $\text{mod}\; k$.

Now we devise the following algorithm:
The algorithm:
We start by taking the $p_1$ sector, and we place all the numbers divisible by $p_1$ and who divide $n$, into the $p_1$ sector and we place this between $p_1$ and $p_1p_2$, now we do this for the $p_2$ sector, then for $p_3$, etc...
When this is done we take a look at the repeating numbers and delete one of that number until we have just one of that number on the circle.

By this way every single divisor is on the circle and the neighboring condition is satisfied.Because we have that in the $p_i$-sector the $GCD$ is equal to at least $p_i$.

Now we shall show that it is possible for $n=p_1^{\alpha_1}p_2^{\alpha_2}\dots p_k^{\alpha_k}$, where $k \geq 3$
We still use our algorithm but this time when we encounter a number of the form $p_1^{\beta_1}p_2^{\beta_2}\dots p_k^{\beta_k}$ we take a look at the exponents.
Now if we have let's say number $d$, where $d \mid n$, depending on the exponent we place $d$ in the $p_i$ sector, if we have that $v_{p_i}(d) \geq v_{p_j}(d)$ for all $j$, where $1 \leq i,j \leq k$.
Now again we delete until we are left with just one of $d$.

Now we take a look at trivial $n=p^{\alpha}$, where $\alpha > 1$.This is an easy construction. We just place $p^i$, in ascending order on the circle, where $k \geq i > 0$.

Now we look at $n=p^{\alpha}q^{\beta}$.
Obviously when $n=pq$ this is impossible.
So let's assume $WLOG$ that $\alpha \geq \beta$.
We start off with the construction for $p^2q$.We place the numbers in the following order: $p,p^2,p^2q,q,pq$ onto the circle.
Again we divide into the $p$ sector and $q$ sector. We now use our algorithm with the divisor types $p^{\gamma}q^{\delta}$ to generalize for $p^{\alpha}q^{\beta}$.

Thus giving us the answer of $n \in \mathbb{N} \backslash (\mathbb{P} \cup \{1\} \cup \{pq \mid p\neq q;p,q\in \mathbb{P}\})$,where $\mathbb{P}$ is the set of primes.
In other words the only solutions are all composite numbers except of the form $n=pq$, where $p,q$ are distinct primes
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
brianzjk
1201 posts
#14 • 2 Y
Y by jhu08, ImSh95
We claim that all composite numbers not in the form of $pq$ work, where $p$ and $q$ are primes.

We have several cases.
It is easy to see that numbers in the form $p^a$ work, where $p$ is a prime.

For numbers in the form $n=p^aq^b$ where $a\geq2$ and $b\geq1$, we can take all of the factors of the form $p^k$, and put them in the order $p, p^2, \dots , p^a$. We then put $pq$ next to $p$, and $p^aq$ next to $p$ and $p^a$, respectively. Then, the rest of the factors have $q$ as a divisor, so none of them are relatively prime.

Let $n=p_1^{n_1}p_2^{n_2}\dots p_k^{n_k}$, where $n_i\geq 1$ and $k\geq 3$. We start by putting the integers $p_1p_2,p_2,p_3,\ldots,p_np_1$ on the circle. We then put all multiples of $p_1$ in between $p_np_1$ and $p_1p_2$ and so on with multiples of $p_k$ going between $p_{k-1}p_k$ and $p_kp_{k+1}$. Thus, it is also possible to create such a circle for this case.

Thus, we have proved that all cases work other than the case $pq$, as desired.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Dodgers66
414 posts
#15 • 2 Y
Y by jhu08, ImSh95
Extremely clunky solution:
We claim that it works if the sum of the exponents of the prime factorization is $\ge 3$ or it is a prime power with exponent $\ge 2$. Another way of saying this is not $p_1 \cdot p_2$ where $p_1$ and $p_2$ are primes. (and of course also not $1$ or any prime, as the problem statement asks).

It is obvious that $p_1 \cdot p_2$ is impossible as we must place $p_1,p_2,p_1p_2$, and since there are only 3, inevitably, $p_1$ and $p_2$ must be adjacent.

The case $p^k$ works as they all share a common factor of $p$.

The case $p_1^{e_1}p_2^{e_2}$ works as long as at least one of the exponents is $\ge 2$. For this we can place it around the circle with $n$ at the very top, then circling around with all the powers of $p_1$ on one side and $p_2$ on the other and then spamming the multiples of $p_1p_2$ that aren't $n$ at the bottom.

If there are three or more primes, then the circle can be constructed as follows:
$$p_1,(\text{all } d \mid n, p_1 \mid d, d \ne p_1p_2,p_1p_k),p_1p_2, p_2, (\text{all } d \mid n, p_1 \nmid d, p_2 \mid d, d\ne p_2p_3), p_2p_3,\ldots, p_k, p_k^2,\ldots , p_k^{e_k},p_kp_1.$$This works for more than 3 primes since from there, $p_kp_1 \ne p_1p_2$.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
IAmTheHazard
5000 posts
#16 • 4 Y
Y by v4913, jhu08, centslordm, ImSh95
We define $p_1,p_2,p_3,\ldots$ as distinct arbitrary primes.
The answer is any $n$ that cannot be expressed in the form $p_1p_2$.
First we prove that no numbers of the form $p_1p_2$ work. The factors greater than $1$ here are $p_1,p_2,p_1p_2$. We can easily see by placing them in a circle (there is actually only one way to do this, since reflections and rotations don't change the result) that this arrangement doesn't work, since we have $p_1$ next to $p_2$.
Now we prove that everything else works.
First, consider a number of the form $p_1^k$ for some integer $k>1$. Clearly, all factors greater than $1$ of this number are divisible by $p_1$, so this works.
The remainder of the solution assumes that $n$ is divisible by at least $2$ distinct primes.
Next, consider a number of the form $p_1p_2p_3\ldots p_n$, with $n>2$. For convenience, we define $p_{n+1}=p_1$.
We first place $p_1,p_2,p_3,\ldots,p_n$ a circle in that order. Then, we put $p_i p_{i+1}$ between $p_i$ and $p_{i+1}$. Afterwards, we may place any other divisors in the circle. We may do this by placing all divisors divisible by $p_1$ in between $p_1$ and $p_1p_2$. Then place all remaining divisors divisible by $p_2$ in between $p_2$ and $p_2p_3$, and so on. That is, we place all remaining divisors divisible by $p_i$ in between $p_i$ and $p_i p_{i+1}$. This clearly works, since all the numbers between $p_i$ and $p_i p_{i+1}$ share a factor of $p_i$, and $p_i p_{i+1}$ shares a factor of $p_{i+1}$ with $p_{i+1}$.
Now suppose a number is of the form $p_1^2p_2$. We give the following explicit construction, which can easily be verified to work. Starting from the top and going clockwise, we place: $p_1,p_1^2,p_1p_2,p_2,p_1^2p_2$.
Finally, we can induct to every other number. Given that $p_1^{k_1}p_2^{k_2}p_3^{k_3}\ldots p_n^{k_n}$ works, for positive integers $k_1,k_2,\ldots,k_n$, $p_1^{k_1+1}p_2^{k_2}p_3^{k_3}\ldots p_n^{k_n}$ will work as well. All factors of $p_1^{k_1+1}p_2^{k_2}p_3^{k_3}\ldots p_n^{k_n}$ are factors of $p_1^{k_1}p_2^{k_2}p_3^{k_3}\ldots p_n^{k_n}$, except for those divisble by $p_1^{k_1+1}$. Thus we can put all these "new factors" in between $p_1$ and $p_1 p_2$. Then all the numbers between $p_1$ and $p_1 p_2$ share a factor of $p_1$. Nothing else is changed, so the arrangement works. Thus we have finished the inductive step.
Now, since $p_1$ is arbitrary, we can start from either $p_1^2p_2$ or $p_1p_2p_3\ldots p_n$ with $n>2$, and repeatedly apply the "inductive step" to reach any other composite number. Thus, we have proven that everything else works. We are done. $\blacksquare$
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
#17 • 3 Y
Y by centslordm, jhu08, ImSh95
The answer is all $n$ which is not the product of two primes. Clearly, products of two primes fail, because in a circle of three elements, every two elements are adjacent. Yet the two distinct prime factors will be adjacent to each other, violating the problem condition. To show that all other numbers work, we proceed by induction on the number of distinct prime factors in $n$.

Base Case. We will show that $n=p^k$ for $k \geq 2$ satisfy the conditions. Consider arranging the $k$ numbers in a circle in the order $p, p^2, p^3, p^4, \cdots, p^k$. This clearly works. (In fact, any placement of the numbers around the circle works!)

We also need to show that $n=pqr$ satisfies the conditions, for primes $p, q, r$. This is not hard; arrange the numbers in the order $1, p, pq, q, qr, r, pr, pqr$. Clearly no two divisors are relatively prime.

Inductive Step. Assume that $n= p_1^{k_1} p_2^{k_2}\cdots p_i^{k_i}$ satisfies the condition. We will show that $$n' = p_1^{k_1} p_2^{k_2}\cdots p_i^{k_i}p_{i+1}^{k_{i+1}}$$satisfies the conditions. Arrange the divisors of $n$ in a valid circle, which we know exists. Then, insert all divisors of $n'$ that contain $p_{i+1}$ (aka all divisors of $n'$ that are not divisors of $n$) consectutively into the circle, between $n$ and some number $j$. We can arrange the numbers such that the number adjacent to $n$ is $n'$, while the number adjacent to $j$ is $p_{i+1} \cdot j$. Since all the numbers between $n$ and $j$ satisfy the conditions, and so do the numbers in the consecutive ``block" (since they all contain the factor $p_{i+1}$) and the numbers between the two blocks, we have a valid placement for $n'$, as desired.

Thus the induction is complete, and the assertion holds for all $n$ not the product of two primes.
This post has been edited 1 time. Last edited by HamstPan38825, Aug 24, 2021, 12:41 AM
Z K Y
G
H
=
a