Can we prove that always ends in the same two digits?
Question
Prove that, for all positive integral values of , is a factor of .
Prove that, if is an integer greater than , then is an odd multiple of .
Hence, or otherwise, show that, if is evaluated for any integral value of greater than , then the last two digits of the result are independent of .
[The phrase ‘integral values’ means the same as ‘integer values’. ]
Solution
By the factor theorem, a polynomial has a linear factor if and only if .
If we take to be a positive integer and set , then and therefore is a factor of .
Moreover, we can write
As
is an integer, we can write (using the first part of the question)
Since is an even integer, the bracketed factor is odd, and so times the bracketed factor is also odd. That is, is an odd multiple of .
We can write By the second part of the question (which applies as is an integer), as the bracketed term is an odd multiple of , its final two digits will always be .
Thus, the final two digits of the right-hand side of the above will be ; this is independent of the value of .