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
3 var inquality
sqing   0
2 minutes ago
Source: Own
Let $ a,b,c> 0 $ and $  4(a+b) +3c-ab  \geq10$ . Prove that$$a^2+b^2+c^2+abc\geq 4$$
0 replies
1 viewing
sqing
2 minutes ago
0 replies
The old one is gone.
EeEeRUT   3
N 9 minutes ago by ItzsleepyXD
Source: EGMO 2025 P2
An infinite increasing sequence $a_1 < a_2 < a_3 < \cdots$ of positive integers is called central if for every positive integer $n$ , the arithmetic mean of the first $a_n$ terms of the sequence is equal to $a_n$.

Show that there exists an infinite sequence $b_1, b_2, b_3, \dots$ of positive integers such that for every central sequence $a_1, a_2, a_3, \dots, $ there are infinitely many positive integers $n$ with $a_n = b_n$.
3 replies
EeEeRUT
an hour ago
ItzsleepyXD
9 minutes ago
A Projection Theorem
buratinogigle   1
N 16 minutes ago by aidan0626
Source: VN Math Olympiad For High School Students P1 - 2025
In triangle $ABC$, prove that
\[ a = b\cos C + c\cos B. \]
1 reply
+1 w
buratinogigle
an hour ago
aidan0626
16 minutes ago
Interesting inequalities
sqing   4
N 17 minutes ago by sqing
Source: Own
Let $   a,b    $ be reals such that $  a^2+ab+b^2 =1$ . Prove that
$$  \frac{8}{ 5 }> \frac{1}{ a^2+1 }+ \frac{1}{ b^2+1 } \geq 1$$$$   \frac{9}{ 5 }\geq\frac{1}{ a^4+1 }+ \frac{1}{ b^4+1 } \geq 1$$$$  \frac{27}{ 14 }\geq \frac{1}{ a^6+1 }+ \frac{1}{ b^6+1 } \geq  1$$Let $   a,b    $ be reals such that $  a^2+ab+b^2 =3$ . Prove that
$$  \frac{13}{ 10 }> \frac{1}{ a^2+1 }+ \frac{1}{ b^2+1 } \geq \frac{1}{ 2 }$$$$   \frac{6}{ 5 }>\frac{1}{ a^4+1 }+ \frac{1}{ b^4+1 } \geq   \frac{1}{ 5 }$$$$  \frac{1}{ a^6+1 }+ \frac{1}{ b^6+1 } \geq   \frac{1}{ 14 }$$
4 replies
sqing
Yesterday at 8:32 AM
sqing
17 minutes ago
No more topics!
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