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

Contests & Programs AMC and other contests, summer programs, etc.
AMC and other contests, summer programs, etc.
3 M G
BBookmark  VNew Topic kLocked
Contests & Programs AMC and other contests, summer programs, etc.
AMC and other contests, summer programs, etc.
3 M G
BBookmark  VNew Topic kLocked
G
Topic
First Poster
Last Poster
k a March Highlights and 2025 AoPS Online Class Information
jlacosta   0
Mar 2, 2025
March is the month for State MATHCOUNTS competitions! Kudos to everyone who participated in their local chapter competitions and best of luck to all going to State! Join us on March 11th for a Math Jam devoted to our favorite Chapter competition problems! Are you interested in training for MATHCOUNTS? Be sure to check out our AMC 8/MATHCOUNTS Basics and Advanced courses.

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

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

Be sure to mark your calendars for the following events:
[list][*]March 5th (Wednesday), 4:30pm PT/7:30pm ET, HCSSiM Math Jam 2025. Amber Verser, Assistant Director of the Hampshire College Summer Studies in Mathematics, will host an information session about HCSSiM, a summer program for high school students.
[*]March 6th (Thursday), 4:00pm PT/7:00pm ET, Free Webinar on Math Competitions from elementary through high school. Join us for an enlightening session that demystifies the world of math competitions and helps you make informed decisions about your contest journey.
[*]March 11th (Tuesday), 4:30pm PT/7:30pm ET, 2025 MATHCOUNTS Chapter Discussion MATH JAM. AoPS instructors will discuss some of their favorite problems from the MATHCOUNTS Chapter Competition. All are welcome!
[*]March 13th (Thursday), 4:00pm PT/7:00pm ET, Free Webinar about Summer Camps at the Virtual Campus. Transform your summer into an unforgettable learning adventure! From elementary through high school, we offer dynamic summer camps featuring topics in mathematics, language arts, and competition preparation - all designed to fit your schedule and ignite your passion for learning.[/list]
Our full course list for upcoming classes is below:
All classes run 7:30pm-8:45pm ET/4:30pm - 5:45pm PT unless otherwise noted.

Introductory: Grades 5-10

Prealgebra 1 Self-Paced

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

Prealgebra 2 Self-Paced

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


Introduction to Algebra A Self-Paced

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

Introduction to Counting & Probability Self-Paced

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

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

Introduction to Algebra B Self-Paced

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

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

Intermediate: Grades 8-12

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

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

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

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

Advanced: Grades 9-12

Olympiad Geometry
Wednesday, Mar 5 - May 21
Tuesday, Jun 10 - Aug 26

Calculus
Sunday, Mar 30 - Oct 5
Tuesday, May 27 - Nov 11
Wednesday, Jun 25 - Dec 17

Group Theory
Thursday, Jun 12 - Sep 11

Contest Preparation: Grades 6-12

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

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

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

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

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

AMC 12 Final Fives
Sunday, May 18 - Jun 15

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

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


MathWOOT Level 1
MathWOOT Level 2
ChemWOOT
CodeWOOT
PhysicsWOOT

Programming

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

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

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

Physics

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

Physics 1: Mechanics
Tuesday, Mar 25 - Sep 2
Thursday, May 22 - Oct 30
Monday, Jun 23 - Dec 15

Relativity
Sat & Sun, Apr 26 - Apr 27 (4:00 - 7:00 pm ET/1:00 - 4:00pm PT)
Mon, Tue, Wed & Thurs, Jun 23 - Jun 26 (meets every day of the week!)
0 replies
jlacosta
Mar 2, 2025
0 replies
k i Adding contests to the Contest Collections
dcouchman   1
N Apr 5, 2023 by v_Enhance
Want to help AoPS remain a valuable Olympiad resource? Help us add contests to AoPS's Contest Collections.

Find instructions and a list of contests to add here: https://artofproblemsolving.com/community/c40244h1064480_contests_to_add
1 reply
dcouchman
Sep 9, 2019
v_Enhance
Apr 5, 2023
k i Zero tolerance
ZetaX   49
N May 4, 2019 by NoDealsHere
Source: Use your common sense! (enough is enough)
Some users don't want to learn, some other simply ignore advises.
But please follow the following guideline:


