Sum of Neighbouring Cells

Logic Level 3

Each cell in a 4 × 4 4 \times 4 grid contains one of the digits 0 , 1 , 2 , 0, 1, 2, and 3. 3.

Based on this original grid, a new grid--shown below--is formed, in which the number in each cell represents the sum of the digits in the neighboring cells in the original grid, i.e. all the cells that surround a given cell horizontally, vertically, and diagonally.

Determine the number of 2's in the original grid.


Inspiration

3 4 5 6 8

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

1 solution

Mark Hennings
Feb 8, 2018

There are 16 16 simultaneous linear equations to solve for the grid entries. This set of equations is consistent, and the associated 16 × 16 16\times16 matrix has rank 14 14 , so there is a 2 2 -parameter family of solutions as follows: a b b + 2 a + 2 a b 4 a 1 a a b 2 + a b 3 a 2 a 1 + a b 1 + a 2 + b 3 + b a 1 \begin{array}{|c|c|c|c|} \hline a & b & b+2 & a+2 \\ \hline a-b & 4-a & 1-a & a-b \\ \hline 2+a-b & 3-a & 2-a & 1+a-b \\ \hline 1+a & 2+b & 3+b & a-1 \\ \hline \end{array} The facts that 1 a 1-a , a 1 a-1 and 3 + b 3+b are integers between 0 0 and 3 3 tell us that a = 1 a=1 and b = 0 b=0 , making the grid 1 0 2 3 1 3 0 1 3 2 1 2 2 2 3 0 \begin{array}{|c|c|c|c|} \hline 1 & 0 & 2 & 3 \\ \hline 1 & 3 & 0 & 1 \\ \hline 3 & 2 & 1 & 2 \\ \hline 2 & 2 & 3 & 0 \\ \hline \end{array} and hence there are 5 \boxed{5} 2 2 s in the grid.

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...