We look at the division of 58780187 by 997 
We want to figure out the number of times 58780187 can be divided by 997.

Let's proceed to step 1:
997 goes into 5 0 times with a remainder of 5.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 5, we end up with 5.
Fetch the next digit (8) from the dividend, attach it to 5 and continue: 58 / 997

Let's proceed to step 2:
When dividing 58 by 997, we get 0 with a remainder of 58.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtract 0 from 58 to get 58.
Take the next digit (7) from the dividend and append it to 58, then repeat: 587 / 997

Going ahead to step 3:
997 can be fit into 587 0 times, resulting in a remainder of 587.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtracting 0 from 587 leaves us with 587.
Append the next digit (8) from the dividend to 587 and continue with: 5878 / 997

On to step 4:
The number 997 fits into 5878 5 times, leaving a remainder of 893.
Write down 5 as next digit of the result. 
Result so far: 5.0
The remainder is 893 after subtracting 4985 from 5878.
Append the next digit (0) from the dividend to 893 and continue with: 8930 / 997

Moving on to step 5:
If we divide 8930 by 997, we get 8 and a remainder of 954.
The next digit of our result is 8. 
Result so far: 58.0
If we subtract 7976 from 8930, we get 954.
Bring next digit (1) of the dividend behind the 954 and repeat the process: 9541 / 997

Moving on to step 6:
997 goes into 9541 9 times with a remainder of 568.
Use 9 as the next digit of our solution. 
Result so far: 589.0
Subtracting 8973 from 9541 leaves us with 568.
Take the next digit (8) from the dividend and append it to 568, then repeat: 5688 / 997

Moving on to step 7:
When dividing 5688 by 997, we get 5 with a remainder of 703.
Use 5 as the next digit of our solution. 
Result so far: 5895.0
Subtract 4985 from 5688 to get 703.
Bring next digit (7) of the dividend behind the 703 and repeat the process: 7037 / 997

Let's proceed to step 8:
If we divide 7037 by 997, we get 7 and a remainder of 58.
Write down 7 as next digit of the result. 
Result so far: 58957.0
Subtracting 6979 from 7037 leaves us with 58.
Since there are no more digits in the dividend, we add a zero to the remainder making it 580, and continue the process.

Step 9:
The number 997 fits into 580 0 times, leaving a remainder of 580.
Use 0 as the next digit of our solution. 
Result so far: 58957.0
Subtracting 0 from 580 leaves us with 580.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5800, and continue the process.

Going ahead to step 10:
5800 divided by 997 is 5 with a remainder of 815.
The number 5 becomes the next digit in our result. 
Result so far: 58957.05
If we take 4985 away from 5800, we end up with 815.
Since there are no more digits in the dividend, we add a zero to the remainder making it 8150, and continue the process.

Let's proceed to step 11:
When dividing 8150 by 997, we get 8 with a remainder of 174.
Write down 8 as next digit of the result. 
Result so far: 58957.058
The remainder is 174 after subtracting 7976 from 8150.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1740, and continue the process.

Moving on to step 12:
1740 divided by 997 is 1 with a remainder of 743.
The next digit of our result is 1. 
Result so far: 58957.0581
If we subtract 997 from 1740, we get 743.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7430, and continue the process.

On to step 13:
The number 997 fits into 7430 7 times, leaving a remainder of 451.
Use 7 as the next digit of our solution. 
Result so far: 58957.05817
The remainder is 451 after subtracting 6979 from 7430.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4510, and continue the process.

Moving on to step 14:
997 can be fit into 4510 4 times, resulting in a remainder of 522.
The number 4 becomes the next digit in our result. 
Result so far: 58957.058174
Subtracting 3988 from 4510 leaves us with 522.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5220, and continue the process.

Advancing to step 15:
5220 divided by 997 is 5 with a remainder of 235.
The number 5 becomes the next digit in our result. 
Result so far: 58957.0581745
The remainder is 235 after subtracting 4985 from 5220.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2350, and continue the process.

Moving on to step 16:
997 can be fit into 2350 2 times, resulting in a remainder of 356.
Write down 2 as next digit of the result. 
Result so far: 58957.05817452
Subtract 1994 from 2350 to get 356.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3560, and continue the process.

The quotient of the division is 58957.05817452, and the remainder is 3.56e-07.