We have the number as \(57^n=(50+7)^n\), the units digit of the expansion will only depend on the units digit of the base 57.
for example 11^3 or 21^3 or 6781^3 will all have 1 as the units digit...\(11^1=11.... 11^2=11*11=121 ...11^3=121*11= 1331.\). thus \(11^1, 11^2, 11^3\) all have 1 as units digit,.
Thus 57^n will depend on 7...
Now the units digit have a cyclicity ..
0, 1, 5, 6 has a cyclicity of one that is with whatever power, they will have the same units digit..
4, 9 will have a cycilcity of 2, that is 4^1, 4^3, 4^5.. will have same units digit 4 and 4^2, 4^4, 4^6 will have 6 as units digit, that is 4, 6, 4, 6, .... 9 similarly will have 9, 1, 9, 1,...
2, 3, 7, 8 will have a cyclicity of 4...
2 -----\(2^1, 2^2, 2^3, 2^4, 2^5,2^6, 2^7,2^8\) will have units digit as 2, 4, 8, 6, 2, 4, 8, 6, ..
3-----3, 9, 7, 1, 3, 9, 7, 1, ....
7-----7, 9, 3, 1, 7, .....
8---- 8, 4, 2, 6, 8, 4, 2, 6, ....
so units digit when 7 is the units digit of base is 7, 9, 3, 1