last digit of number in cell (2021, 2021) 2021 Malaysia IMONST 1 Senior P20
Source:
September 22, 2021
number theoryDigitsLast digit
Problem Statement
The cells of a table are filled with numbers using the following rule. The bottom left cell, which we label with coordinate , contains the number . For every other cell , we consider a route from to , where at each step we can only go one cell to the right or one cell up (not diagonally). If we take the number of steps in the route and add the numbers from the cells along the route, we obtain the number in cell . For example, the cell with coordinate contains , the cell with coordinate contains , and the cell with coordinate contains . What is the last digit of the number in the cell ?