Hi Liliya,
4 follows the pattern 4, 6, 4, 6
While memorizing these patterns could be helpful, it is more important to understand HOW we arrive at these patterns, so that you have the tools you need to answer the question even if you forget one of the patterns on test day.
The most important point is that when we multiply any two numbers together, all we need to know in order to find the ones digit of the product is the ones digit of each of the two numbers.
Let's take the example of 7.
7^1 = 7.
7^2 = 49, so the ones digit is 9.
To find the ones digit of 7^3, we do NOT need to multiply 7 * 49. Instead, we can ignore everything but the ones digit, and simply multiply 7 * 9 = 63. Thus, the ones digit of 7^3 is 3.
Similarly, to find the ones digit of 7^4, we do NOT need to multiply 7 * 7 * 7 * 7, or even to multiply 63 (the previous result) by 7. Instead, we can ignore everything but the ones digit, and simply multiply 7 * 3 = 21. Thus, the ones digit of 7^4 is 1.
We can continue like this.
7^5 has a ones digit of 7 * 1 = 7.
7^6 has a ones digit of 7 * 7 = 49, so 9.
7^7 has a ones digit of 7 * 9 = 63, so 3.
7^8 has a ones digit of 7 * 3 = 21, so 1.
This gives us the pattern 7, 9, 3, 1, 7, 9, 3, 1.