if we solve the equations, F(7), F(7^2), F(7^3), F(7^4 ) we will see the answer is the unit digit of 7^1, 7^2, 7^3, 7^4.
Now unit digit of 7^n is either of the following: 7,9,3,1 and repeats after every 4th power.
Now 7^2020 = 7^(4*505) .
Thus we see the answer to the equation is the sum of 505 pairs of (7+9+3+1).
hence answer = (7+9+3+1)x505 = 10100.
Note it is good to remember the unit digit of power raised to any number.
Note the following table of unit digits, shall be very handy
1 - 1
2 - 2,4,8,6
3- 3,9,7,1
4- 4,6
5-5
6-6
7-7,9,3,1
8-8,4,2,6
9-9,1
0-0
Examples to use the above table : -->If we are to find the unit digit of any number, with unit digit 2, raised to any power, we need to break it in "4k+n" manner. Example. Unit digit of 12^5 = unit digit of 2^5 = unit digit corresponding to 4*1 +1 using the above table is 2
-->If we are to find the unit digit of any number, with unit digit 3, raised to any power, we need to break it in "4k+n" manner. Example. Unit digit of 13^5 = unit digit of 3^5 = unit digit corresponding to 4*1 +1 using the above table is 3
-->If we are to find the unit digit of any number, with unit digit 4, raised to any power, we need to break it in "2k+n" manner. Example. Unit digit of 14^5 = unit digit of 4^5 = unit digit corresponding to 2*2 +1 using the above table is 4