Stay ahead of learning milestones! Enroll in a class over the summer!

G
Topic
First Poster
Last Poster
k a April Highlights and 2025 AoPS Online Class Information
jlacosta   0
Apr 2, 2025
Spring is in full swing and summer is right around the corner, what are your plans? At AoPS Online our schedule has new classes starting now through July, so be sure to keep your skills sharp and be prepared for the Fall school year! Check out the schedule of upcoming classes below.

WOOT early bird pricing is in effect, don’t miss out! If you took MathWOOT Level 2 last year, no worries, it is all new problems this year! Our Worldwide Online Olympiad Training program is for high school level competitors. AoPS designed these courses to help our top students get the deep focus they need to succeed in their specific competition goals. Check out the details at this link for all our WOOT programs in math, computer science, chemistry, and physics.

Looking for summer camps in math and language arts? Be sure to check out the video-based summer camps offered at the Virtual Campus that are 2- to 4-weeks in duration. There are middle and high school competition math camps as well as Math Beasts camps that review key topics coupled with fun explorations covering areas such as graph theory (Math Beasts Camp 6), cryptography (Math Beasts Camp 7-8), and topology (Math Beasts Camp 8-9)!

Be sure to mark your calendars for the following events:
[list][*]April 3rd (Webinar), 4pm PT/7:00pm ET, Learning with AoPS: Perspectives from a Parent, Math Camp Instructor, and University Professor
[*]April 8th (Math Jam), 4:30pm PT/7:30pm ET, 2025 MATHCOUNTS State Discussion
April 9th (Webinar), 4:00pm PT/7:00pm ET, Learn about Video-based Summer Camps at the Virtual Campus
[*]April 10th (Math Jam), 4:30pm PT/7:30pm ET, 2025 MathILy and MathILy-Er Math Jam: Multibackwards Numbers
[*]April 22nd (Webinar), 4:00pm PT/7:00pm ET, Competitive Programming at AoPS (USACO).[/list]
Our full course list for upcoming classes is below:
All classes run 7:30pm-8:45pm ET/4:30pm - 5:45pm PT unless otherwise noted.

Introductory: Grades 5-10

Prealgebra 1 Self-Paced

Prealgebra 1
Sunday, Apr 13 - Aug 10
Tuesday, May 13 - Aug 26
Thursday, May 29 - Sep 11
Sunday, Jun 15 - Oct 12
Monday, Jun 30 - Oct 20
Wednesday, Jul 16 - Oct 29

Prealgebra 2 Self-Paced

Prealgebra 2
Sunday, Apr 13 - Aug 10
Wednesday, May 7 - Aug 20
Monday, Jun 2 - Sep 22
Sunday, Jun 29 - Oct 26
Friday, Jul 25 - Nov 21

Introduction to Algebra A Self-Paced

Introduction to Algebra A
Monday, Apr 7 - Jul 28
Sunday, May 11 - Sep 14 (1:00 - 2:30 pm ET/10:00 - 11:30 am PT)
Wednesday, May 14 - Aug 27
Friday, May 30 - Sep 26
Monday, Jun 2 - Sep 22
Sunday, Jun 15 - Oct 12
Thursday, Jun 26 - Oct 9
Tuesday, Jul 15 - Oct 28

Introduction to Counting & Probability Self-Paced

Introduction to Counting & Probability
Wednesday, Apr 16 - Jul 2
Thursday, May 15 - Jul 31
Sunday, Jun 1 - Aug 24
Thursday, Jun 12 - Aug 28
Wednesday, Jul 9 - Sep 24
Sunday, Jul 27 - Oct 19

Introduction to Number Theory
Thursday, Apr 17 - Jul 3
Friday, May 9 - Aug 1
Wednesday, May 21 - Aug 6
Monday, Jun 9 - Aug 25
Sunday, Jun 15 - Sep 14
Tuesday, Jul 15 - Sep 30

Introduction to Algebra B Self-Paced

Introduction to Algebra B
Wednesday, Apr 16 - Jul 30
Tuesday, May 6 - Aug 19
Wednesday, Jun 4 - Sep 17
Sunday, Jun 22 - Oct 19
Friday, Jul 18 - Nov 14

Introduction to Geometry
Wednesday, Apr 23 - Oct 1
Sunday, May 11 - Nov 9
Tuesday, May 20 - Oct 28
Monday, Jun 16 - Dec 8
Friday, Jun 20 - Jan 9
Sunday, Jun 29 - Jan 11
Monday, Jul 14 - Jan 19

