We're dividing 222031 by 31 
We're looking to find how many times 31 goes into 222031.

Step 1:
31 can be fit into 2 0 times, resulting in a remainder of 2.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 2 and we're left with 2.
Append the next digit (2) from the dividend to 2 and continue with: 22 / 31

Advancing to step 2:
31 goes into 22 0 times with a remainder of 22.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtracting 0 from 22 leaves us with 22.
Grab the next digit (2) from the dividend, add it to 22, then carry on: 222 / 31

Let's proceed to step 3:
The number 31 fits into 222 7 times, leaving a remainder of 5.
Record the quotient 7 as the next digit in the result. 
Result so far: 7.0
If we take 217 away from 222, we end up with 5.
Append the next digit (0) from the dividend to 5 and continue with: 50 / 31

Going ahead to step 4:
50 divided by 31 is 1 with a remainder of 19.
Put 1 as the next digit of the answer. 
Result so far: 71.0
If we subtract 31 from 50, we get 19.
Fetch the next digit (3) from the dividend, attach it to 19 and continue: 193 / 31

Going ahead to step 5:
The number 31 fits into 193 6 times, leaving a remainder of 7.
The number 6 becomes the next digit in our result. 
Result so far: 716.0
Subtracting 186 from 193 leaves us with 7.
Bring next digit (1) of the dividend behind the 7 and repeat the process: 71 / 31

Going ahead to step 6:
31 can be fit into 71 2 times, resulting in a remainder of 9.
The number 2 becomes the next digit in our result. 
Result so far: 7162.0
If we take 62 away from 71, we end up 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 7:
When dividing 90 by 31, we get 2 with a remainder of 28.
Write down 2 as next digit of the result. 
Result so far: 7162.2
If we subtract 62 from 90, we get 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

On to step 8:
280 divided by 31 is 9 with a remainder of 1.
The next digit of our result is 9. 
Result so far: 7162.29
If we subtract 279 from 280, we get 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Advancing to step 9:
When dividing 10 by 31, we get 0 with a remainder of 10.
Record the quotient 0 as the next digit in the result. 
Result so far: 7162.29
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.

On to step 10:
The number 31 fits into 100 3 times, leaving a remainder of 7.
Record the quotient 3 as the next digit in the result. 
Result so far: 7162.2903
If we take 93 away from 100, we end up 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.

Step 11:
If we divide 70 by 31, we get 2 and a remainder of 8.
Record the quotient 2 as the next digit in the result. 
Result so far: 7162.29032
The remainder is 8 after subtracting 62 from 70.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Going ahead to step 12:
31 can be fit into 80 2 times, resulting in a remainder of 18.
Put 2 as the next digit of the answer. 
Result so far: 7162.290322
Deduct 62 from 80 and we're left 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.

The quotient of the division is 7162.290322, and the remainder is 1.8e-06.