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   1571
N Mar 26, 2025 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
1571 replies
rrusczyk
Mar 24, 2025
SmartGroot
Mar 26, 2025
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
Hard Combi Geo
AbbyWong   0
18 minutes ago
Source: Unknown
A (possibly non-convex) planar polygon P is good if no two sides of P are parallel.
For any good polygon P, we may take any three sides of P and extend them into lines. These lines
intersect to form a triangle. Such a triangle is called a peritriangle of P. Let f(P) denote the minimal
number of peritriangles of P whose union completely cover P.
For each positive integer n, find all possible values of f(P) as P ranges over all good n-gons.
0 replies
1 viewing
AbbyWong
18 minutes ago
0 replies
fifth power
mathbetter   4
N 21 minutes ago by pi_quadrat_sechstel
\[
\text{Find all prime numbers } (p, q) \text{ such that } p^2 + 3pq + q^2 \text{ is a fifth power of an integer.}
\]
4 replies
1 viewing
mathbetter
Mar 25, 2025
pi_quadrat_sechstel
21 minutes ago
Prove that $\angle FAC = \angle EDB$
micliva   27
N 22 minutes ago by LeYohan
Source: All-Russian Olympiad 1996, Grade 10, First Day, Problem 1
Points $E$ and $F$ are given on side $BC$ of convex quadrilateral $ABCD$ (with $E$ closer than $F$ to $B$). It is known that $\angle BAE = \angle CDF$ and $\angle EAF = \angle FDE$. Prove that $\angle FAC = \angle EDB$.

M. Smurov
27 replies
micliva
Apr 18, 2013
LeYohan
22 minutes ago
My problem
hacbachvothuong   3
N an hour ago by ektorasmiliotis
Let $a, b, c$ be positive real numbers such that $ab+bc+ca=3$. Prove that:
$\frac{a^2}{a^2+b+c}+\frac{b^2}{b^2+c+a}+\frac{c^2}{c^2+a+b}\ge1$
3 replies
hacbachvothuong
Yesterday at 10:10 AM
ektorasmiliotis
an hour ago
No more topics!
Coins in a circle
JuanDelPan   15
N Mar 26, 2025 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
Mar 26, 2025
Coins in a circle
G H J
G H BBookmark kLocked kLocked NReply
Source: Pan-American Girls’ Mathematical Olympiad 2021, P1
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
JuanDelPan
122 posts
#1 • 2 Y
Y by FaThEr-SqUiRrEl, LawofCosine
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.
Attachments:
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
jampm
49 posts
#2 • 2 Y
Y by JuanDelPan, FaThEr-SqUiRrEl
This problem is basically equivalent to this other two...
Canada 2013/2 (just add an $a_0 = 1$ and shift everything) and Russia 1995 .
Anyways haha, here's a (very lazy) sketch of my solution:
solution sketch
This post has been edited 1 time. Last edited by jampm, Oct 7, 2021, 1:04 AM
Reason: typo
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
jasperE3
11136 posts
#3 • 2 Y
Y by FaThEr-SqUiRrEl, megarnie
There are $n \geq 2$ coins numbered from $1$ to $n$. These coins are placed around a circle, not necessarily 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.

https://services.artofproblemsolving.com/download.php?id=YXR0YWNobWVudHMvOC9jL2E0ZDRhNDVhNDY2MDdjOTVhYTMyYzk3YzFkZjhiOWVhYTYwZDdhLnBuZw==&rn=U2NyZWVuIFNob3QgMjAyMS0xMC0wNiBhdCAxNy4xMy4xNS5wbmc=
This post has been edited 1 time. Last edited by jasperE3, Oct 7, 2021, 12:17 AM
Reason: posting for collection
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
daniel73b
14 posts
#4
Y by
Clearly the last coin visited is numbered $n$, after which the moves clearly consist on staying in place indefinitely. The sum of total moves (regardless of their order) until we reach the coin numbered $n$ is $1+2+\cdots+(n-1)=\frac{(n-1)n}{2}$.

If $n$ is odd, this is a multiple of $n$, ie we have made $\frac{n-1}{2}$ full turns to the arrangement. Or the starting coin is numbered both $n$ and $1$, contradiction. Thus no such arrangement exists for odd $n$.