Intermediate: Grades 8-12

Intermediate Algebra
Monday, Apr 21 - Oct 13
Sunday, Jun 1 - Nov 23
Tuesday, Jun 10 - Nov 18
Wednesday, Jun 25 - Dec 10
Sunday, Jul 13 - Jan 18
Thursday, Jul 24 - Jan 22

Intermediate Counting & Probability
Wednesday, May 21 - Sep 17
Sunday, Jun 22 - Nov 2

Intermediate Number Theory
Friday, Apr 11 - Jun 27
Sunday, Jun 1 - Aug 24
Wednesday, Jun 18 - Sep 3

Precalculus
Wednesday, Apr 9 - Sep 3
Friday, May 16 - Oct 24
Sunday, Jun 1 - Nov 9
Monday, Jun 30 - Dec 8

Advanced: Grades 9-12

Olympiad Geometry
Tuesday, Jun 10 - Aug 26

Calculus
Tuesday, May 27 - Nov 11
Wednesday, Jun 25 - Dec 17

Group Theory
Thursday, Jun 12 - Sep 11

Contest Preparation: Grades 6-12

MATHCOUNTS/AMC 8 Basics
Wednesday, Apr 16 - Jul 2
Friday, May 23 - Aug 15
Monday, Jun 2 - Aug 18
Thursday, Jun 12 - Aug 28
Sunday, Jun 22 - Sep 21
Tues & Thurs, Jul 8 - Aug 14 (meets twice a week!)

MATHCOUNTS/AMC 8 Advanced
Friday, Apr 11 - Jun 27
Sunday, May 11 - Aug 10
Tuesday, May 27 - Aug 12
Wednesday, Jun 11 - Aug 27
Sunday, Jun 22 - Sep 21
Tues & Thurs, Jul 8 - Aug 14 (meets twice a week!)

AMC 10 Problem Series
Friday, May 9 - Aug 1
Sunday, Jun 1 - Aug 24
Thursday, Jun 12 - Aug 28
Tuesday, Jun 17 - Sep 2
Sunday, Jun 22 - Sep 21 (1:00 - 2:30 pm ET/10:00 - 11:30 am PT)
Monday, Jun 23 - Sep 15
Tues & Thurs, Jul 8 - Aug 14 (meets twice a week!)

AMC 10 Final Fives
Sunday, May 11 - Jun 8
Tuesday, May 27 - Jun 17
Monday, Jun 30 - Jul 21

AMC 12 Problem Series
Tuesday, May 27 - Aug 12
Thursday, Jun 12 - Aug 28
Sunday, Jun 22 - Sep 21
Wednesday, Aug 6 - Oct 22

AMC 12 Final Fives
Sunday, May 18 - Jun 15

F=ma Problem Series
Wednesday, Jun 11 - Aug 27

WOOT Programs
Visit the pages linked for full schedule details for each of these programs!


MathWOOT Level 1
MathWOOT Level 2
ChemWOOT
CodeWOOT
PhysicsWOOT

Programming

Introduction to Programming with Python
Thursday, May 22 - Aug 7
Sunday, Jun 15 - Sep 14 (1:00 - 2:30 pm ET/10:00 - 11:30 am PT)
Tuesday, Jun 17 - Sep 2
Monday, Jun 30 - Sep 22

Intermediate Programming with Python
Sunday, Jun 1 - Aug 24
Monday, Jun 30 - Sep 22

USACO Bronze Problem Series
Tuesday, May 13 - Jul 29
Sunday, Jun 22 - Sep 1

Physics

Introduction to Physics
Wednesday, May 21 - Aug 6
Sunday, Jun 15 - Sep 14
Monday, Jun 23 - Sep 15

Physics 1: Mechanics
Thursday, May 22 - Oct 30
Monday, Jun 23 - Dec 15

Relativity
Sat & Sun, Apr 26 - Apr 27 (4:00 - 7:00 pm ET/1:00 - 4:00pm PT)
Mon, Tue, Wed & Thurs, Jun 23 - Jun 26 (meets every day of the week!)
0 replies
jlacosta
Apr 2, 2025
0 replies
source own
Bet667   5
N 31 minutes ago by GeoMorocco
Let $x,y\ge 0$ such that $2(x+y)=1+xy$ then find minimal value of $$x+\frac{1}{x}+\frac{1}{y}+y$$
5 replies
Bet667
2 hours ago
GeoMorocco
31 minutes ago
Cross-ratio Practice!
shanelin-sigma   3
N 33 minutes ago by MENELAUSS
Source: 2024 imocsl G3 (Night 6-G)
Triangle $ABC$ has circumcircle $\Omega$ and incircle $\omega$, where $\omega$ is tangent to $BC, CA, AB$ at $D,E,F$, respectively. $T$ is an arbitrary point on $\omega$. $EF$ meets $BC$ at $K$, $AT$ meets $\Omega$ again at $P$, $PK$ meets $\Omega$ again at $S$. $X$ is a point on $\Omega$ such that $S, D, X$ are colinear. Let $Y$ be the intersection of $AX$ and $EF$, prove that $YT$ is tangent to $\omega$.

