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
Wednesday at 3:18 PM
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
Wednesday at 3:18 PM
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
Geometry problem
kjhgyuio   1
N 38 minutes ago by Mathzeus1024
Source: smo
In trapezium ABCD,AD is parallel to BC and points E and F are midpoints of AB and DC respectively. If
Area of AEFD/Area of EBCF =√3 + 1/3-√3 and the area of triangle ABD is √3 .find the area of trapezium ABCD
1 reply
kjhgyuio
Apr 1, 2025
Mathzeus1024
38 minutes ago
D1018 : Can you do that ?
Dattier   1
N an hour ago by Dattier
Source: les dattes à Dattier
We can find $A,B,C$, such that $\gcd(A,B)=\gcd(C,A)=\gcd(A,2)=1$ and $$\forall n \in \mathbb N^*, (C^n \times B \mod A) \mod 2=0 $$.

For example :

$C=20$
$A=47650065401584409637777147310342834508082136874940478469495402430677786194142956609253842997905945723173497630499054266092849839$

$B=238877301561986449355077953728734922992395532218802882582141073061059783672634737309722816649187007910722185635031285098751698$

Can you find $A,B,C$ such that $A>3$ is prime, $C,B \in (\mathbb Z/A\mathbb Z)^*$ with $o(C)=(A-1)/2$ and $$\forall n \in \mathbb N^*, (C^n \times B \mod A) \mod 2=0 $$?
1 reply
Dattier
Mar 24, 2025
Dattier
an hour ago
2025 Caucasus MO Juniors P3
BR1F1SZ   1
N an hour ago by FarrukhKhayitboyev
Source: Caucasus MO
Let $K$ be a positive integer. Egor has $100$ cards with the number $2$ written on them, and $100$ cards with the number $3$ written on them. Egor wants to paint each card red or blue so that no subset of cards of the same color has the sum of the numbers equal to $K$. Find the greatest $K$ such that Egor will not be able to paint the cards in such a way.
1 reply
BR1F1SZ
Mar 26, 2025
FarrukhKhayitboyev
an hour ago
1 area = 2025 points
giangtruong13   0
an hour ago
In a plane give a set $H$ that has 8097 distinct points with area of a triangle that has 3 points belong to $H$ all $ \leq 1$. Prove that there exists a triangle $G$ that has the area $\leq 1 $ contains at least 2025 points that belong to $H$( each of that 2025 points can be inside the triangle or lie on the edge of triangle $G$)X
0 replies
giangtruong13
an hour ago
0 replies
Burak0609
Burak0609   0
an hour ago
So if $2 \nmid n\implies$ $2d_2+d_4+d_5=d_7$ is even it's contradiction. I mean $2 \mid n and d_2=2$.
If $3\mid n \implies d_3=3$ and $(d_6+d_7)^2=n+1,3d_6d_7=n \implies d_6^2-d_6d_7+d_7^2=1$,we can see the only solution is$d_6=d_7=1$ and it is contradiction.
If $4 \mid n d_3=4$ and $(d_6+d_7)^2-4d_6d_7=1 \implies d_7=d_6+1$. So $n=4d_6(d_6+1)$.İt means $8 \mid n$.
If $d_6=8 n=4.8.9=288$ but $3 \nmid n$.İt is contradiction.
If $d_5=8$ we have 2 option. Firstly $d_4=5 \implies 2d_2+d_4+d_5=17=d_7 d_6=16$ but $10 \mid n$ is contradiction. Secondly $d_4=7 \implies d_7=2.2+7+8=19 and d_6=18$ but $3 \nmid n$ is contradiction. I mean $d_4=8 \implies d_7=d_5+12, n=4(d_5+11)(d_5+12) and d_5 \mid n=4(d_5+11)(d_5+12)$. So $d_5 \mid 4.11.12 \implies d_5 \mid 16.11$. If $d_5=16 d_6=27$ but $3 \nmid n$ is contradiction. I mean $d_5=11,d_6=22,d_7=23$. The only solution is $n=2024$.
0 replies
Burak0609
an hour ago
0 replies
Good Partitions
va2010   25
N 2 hours ago by lelouchvigeo
Source: 2015 ISL C3
For a finite set $A$ of positive integers, a partition of $A$ into two disjoint nonempty subsets $A_1$ and $A_2$ is $\textit{good}$ if the least common multiple of the elements in $A_1$ is equal to the greatest common divisor of the elements in $A_2$. Determine the minimum value of $n$ such that there exists a set of $n$ positive integers with exactly $2015$ good partitions.
25 replies
va2010
Jul 7, 2016
lelouchvigeo
2 hours ago
An inequality on triangles sides
nAalniaOMliO   7
N 3 hours ago by navier3072
Source: Belarusian National Olympiad 2025
Numbers $a,b,c$ are lengths of sides of some triangle. Prove the inequality$$\frac{a}{b+c-a}+\frac{b}{c+a-b}+\frac{c}{a+b-c} \geq \frac{a+b}{2c}+\frac{b+c}{2a}+\frac{c+a}{2b}$$
7 replies
nAalniaOMliO
Mar 28, 2025
navier3072
3 hours ago
D is incenter
Layaliya   3
N 3 hours ago by rong2020
Source: From my friend in Indonesia
Given an acute triangle \( ABC \) where \( AB > AC \). Point \( O \) is the circumcenter of triangle \( ABC \), and \( P \) is the projection of point \( A \) onto line \( BC \). The midpoints of \( BC \), \( CA \), and \( AB \) are \( D \), \( E \), and \( F \), respectively. The line \( AO \) intersects \( DE \) and \( DF \) at points \( Q \) and \( R \), respectively. Prove that \( D \) is the incenter of triangle \( PQR \).
3 replies
Layaliya
Yesterday at 11:03 AM
rong2020
3 hours ago
Constructing sequences
SMOJ   6
N 3 hours ago by lightsynth123
Source: 2018 Singapore Mathematical Olympiad Senior Q5
Starting with any $n$-tuple $R_0$, $n\ge 1$, of symbols from $A,B,C$, we define a sequence $R_0, R_1, R_2,\ldots,$ according to the following rule: If $R_j= (x_1,x_2,\ldots,x_n)$, then $R_{j+1}= (y_1,y_2,\ldots,y_n)$, where $y_i=x_i$ if $x_i=x_{i+1}$ (taking $x_{n+1}=x_1$) and $y_i$ is the symbol other than $x_i, x_{i+1}$ if $x_i\neq x_{i+1}$. Find all positive integers $n>1$ for which there exists some integer $m>0$ such that $R_m=R_0$.
6 replies
SMOJ
Mar 31, 2020
lightsynth123
3 hours ago
Orthocenter is the midpoint of the altitude
plagueis   6
N 3 hours ago by FrancoGiosefAG
Source: Mexican Quarantine Mathematical Olympiad P4
Let $ABC$ be an acute triangle with orthocenter $H$. Let $A_1$, $B_1$ and $C_1$ be the feet of the altitudes of triangle $ABC$ opposite to vertices $A$, $B$, and $C$ respectively. Let $B_2$ and $C_2$ be the midpoints of $BB_1$ and $CC_1$, respectively. Let $O$ be the intersection of lines $BC_2$ and $CB_2$. Prove that $O$ is the circumcenter of triangle $ABC$ if and only if $H$ is the midpoint of $AA_1$.

