We're working with modulos in my number theory class, so I'm sure that's how I am supposed to go about doing these problems. I just can't think of the proper approach...

a)Find the remainder when 5^10 is divided by 19.

b)Find the final digit of 1! + 2! + 3! + ... + 10!