Neighborhood Value
Let us define “neighborhood value” as the sum of the products of every consecutive numeral pair with the number of digits between them. (Consecutive numeral pairs are: 0-1, 1-2, 2-3, ..., 8-9). Example: The neighborhood value for 132 is 2 (1x2x1 + 2x3x0 = 2). There is a single digit between the consecutive numerals 1 and 2, hence 1x2x1. There is no digit between the consecutive numerals 2 and 3, hence 2x3x0. Their sum 2 is the neighborhood value. Likewise, the neighborhood value for 4253 is 2x3x1 + 3x4x2 + 4x5x1 = 50. Which number with distinct numerals has the largest neighborhood value? If there exists more than one such number, please enter the largest of these numbers as your answer.
answers: # 96 popularity: 75.0 % difficulty: 14.3 %