Proposed by Dorlir Ahmeti
6 replies
plagueis
Apr 26, 2020
FrancoGiosefAG
3 hours ago
Inspired by JK1603JK
sqing   3
N 3 hours ago by SunnyEvan
Source: Own
Let $ a,b,c\geq 0 $ and $ab+bc+ca=1.$ Prove that$$\frac{abc-2}{abc-1}\ge \frac{4(a^2b+b^2c+c^2a)}{a^3b+b^3c+c^3a+1} $$
3 replies
sqing
Today at 3:31 AM
SunnyEvan
3 hours ago
polynomial
tiendat004   0
4 hours ago
Let $p$ and $q$ be two prime numbers, with $p$ being a divisor of $q-1$. Prove that there exist integers $a,b,c,d$ such that the polynomial $x^p+cx+d$ is divisible by the polynomial $x^2+ax+b$ with $c$ is a multiple of $q$ and $b\neq 0$.
0 replies
tiendat004
4 hours ago
0 replies
IMO 2018 Problem 1
juckter   168
N 4 hours ago by Trasher_Cheeser12321
Let $\Gamma$ be the circumcircle of acute triangle $ABC$. Points $D$ and $E$ are on segments $AB$ and $AC$ respectively such that $AD = AE$. The perpendicular bisectors of $BD$ and $CE$ intersect minor arcs $AB$ and $AC$ of $\Gamma$ at points $F$ and $G$ respectively. Prove that lines $DE$ and $FG$ are either parallel or they are the same line.

