We divide 87776059 by 997
We want to figure out the number of times 87776059 can be divided by 997.

Going ahead to step 1:
8 divided by 997 is 0 with a remainder of 8.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 8, we get 8.
Append the next digit (7) from the dividend to 8 and continue with: 87 / 997

Advancing to step 2:
When dividing 87 by 997, we get 0 with a remainder of 87.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 87 to get 87.
Grab the next digit (7) from the dividend, add it to 87, then carry on: 877 / 997

Step 3:
997 goes into 877 0 times with a remainder of 877.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtracting 0 from 877 leaves us with 877.
Append the next digit (7) from the dividend to 877 and continue with: 8777 / 997

Moving on to step 4:
The number 997 fits into 8777 8 times, leaving a remainder of 801.
Put 8 as the next digit of the answer. 
Result so far: 8.0
Subtracting 7976 from 8777 leaves us with 801.
Fetch the next digit (6) from the dividend, attach it to 801 and continue: 8016 / 997

Moving on to step 5:
When dividing 8016 by 997, we get 8 with a remainder of 40.
Write down 8 as next digit of the result. 
Result so far: 88.0
Subtract 7976 from 8016 to get 40.
Fetch the next digit (0) from the dividend, attach it to 40 and continue: 400 / 997

Advancing to step 6:
997 can be fit into 400 0 times, resulting in a remainder of 400.
The next digit of our result is 0. 
Result so far: 880.0
If we subtract 0 from 400, we get 400.
Take the next digit (5) from the dividend and append it to 400, then repeat: 4005 / 997

Advancing to step 7:
The number 997 fits into 4005 4 times, leaving a remainder of 17.
The next digit of our result is 4. 
Result so far: 8804.0
Subtracting 3988 from 4005 leaves us with 17.
Append the next digit (9) from the dividend to 17 and continue with: 179 / 997

On to step 8:
179 divided by 997 is 0 with a remainder of 179.
Record the quotient 0 as the next digit in the result. 
Result so far: 88040.0
The remainder is 179 after subtracting 0 from 179.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1790, and continue the process.

Moving on to step 9:
If we divide 1790 by 997, we get 1 and a remainder of 793.
The next digit of our result is 1. 
Result so far: 88040.1
If we subtract 997 from 1790, we get 793.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7930, and continue the process.

Going ahead to step 10:
The number 997 fits into 7930 7 times, leaving a remainder of 951.
Put 7 as the next digit of the answer. 
Result so far: 88040.17
The remainder is 951 after subtracting 6979 from 7930.
Since there are no more digits in the dividend, we add a zero to the remainder making it 9510, and continue the process.

On to step 11:
If we divide 9510 by 997, we get 9 and a remainder of 537.
Record the quotient 9 as the next digit in the result. 
Result so far: 88040.179
Subtract 8973 from 9510 to get 537.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5370, and continue the process.

On to step 12:
When dividing 5370 by 997, we get 5 with a remainder of 385.
Record the quotient 5 as the next digit in the result. 
Result so far: 88040.1795
If we subtract 4985 from 5370, we get 385.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3850, and continue the process.

Moving on to step 13:
3850 divided by 997 is 3 with a remainder of 859.
Write down 3 as next digit of the result. 
Result so far: 88040.17953
If we take 2991 away from 3850, we end up with 859.
Since there are no more digits in the dividend, we add a zero to the remainder making it 8590, and continue the process.

Advancing to step 14:
8590 divided by 997 is 8 with a remainder of 614.
Put 8 as the next digit of the answer. 
Result so far: 88040.179538
If we subtract 7976 from 8590, we get 614.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6140, and continue the process.

Going ahead to step 15:
997 goes into 6140 6 times with a remainder of 158.
Put 6 as the next digit of the answer. 
Result so far: 88040.1795386
Subtract 5982 from 6140 to get 158.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1580, and continue the process.

On to step 16:
997 goes into 1580 1 times with a remainder of 583.
The next digit of our result is 1. 
Result so far: 88040.17953861
The remainder is 583 after subtracting 997 from 1580.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5830, and continue the process.

After the division, we end up with 88040.17953861 and a remainder of 5.83e-07.