To make it short: ALWAYS USE YOUR COMMON SENSE IF POSTING!
If you don't have common sense, don't post.


More specifically:

For new threads:


a) Good, meaningful title:
The title has to say what the problem is about in best way possible.
If that title occured already, it's definitely bad. And contest names aren't good either.
That's in fact a requirement for being able to search old problems.

Examples:
Bad titles:
- "Hard"/"Medium"/"Easy" (if you find it so cool how hard/easy it is, tell it in the post and use a title that tells us the problem)
- "Number Theory" (hey guy, guess why this forum's named that way¿ and is it the only such problem on earth¿)
- "Fibonacci" (there are millions of Fibonacci problems out there, all posted and named the same...)
- "Chinese TST 2003" (does this say anything about the problem¿)
Good titles:
- "On divisors of a³+2b³+4c³-6abc"
- "Number of solutions to x²+y²=6z²"
- "Fibonacci numbers are never squares"


b) Use search function:
Before posting a "new" problem spend at least two, better five, minutes to look if this problem was posted before. If it was, don't repost it. If you have anything important to say on topic, post it in one of the older threads.
If the thread is locked cause of this, use search function.

Update (by Amir Hossein). The best way to search for two keywords in AoPS is to input
[code]+"first keyword" +"second keyword"[/code]
so that any post containing both strings "first word" and "second form".


c) Good problem statement:
Some recent really bad post was:
[quote]$lim_{n\to 1}^{+\infty}\frac{1}{n}-lnn$[/quote]
It contains no question and no answer.
If you do this, too, you are on the best way to get your thread deleted. Write everything clearly, define where your variables come from (and define the "natural" numbers if used). Additionally read your post at least twice before submitting. After you sent it, read it again and use the Edit-Button if necessary to correct errors.


For answers to already existing threads:


d) Of any interest and with content:
Don't post things that are more trivial than completely obvious. For example, if the question is to solve $x^{3}+y^{3}=z^{3}$, do not answer with "$x=y=z=0$ is a solution" only. Either you post any kind of proof or at least something unexpected (like "$x=1337, y=481, z=42$ is the smallest solution). Someone that does not see that $x=y=z=0$ is a solution of the above without your post is completely wrong here, this is an IMO-level forum.
Similar, posting "I have solved this problem" but not posting anything else is not welcome; it even looks that you just want to show off what a genius you are.

e) Well written and checked answers:
Like c) for new threads, check your solutions at least twice for mistakes. And after sending, read it again and use the Edit-Button if necessary to correct errors.



To repeat it: ALWAYS USE YOUR COMMON SENSE IF POSTING!


Everything definitely out of range of common sense will be locked or deleted (exept for new users having less than about 42 posts, they are newbies and need/get some time to learn).

