Determine the quotient and the remainder when a positive integer N constituted entirely by 1001 sevens is divided by 1001.
777,777 = 777 * 1001
777,777,777,777 = 777000777* 1001
Every six 7s is divisible by 1001
If there are 1001 7s, then 1001/6 = 166 remainder 5. There are five 7s at the end.
77,777 / 1001 = 77 remainder 700.
Quotient 77,700,077,700,077 . . . 77,700,077 (998 digits)
Remainder 700
|
Posted by Leming
on 2007-02-05 10:09:07 |