# Difference between revisions of "2020 AMC 10A Problems/Problem 7"

The following problem is from both the 2020 AMC 12A #5 and 2020 AMC 10A #7, so both problems redirect to this page.

## Problem

The $25$ integers from $-10$ to $14,$ inclusive, can be arranged to form a $5$-by-$5$ square in which the sum of the numbers in each row, the sum of the numbers in each column, and the sum of the numbers along each of the main diagonals are all the same. What is the value of this common sum? $\textbf{(A) }2 \qquad\textbf{(B) } 5\qquad\textbf{(C) } 10\qquad\textbf{(D) } 25\qquad\textbf{(E) } 50$

## Solution

Without loss of generality, consider the five rows in the square. Each row must have the same sum of numbers, meaning that the sum of all the numbers in the square divided by $5$ is the total value per row. The sum of the $25$ integers is $-10+9+...+14=11+12+13+14=50$, and the common sum is $\frac{50}{5}=\boxed{\text{(C) }10}$.

### Solution 2

Take the sum of the middle 5 values of the set (they will turn out to be the mean of each row). We get $0 + 1 + 2 + 3 + 4 = \boxed{\textbf{(C) } 10}$ as our answer. ~Baolan

### Solution 3

Taking the average of the first and last terms, $-10$ and $14$, we have that the mean of the set is $2$. There are 5 values in each row, column or diagonal, so the value of the common sum is $5\cdot2$, or $\boxed{\textbf{(C) } 10}$. ~Arctic_Bunny, edited by KINGLOGIC

### Solution 4

Let us consider the horizontal rows. Since there are five of them, each with constant sum $x$, we can add up the 25 numbers in 5 rows for a sum of $5x$. Since the sum of the 25 numbers used is $-10-9-8-\cdots{}+12+13+14+15=11+12+13+14+15=50$, $5x=50$ and $x=\boxed{\textbf{(C) }10}$. ~cw357

## Video Solution

Education, the Study of Everything

~IceMatrix

~savannahsolver