The above rules will be applied from next monday (5. march of 2007).
Feel free to discuss on this here.
49 replies
ZetaX
Feb 27, 2007
NoDealsHere
May 4, 2019
Red Mop Chances
imagien_bad   15
N 3 minutes ago by NoSignOfTheta
What are my chances of making red mop with a 35 on jmo?
15 replies
+4 w
imagien_bad
Yesterday at 8:27 PM
NoSignOfTheta
3 minutes ago
Inspired by A Romanian competition question
sqing   9
N 18 minutes ago by sqing
Source: Own
Let $ a,b,c  $ be reals such that $  a^2+b^2 +ab+bc+ca=1. $ Prove that
$$   (a+ b) c- a b   \leq1$$Let $ a,b,c  $ be reals such that $ a^2+b^2+c^2+ab+bc+ca =1. $ Prove that
$$   29(a+ b) c - 10a b  \leq 10$$Let $ a,b,c  $ be reals such that $  a^2+b^2+c^2+bc+ca=1. $ Prove that
$$   149(a+ b) c- 100a b   \leq50$$
9 replies
sqing
Mar 18, 2025
sqing
18 minutes ago
Number theory
XAN4   4
N 18 minutes ago by XAN4
Source: Own
Find the smallest $n$ such that there exists $x,y\in\mathbb Z^+$ satisfying $x^3-y^2=n$.
Hint
4 replies
XAN4
an hour ago
XAN4
18 minutes ago
Prove that P1(x), P2(x) ,... Pn(x) = k has no root
truongphatt2668   0
20 minutes ago
Let $n \in \mathbb{N}^*$ and $P_1(x),P_2(x), \ldots P_n(x) \in \mathbb{Z}[x]$ such that $\mathrm{deg} P_i = 2, \forall i = \overline{1,n}$. Prove that exists many $k \in \mathbb{N}$ such that every equation: $P_i(x) = k, \forall i = \overline{1,n}$ has no real roots
0 replies
truongphatt2668
20 minutes ago
0 replies
Small geometry problem
Hatsune_Miku   1
N 33 minutes ago by a_smart_alecks
Source: my problem
Let $ABC$ be an acute triangle inscribed in a circle $\Omega$. Let $A_1$ be the orthogonal projection of $A$ on $BC$. Let $X, Y$ be the orthogonal projection of $A_1$ on $AB, AC$ respectively. Let $Z$ be a point such that $AZ$ is the diameter of $\Omega$. Prove that the area of the quadrilateral $AXZY$ is equal to the area of triangle $ABC$.
1 reply
Hatsune_Miku
an hour ago
a_smart_alecks
33 minutes ago
mohs of each oly
cowstalker   2
N 38 minutes ago by Martin2001
what are the general concencus for the mohs of each of the problems on usajmo and usamo
2 replies
+1 w
cowstalker
an hour ago
Martin2001
38 minutes ago
Cyclic ine
m4thbl3nd3r   2
N an hour ago by m4thbl3nd3r
Let $a,b,c>0$ such that $a+b+c=3$. Prove that $$a^3b+b^3c+c^3a+9abc\le 12$$
2 replies
m4thbl3nd3r
Yesterday at 3:17 PM
m4thbl3nd3r
an hour ago
Sharygin 2025 CR P8
Gengar_in_Galar   4
N an hour ago by SimplisticFormulas
Source: Sharygin 2025
The diagonals of a cyclic quadrilateral $ABCD$ meet at point $P$. Points $K$ and $L$ lie on $AC$, $BD$ respectively in such a way that $CK=AP$ and $DL=BP$. Prove that the line joining the common points of circles $ALC$ and $BKD$ passes through the mass-center of $ABCD$.
Proposed by:V.Konyshev
4 replies
Gengar_in_Galar
Mar 10, 2025
SimplisticFormulas
an hour ago
Sharygin 2025 CR P14
Gengar_in_Galar   9
N an hour ago by SimplisticFormulas
Source: Sharygin 2025
A point $D$ lies inside a triangle $ABC$ on the bisector of angle $B$. Let $\omega_{1}$ and $\omega_{2}$ be the circles touching $AD$ and $CD$ at $D$ and passing through $B$; $P$ and $Q$ be the common points of $\omega_{1}$ and $\omega_{2}$ with the circumcircle of $ABC$ distinct from $B$. Prove that the circumcircles of the triangles $PQD$ and $ACD$ are tangent.
Proposed by: L Shatunov
9 replies
Gengar_in_Galar
Mar 10, 2025
SimplisticFormulas
an hour ago
Scary Binomial Coefficient Sum
EpicBird08   34
N an hour ago by MathLuis
Source: USAMO 2025/5
Determine, with proof, all positive integers $k$ such that $$\frac{1}{n+1} \sum_{i=0}^n \binom{n}{i}^k$$is an integer for every positive integer $n.$
34 replies
+1 w
EpicBird08
Friday at 11:59 AM
MathLuis
an hour ago
funny title placeholder
pikapika007   52
N an hour ago by v_Enhance
Source: USAJMO 2025/6
Let $S$ be a set of integers with the following properties:
[list]
[*] $\{ 1, 2, \dots, 2025 \} \subseteq S$.
[*] If $a, b \in S$ and $\gcd(a, b) = 1$, then $ab \in S$.
[*] If for some $s \in S$, $s + 1$ is composite, then all positive divisors of $s + 1$ are in $S$.
[/list]
Prove that $S$ contains all positive integers.
52 replies
pikapika007
Friday at 12:10 PM
v_Enhance
an hour ago
A cyclic inequality
JK1603JK   0
an hour ago
Source: unknown
Let a,b,c be real numbers. Prove that a^6+b^6+c^6\ge 2(a+b+c)(ab+bc+ca)(a-b)(b-c)(c-a).
0 replies
JK1603JK
an hour ago
0 replies
IMO 2024 Prediction
GreenTea2593   100
N an hour ago by ohiorizzler1434
Source: inspired by math90
Hello Aops! Since IMO 2024 is less than a week away,
What are your predictions for the category of each problem at IMO 2024?

