We divide 218145 by 31
We're looking to find how many times 31 goes into 218145.

On to step 1:
2 divided by 31 is 0 with a remainder of 2.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 2 to get 2.
Bring next digit (1) of the dividend behind the 2 and repeat the process: 21 / 31

Advancing to step 2:
31 goes into 21 0 times with a remainder of 21.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 21, we get 21.
Append the next digit (8) from the dividend to 21 and continue with: 218 / 31

Going ahead to step 3:
31 goes into 218 7 times with a remainder of 1.
Write down 7 as next digit of the result. 
Result so far: 7.0
If we subtract 217 from 218, we get 1.
Bring next digit (1) of the dividend behind the 1 and repeat the process: 11 / 31

Moving on to step 4:
11 divided by 31 is 0 with a remainder of 11.
Write down 0 as next digit of the result. 
Result so far: 70.0
Deduct 0 from 11 and we're left with 11.
Bring next digit (4) of the dividend behind the 11 and repeat the process: 114 / 31

Advancing to step 5:
31 can be fit into 114 3 times, resulting in a remainder of 21.
The number 3 becomes the next digit in our result. 
Result so far: 703.0
If we subtract 93 from 114, we get 21.
Append the next digit (5) from the dividend to 21 and continue with: 215 / 31

Moving on to step 6:
The number 31 fits into 215 6 times, leaving a remainder of 29.
Use 6 as the next digit of our solution. 
Result so far: 7036.0
Subtract 186 from 215 to get 29.
Since there are no more digits in the dividend, we add a zero to the remainder making it 290, and continue the process.

Moving on to step 7:
31 can be fit into 290 9 times, resulting in a remainder of 11.
Write down 9 as next digit of the result. 
Result so far: 7036.9
Subtracting 279 from 290 leaves us with 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

Let's proceed to step 8:
31 goes into 110 3 times with a remainder of 17.
Put 3 as the next digit of the answer. 
Result so far: 7036.93
Subtract 93 from 110 to get 17.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

Advancing to step 9:
31 can be fit into 170 5 times, resulting in a remainder of 15.
The number 5 becomes the next digit in our result. 
Result so far: 7036.935
Subtracting 155 from 170 leaves us with 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Advancing to step 10:
If we divide 150 by 31, we get 4 and a remainder of 26.
The number 4 becomes the next digit in our result. 
Result so far: 7036.9354
Subtracting 124 from 150 leaves us with 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Let's proceed to step 11:
If we divide 260 by 31, we get 8 and a remainder of 12.
Use 8 as the next digit of our solution. 
Result so far: 7036.93548
Subtracting 248 from 260 leaves us with 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

On to step 12:
120 divided by 31 is 3 with a remainder of 27.
The next digit of our result is 3. 
Result so far: 7036.935483
Subtract 93 from 120 to get 27.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

On to step 13:
If we divide 270 by 31, we get 8 and a remainder of 22.
The next digit of our result is 8. 
Result so far: 7036.9354838
Subtract 248 from 270 to get 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

On to step 14:
31 goes into 220 7 times with a remainder of 3.
Put 7 as the next digit of the answer. 
Result so far: 7036.93548387
Subtract 217 from 220 to get 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

The final outcome is 7036.93548387, with a leftover of 3e-09.