T-Total the investigation relies on investigating relationships between our three variables; t-number, t-total, and grid size

Authors Avatar

T-Total

Introduction

The T-Total investigation involves looking at the relationship between what are known as the t-number and the t-total in an n grid. The t-number can be thought of as the number at the base of the t shape, and the t-total the sum of all the numbers in the T. Therefore taking the following grid:

The t-number is 31, grid size is 9 and t-total is 31+22+12+13+14=92

Therefore the investigation relies on investigating relationships between our three variables; t-number, t-total, and grid size. Further variable factors may be added along the way to increase the scope of the investigation.

Variable Declaration

Individual variables within the ‘T’

We shall first look at how we can derive t through looking at n and x.

Contents

Investigating t, n, and x

The first logical step to finding t is to look at the individual values x, a, b, c, and d. If we know these values, we can simply add them up to find t. As we already know x, it simply becomes a matter of finding the other values. There are specific rules governing the placement of each value in relation to the others- we can see that a is always directly above x, and that it is directly below c. These may seem obvious, but they are key to deriving solutions to the problem. Simplifying the problem even further, we can see that there are only two values we need to know to calculate the values of the other squares; the row and column of x.

To find the row and column of x is not particularly difficult, and brings us directly to a solution that will work on any sized grid. It is clear that the grid works on a cycle- resetting at the end of each row. The interval of that cycle- the number at which it resets, is simply the grid size. Therefore, the position in a row is simply the place of x within any phase of the cycle- it can be found irrelevant of its row. This is quite similar to modulo arithmetic, and we can see therefore that the place in the cycle can be found by the function (x mod n). This takes x/n, but instead of looking at the answer, it finds the remainder. Because only this is involved, the actual row does not affect the answer.

Because we are using modulo arithmetic, the actual row is ignored. For example, 8 and 13 are in the same column. 8 mod 5 gives 3, as does 13 mod 5.

However, we do also need to know the row that x lies in. This is slightly more difficult. The natural way to look at it would be to take x/n, but this need to be rounded down to achieve the correct function. Saying rounded down is not a useful term when working algebraically, so we need an operator to do the same effect. The perfect operator exists in the form of the step function. Therefore, we can now say that the row is equal to [x/n] We shall now move on to calculating a, b, c, and d, but to facilitate this we shall define short term variables for the row and column to be included in our solutions.

P = x mod n

L = [x/n]

We shall first look at a. This is one row above x, and thus will be in the same column. We know that the row is equal to l-1, and that it lies at position p within the row. By multiplying n and (l-1) we can find the number at the end of the last row, from which we can count on to reach a. Therefore, we see that a is equal to

N(l-1) + p. Extrapolating this:

Grid width * (number of rows to move down) + squares to count on to reach a

We can proceed to find similar rules for the rest of the numbers. B is two rows above x, giving n(l-2), and is in the proceeding column; therefore p-1. The whole thing is n(l-2)-(p-1). Knowing b, we can easily find c and d, simply adding 1 to p each time; n(l-2) + p, and n(l-2) + (p+1). We know have formulas to calculate each square within the T shape. However, what we really want is one formula to calculate t from n and x. We can easily do this by combining our existing formulae:

T= x + n(l-1) + p + n(l-2) +p – 1 + n(l-2) +p + n(l-2) + p + 1

T = 4nl – 7n + 4p + x

However, we still have a 2-stage formula (remember l and p need to be calculated first). To get a single stage, we substitute in l and p to show

T = 4n [x/n] - 7n + 4(x mod n) + x

Factorising:

T = x + 4(n[x/n] + (x mod n)) – 7n

We now have a formula for any grid size and any t-number. To make sure this works, we will briefly look at a few examples demonstrating the principle.

Verification

  1. Take grid size 9, and the starting number 59. Using the above method, we see
Join now!

that t = 59 + 4(9[59/9] + 59 mod 9) – 7*9

thus t = 59 + 4(9*6 + 5) – 63

thus t = 59 + 236 – 63

therefore t = 232

Looking at the grid we see that t = 59+50+40+41+42=232

  1. Take grid size 13 and the starting number 72.

T = 72 + 4(13*[72/13] + 72 mod 13) – 7*13

Thus T = 72 + 4(65 + 7) – 91

Thus T = 72 + 288 – 91

Therefore T = 269

Looking at the grid we see ...

This is a preview of the whole essay