Problem 10
(a) Using Fermat's little theorem, show that 999 999 is divisible by 7.
(b) A number has digits that are all 9 and is divisible by 13. Show that
it is also divisible by 1001.