The four number walls below use nonnegative integers. In each wall, every brick is the sum of the two bricks directly below it.
1. Determine which walls can be completed using nonnegative integers. Complete every wall that can be solved.
2. For each wall that cannot be completed, explain why no nonnegative integer can be used for the bottom middle brick.

Hints
- Express the top brick in terms of the three bottom bricks.
- The two outside bottom bricks each contribute once to the top, while the middle bottom brick contributes twice.
- Subtract the outside bricks from the top. The remainder must equal twice the middle brick.
- Check whether the remainder is divisible by \(2\) and gives a nonnegative result.
- Also check whether the sum of the two outside bricks already exceeds the top brick.
Solution
1. Let the bottom row be \(a\), \(b\), and \(c\), and let the top be \(T\). Then \(T = a + 2b + c\), so \(2b = T - a - c\).
2. Wall a): \(2b = 500 - 150 - 250 = 100\), so \(b = 50\). The middle row is \(200\) and \(300\).
3. Wall b): \(2b = 500 - 150 - 249 = 101\). This would give \(b = 50.5\), which is not a nonnegative integer, so the wall cannot be completed under the stated condition.
4. Wall c): \(2b = 800 - 300 - 450 = 50\), so \(b = 25\). The middle row is \(325\) and \(475\).
5. Wall d): \(2b = 800 - 300 - 520 = -20\), so \(b = -10\). This is not nonnegative, so the wall cannot be completed under the stated condition.
Answer
1. Walls a) and c) can be completed.
a) Bottom middle: \(50\); middle row: \(200\), \(300\)
c) Bottom middle: \(25\); middle row: \(325\), \(475\)
2. Walls b) and d) cannot be completed using nonnegative integers.
b) The equation gives \(2b = 101\), so \(b = 50.5\), which is not an integer.
d) The equation gives \(2b = -20\), so \(b = -10\), which is not nonnegative.