Given is the sequence of numbers a0,a1,a2,…,a2020 with a0=0. Furthermore, the following holds for every k=1,2,…,2020:
ak={ak−1⋅kak−1+kif k is divisible by 8,if k is not divisible by 8.
What are the last two digits of a2020?
Want a route through all this instead of an archive?
The track
puts 2,000 problems in a working order, from AMC 10 level to the IMO shortlist.