We're dividing 31674558 by 587 
We want to figure out the number of times 31674558 can be divided by 587.

Going ahead to step 1:
587 can be fit into 3 0 times, resulting in a remainder of 3.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 3, we end up with 3.
Fetch the next digit (1) from the dividend, attach it to 3 and continue: 31 / 587

Let's proceed to step 2:
31 divided by 587 is 0 with a remainder of 31.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we subtract 0 from 31, we get 31.
Include the next digit (6) from the dividend after 31, then repeat: 316 / 587

Advancing to step 3:
587 goes into 316 0 times with a remainder of 316.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
The remainder is 316 after subtracting 0 from 316.
Append the next digit (7) from the dividend to 316 and continue with: 3167 / 587

Let's proceed to step 4:
The number 587 fits into 3167 5 times, leaving a remainder of 232.
Write down 5 as next digit of the result. 
Result so far: 5.0
Subtracting 2935 from 3167 leaves us with 232.
Include the next digit (4) from the dividend after 232, then repeat: 2324 / 587

On to step 5:
When dividing 2324 by 587, we get 3 with a remainder of 563.
Put 3 as the next digit of the answer. 
Result so far: 53.0
The remainder is 563 after subtracting 1761 from 2324.
Include the next digit (5) from the dividend after 563, then repeat: 5635 / 587

Moving on to step 6:
The number 587 fits into 5635 9 times, leaving a remainder of 352.
Put 9 as the next digit of the answer. 
Result so far: 539.0
Deduct 5283 from 5635 and we're left with 352.
Include the next digit (5) from the dividend after 352, then repeat: 3525 / 587

Step 7:
The number 587 fits into 3525 6 times, leaving a remainder of 3.
Write down 6 as next digit of the result. 
Result so far: 5396.0
If we take 3522 away from 3525, we end up with 3.
Fetch the next digit (8) from the dividend, attach it to 3 and continue: 38 / 587

Moving on to step 8:
The number 587 fits into 38 0 times, leaving a remainder of 38.
Put 0 as the next digit of the answer. 
Result so far: 53960.0
Subtracting 0 from 38 leaves us with 38.
Since there are no more digits in the dividend, we add a zero to the remainder making it 380, and continue the process.

Advancing to step 9:
587 goes into 380 0 times with a remainder of 380.
Record the quotient 0 as the next digit in the result. 
Result so far: 53960.0
The remainder is 380 after subtracting 0 from 380.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3800, and continue the process.

Advancing to step 10:
587 goes into 3800 6 times with a remainder of 278.
The next digit of our result is 6. 
Result so far: 53960.06
Subtract 3522 from 3800 to get 278.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2780, and continue the process.

Let's proceed to step 11:
587 goes into 2780 4 times with a remainder of 432.
Record the quotient 4 as the next digit in the result. 
Result so far: 53960.064
If we take 2348 away from 2780, we end up with 432.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4320, and continue the process.

On to step 12:
4320 divided by 587 is 7 with a remainder of 211.
The next digit of our result is 7. 
Result so far: 53960.0647
The remainder is 211 after subtracting 4109 from 4320.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2110, and continue the process.

Moving on to step 13:
587 can be fit into 2110 3 times, resulting in a remainder of 349.
Put 3 as the next digit of the answer. 
Result so far: 53960.06473
Subtracting 1761 from 2110 leaves us with 349.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3490, and continue the process.

Let's proceed to step 14:
When dividing 3490 by 587, we get 5 with a remainder of 555.
Use 5 as the next digit of our solution. 
Result so far: 53960.064735
Subtracting 2935 from 3490 leaves us with 555.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5550, and continue the process.

Step 15:
587 goes into 5550 9 times with a remainder of 267.
Use 9 as the next digit of our solution. 
Result so far: 53960.0647359
The remainder is 267 after subtracting 5283 from 5550.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2670, and continue the process.

Step 16:
587 goes into 2670 4 times with a remainder of 322.
The next digit of our result is 4. 
Result so far: 53960.06473594
If we take 2348 away from 2670, we end up with 322.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3220, and continue the process.

In conclusion, the division gives 53960.06473594 with a balance of 3.22e-07.