If you want to write your prediction, please write it in the form ABC DEF
Where A,B,C,D,E,F are problems 1,2,3,4,5,6 respectively. Each letter should be A,C,G or N.

Rules:
1. Problems 1,2,4,5 are distinct categories.
2. Each day consists of 3 distinct categories.

Edit : the answer is ANC GCA
100 replies
GreenTea2593
Jul 10, 2024
ohiorizzler1434
an hour ago
Mysterious 42
steven_zhang123   0
an hour ago
Source: China TST 2001 Quiz 5 P3
Consider the problem of expressing $42$ as \(42 = x^3 + y^3 + z^3 - w^2\), where \(x, y, z, w\) are integers. Determine the number of ways to represent $42$ in this form and prove your conclusion.
0 replies
steven_zhang123
an hour ago
0 replies
Sad Combinatorics
62861   106
N Friday at 1:30 PM by Zany9998
Source: USAMO 2018 P4 and JMO 2018 P5, by Ankan Bhattacharya
Let $p$ be a prime, and let $a_1, \dots, a_p$ be integers. Show that there exists an integer $k$ such that the numbers
\[a_1 + k, a_2 + 2k, \dots, a_p + pk\]produce at least $\tfrac{1}{2} p$ distinct remainders upon division by $p$.

Proposed by Ankan Bhattacharya
106 replies
62861
Apr 19, 2018
Zany9998
Friday at 1:30 PM
Sad Combinatorics
G H J
G H BBookmark kLocked kLocked NReply
Source: USAMO 2018 P4 and JMO 2018 P5, by Ankan Bhattacharya
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
YaoAOPS
1497 posts
#105
Y by
Let $f(i, j, k)$ be an indicator function such $f(i, j, k)$ is
$1$ if $a_i + ik \equiv a_j + jk \pmod{p}$ and otherwise $0$.

Then, the number of distinct remainders for a fixed
$k$ is at least
\[
    p - \sum_{1 \le i < j \le p} f(i, j, k)
\]
Then, note that for fixed $i \ne j$ and $1 \le k \le p$, that $\mathbb{E}\left[(f(i, j, k)\right] = \frac{1}{p}$
since the $k$ with nonzero output is uniquely determined by $i$ and $j$.
As such,
\begin{align*}
    \mathbb{E}\left[p - \sum_{1 \le i < j \le p} f(i, j, k)\right] &\ge p - \mathbb{E}\left[\sum_{1 \le i < j \le p} f(i, j, k)\right] \\
    &\ge p - \sum_{1 \le i < j \le p} \mathbb{E}\left[f(i, j, k)\right] \\
    &= p - \sum_{1 \le i < j \le p} \frac{1}{p} = p - \frac{1}{p} \cdot \frac{p(p-1)}{2} = \frac{p+1}{2}
\end{align*}by the probailistic method.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
ike.chen
1162 posts
#106
Y by
A nice Combo-NT exercise :).


The problem is vacuous when $p = 2$. Henceforth, we assume $p \ge 3$ and take all integers modulo $p$.

For any $1 \le i < j \le k$, we have $$a_i + i \cdot k \equiv a_j + j \cdot k \pmod{p} \Longleftrightarrow a_i - a_j \equiv k(j-i) \pmod{p}.$$Because $1 \le j-i \le p-1$ holds, $j-i$ must be relatively prime to $p$. Thus, if we fix $i$ and $j$, we know $k(i - j)$ cycles through all residue classes modulo $p$ as $k$ ranges from $0$ to $p-1$. This means there exists a unique $s \in \{0, 1, \ldots, p-1\}$ such that $a_i - a_j \equiv s(j-i) \pmod{p}$.

