Professional Documents
Culture Documents
Thach
July 18, 2022
1
34 25 0 18 5 23
7 16 27 9 32 14
2 20 31 22 6 24
29 11 4 13 33 15
30 21 8 26 1 19
3 12 35 17 28 10
3 Regular Squares
Example regular square where n = 5 in base 5
31 43 00 12 24
42 04 11 23 30
03 20 22 34 41
14 21 33 40 02
20 32 44 01 13
16 23 0 7 14
22 4 6 13 15
3 5 12 19 21
9 11 18 20 2
10 17 24 1 8
2
4 Regular and Magic Squares
Example of 4x4 magic square that isn’t regular
0 14 13 3
11 5 6 8
7 9 10 4
12 2 1 15
In base 4
00 32 31 03
23 11 12 20
13 21 22 10
30 02 01 33
While this magic square has a magic sum of 30, it isn’t regular as there are
repitition of numbers in the units digit
3
If we consider the rows, exchanging the columns will just swap the position
of two numbers which were already accounted for in the rows when determining
if the square was regular
x = 29c1 + 12
y = 29c2 + 9
b.
j
21 ≡ 16 + 17j + 23[ ] (mod 29)
29
j
20 ≡ 9 + 10j + 4[ ] (mod 29)
29
The equation to find the x value is similar to 17x + 23y ≡ 5 (mod 29) and
the equation to find the y value is similar to 10x + 4y ≡ 11 (mod 29)
7 Extra-credit