Proposed by chengbilly
3 replies
1 viewing
shanelin-sigma
Aug 8, 2024
MENELAUSS
33 minutes ago
Segment ratio
xeroxia   3
N 34 minutes ago by Blackbeam999
Let $B$ and $C$ be points on a circle with center $A$.
Let $D$ be a point on segment $AB$.
Let $F$ be one of the intersections of the circle with center $D$ and passing through $B$ and the circle with diameter $DC$.
Prove that $\dfrac {AD}{AC} = \dfrac {CF^2}{CB^2}$.
3 replies
xeroxia
Sep 11, 2024
Blackbeam999
34 minutes ago
Iran second round 2025-q1
mohsen   1
N an hour ago by sami1618
Find all positive integers n>2 such that sum of n and any of its prime divisors is a perfect square.
1 reply
mohsen
Today at 10:21 AM
sami1618
an hour ago
Calculus BC help
needcalculusasap45   0
5 hours ago
So basically, I have the AP Calculus BC exam in less than a month, and I have only covered until Unit 6 or 7 of the cirriculum. I am self studying this course (no teacher) and have not had much time to study bc of 6 other APs. I need to finish 8, 9, and 10 in less than 2 weeks. What can I do ? I would appreciate any help or resources anyone could provide. Could I just learn everything from barrons and princeton? Also, I have not taken AP Calculus AB before.

0 replies
needcalculusasap45
5 hours ago
0 replies
Inequalities
sqing   9
N 5 hours ago by sqing
Let $ a,b,c> 0 $ and $  \frac{a}{a^2+ab+c}+\frac{b}{b^2+bc+a}+\frac{c}{c^2+ca+b} \geq 1$. Prove that
$$  a+b+c\leq 3    $$
9 replies
sqing
Apr 4, 2025
sqing
5 hours ago
Geometry
German_bread   1
N Today at 12:01 PM by vanstraelen
A semicircle k with radius r is constructed over the line segment ST. Let D be a point on the line segment ST that is different from S and T. The two squares ABCD and DEF G lie in the half-plane of the semicircle such that points B and F lie on the semicircle k and points S, C, D, E, and T lie on a straight line in that order. (Points A and/or G can also lie outside the semicircle if necessary.)
Investigate whether the sum of the areas of the squares ABCD and DEFG depends on the position of point D on the line segment ST.

German math olympiad, class 9, 2022
1 reply
German_bread
Today at 10:00 AM
vanstraelen
Today at 12:01 PM
Indonesia Regional MO 2019 Part A
parmenides51   22
N Today at 10:43 AM by SomeonecoolLovesMaths
Indonesia Regional MO
Year 2019 Part A

Time: 90 minutes Rules


p1. In the bag there are $7$ red balls and $8$ white balls. Audi took two balls at once from inside the bag. The chance of taking two balls of the same color is ...


p2. Given a regular hexagon with a side length of $1$ unit. The area of the hexagon is ...


p3. It is known that $r, s$ and $1$ are the roots of the cubic equation $x^3 - 2x + c = 0$. The value of $(r-s)^2$ is ...


p4. The number of pairs of natural numbers $(m, n)$ so that $GCD(n,m) = 2$ and $LCM(m,n) = 1000$ is ...


p5. A data with four real numbers $2n-4$, $2n-6$, $n^2-8$, $3n^2-6$ has an average of $0$ and a median of $9/2$. The largest number of such data is ...


p6. Suppose $a, b, c, d$ are integers greater than $2019$ which are four consecutive quarters of an arithmetic row with $a <b <c <d$. If $a$ and $d$ are squares of two consecutive natural numbers, then the smallest value of $c-b$ is ...


p7. Given a triangle $ABC$, with $AB = 6$, $AC = 8$ and $BC = 10$. The points $D$ and $E$ lies on the line segment $BC$. with $BD = 2$ and $CE = 4$. The measure of the angle $\angle DAE$ is ...