Notice there are precisely $1 \cdot \binom{p}{2} = \binom{p}{2}$ ordered triples $(i, j, k)$ such that $a_i + i \cdot k \equiv a_j + j \cdot k \pmod{p}$. Moreover, since there are $p$ possible values of $k$ modulo $p$, the PHP implies that there exists a value of $k$ whose corresponding sequence contains at most $\frac{1}{p} \cdot \binom{p}{2} = \frac{p-1}{2}$ pairs of terms which are equivalent modulo $p$. For this particular $k$, suppose the sequence produces exactly $m$ distinct remainders $r_1, r_2, \ldots, r_m$ modulo $p$ which appear $f(r_q)$ times, respectively. Then clearly $\sum_{q=1}^{m} f(r_q) = p$ and $$\frac{p-1}{2} \ge \sum_{q = 1}^{m} \binom{f(r_q)}{2} = \frac{1}{2} \left(\sum_{q=1}^{m} f(r_q)^2 - \sum_{q=1}^{m} f(r_q) \right)$$$$\ge \frac{1}{2} \left( \frac{1}{m} \cdot \left( \sum_{q=1}^{m} f(r_q) \right)^2 - p \right) = \frac{p^2}{2m} - \frac{p}{2}$$by Cauchy-Schwarz, whence $m \ge \frac{p^2}{2p-1} > \frac{p}{2}$. $\blacksquare$


Remark: I just noticed that finishing with a graph theoretical interpretation is far more natural than utilizing Cauchy-Schwarz, as adding an edge decreases the number of connected components by $0$ or $1$.
This post has been edited 6 times. Last edited by ike.chen, Dec 31, 2024, 1:45 AM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
AtharvNaphade
341 posts
#108
Y by
outline
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
pinkpig
3761 posts
#109
Y by
sol
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Shreyasharma
666 posts
#110
Y by
Global?

It suffices to consider the expected value of distinct residues. Note that any two residues are distinct if and only if,
\begin{align*}
a_i + ik \equiv a_j + jk \pmod{p}\\
a_i - a_j \equiv k(j - i) \pmod{p}
\end{align*}Note that there is exactly one value of $k$ which satisfies this for any pair $(i, j)$. Thus any pair leave the same residue with probability $\frac{1}{p}$. Over all pairs, which there are $\binom{p}{2}$ of, we find that we have an expected
$\frac{1}{p} \cdot \binom{p}{2} = \frac{p-1}{2}$
pairs $(i, j)$ such that $a_i + ik \equiv a_j + jk \pmod{p}$. Then by probabilistic pigeonhole there is some $k$ such that we have at most $\frac{p-1}{2}$ such pairs. Thus we have some $k$ such that we have at least $p - \frac{p-1}{2} = \frac{p+1}{2}$ distinct residues.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
amazingtheorem
17 posts
#111 • 1 Y
Y by ATGY
Note that the problem condition is obviously true for $p=2$.
Now, assume $p$ is an odd prime. For the sake of contradiction, assume that there's no such integer $k$. Hence, the numbers of remainder in the sequence $a_1 + k, a_2 + 2k, \dots, a_p + pk$ is always $\le \frac{p-1}{2}$. We denote $a_i+ik=U_i$ for all $i=1,2,...,p$.
Observe that $U_i\equiv U_j(mod p)$ for some $1\le i<j\le p$ if and only if $-k\equiv \frac{a_j-a_i}{j-i} (mod p)$. Consider all the numbers $\frac{a_j-a_i}{j-i}$ in modulo $p$ where $1\le i<j\le p$. There are $\binom{p}{2}=\frac{p(p-1)}{2}$ numbers. By pigeonhole principle, we have a number $s$ that only occur $m\le \frac{p-1}{2}$ times.
We take $k=-s$. Hence, we get $m$ pairs of numbers $(x,y)$ where $1\le x<y\le p$ for which $(a,b)$ is one of them if and only if $U_a\equiv U_b (mod p)$.
Let $X(t)$ be the number of terms in the sequence $a_1 + k, a_2 + 2k, \dots, a_p + pk$ that has remainder $t$ upon division by $p$ (for $t\in\{0,1,2,...,p-1 \}$).
Hence, $X(0)+X(1)+...+X(p-1)=p$. By our first assumption, there are at least $\frac{p+1}{2}$ terms in the sequence $X(0),X(1),...,X(p-1)$ which is $0$. Now, we have $b_1,b_2,...,b_n$ where $n\le \frac{p-1}{2}$ such that $X(b_1)+X(b_2)+...+X(b_n)=p$ for which $X(b_i)\ge 1$ for all $i=1,2,...,n$. Now, the number of pairs $(x,y)$ where $1\le x<y \le p$ and $U_x\equiv U_y (mod p)$ is $$\binom{X(b_1)}{2}+\binom{X(b_2)}{2}+...+\binom{X(b_n)}{2}=\frac{X(b_1)^2+X(b_2)^2+...+X(b_n)^2-p}{2}=m\le \frac{p-1}{2}$$This implies $X(b_1)^2+X(b_2)^2+...+X(b_n)^2\le 2p-1$. By $AM\le QM$ inequality, we get $$\frac{X(b_1)+X(b_2)+...+X(b_n)}{n}\le \sqrt{\frac{X(b_1)^2+X(b_2)^2+...+X(b_n)^2}{n}}
\implies \frac{p}{n}\le \sqrt{\frac{2p-1}{n}}\implies p^2\le n(2p-1)$$Recalling $n\le \frac{p-1}{2}$, we get $p^2\le n(2p-1)\le \frac{2p^2-3p+1}{2}$. This implies $3p\le 1$ which is a clear contradiction.
Hence, there has to be an integer $k$ that satisfies the condition given.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Mr.Sharkman
490 posts
#112
Y by
On this one, you make a lemma regarding which of these terms can be equal, and you finish it off with Jensen's
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Math_.only.
22 posts
#113
Y by
62861 wrote:
This problem was proposed by me.

