77777 …

A curious puzzle from the Penguin Problems Book, 1940:

A certain number consisting entirely of 7s is divisible by 199. Find the last four digits of the quotient, without finding the entire quotient.

Click for Answer