If $n$ is even, we can place the coins such that we visit them in order $1,p-2,3,p-4,5,p-6,\dots$. Using cyclic notation and assuming that coin numbered $1$ is located at position $0$, this means that coin $n-2k$ is located at position $k$ for $k=1,2,\dots,\frac{n}{2}-1$ and coin $2k+1$ is located at position $-k$ for $k=0,1,\dots,\frac{n}{2}-1$. Setting coin numbered $n$ in position $\frac{n}{2}$, clearly all $n$ positions in the coin arrangement are assigned a coin with a distinct number, and hence all $n$ numbered coins are assigned to a different position. By trivial induction we can show that after $2k$ moves we are at position $-k$ on coin numbered $2k+1$, and after $2k+1$ moves we are at position $k+1$ on coin numbered $n-2k-2$, and we are done.
This post has been edited 1 time. Last edited by daniel73b, Oct 7, 2021, 10:24 AM
Reason: Clarity
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
v_Enhance
6870 posts
#6 • 2 Y
Y by HamstPan38825, NicoN9
Because the coin $n$ is a sink, a valid path must start at $1$, visit every other coin in $\{2,\dots,n-1\}$ exactly once, and finally end at coin $n$. The total distance traveled before reaching $n$ is $1+2+\dots+(n-1) = \frac{1}{2} n (n-1)$. This means that
  • When $n$ is odd, the total distance is a multiple of $n$, but that's impossible as $1$ and $n$ don't occupy the same place.
  • When $n$ is even, it hints that any valid construction must start with $1$ diametrically opposite $n$ and wind around exactly $\frac{1}{2} n$ times.
For the construction, see the following example for $n=20$ which obviously generalizes to any even $n$.
[asy]
size(7cm); defaultpen(fontsize(18pt)); draw(unitcircle); for (int i=1; i<=9; ++i) { dot("$"+(string)(2*i)+"$", dir(270+18*i), dir(270+18*i), blue); dot("$"+(string)(2*i+1)+"$", dir(90+18*i), dir(90+18*i), deepcyan); } dot("$1$", dir(90), dir(90), red); dot("$20$", dir(-90), dir(-90), red);
[/asy]
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
#7 • 2 Y
Y by centslordm, itslumi
We claim only even $n$ work. Notice we must visit $n$ last, and that we cannot visit a coin twice before repeating, so we must move $1+2+\dots+n-1=n(n-1)/2$ before getting to $n.$ If $n$ is odd, this implies that the first coin has value $n,$ which is absurd.

For $n=2k,$ the following construction works: $$1,2k-2,2k-4,\dots,4,2,2k,2k-1,2k-3,\dots,5,3$$going clockwise. This works as we go $$1\rightarrow 2k-2\rightarrow 3\rightarrow 2k-4\rightarrow 5\rightarrow\dots\rightarrow 2\rightarrow 2k-1\rightarrow 2k,$$reaching all the coins. $\square$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
polarity
65 posts
#8
Y by
Rigor:
We claim the answer is all even $n$. Denote the $n$ coin positions around the circle as $0, 1, \dots, n - 1$ in clockwise order. Let $c_i$ denote the value of the coin in position $i$, and $p_i$ denote our position after the $i$-th move. WLOG $p_0 = 0$ and $c_0 = 1$, and note on each turn if we are at position $p_i$, we jump to position $p_{i + 1} = (p_i + c_{p_i} \mod n)$. Hence note
\[p_{i + 1} = \left (p_0 + \sum_{k = 0}^i c_{p_k} \mod n \right )\]Then we visit every coin if and only if $p_0, p_1, \dots, p_{n - 1}$ are distinct. The if direction is because we visit $n$ distinct positions, which must be the $n$ distinct coins. only if is because, if $p_a = p_b$ for some $n - 1 \geq a > b \geq 0$, note we will repeatedly visit the sequence $(p_a, p_{a + 1}, \dots, p_{b - 1})$, and never visit any new coins we have yet to visit. We prove that if $n$ is odd, we can never visit all the coins. Assume we can. Note if $c_{p_i} = n$ for some $i < n - 1$, then $p_{i + 1} = (p_i + c_{p_i} \mod n) = p_i$. However, there must be $i \in \{0, 1, \dots, n - 1\}$ such that $c_{p_i} = n$, since we can visit the coin with value $n$. Then $c_{p_{n - 1}} = n$. Thus $\{c_{p_0}, c_{p_1}, \dots, c_{p_{n - 2}}\} = \{1, 2, \dots, n - 1\}$. Hence
\[p_{n - 1} = \left ( p_0 + \sum_{i = 0}^{n - 2} c_{p_{i}} \mod n \right )\]\[p_{n - 1} = \left (\frac{(n - 1)n}{2} \mod n \right ) = 0\]Thus $p_{n - 1} = p_0$, contradiction. Now we prove that we can visit all coins if $n$ is even. We set $c_{p_{n - 1}} = n$ and $(c_{p_0}, c_{p_1}, c_{p_2}, c_{p_3}, \dots c_{p_{n - 2}}) = (1, n - 2, 3, n - 4, \dots, n - 1)$, where $c_{p_i} = 2i - 1$ and $c_{p_i} = n - i - 1$ when $i$ is even and odd respectively. Then we are done if $p_0, p_1, \dots, p_{n - 1}$ are distinct. If $p_a = p_b$ for $0 \leq a, b \leq n - 1$,
\[p_a = \left ( p_0 + \sum_{i = 0}^{a - 1} c_{p_{i}} \mod n \right ) = p_b = \left ( p_0 + \sum_{i = 0}^{b - 1} c_{p_{i}} \mod n \right )\]\[\iff f(a - 1) \equiv f(b - 1) \pmod{n}\]Where $f(x) = \sum_{i = 0}^x c_{p_{i}}$ evaluates to $n - \frac{x + 1}{2}$ when $x$ is odd and $\frac{x}{2} + 1$ when $x$ is even. If $a - 1$ and $b - 1$ are of the same parity, clearly $a - 1 \equiv b - 1 \pmod{n} \implies a = b$. If WLOG $a$ is even and $b$ is odd,
\[p_a = p_b \iff f(a - 1) \equiv f(b - 1) \iff \frac{a + b - 1}{2} + 1 \equiv 0 \pmod{n}\]\[\iff a + b + 1 \equiv 0 \pmod{2n}\]However, $a + b + 1 \leq (n - 2) + (n - 1) + 1 < 2n$. Thus $p_a = p_b \iff a = b$, 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.
HamstPan38825
8857 posts
#9 • 1 Y
Y by bjump
The answer is even $n$ only. The problem is equivalent to there existing a sequence of jumps that visits every coin without visiting any coin twice.