There is nothing to prove for $p = 2$, so assume $p = 2q + 1$ is odd. Create a $p \times p$ table of numbers, as follows:
\begin{tabular}{cccc}
$a_1 + 1 \cdot 1$ & $a_2 + 2 \cdot 1$ & $\cdots$ & $a_p + p \cdot 1$\\
$a_1 + 1 \cdot 2$ & $a_2 + 2 \cdot 2$ & $\cdots$ & $a_p + p \cdot 2$\\
$\vdots$ & $\vdots$ & $\ddots$ & $\vdots$\\
$a_1 + 1 \cdot p$ & $a_2 + 2 \cdot p$ & $\cdots$ & $a_p + p \cdot p$\\
\end{tabular}Interpret all the numbers above modulo $p$. Examine two different columns, say $\{a_i + ik\}_k$ and $\{a_j + jk\}_k$. We claim they agree (modulo $p$) in only one row. Indeed, if $a_i + ik \equiv a_j + jk \pmod{p}$, then $(i - j)k \equiv a_j - a_i \pmod{p}$, so since $p$ is prime and $i \not\equiv j \pmod{p}$, it follows that $k \equiv \tfrac{a_j - a_i}{i - j} \pmod{p}$.

Thus, there are $\tbinom{p}{2} = \tfrac{p(p - 1)}{2} = pq$ pairs of equivalent entries in the same row in the table. Since there are only $p$ rows, some row, say $\{a_n + nk\}_n$, must have at most $q$ pairs of equivalent entries.

We claim that this $k$ is as desired. Suppose not; and let $e_1, \dots, e_q$ be the multiplicities (possibly zero) of the remainders appearing in $\{a_n + nk\}_n$. Then
\begin{align*}
e_1 + \dots + e_q & = p = 2q + 1,\\
\binom{e_1}{2} + \dots + \binom{e_q}{2} & \le \frac{p - 1}{2} = q.
\end{align*}Thus
\begin{align*}
e_1(e_1 - 1) + \dots + e_q(e_q - 1) & \le 2q,\\
e_1^2 + \dots + e_q^2 & \le 4q + 1.
\end{align*}On the other hand, by Cauchy,
\[e_1^2 + \dots + e_q^2 \ge \tfrac{1}{q} (e_1 + \dots + e_q)^2 = \tfrac{1}{q} (2q + 1)^2 = 4q + 4 + \tfrac{1}{q},\]a contradiction. Thus the sequence $\{a_n + nk\}_n$ contains at least $\tfrac{1}{2}p$ residues modulo $p$, as desired.

