Processing math: 100%
 
+0  
 
+2
1042
5
avatar+312 

Suppose you want to fill the 5x5 square below with the following restrictions:
(1) The numbers 1-5 must appear in every row and column;
(2) The sum of the numbers in gray boxes is 2 (mod 6).

 

 

What number must go in the center square?

 Oct 20, 2019
 #1
avatar+2864 
+2

Don't care about the white squares, just care about the grey squares.

 

We can fill the horizontal grey row with 1 2 3 4 5

 

The remaining four grey squares will contain 4 numbers from the list 1 2 3 4 5

 

Since is 2 (mod 6)

 

we just guess and check

 

1  + 2  + 3 + 4 + 5 = 15

 

That is the sum of the center horizontal row.

 

We then can guess and check the sum of the vertical row plus 15 to see if it fits 2 mod ( 6)

 

Lets say the center square is 1?

 

Then 29 / 6 remainder is 5

 

center square is 2?

 

Then 28 / 6 remainder is 4

 

Center square is 3?

 

then 27/6 remainder is 3

 

Center square is 4? 

 

then 26/6 remainder is 2

 

Center squar eis 5?

 

25/6 remainder is 1

 

 

We see by guess and checking that the answer is 4, four should go into the center square

 Oct 20, 2019
 #2
avatar+312 
+2

Your better at modular arithemtic than you think

 Oct 20, 2019
 #3
avatar+2864 
+2

I actually used guess and check in this problem XD XD, I only understood the format meaning of modulus I actually barely even know how to apply it.

CalculatorUser  Oct 20, 2019
 #4
avatar+26396 
+3

Suppose you want to fill the 5x5 square below with the following restrictions:
(1) The numbers 1-5 must appear in every row and column;
(2) The sum of the numbers in gray boxes is 2 (mod 6).

What number must go in the center square?

 

Let the number go in the center square =x

Let the sum of the numbers 1+2+3+4+5=15

Let the sum of the numbers in gray boxes =15+(15x)

Then:

15+(15x)2(mod6)30x2(mod6)|30(mod6)=00x2(mod6)x2(mod6)|(1)x2(mod6)x2+6(mod6)x62(mod6)x4(mod6)

 

The number 4 must go in the center square.

 

laugh

 Oct 21, 2019
 #5
avatar+2864 
+1

Thank you for the modulus lesson!

CalculatorUser  Oct 24, 2019

0 Online Users