Necessarity: Notice that we cannot jump to a coin numbered $n$ until the very last move using our reformulation: therefore, the total distance jumped between the first move and last is $\frac{n(n-1)}2$. When $n$ is odd, this is divisible by $n$, which means we always land on $1$ on our final move. But this implies that there must exist a coin that we have never visited at this point.

Sufficiency: On move $i$, let the coin we visit be numbered $i$ if $i$ is odd, and $n-i$ if $i$ is even. Then the indices of the coins we land on (labeling the first index $1$) are $1, 2, 0, 3, n-1, 4, n-2, \cdots$. After $n-1$ jumps, this visits all coins, as needed.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
blueprimes
315 posts
#10
Y by
We claim the answer is all even $n \ge 2$. As a construction, the cycle in order $1, 3, 5, \dots, n - 1, 2, 4, \dots, n$
works. To show odd $n$ do not work, note that we must visit the coin labelled $n$ last as otherwise we are caught in a cycle. But $n \mid 1 + 2 + \dots + n = \dfrac{n(n + 1)}{2}$, so the coin labelled $n$ coincides with $1$ in the circle, which is invalid. 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.
cursed_tangent1434
559 posts
#11
Y by
Solved with a small hint. The answer is all even $n$.

We first see why all odds do not work. Let a cycle be a sequence of moves where we start from coin $1$ and reach coin $n$ for the first time. Then, in a cycle, no coin can be visited twice, since if some coin were visited twice, the sequence of moves would loop from then on. Further, all the coins must be visited exactly once in a cycle, since once we land on coin $n$, we keep looping in the same place without visiting any other coins. Thus, the coins visited (in some order) before visiting $n$ for the first time are $1$ , $2$ , $\dots (n-1)$. Further, the magnitude of the 'jumps' done before visiting $n$ for the first time must also be $1,2,\dots , (n-1)$ in some order. But then, we would have a total displacement of
\[1+2+\dots +n =\frac{(n-1)n}{2}\]which is clearly divisible by $n$ for odd $n$. But then, before we reach $n$ we would have loop backed to our starting position (coin 1) which is a clear contradiction to the fact that in a cycle, no coin is visited twice.