Thank you for good solution
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
de-Kirschbaum
184 posts
#114
Y by
Note that if $a_i+k \equiv a_j+k \mod{p}$ then $a_i \equiv a_j \mod{p}$. So the probability of these two being the same is $\frac{1}{p}$. That means the expected value of the number of pairwise nondistinct remainders upon division by $p$ is $\binom{p}{2}\frac{1}{p}=\frac{p-1}{2}$. That means the EV of the number of distinct remainders is $p-\frac{p-1}{2}=\frac{p+1}{2}$ which means there exists some integer $k$ such that there are at least $\frac{p+1}{2}>\frac{p}{2}$ distinct remainders.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
AshAuktober
934 posts
#115
Y by
Note that $p = 2$ is trivial, so consider $p$ odd. We consider $k \pmod{p}$ in the argument that follows.
Our key insight is to look at when two residues are the same for a fixed $k$.
Indeed, $$a_i + ik \equiv a_j + jk \pmod{p} \iff k \equiv - \frac{a_i - a_j}{i-j} \pmod{p}.$$In particular, for any $i\ne j$, there exists a fixed $k$ with $a_i + ik \equiv a_j + jk \pmod{p}$.
This motivates us to count $$| \{(i, j, k) : a_i + ik \equiv a_j + jk \pmod{p}\} |,$$which is $\binom p2$. So $\exists k$ so that $$| \{ (i, j) : a_i + ik \equiv a_j + jk \pmod{p} \} | \le \frac{p-1}2.$$Now we focus on this value $k_0$ of $k$.
Suppose this value of $k$ gives us $\le \frac p2$ residues in the set $\{a_1 + k, a_2 + 2k, \dots, a_p + pk\}$. Call these residues $r_1, \cdots, r_{\frac{p-1}{2}}$, where it is permitted for a residue to not occur. Let $r_i$ occur $c_i$ times, and note that $\sum_i c_i  = p$.
Then $$\frac{p-1}{2} \ge| \{ (i, j) : a_i + ik \equiv a_j + jk \pmod{p} \} | $$$$ = \sum_i \binom{c_i}2$$$$\ge \left( \frac{p-1}{2} \right) \left(\frac{ \left( \frac{2p}{p-1} \right) \left( \frac{2p}{p-1} - 1\right)}{2} \right) \text{ (by Jensen) }$$$$ = \frac{p(p+1)}{2(p-1)}$$$$> \frac{p+1}{2},$$contradiction. So this value of $k$ does give us at least $\frac p2$ residues. $\square$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
RedFireTruck
4220 posts
#116
Y by
When $p=2$, there is obviously at least $1$ distinct remainder, so assume $p$ odd.

Note that for distinct $x,y$, $a_x+xk\equiv a_y+yk \pmod{p}$ happens at $k\equiv \frac{a_x-a_y}{y-x}\pmod{p}$.

For every $k$ from $1$ to $p$, let undirected graph $G_k$ have an edge joining $x$ and $y$ iff $k\equiv \frac{a_x-a_y}{y-x}\pmod{p}$. Note that by transitive property, every connected component of $G_k$ must be a clique. Then, we want to prove that it is impossible for every $G_k$ to have less than $\frac{p}{2}$ cliques.

Also note that, for every $x$ and $y$, $x$ and $y$ are only connected in $1$ graph $G_k$. Therefore, the sum of edges from every $G_k$ must be $\binom{p}{2}$.

If a graph has at most $\frac{p-1}{2}$ cliques, then the minimum number of edges it can have is $\frac{p-3}{2}\binom{2}{2}+\binom{3}{2}=\frac{p+3}{2}$ by Jensen's. Since $p\frac{p+3}{2}>\binom{p}{2}$, we have proven the desired impossibility.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
sansgankrsngupta
127 posts
#117
Y by
v_Enhance wrote:
For each $k = 0, \dots, p-1$ let $G_k$ be the graph on $\{1, \dots, p\}$ where we join $\{i,j\}$ if and only if \[ a_i + ik \equiv a_j + jk \pmod p 	\iff k \equiv - \frac{a_i - a_j}{i-j} \pmod p. \]So we want a graph $G_k$ with at least $\tfrac{1}{2} p$ connected components.

