267845 divided by 31 
Our goal is to divide 267845 by 31.

On to step 1:
2 divided by 31 is 0 with a remainder of 2.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtract 0 from 2 to get 2.
Take the next digit (6) from the dividend and append it to 2, then repeat: 26 / 31

Advancing to step 2:
31 can be fit into 26 0 times, resulting in a remainder of 26.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 26 and we're left with 26.
Bring next digit (7) of the dividend behind the 26 and repeat the process: 267 / 31

Going ahead to step 3:
If we divide 267 by 31, we get 8 and a remainder of 19.
Use 8 as the next digit of our solution. 
Result so far: 8.0
Subtracting 248 from 267 leaves us with 19.
Include the next digit (8) from the dividend after 19, then repeat: 198 / 31

On to step 4:
If we divide 198 by 31, we get 6 and a remainder of 12.
Write down 6 as next digit of the result. 
Result so far: 86.0
Subtract 186 from 198 to get 12.
Bring next digit (4) of the dividend behind the 12 and repeat the process: 124 / 31

Step 5:
If we divide 124 by 31, we get 4 and a remainder of 0.
Use 4 as the next digit of our solution. 
Result so far: 864.0
Deduct 124 from 124 and we're left with 0.
Include the next digit (5) from the dividend after 0, then repeat: 5 / 31

Step 6:
If we divide 5 by 31, we get 0 and a remainder of 5.
The number 0 becomes the next digit in our result. 
Result so far: 8640.0
If we take 0 away from 5, we end up with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Going ahead to step 7:
When dividing 50 by 31, we get 1 with a remainder of 19.
The next digit of our result is 1. 
Result so far: 8640.1
If we subtract 31 from 50, we 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.

On to step 8:
190 divided by 31 is 6 with a remainder of 4.
The next digit of our result is 6. 
Result so far: 8640.16
Subtract 186 from 190 to 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 9:
If we divide 40 by 31, we get 1 and a remainder of 9.
Put 1 as the next digit of the answer. 
Result so far: 8640.161
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.

Going ahead to step 10:
90 divided by 31 is 2 with a remainder of 28.
Record the quotient 2 as the next digit in the result. 
Result so far: 8640.1612
Subtracting 62 from 90 leaves us 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.

Moving on to step 11:
280 divided by 31 is 9 with a remainder of 1.
Write down 9 as next digit of the result. 
Result so far: 8640.16129
If we take 279 away from 280, we end up with 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Step 12:
If we divide 10 by 31, we get 0 and a remainder of 10.
Write down 0 as next digit of the result. 
Result so far: 8640.16129
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.

Let's proceed to step 13:
31 can be fit into 100 3 times, resulting in a remainder of 7.
Use 3 as the next digit of our solution. 
Result so far: 8640.1612903
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.

Going ahead to step 14:
31 can be fit into 70 2 times, resulting in a remainder of 8.
Write down 2 as next digit of the result. 
Result so far: 8640.16129032
Deduct 62 from 70 and we're left with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

The final result is 8640.16129032 with a remainder of 8e-09.