To see why all evens work, simply consider the following placement of coins (going clockwise).
\[(1,2n-2,2n-4,\dots , 2 , 2n , 2n-1, 2n-3, \dots , 3)\]Here, we will quite clearly move in the following order $1\rightarrow 2n-2 \rightarrow 3 \rightarrow 2n-4 \rightarrow \dots \rightarrow 2 \rightarrow 2n-1 \rightarrow 2n$ visiting every coin in the process.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
dolphinday
1318 posts
#12
Y by
Only all even $n$ work. Our construction for even $n$ is(in clockwise order) $(1, n-2, n-4, \dots, 2, n, n-1, n-3, \dots, 3)$ which clearly works since $n-2$ will go to $3$, $3$ will go to $n-4$ and so on until we get to the middle($n$).
Clearly we cannot land on coin $n$ before another coin, since we will be stuck on $n$ and we will not be able to move.
So we must go through coins $1$, $2$, $\dots$, $n-1$ before $n$, so we move a distance of $\frac{n-1(n)}{2}$ which is divisible by $n$. So then after going through all of $1$, $2$, $\dots$, $n-1$ we will land on $1$ again so we get stuck in a loop without $n$, impossible.
This post has been edited 1 time. Last edited by dolphinday, Jul 19, 2024, 4:46 AM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Topiary
22 posts
#13
Y by
\begin{claim}
We claim only even n works.
\end{claim}
Define a cycle to start from $1$ and end at $n$. In a cycle you can only visit a coin once as if it was otherwise, the sequence of moves would then loop.
All coins must be visited must be visited once as if $n$ is visited twice, the sequence would stagnate at $n$.
This implies that the order of coin visitations must be $1$,$2$,$\cdots$ , $n$. The total distance travelled when performing the moves is simply $1+2+$,$\cdots$,$n = \frac{n(n-1)}{2}$. For odd $n$ (i.e )$n\equiv 2m+1 \; \text{for arbitrary m} \in \mathbb Z^+$ the total distance is divisible by $n$ which is absurb as it would imply $1$ and $n$ would occupy the same spot in the circle.

We now prove that $n$ even works. The configuration that can be generalised is as: $1$,$n-2$,$n-4$,$\cdots$,$2$,$n$,$n-1$,$n-3$,$\cdots$,$3$.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
EpicBird08
1740 posts
#14
Y by
The answer is all even $n.$ For the construction, if $n = 2k,$ label the numbers on the circle in clockwise order as $2k-2, 2k-4, \dots, 4, 2, 2k, 2k-1, 2k-3, \dots, 5, 3, 1.$ Our process then looks like $$1 \to 2k-2 \to 3 \to 2k-4 \to 5 \to 2k-6 \to \dots \to 4 \to 2k-3 \to 2 \to 2k - 1 \to 2k.$$
To prove that all odd $n$ don't work, write $n = 2k + 1.$ Note that if we visit the same coin twice before reaching every coin, then we get stuck in an infinite loop, causing failure. Thus we visit every coin exactly once. Then we travel a total of $1 + 2 + \dots + 2k+1 = (k+1)(2k+1)$ spots clockwise in total, and this brings us back to $1.$ However, once we visit coin $2k + 1,$ we get stuck there forever, so the only possibility is for coin $1$ to overlap with count $2k + 1,$ which is a contradiction.

Therefore, the only $n$ that work are even integers, as desired.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
D4N13LCarpenter
13 posts
#15 • 1 Y
Y by Vahe_Arsenyan
Note that since landing on $n$ causes an infinite loop, the coin number $n$ must be the last to be visited. But then, the total distance jumped before visiting $n$ is $$1+2+\dots+n=\frac{n(n-1)}{2}.$$If $n$ is odd, then we have $n\mid \frac{n(n-1)}{2}$, which is a contradiction since this would imply that the coin number $1$ and the coin number $n$ are at the same position.
If $n$ is even, I claim that there is a valid construction. To do this, place the odds increasingly in one half, place the coin number $n$ and then the even coins increasingly on the other. Notice that this works because after every two jumps, we have moved one unit clockwise. Refer to the diagram below for more clarity.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
cosdealfa
27 posts
#16 • 1 Y
Y by Kaus_sgr
storage
This post has been edited 3 times. Last edited by cosdealfa, Jan 31, 2025, 7:16 AM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Ilikeminecraft
329 posts
#17
Y by
The answer is all even $n.$

We first show all odd values don’t work.
First, note that if it reaches $n$ before all of the other ones, $1, 2, \dots, n - 1,$ then it becomes stuck at $n.$ Hence, it has to first go through $1, 2, \dots, n - 1.$ This implies it goes $\frac{1 + \dots + n - 1}{2} = \frac {n - 1}2n$ steps. However, $n\mid \frac{n-1}2n,$ so it loops back to 1. Contradiction.

To do the construction, simply take $$1 \to 2k - 2 \to 3 \to 2k - 4 \to \dots \to 2\to2k-1\to2k$$
Z K Y
N Quick Reply
G
H
=
a