However, each $\{i,j\}$ appears in exactly one graph $G_k$, so some graph has at most $\tfrac 1p \tbinom p2 = \tfrac{1}{2}(p-1)$ edges (by pigeonhole). This graph has at least $\tfrac{1}{2}(p+1)$ connected components, as desired.

Remark: Here is an example for $p=5$ showing equality can occur: \[ 		\begin{bmatrix} 			0 & 0 & 3 & 4 & 3 \\ 			0 & 1 & 0 & 2 & 2 \\ 			0 & 2 & 2 & 0 & 1 \\ 			0 & 3 & 4 & 3 & 0 \\ 			0 & 4 & 1 & 1 & 4 		\end{bmatrix}. 	\]

OG! I guess you meant to write disconnected in place of connected.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
bin_sherlo
665 posts
#119
Y by
It holds for $p=2$ hence we let $p>2$. Consider the complete graph with colours $k_1,k_2,\dots,k_p$ and vertices $a_1,\dots,a_p$ such that each edge is coloured into exactly one of $k_i$.
\[\text{Colour the edge between} \ a_i \ \text{and} \ a_j \ \text{into} \ k_m\iff a_i+ik_m\equiv a_j+jk_m(mod \ p)\iff \frac{a_i-a_j}{j-i}\equiv k_m(mod \ p)\]Since there are $\binom{p}{2}$ edges and $p$ colours, there exists a colour with $\leq \frac{p-1}{2}$ edges. Let $k_l$ be that colour. If $a_i$ has $k_l$ coloured edge between itself and $a_j,a_m$, then the edge between $a_j$ and $a_m$ must be coloured into $k_l$. If there are $\geq \frac{p+1}{2}$ components, then $k_l$ satisfies the conditions. Suppose that there are $\leq\frac{p-1}{2}$ components. Denote by $C_1,\dots,C_x$ the components.
\[\frac{p-1}{2}\geq \sum_{i=1}^{m}{\binom{|C_i|}{2}}\iff p-1\geq \sum{|C_i|^2}-\sum{|C_i|}=\sum{|C_i|^2}-p\geq \frac{(\sum{|C_i|})^2}{m}-p\geq \frac{2p^2}{p-1}-p\]However this implies $2p^2-3p+1\geq 2p^2$ which is impossible as desired.$\blacksquare$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
shendrew7
792 posts
#120
Y by
Assume $p$ odd, as $p=2$ is trivial. Consider the matrix formed by iterating $k = 1, 2, \ldots, p$:
\[\begin{matrix} a_1+1 & a_2+2 & \cdots & a_p+p \\ a_1+2 & a_2+4 & \cdots & a_p+2p \\ \vdots & & & \vdots \\ a_1+p & a_2+2p & \cdots & a_p+p^2 \end{matrix}\]
Notice that any two columns agree on exactly one residue, which gives a total $\binom p2$ pairs of congruent residues in the same row, and thus there exists a row in which we have at most $\binom p2 \cdot \frac 1p = \frac{p-1}{2}$ pairs. We finish by noting that each pair eliminates at most one new residue, meaning the number of distinct residues in this row must be at least
\[p - \frac{p-1}{2} = \frac{p+1}{2} > \frac p2. \quad \blacksquare\]
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Zany9998
6 posts
#121
Y by
Note that if $p=2$ the claim is trivially true, so let's assume $p \geq 3$
Let $N(G)$ denote the number of edges in a simple graph $G$.

Consider $p$ different simple graphs $G_0,G_2 , \dots G_{p-1}$. Each of these graphs have $p$ nodes labelled from $1$ to $p$. Graph $G_k$ has an edge between $i$ and $j$ iff

$a_i + ik \equiv a_j + jk \mod p$.

note that edge between node $i$ and node $j$ is only present in graph $G_k$ where $k \equiv (a_i - a_j)(j-i)^{-1} \mod p$ .Hence all of the edges of each graph are disjoint and every possible edge is present in at least one graph.

this implies
\[
		\sum_{i=0}^{i=p-1} N(G_i) = p(p-1)/2
		\]hence by pigeonhole there exists a graph $G_k$ such that $N(G_k) \leq (p-1)/2$. As number of connected components is at least (nodes - edges) therefore we get number of connected components at least $(p+1)/2$ which proves our original claim
Z K Y
N Quick Reply
G
H
=
a