The unit digit of any power of a number depends only on the unit digit of the base. For 31, the unit digit is always 1, regardless of the exponent (1479). This is because 1 multiplied by itself any number of times remains 1. The pattern 31^1=31, 31^2=961, 31^3=29791 all end in 1.