sum of distances, 5 digit numbers - All-Russian MO 2004 Regional (R4) 11.6
Source:
September 27, 2024
number theorycombinatoricsDigits
Problem Statement
Let us call the distance between the numbers and the maximum for which . All five-digit numbers are written out one after another in some order. What is the minimum possible sum of distances between adjacent numbers?