Proposed by Silouanos Brazitikos, Evangelos Psychas and Michael Sarantis, Greece
168 replies
juckter
Jul 9, 2018
Trasher_Cheeser12321
4 hours ago
An epitome of config geo
AndreiVila   9
N 4 hours ago by ihategeo_1969
Source: The Golden Digits Contest, December 2024, P3
Let $ABC$ be a scalene acute triangle with incenter $I$ and circumcircle $\Omega$. $M$ is the midpoint of small arc $BC$ on$\Omega$ and $N$ is the projection of $I$ onto the line passing through the midpoints of $AB$ and $AC$. A circle $\omega$ with center $Q$ is internally tangent to $\Omega$ at $A$, and touches segment $BC$. If the circle with diameter $IM$ meets $\Omega$ again at $J$, prove that $JI$ bisects $\angle QJN$.

Proposed by David Anghel
9 replies
AndreiVila
Dec 22, 2024
ihategeo_1969
4 hours ago
Bishops and permutations
Assassino9931   8
N Mar 30, 2025 by awesomeming327.
Source: RMM 2024 Problem 1
Let $n$ be a positive integer. Initially, a bishop is placed in each square of the top row of a $2^n \times 2^n$
chessboard; those bishops are numbered from $1$ to $2^n$ from left to right. A jump is a simultaneous move made by all bishops such that each bishop moves diagonally, in a straight line, some number of squares, and at the end of the jump, the bishops all stand in different squares of the same row.

Find the total number of permutations $\sigma$ of the numbers $1, 2, \ldots, 2^n$ with the following property: There exists a sequence of jumps such that all bishops end up on the bottom row arranged in the order $\sigma(1), \sigma(2), \ldots, \sigma(2^n)$, from left to right.

Israel
8 replies
Assassino9931
Feb 29, 2024
awesomeming327.
Mar 30, 2025
Bishops and permutations
G H J
Source: RMM 2024 Problem 1
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Assassino9931
1220 posts
#1 • 2 Y
Y by Phorphyrion, Zfn.nom-_nom
Let $n$ be a positive integer. Initially, a bishop is placed in each square of the top row of a $2^n \times 2^n$
chessboard; those bishops are numbered from $1$ to $2^n$ from left to right. A jump is a simultaneous move made by all bishops such that each bishop moves diagonally, in a straight line, some number of squares, and at the end of the jump, the bishops all stand in different squares of the same row.

Find the total number of permutations $\sigma$ of the numbers $1, 2, \ldots, 2^n$ with the following property: There exists a sequence of jumps such that all bishops end up on the bottom row arranged in the order $\sigma(1), \sigma(2), \ldots, \sigma(2^n)$, from left to right.

Israel
This post has been edited 1 time. Last edited by Assassino9931, Mar 4, 2024, 10:59 AM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
DottedCaculator
7326 posts
#2 • 1 Y
Y by khina
Reindex to $0$ through $2^n-1$. Notice that the possible jumps map $k$ to $k\oplus2^m$ and move $2^m$ rows, so $\sigma(k)=k\oplus z$ for all odd $0\leq z<2^n$ by parity, giving a total of $\boxed{2^{n-1}}$ possible $\sigma$.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
ihatemath123
3441 posts
#3 • 1 Y
Y by ATGY
Number the columns $0$ thru $2^n-1$. It's easy to see by induction or whatnot that the "bishop moving" process is equivalent to picking a place value $i$ from $0$ to $n-1$, and toggling the $i$th binary digit of each bishop's column number.

