Let's divide 31108568 by 586
We want to divide 31108568 by 586.

Advancing to step 1:
When dividing 3 by 586, we get 0 with a remainder of 3.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we take 0 away from 3, we end up with 3.
Include the next digit (1) from the dividend after 3, then repeat: 31 / 586

Moving on to step 2:
586 can be fit into 31 0 times, resulting in a remainder of 31.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 31 after subtracting 0 from 31.
Fetch the next digit (1) from the dividend, attach it to 31 and continue: 311 / 586

On to step 3:
311 divided by 586 is 0 with a remainder of 311.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtracting 0 from 311 leaves us with 311.
Append the next digit (0) from the dividend to 311 and continue with: 3110 / 586

Step 4:
When dividing 3110 by 586, we get 5 with a remainder of 180.
The number 5 becomes the next digit in our result. 
Result so far: 5.0
Deduct 2930 from 3110 and we're left with 180.
Bring next digit (8) of the dividend behind the 180 and repeat the process: 1808 / 586

On to step 5:
If we divide 1808 by 586, we get 3 and a remainder of 50.
Write down 3 as next digit of the result. 
Result so far: 53.0
Subtracting 1758 from 1808 leaves us with 50.
Grab the next digit (5) from the dividend, add it to 50, then carry on: 505 / 586

Moving on to step 6:
505 divided by 586 is 0 with a remainder of 505.
The next digit of our result is 0. 
Result so far: 530.0
If we subtract 0 from 505, we get 505.
Grab the next digit (6) from the dividend, add it to 505, then carry on: 5056 / 586

On to step 7:
586 goes into 5056 8 times with a remainder of 368.
Use 8 as the next digit of our solution. 
Result so far: 5308.0
Deduct 4688 from 5056 and we're left with 368.
Grab the next digit (8) from the dividend, add it to 368, then carry on: 3688 / 586

On to step 8:
When dividing 3688 by 586, we get 6 with a remainder of 172.
Write down 6 as next digit of the result. 
Result so far: 53086.0
Subtract 3516 from 3688 to get 172.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1720, and continue the process.

Moving on to step 9:
586 goes into 1720 2 times with a remainder of 548.
The next digit of our result is 2. 
Result so far: 53086.2
Subtracting 1172 from 1720 leaves us with 548.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5480, and continue the process.

Advancing to step 10:
If we divide 5480 by 586, we get 9 and a remainder of 206.
Use 9 as the next digit of our solution. 
Result so far: 53086.29
If we subtract 5274 from 5480, we get 206.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2060, and continue the process.

Going ahead to step 11:
If we divide 2060 by 586, we get 3 and a remainder of 302.
Use 3 as the next digit of our solution. 
Result so far: 53086.293
The remainder is 302 after subtracting 1758 from 2060.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3020, and continue the process.

Advancing to step 12:
When dividing 3020 by 586, we get 5 with a remainder of 90.
Write down 5 as next digit of the result. 
Result so far: 53086.2935
If we take 2930 away from 3020, we end up with 90.
Since there are no more digits in the dividend, we add a zero to the remainder making it 900, and continue the process.

Moving on to step 13:
900 divided by 586 is 1 with a remainder of 314.
Record the quotient 1 as the next digit in the result. 
Result so far: 53086.29351
Subtracting 586 from 900 leaves us with 314.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3140, and continue the process.

On to step 14:
If we divide 3140 by 586, we get 5 and a remainder of 210.
The number 5 becomes the next digit in our result. 
Result so far: 53086.293515
Deduct 2930 from 3140 and we're left with 210.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2100, and continue the process.

Going ahead to step 15:
If we divide 2100 by 586, we get 3 and a remainder of 342.
Put 3 as the next digit of the answer. 
Result so far: 53086.2935153
The remainder is 342 after subtracting 1758 from 2100.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3420, and continue the process.

Going ahead to step 16:
When dividing 3420 by 586, we get 5 with a remainder of 490.
The number 5 becomes the next digit in our result. 
Result so far: 53086.29351535
Subtract 2930 from 3420 to get 490.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4900, and continue the process.

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