311566 divided by 31 
We want to divide 311566 by 31.

Let's proceed to step 1:
When dividing 3 by 31, we get 0 with a remainder of 3.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 3 and we're left with 3.
Include the next digit (1) from the dividend after 3, then repeat: 31 / 31

Let's proceed to step 2:
31 divided by 31 is 1 with a remainder of 0.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
If we subtract 31 from 31, we get 0.
Fetch the next digit (1) from the dividend, attach it to 0 and continue: 1 / 31

Let's proceed to step 3:
1 divided by 31 is 0 with a remainder of 1.
Record the quotient 0 as the next digit in the result. 
Result so far: 10.0
If we subtract 0 from 1, we get 1.
Take the next digit (5) from the dividend and append it to 1, then repeat: 15 / 31

Going ahead to step 4:
15 divided by 31 is 0 with a remainder of 15.
The next digit of our result is 0. 
Result so far: 100.0
Subtracting 0 from 15 leaves us with 15.
Fetch the next digit (6) from the dividend, attach it to 15 and continue: 156 / 31

Let's proceed to step 5:
If we divide 156 by 31, we get 5 and a remainder of 1.
Put 5 as the next digit of the answer. 
Result so far: 1005.0
Deduct 155 from 156 and we're left with 1.
Include the next digit (6) from the dividend after 1, then repeat: 16 / 31

Moving on to step 6:
31 can be fit into 16 0 times, resulting in a remainder of 16.
The next digit of our result is 0. 
Result so far: 10050.0
If we subtract 0 from 16, we get 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

On to step 7:
When dividing 160 by 31, we get 5 with a remainder of 5.
Use 5 as the next digit of our solution. 
Result so far: 10050.5
The remainder is 5 after subtracting 155 from 160.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

On to step 8:
31 can be fit into 50 1 times, resulting in a remainder of 19.
Use 1 as the next digit of our solution. 
Result so far: 10050.51
Subtract 31 from 50 to get 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

Advancing to step 9:
31 goes into 190 6 times with a remainder of 4.
Use 6 as the next digit of our solution. 
Result so far: 10050.516
If we subtract 186 from 190, we get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Advancing to step 10:
40 divided by 31 is 1 with a remainder of 9.
Use 1 as the next digit of our solution. 
Result so far: 10050.5161
Subtracting 31 from 40 leaves us with 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Step 11:
31 can be fit into 90 2 times, resulting in a remainder of 28.
Use 2 as the next digit of our solution. 
Result so far: 10050.51612
If we take 62 away from 90, we end up with 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Going ahead to step 12:
280 divided by 31 is 9 with a remainder of 1.
Write down 9 as next digit of the result. 
Result so far: 10050.516129
The remainder is 1 after subtracting 279 from 280.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Let's proceed to step 13:
10 divided by 31 is 0 with a remainder of 10.
The number 0 becomes the next digit in our result. 
Result so far: 10050.516129
Subtract 0 from 10 to get 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Advancing to step 14:
The number 31 fits into 100 3 times, leaving a remainder of 7.
Write down 3 as next digit of the result. 
Result so far: 10050.51612903
Subtracting 93 from 100 leaves us with 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

In conclusion, the division gives 10050.51612903 with a balance of 7e-09.