Repeating Patterns
Days, clock hours and the last digit of a power all run in a loop. Once you know the cycle length, reaching position 500 takes one division instead of five hundred steps.
Days, clock hours and the last digit of a power all run in a loop. Once you know the cycle length, reaching position 500 takes one division instead of five hundred steps.
Days of the week, hours on a clock, the last digit of a growing power — all of them run in a loop and start over. Once you know the length of the loop, reaching position takes one division instead of five hundred steps.
Divide the position by the cycle length, keep the remainder, then count that many places.
If the remainder is , the position lands on the last item of the cycle — which is the same item you started from.
a) Today is Wednesday. What day is it in days?
b) Today is Thursday. What day was it days ago?
c) A Hijri year begins on a Tuesday. On what day does it end?
A Hijri year is days and a Gregorian year
. When a question does not say which calendar it means, treat it as Hijri.
It is o'clock now. What time will it be in
hours?
The clock face repeats every hours, and therefore also every
,
or
. Any multiple of the cycle length can be discarded without changing the answer.
The numbers repeat in that order for ever. What is the
th number?
Twenty-one whole cycles pass by unnoticed. Only the leftover decides the answer.
The units digits of the powers of cycle as well:
What is the units digit of ?
Note that the power itself is astronomically large, yet its final digit costs one division to find. That is the whole point of spotting the cycle.