Define the value of a move as $i$, if it toggles the $i$th binary digit in the column number of each bishop.

Moves of the same value that appear twice will cancel each other out, so the final permutation of our bishops is just determined by whether we make an even or odd number of moves of each value. We must make an odd number of moves of value $1$, since the bishops traverse an odd number of rows, but otherwise, the other $n-1$ parities can be anything. It follows that the answer is $2^{n-1}$.
This post has been edited 2 times. Last edited by ihatemath123, Mar 1, 2024, 2:50 AM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
VicKmath7
1386 posts
#4
Y by
Solution
This post has been edited 15 times. Last edited by VicKmath7, Mar 2, 2024, 3:17 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
vsamc
3787 posts
#5
Y by
Solution
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Leo.Euler
577 posts
#7 • 2 Y
Y by TheBlackPuzzle913, Radmandookheh
First, suppose that the bishops can displace by $k$ rows down. Then, it follows that the first $k$ bishops have to displace by $+k$ horizontally, and the next $k$ are consequently forced to displace by $-k$. This gives us a ``connected block" of $2k$ bishops: an example with $k=3$ is shown below.
https://cdn.discordapp.com/attachments/1069403895304040531/1214294379540385852/Screen_Shot_2024-03-04_at_11.32.18_AM.png?ex=65f896c4&is=65e621c4&hm=997671dfdfdd13deb23c574978cdd1d5f5a3e1a69bf11e49bda9322e586b1943& Repeating this on the remaining bishops, we find that $2k \mid 2^n$, or $k \mid 2^{n-1}$. The construction for such $k$ recycles the connected blocks idea.

Using the construction for $k \mid 2^{n-1}$, it is easy to see that the move of displacing by $k$ rows down is equivalent to toggling the $(1 + \log_2 k)$th digit from the right in the binary representation of the $x$-coordinate of a bishop, where we set the $x$-coordinates to be from $0$ to $2^n-1$.

Thus, we realize that the end permutation corresponds to toggling some of the digits of the binary representations of the numbers. In particular, each end permutation corresponds to some subset of $S$ of $\{2^0, 2^1, \dots, 2^{n-1}\}$ such that there exists a linear combination of the elements of $S$ with odd coefficients that sums to $2^n-1$. We can construct a bijection with such $S$ and the binary representations of all odd positive integers less than or equal to $2^n - 1$, which is $\boxed{2^{n-1}}$. Done.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
lnzhonglp
120 posts
#8
Y by
Let the size of a jump be the number of rows down it moves the bishops. It's easy to see that we can only make jumps of size $2^k$ for $k < n$. A jump of size $2^k$ swaps adjacent groups of $2^k$ bishops, so the order of the jumps doesn't matter. Two jumps of the same size cancel each other out, so we can replace any jump of size $2^k$ with two jumps of size $2^{k-1}$, effectively deleting the jump. $2^n = 2^{n-1} + \dots + 1$, so we can choose whether to include a jump of size $2^k$ for each of $1 \leq k \leq n-1$. Therefore, the answer is $2^{n-1}$.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
MathLuis
1471 posts
#10 • 1 Y
Y by dolphinday
Thought process is extremely important for this question, i like it.
Fitst of all why do we have $2^n$ here?, try to perform a move from a row to a row that is a distance that contains an odd prime factor of row's ahead ;) . You will notice that you really can't do this from a forcing algorithm to perform such move (i.e. looking where bishop $1$ goes, then $2$ then $3$ and so on) it must satisfy to cover the entire row so in fact the distance tells the movement of the bishops in "chunks", and since it has an odd prime factor it can't divide $2^n$ so you can only move $2^m$ rows ahead for some non-negative $m \le n-1$ (you can't achieve $m=n$ directly because of the bishops in the middle).
The following observation that you can permute the process, is key and this is true because you can check by the "chunks" where each bishop is assigned so you can swap two processes that are next to each other and thus do that to swap any two. And also note that performing a move an even number of times is basically not performing a move at all (from this observation).
The reason why this is so important is because then by a chessboard coloring a bishop keeps it's square color invariant so it only has $2^{n-1}$ possibilities in the otherside, but when we pick any of them the rest of the bishop movements are fixed because the sequence of moves can be permuted and that will change nothing in the end result!, so we can put the ones with the bigger moves at the start and check using the "chunks" for each move to realice that in the back-tracking there was only one way (after performing an optimization of repeating a move the least possible number of times (by transferring the repetitions to moves that move "the farest away" possible)) to get a bishop from a certain square to another, therefore there exists only $2^{n-1}$ possible permutations that can be achieved thus we are done :cool:.
This post has been edited 2 times. Last edited by MathLuis, Sep 5, 2024, 3:45 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
awesomeming327.
1687 posts
#11
Y by
We can represent each jump by a bijective function
\[f:\{1,2,\dots,2^n\}\to\{1,2,\dots,2^n\}\]such that the bishop that is on the $i$th column goes to the $f(i)$th column. A bishop move satisfies: $|f(i)-i|$ is the same as number of rows that the bishop traveled, so there exists a positive integer $c\le 2^n-1$ such that $|f(i)-i|=c$.

