Problem 1.
The triangular numbers are given by the expression N(N+1)/2 for N= 1, 2, ... It is easy to verify that:
*If N ends in 1,3,6 or 8 then the units digit of the corresponding triangular numbers alternates between 1 and 6
*If N ends in 2 or 7 then the units digit of the corresponding triangular numbers alternate between 3 and 8.
*If N ends in 0,4,5 or 9 then the units digit of the corresponding triangular numbers alternate between 0 and 5.
Hence the frequencies are: 20% each for 0,1,5,6 and 10% each for 3 and 8
Problem 2.
As demonstrated in problem 1, the triangular numbers end in one of the digits 0,1,3,5,6,8. By multiplying these in various combinations, we get numbers ending in 0,1,3,4,5,6,8,9 but it is impossible to get any number ending in 2 or 7.
|