We divide 5031 by 58
We're looking to find how many times 58 goes into 5031.

Advancing to step 1:
58 can be fit into 5 0 times, resulting in a remainder of 5.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtracting 0 from 5 leaves us with 5.
Bring next digit (0) of the dividend behind the 5 and repeat the process: 50 / 58

Advancing to step 2:
The number 58 fits into 50 0 times, leaving a remainder of 50.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 50 and we're left with 50.
Bring next digit (3) of the dividend behind the 50 and repeat the process: 503 / 58

Step 3:
58 can be fit into 503 8 times, resulting in a remainder of 39.
Use 8 as the next digit of our solution. 
Result so far: 8.0
Deduct 464 from 503 and we're left with 39.
Grab the next digit (1) from the dividend, add it to 39, then carry on: 391 / 58

Moving on to step 4:
If we divide 391 by 58, we get 6 and a remainder of 43.
Record the quotient 6 as the next digit in the result. 
Result so far: 86.0
If we take 348 away from 391, we end up with 43.
Since there are no more digits in the dividend, we add a zero to the remainder making it 430, and continue the process.

On to step 5:
58 goes into 430 7 times with a remainder of 24.
The number 7 becomes the next digit in our result. 
Result so far: 86.7
If we subtract 406 from 430, we get 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

On to step 6:
When dividing 240 by 58, we get 4 with a remainder of 8.
The next digit of our result is 4. 
Result so far: 86.74
If we subtract 232 from 240, we get 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Advancing to step 7:
58 goes into 80 1 times with a remainder of 22.
Use 1 as the next digit of our solution. 
Result so far: 86.741
If we take 58 away from 80, we end up with 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Advancing to step 8:
The number 58 fits into 220 3 times, leaving a remainder of 46.
Put 3 as the next digit of the answer. 
Result so far: 86.7413
Subtracting 174 from 220 leaves us with 46.
Since there are no more digits in the dividend, we add a zero to the remainder making it 460, and continue the process.

Step 9:
58 goes into 460 7 times with a remainder of 54.
Put 7 as the next digit of the answer. 
Result so far: 86.74137
Subtract 406 from 460 to get 54.
Since there are no more digits in the dividend, we add a zero to the remainder making it 540, and continue the process.

Step 10:
58 goes into 540 9 times with a remainder of 18.
The number 9 becomes the next digit in our result. 
Result so far: 86.741379
If we take 522 away from 540, we end up with 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Advancing to step 11:
When dividing 180 by 58, we get 3 with a remainder of 6.
Record the quotient 3 as the next digit in the result. 
Result so far: 86.7413793
Deduct 174 from 180 and we're left with 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Step 12:
60 divided by 58 is 1 with a remainder of 2.
The next digit of our result is 1. 
Result so far: 86.74137931
Subtract 58 from 60 to get 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

The final outcome is 86.74137931, with a leftover of 2e-09.