Difference between revisions of "2025 SSMO Accuracy Round Problems/Problem 8"

(Created page with "==Problem== We say that a permutation <math>(a_1, a_2, \dots ,a_{10})</math> of the integers <math>1</math> through <math>10</math> inclusive is \textit{peaked} if there do n...")
 
(Problem)
 
Line 1: Line 1:
 
==Problem==
 
==Problem==
  
We say that a permutation <math>(a_1, a_2, \dots ,a_{10})</math> of the integers <math>1</math> through <math>10</math> inclusive is \textit{peaked} if there do not exist three integers <math>1\le i < j < k \le 10</math> such that <math>a_i > a_j </math> and <math>a_j< a_k</math>. Let <math>\mathcal{S}</math> be the set of all peaked permutations. If <math>a_p = 9</math> and <math>a_q = 4</math>, the expected value of <math>|p-q|</math> over all permutations in <math>\mathcal{S}</math> can be written as <math>\frac{m}{n}</math>, where <math>m</math> and <math>n</math> are relatively prime positive integers. What is the value of <math>m+n</math>?
+
We say that a permutation <math>(a_1, a_2, \dots ,a_{10})</math> of the integers <math>1</math> through <math>10</math> inclusive is <i>peaked</i> if there do not exist three integers <math>1\le i < j < k \le 10</math> such that <math>a_i > a_j </math> and <math>a_j< a_k</math>. Let <math>\mathcal{S}</math> be the set of all peaked permutations. If <math>a_p = 9</math> and <math>a_q = 4</math>, the expected value of <math>|p-q|</math> over all permutations in <math>\mathcal{S}</math> can be written as <math>\frac{m}{n}</math>, where <math>m</math> and <math>n</math> are relatively prime positive integers. What is the value of <math>m+n</math>?
  
 
==Solution==
 
==Solution==

Latest revision as of 11:27, 9 September 2025

Problem

We say that a permutation $(a_1, a_2, \dots ,a_{10})$ of the integers $1$ through $10$ inclusive is peaked if there do not exist three integers $1\le i < j < k \le 10$ such that $a_i > a_j$ and $a_j< a_k$. Let $\mathcal{S}$ be the set of all peaked permutations. If $a_p = 9$ and $a_q = 4$, the expected value of $|p-q|$ over all permutations in $\mathcal{S}$ can be written as $\frac{m}{n}$, where $m$ and $n$ are relatively prime positive integers. What is the value of $m+n$?

Solution