p8. Sequqnce of real numbers $a_1,a_2,a_3,...$ meet $\frac{na_1+(n-1)a_2+...+2a_{n-1}+a_n}{n^2}=1$ for each natural number $n$. The value of $a_1a_2a_3...a_{2019}$ is ....


p9. The number of ways to select four numbers from $\{1,2,3, ..., 15\}$ provided that the difference of any two numbers at least $3$ is ...


p10. Pairs of natural numbers $(m , n)$ which satisfies $$m^2n+mn^2 +m^2+2mn = 2018m + 2019n + 2019$$are as many as ...


p11. Given a triangle $ABC$ with $\angle ABC =135^o$ and $BC> AB$. Point $D$ lies on the side $BC$ so that $AB=CD$. Suppose $F$ is a point on the side extension $AB$ so that $DF$ is perpendicular to $AB$. The point $E$ lies on the ray $DF$ such that $DE> DF$ and $\angle ACE = 45^o$. The large angle $\angle AEC$ is ...


p12. The set of $S$ consists of $n$ integers with the following properties: For every three different members of $S$ there are two of them whose sum is a member of $S$. The largest value of $n$ is ....


p13. The minimum value of $\frac{a^2+2b^2+\sqrt2}{\sqrt{ab}}$ with $a, b$ positive reals is ....


p14. The polynomial P satisfies the equation $P (x^2) = x^{2019} (x+ 1) P (x)$ with $P (1/2)= -1$ is ....


p15. Look at a chessboard measuring $19 \times 19$ square units. Two plots are said to be neighbors if they both have one side in common. Initially, there are a total of $k$ coins on the chessboard where each coin is only loaded exactly on one square and each square can contain coins or blanks. At each turn. You must select exactly one plot that holds the minimum number of coins in the number of neighbors of the plot and then you must give exactly one coin to each neighbor of the selected plot. The game ends if you are no longer able to select squares with the intended conditions. The smallest number of $k$ so that the game never ends for any initial square selection is ....
22 replies
parmenides51
Nov 11, 2021
SomeonecoolLovesMaths
Today at 10:43 AM
Maximizing the Sum of Minimum Differences in Permutations
chinawgp   0
Today at 10:20 AM
Problem Statement

Given a positive integer n \geq 3 , consider a permutation \pi = (a_1, a_2, \dots, a_n) of \{1, 2, \dots, n\} . For each i ( 1 \leq i \leq n-1 ), define d_i as the minimum absolute difference between a_i and any subsequent element a_j ( j > i ), i.e.,
d_i = \min \{ |a_i - a_j| \mid j > i \}.

Let S_n denote the maximum possible sum of d_i over all permutations of \{1, \dots, n\} , i.e.,
S_n = \max_{\pi} \sum_{i=1}^{n-1} d_i.

Proposed Construction

I found a method to construct a permutation that seems to maximize \sum d_i :
1. Fix a_{n-1} = 1 and a_n = n .
2. For each i (from n-2 down to 1 ):
- Sort a_{i+1}, a_{i+2}, \dots, a_n in increasing order.
- Compute the gaps between consecutive elements.
- Place a_i in the middle of the largest gap (if the gap has even length, choose the smaller midpoint).

Partial Results

1. I can prove that 1 and n must occupy the last two positions. Otherwise, moving either 1 or n further right does not decrease \sum d_i .
2. The construction greedily maximizes each d_i locally, but I’m unsure if this ensures global optimality.

Request for Help

- Does this construction always yield the maximum S_n ?
- If yes, how can we rigorously prove it? (Induction? Exchange arguments?)
- If no, what is the correct approach?

Observations:
- The construction works for small n (e.g., n=3,4,5,...,12 ).
- The problem resembles optimizing "minimum gaps" in permutations.

Any insights or references would be greatly appreciated!
0 replies
chinawgp
Today at 10:20 AM
0 replies
no of integer soultions of ||x| - 2020| < 5 - IOQM 2020-21 p5
parmenides51   9
N Today at 9:11 AM by AshAuktober
Find the number of integer solutions to $||x| - 2020| < 5$.
9 replies
parmenides51
Jan 18, 2021
AshAuktober
Today at 9:11 AM
Geometry
German_bread   2
N Today at 8:31 AM by German_bread
Let P be a point in a square ABCD. The lengths of segments PA, PB, PC are 17, 11 and 5 respectively. Determine the area of the square and if it can’t be determined exactly, all possible values are to be listed.

German math Olympiad, Class 9, 2024

