Solution for finding out the last digits:

its clear that

since ,

we have

so

so

so finally

so .

The last digit ofis 7.

for observe that since , for each .

now .

write for some integer .

so

compute that ,

so that .

convince yourself that for each and hence prove that is odd.

this will lead to the result thatThe last digit ofis 3.