Claim 1: The function $f$ exists if and only if $c\in \{1,2,4,8,\dots, 2^{n-1}\}$, and this function is unique when it exists.
Note that $|f(c)-c|=c$ means that $f(c)=2c$. In order for $2c$ to be in the range we must have $c\le 2^{n-1}$.

When $i\le c$, $f(i)$ can equal $i-c$ or $i+c$. Since $i-c$ is not in the range, $f(i)=i+c$. The same can be said for the inverse: $f^{-1}(i)=i+c$. This implies that \[f(\{1,2,\dots,2c\})=\{1,2,\dots,2c\}\]Therefore, when we remove the values from $1$ to $2c$, $f$ is still a bijection. We can therefore apply the same logic inductively to get that we must be able to partition the domain of $f$ in to sets of size $2c$, which means $2c\mid 2^n$, or $c$ is a power of two. In each of these sets, the behavior of $f$ is determined. The claim is proved.
Let the functions that result from the previous claim be $f_i$ for $i=0$, $1$, $\dots$, $n-1$, where $f_i$ has $c=2^i$. Each of these functions, when considering disjoint cycle form of the permutation, is in reality $2^{n-1}$ different cycles of size $2$.

Claim 2: For any two functions $f_i$ and $f_j$ with $i\neq j$, we have $f_i\circ f_j=f_j\circ f_i$.
We will consider the behavior of each individual element. Suppose $i<j$. Let $x$ and $x+2^i$ be mapped to each other. Then $f_j(x)\equiv x\pmod {2^{i+1}}$ so the behavior of $f_j(x)$ and $x$ should be the same under $f_i(x)$, as should $f_j(x+2^i)$ and $x+2^i$. That is,
\[f_i(f_j(x+2^i))=f_j(x)=f_j(f_i(x+2^i))\]and less obviously,
\[f_i(f_j(x))=f_j(x)+2^i=f_j(x+2^i)=f_j(f_i(x))\]where the second equality of the second line is from the fact that $x$ and $x+2^i$ are in the same half of the $2c$-set of $f_j$, so their behavior should be the same.

Since after all our bishop jumps, we must end up an odd number of rows away, so $f_0$ is used an odd number of times. Since $f_i\circ f_i=\text{id}$ for all $i$, and since composition is commutative, we can view $\sigma$ as the composition of zero or one of the $f_i$s for positive integer $i$, and then $f_0$.

Note that there are $2^{n-1}$ of these functions. To prove that they are all different, simply note that the first bishop is in a different location each time because if we order the functions in increasing order of index, we note that the first bishop is always in the first half of the first $2c$-set, so it simply adds $2^i$ for each used $f_i$.
Z K Y
N Quick Reply
G
H
=
a