It’s my first time posting - please excuse any mistakes
2 replies
German_bread
Yesterday at 7:59 PM
German_bread
Today at 8:31 AM
A Loggy Problem from Pythagoras
Mathzeus1024   6
N Today at 8:01 AM by Mathzeus1024
Prove or disprove: $\exists x \in \mathbb{R}^{+}$ such that $\ln(x), \ln(2x), \ln(3x)$ are the lengths of a right triangle.
6 replies
Mathzeus1024
Yesterday at 10:55 AM
Mathzeus1024
Today at 8:01 AM
Nesbitt inequality
Mathskidd   1
N Today at 7:20 AM by sqing


$$
$$Would anyone tell me whether the number of ways for proving Nesbitt inequality more than one hundred ?
1 reply
Mathskidd
Today at 5:08 AM
sqing
Today at 7:20 AM
Algebra Problems
ilikemath247365   10
N Today at 4:25 AM by lgx57
Find all real $(a, b)$ with $a + b = 1$ such that

$(a + \frac{1}{a})^{2} + (b + \frac{1}{b})^{2} = \frac{25}{2}$.
10 replies
ilikemath247365
Apr 14, 2025
lgx57
Today at 4:25 AM
IMO ShortList 2001, combinatorics problem 2
orl   58
N Apr 14, 2025 by gladIasked
Source: IMO ShortList 2001, combinatorics problem 2
Let $n$ be an odd integer greater than 1 and let $c_1, c_2, \ldots, c_n$ be integers. For each permutation $a = (a_1, a_2, \ldots, a_n)$ of $\{1,2,\ldots,n\}$, define $S(a) = \sum_{i=1}^n c_i a_i$. Prove that there exist permutations $a \neq b$ of $\{1,2,\ldots,n\}$ such that $n!$ is a divisor of $S(a)-S(b)$.
58 replies
orl
Sep 30, 2004
gladIasked
Apr 14, 2025
IMO ShortList 2001, combinatorics problem 2
G H J
Source: IMO ShortList 2001, combinatorics problem 2
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
orl
3647 posts
#1 • 7 Y
Y by Adventure10, mathematicsy, megarnie, TFIRSTMGMEDALIST, Mango247, NicoN9, cubres
Let $n$ be an odd integer greater than 1 and let $c_1, c_2, \ldots, c_n$ be integers. For each permutation $a = (a_1, a_2, \ldots, a_n)$ of $\{1,2,\ldots,n\}$, define $S(a) = \sum_{i=1}^n c_i a_i$. Prove that there exist permutations $a \neq b$ of $\{1,2,\ldots,n\}$ such that $n!$ is a divisor of $S(a)-S(b)$.
Attachments:
This post has been edited 2 times. Last edited by orl, Oct 25, 2004, 12:13 AM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
orl
3647 posts
#2 • 3 Y
Y by Adventure10, Mango247, cubres
Please post your solutions. This is just a solution template to write up your solutions in a nice way and formatted in LaTeX. But maybe your solution is so well written that this is not required finally. For more information and instructions regarding the ISL/ILL problems please look here: introduction for the IMO ShortList/LongList project and regardingsolutions :)
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Yimin Ge
253 posts
#3 • 21 Y
Y by iarnab_kundu, Akababa, B.J.W.T, Polynom_Efendi, XbenX, OlympusHero, Math_Is_Fun_101, Quidditch, TFIRSTMGMEDALIST, Mehrshad, Aopamy, Crazy4Hitman, Adventure10, Mango247, sabkx, cubres, and 5 other users
Ah...at last I solved an IMO-Combinatorics problem.

We consider all $n!$ Permutations $a$ of ${1,\ldots,n}$ and the corresponding $S(a)$ modulo $n!$. If two of them are congruent $\mod{ n!}$, then we are done.
So let's suppose that all $n!$ permutations are in different residues. Sum up over $S(a)$ and we have
\[ \sum_{a}S(a)\equiv 0+1+\ldots+n!-1 \equiv \frac{(n!-1)n!}2\mod {n!} \]
But on the other hand, we have
\[ \sum_{a}S(a)=\sum_{i=1}^nc_i( (n-1)!\cdot (1+2+\ldots+n)) = \sum_{i=1}^nc_i( n! \cdot \frac{n+1}2) \]
Since $n$ is odd, we have $2\mid n+1$, thus $\sum_a S(a)\equiv 0 \mod{n!}$,
so we have
\[ \frac{(n!-1)n!}2\equiv 0\mod{n!} \]
which is a contradiction since $n!$ is even.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Zhero
2043 posts
#4 • 4 Y
Y by Mehrshad, Adventure10, Mango247, cubres
Suppose for the sake of contradiction that for all permutations $a$ and $b$ of $\{1,2, \ldots, n\}$, we have that $S(a) \neq S(b) \pmod{n!}$. There are $n!$ permutations of $\{1,2, \ldots, n\}$ and $n!$ residue classes modulo $n!$, so for every integer $m$ with $0 \leq m < n!$, there is a unique permutation $a$ of $\{1,2,\ldots,n\}$ such that $S(a) \equiv m \pmod{n!}$.

