Further calculations (without a calculator)
s(8) = 4
s(10) = 0
s(345) = 5
s(27,560) = 0
s(738,954,683,012) = 4
Using mental arithmetic I can calculate 82 and 102 quite easily. However calculating 738,954,683,0122 is very challenging to say the least. So how can I be confident that my answers are correct? Using the Arabic-Hindu numeral system of hundreds, tens, units etc. and the following simple theory of multiplication I am confident of my answers being correct.
Using a three digit number and each number is represented by letters. Let the first three digits of the first number be ‘a’ (hundreds digit) and ‘b’ (tens digit) and ‘c’ (units digit). And those of the second number (which for this explanation), we will use the same representation of a, b and c, respectively.
a b c
* a b c
The product of these numbers have five parts which are given below and separated by ‘[ ]’
a b c
* a b c_
[aa] [aa+ab] [ac+ac+bb] [bc+bc] [cc]
__________
‘aa’ is the ten thousands’ column, ‘aa+ab’ is the thousands column etc and the ‘cc’ is the unit column (math-help-ace, 2008). This is the important part of proving how confident I am of my answers.
∴ the square of the last digit of any number given for this function; will determine the last digit.
The range of s(x) is determined by the squares of the digits 0,1,2,3,4,5,6,7,8,9 as these numbers make up the units column. The squares of the units are 0,1,4,9,16,25,36,49,64,81 respectively. The values in bold are the output values for the function.
∴ range of s(x) ↦ {0,1,4,5,6,9}
For s(x) defined above, s(2x) will be the last digit of the number formed by squaring twice the number x.
The range of s(2x) is {0,2,4,8}
The range of s(10x) will be {0}
Now to investigate the values of k for which the range of s(kx) is the same as the range for s(x). To make this easier to show and to determine the results quickly I used Microsoft Excel.
Figure 1. Showing the range of the function s(kx) (where k = 2,3,4,…10)
Figure 1 shows that the range of s(9x) is the same as the range for s(x). So the answer to the question, investigate the values of k for which the range of s(kx) is the same as the range for s(x) is 9.
Introducing a new variable y, I am now going to investigate when s(x + y) = s(x) + s(y) where y is an integer and s(y) is defined in the same way as s(x) above. When thinking of how to display and calculate the answer the easiest method was to calculate each part of the equation and then compare results and match the answers for which they have the same output. These are displayed on the following pages 5 and 6. Figure 2 shows the output values for s(x + y) and Figure 3 shows s(x) + s(y).
To make things a little clearer with these two tables I have highlighted the values of which the output values are the same. These tables show that for when x = 0, y can equal any value between -9 and 9. It also displays that for when x = ± 5, then y can equal any value between -9 and 9. This is also true for the reverse; when y = 0, x can be any number between -9 and 9, and when y = ± 5, x can equal any value between -9 and 9. When I am mentioning x or y being a number between -9 and 9, I am actually talking about the last digits of the integers used.
∴ x = 0, y ϵ ℤ, -9 ≤ y ≤ 9
∴ x = ±5, y ϵ ℤ, -9 ≤ y ≤ 9
The values are x and y are commutative for the values mentioned above. The range of x and y when s(x + y) = s(x) + s(y) is [0,1,4,5,6,9].