Difference between revisions of "2025 SSMO Relay Round 1 Problems/Problem 1"

(Created page with "==Problem== Let <math>x_1, x_2, \ldots, x_7</math> be distinct integers such that the mean of <math>\{x_i,x_{i+1},x_{i+2}\}</math> is an integer for all integers <math>1\le i...")
 
(Solution)
 
Line 4: Line 4:
  
 
==Solution==
 
==Solution==
 +
 +
From the given condition, we know that <math>3</math> divides both <math>x_1+x_2+x_3</math> and <math>x_2+x_3+x_4</math>, so <math>3</math> divides their difference, which is <math>x_4-x_1</math>. Analogous reasoning shows that <math>3</math> divides <math>x_7 - x_4</math> as well. Hence, <math>3</math> divides <math>(x_4 - x_1) + (x_7-x_4) = x_7 - x_1</math>. This means that the smallest possible positive value of <math>x_7 - x_1</math> is <math>3</math>. This minimum is indeed achievable -- take <math>\{x_1, x_2, \dots, x_7\}</math> to be <math>\{0,6,9,12,15,18,3\}</math>, for example -- so the answer is <math>\boxed{3}</math>.
 +
 +
~Sedro

Latest revision as of 22:24, 21 October 2025

Problem

Let $x_1, x_2, \ldots, x_7$ be distinct integers such that the mean of $\{x_i,x_{i+1},x_{i+2}\}$ is an integer for all integers $1\le i\le 5$. Find the minimum possible positive value of $x_7 - x_1$.

Solution

From the given condition, we know that $3$ divides both $x_1+x_2+x_3$ and $x_2+x_3+x_4$, so $3$ divides their difference, which is $x_4-x_1$. Analogous reasoning shows that $3$ divides $x_7 - x_4$ as well. Hence, $3$ divides $(x_4 - x_1) + (x_7-x_4) = x_7 - x_1$. This means that the smallest possible positive value of $x_7 - x_1$ is $3$. This minimum is indeed achievable -- take $\{x_1, x_2, \dots, x_7\}$ to be $\{0,6,9,12,15,18,3\}$, for example -- so the answer is $\boxed{3}$.

~Sedro