Let $k = \frac{(n+1)(c_1 + c_2 + \cdots + c_n)}{2}$. We can find some permutation $a = (a_1, a_2, \ldots, a_n)$ such that $S(a) \equiv c_1 a_1 + c_2 a_2 + \cdots + c_n a_n \equiv k \pmod{n!}$. But the permutation $a' = (n+1-a_1, n+1-a_2, \ldots, n+1-a_n)$ also satisfies $S(a) \equiv (n+1)(c_1 + c_2 + \cdots + c_n) - (c_1 a_1 + c_2 a_2 + \cdots + c_n a_n) \equiv 2k - k \equiv k \pmod{n!}$.
Hence, $a'$ and $a$ must be the same permutation, which is absurd.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
AnonymousBunny
339 posts
#5 • 3 Y
Y by Adventure10, Mango247, cubres
Let $\mathcal{P}_1, \mathcal{P}_2, \cdots , \mathcal{P}_{n!}$ denote the $n!$ permutations of $(1, 2, \cdots , n).$ We shall take the indices modulo $n!,$ meaning that $\mathcal{P}_x = \mathcal{P}_{x \pmod{n!}}.$ Also, let $\mathcal{D}_{n,x}$ denote the $x$th digit of $\mathcal{P}_n.$ Suppose the problem statement isn't true. Then,
\[S(\mathcal{P}_x) \equiv S(\mathcal{P}_y) \pmod{n!} \iff x \equiv y \pmod{n!},\]
implying that $\mathcal{P}_i$ is bijective modulo $n!,$ or in other words, $(S(\mathcal{P}_1), S(\mathcal{P}_2), \cdots , S(\mathcal{P}_{n!}))$ is equivalent to $(1, 2, \cdots , n!)$ modulo $n!$ in some order. We then have
\[\displaystyle \sum_{i=1}^{n!} S(\mathcal{P}_i) \equiv \displaystyle \sum_{i=1}^{n!} i \equiv \dfrac{n!(n!+1)}{2} \pmod{n!}.\]
But we also have
\begin{align*}
\displaystyle \sum_{i=1}^{n} S(\mathcal{P}_i) & \equiv \displaystyle \sum_{i=1}^{n} \left( \displaystyle \sum_{j=1}^{n} c_j \mathcal{D}_{i,j} \right) \\
& \equiv (n-1)! \displaystyle \sum_{j=1}^{n} c_j \left( \displaystyle \sum_{k=1}^{n} \mathcal{D}_{j,k} \right) \\
& \equiv \dfrac{n(n+1)}{2} (n-1)! \cdot \left( \displaystyle \sum_{j=1}^{n} c_i \right) \\
& \equiv 0 \pmod{n!},\end{align*}
implying $\dfrac{n!(n!+1)}{2} \equiv 0 \pmod{n!} \implies 2 \mid n!+1,$ contradiction. $\blacksquare$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
AMN300
563 posts
#6 • 3 Y
Y by Adventure10, Mango247, cubres
Wow, this problem is really nice. Unfortunately my solution seems to be pretty similar compared to previous ones in the thread :(

FTSOC $S(1), S(2), \cdots, S(n!)$ are all distinct residues $\pmod{n!}$. Let's consider $S=\sum_{j=1}^{n!} \sum_{i=1}^{n} c_ia_i$ in two different ways. First, summing over $S(1), \cdots, S(n!)$ we have $S=1!+2!+\cdots+(n!-1) \equiv \frac{n!(n!-1)}{2} \pmod{n!}$, which isn't $0 \pmod{n!}$. Considering $S$ a different way, observe that there are $(n-1)!$ times where $c_i$ has coefficient $1, 2, \cdots, n$, $1 \le i \le n$. Summing up over the $c$'s, we have $S=(n-1)! \frac{n(n+1)}{2} \sum_{i=1}^{n} c_i \equiv 0 \pmod{n!}$. This is our contradiction 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.
Takeya.O
769 posts
#7 • 4 Y
Y by mathematiculperson, Adventure10, Mango247, cubres
I apologize to everyone for my solution being similar to above solution.

Let $S_{n}$ be set of all permutation of $(1,\dots ,n)$.We suppose that there is no $a\neq b$ which satisfy $S(a)\equiv S(b)\mod{n!}$.Then $\{S(a)\}_{a\in S_{n}}{}$ is $\{0,1,\dots ,n!-1\}$ in$\mod{n!}$.We calculate $\sum_{a\in S_{n}}{}S(a)$ in $2$ ways.

First
$\sum_{a\in S_{n}}{}S(a)\equiv \sum_{k=0}^{n!-1}k\equiv \frac{(n!-1)(n!)}{2}\mod{n!}$.

Second
The number of permutations which $a_i=k(1\le i,k\le n)$ is $(n-1)!$.Thus
$\sum_{a\in S_{n}}{}S(a)\equiv \sum_{i=1}^{n}c_{i}\cdot (n-1)!\cdot (1+\dots +n)$
$\equiv n!\frac{n+1}{2}\sum_{i=1}^{n}c_{i}\equiv 0\mod{n!}$.

From First and Second,
$\frac{(n!-1)(n!)}{2}\equiv 0\mod{n!}\Leftrightarrow \frac{n!}{2}\equiv 0\mod{n!}$ which is absurd.Therefore $a\neq b$ s.t. $n! | S(a)-S(b)$.$\blacksquare$

:coolspeak:
This post has been edited 9 times. Last edited by Takeya.O, Aug 23, 2016, 1:09 PM
Reason: Latex miss
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
ayan.nmath
643 posts
#8 • 2 Y
Y by Adventure10, cubres
ISL 2001 C2 wrote:
Let $n$ be an odd integer greater than 1 and let $c_1, c_2, \ldots, c_n$ be integers. For each permutation $a = (a_1, a_2, \ldots, a_n)$ of $\{1,2,\ldots,n\}$, define $S(a) = \sum_{i=1}^n c_i a_i$. Prove that there exist permutations $a \neq b$ of $\{1,2,\ldots,n\}$ such that $n!$ is a divisor of $S(a)-S(b)$.

Solution.

Let $\mathcal{P}$ be the set of all permutations of $\{1,2,3,\ldots,n\}.$ Assume for the sake of contradiction that there doesn't exist such $a\ne b.$ Consider the multiset $T=\{S(\pi)\mid \pi\in\mathcal P\},$ because of our assumption and $|T|=n!$ , when we take $T$ modulo $n!$ we get the complete set of residues modulo $n!~.$ Let $X=(x_1,x_2,x_3,\ldots,x_n)$ be the permutation such that
\[S(X)\equiv \left(\frac{n+1}{2}\right)\left(\sum_{i=1}^{n}c_i\right)\pmod{n!}\]Define $\overline{X}=(n+1-x_1,n+1-x_2,\ldots,n+1-x_n),$ note that $X\ne \overline{X}$ and that $\overline{X}$ is a valid permutation.
Now,
\[S(\overline{X})=\sum_{i=1}^n c_i(n+1-x_i)=(n+1)\sum_{i=1}^n c_i-S(X)\equiv (n+1)\sum_{i=1}^n c_i- \left(\frac{n+1}{2}\right)\left(\sum_{i=1}^{n}c_i\right)\pmod{n!}\equiv S(X)\pmod{n!}\]Which is a contradiction to our assumption. And 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.
yayups
1614 posts
#9 • 4 Y
Y by shivprateek, Adventure10, Mango247, cubres
Suppose for sake of contradiction that this didn't happen. Then, all the $S(\sigma)\pmod{n!}$ are different for all $\sigma\in S_n$. Choose $\sigma$ uniformly at random. By linearity of expectation, we have
\[\mathbb{E} S(\sigma)=c_i\frac{n+1}{2},\]so
\[\sum_{\sigma\in S_n}S(\sigma)=\frac{(n+1)!}{2}\sum_{i=1}^n c_i\equiv 0\pmod{n!}\]since $\frac{n+1}{2}\in\mathbb{Z}$. By the hypothesis, we have
\[\sum_{\sigma\in S_n}S(\sigma)\equiv\sum_{k=0}^{n!-1}k\equiv\frac{n!(n!-1)}{2}\pmod{n!},\]which isn't divisible by $n!$ since $n!-1$ is odd (this is why we need $n>1$), This is a contradiction, as desired. $\blacksquare$
This post has been edited 1 time. Last edited by yayups, Apr 28, 2019, 4:49 AM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
pad
1671 posts
#10 • 1 Y
Y by Adventure10
Assume FTSOC that all the $S(\pi)$'s are distinct mod $n!$ for all $\pi \in S_n$. Then
\[ \sum_{\pi \in S_n} S(\pi) \equiv 0+\cdots+(n!-1) = \frac{(n!-1)(n!)}{2} \not \equiv 0 \pmod{n!} \]since $n!$ is even for $n>1$.

Treat the permutations and $\{c_i\}$ as vectors in $\mathbb{F}_{n!}^n$. Note that the vector sum of all the permutations is
\[ ((n-1)!\cdot (1+\cdots+n))(1,\ldots,1) = \frac{n!(n+1)}{2}(1,\ldots,1).\]Then
\begin{align*}
    \sum_{\pi \in S_n} S(\pi) &= \sum_{\pi \in S_n} \vec{c}\cdot \pi \\
    &= \vec{c} \cdot \sum_{\pi \in S_n} \pi \\
    &= \vec{c} \cdot \frac{n!(n+1)}{2} (1,\ldots,1) \\
    &= \frac{n!(n+1)}{2} \left(\sum c_i \right) \equiv 0 \pmod{n!}
\end{align*}since $n$ is odd. Contradiction!
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
aops29
452 posts
#11 • 3 Y
Y by AlastorMoody, Adventure10, Mango247
Solution
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
AlastorMoody
2125 posts
#12 • 1 Y
Y by Adventure10
Solution
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
popcorn1
1098 posts
#13 • 2 Y
Y by Mango247, Mango247
For storage.
Suppose not. Then let $\mathcal{P}$ be the set of all permutations $a$. Now for all permutations, their residues are distinct modulo $n!$. Hence
\begin{align*}
        0 + 1 + \dots + (n! - 1) &\equiv \sum_{a\in\mathcal{P}} S(a) \\
        &\equiv \frac{n(n+1)}{2}\cdot(n-1)!\cdot\sum_{i=1}^n c_i
    \end{align*}by looking at the amount of times $1$, $2$, $\dots$, $n$ appears in the $i$th slot. But \[\frac{n(n+1)}{2}\cdot(n-1)!\cdot\sum_{i=1}^n c_i = \frac{n+1}{2}\cdot n!\cdot \sum_{i=1}^n c_i\]and $n$ is odd, so the RHS is congruent to $0$ modulo $n!$. Hence we have $\frac{(n!-1)(n!)}{2} \equiv 0 \mod{n!}$. But $n!$ is even, so this is equivalent to $-\frac{n!}{2}$, which is clearly nonzero modulo $n!$, contradiction.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
HrishiP
1346 posts
#15
Y by
For the sake of contradiction assume this is not the case, which implies that $S(a)$ takes on every residue modulo $n!$ as it ranges over all permutations. Letting $P$ be the set of all permutations, we have that
\begin{align*}
\sum_{k \in P} S(k) &\equiv 0+1+2+\cdots + (n!-1)\\
&\equiv \frac{(n!-1)(n!)}{2} \pmod{n!}.
\end{align*}
If we compute
\begin{align*}
\sum_k S(k) &= \sum^n_{j=1} c_j \times (n-1)! \times (1+2+3+\cdots+n)\\
&= \sum_{j=1}^n c_j\left[(n!)\left(\frac{n+1}{2}\right)\right].
\end{align*}So, $\sum_k S(k) \equiv 0 \mod{n!}.$ Thus we can deduce that
$$\frac{(n!-1)(n!)}{2} \equiv 0 \pmod{n!},$$which is a contradiction since $n!$ is even. $\blacksquare$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
AwesomeYRY
579 posts
#16
Y by
AFTSOC that all $S(a)\neq S(b)$, then the set of $S(p)$ is the residues from $0,1,\ldots, n!-1$. Let $P$ be the set of all permutations, then
\[\sum_{p\in P} S(p) \equiv \frac{(n!-1)(n!)}{2} \not\equiv 0 \pmod{n!}\]however,
\[\sum_{p\in P} S(p) = n!\cdot \frac{1+2+\cdots n}{n}\cdot \sum c_i = n!\cdot \frac{n+1}{2}\sum c_i \equiv 0 \pmod{n!}\]a contradiction, so we are done. $\blacksquare$
Z K Y
G
H
=
a