We look at the division of 31251269 by 167 
We want to divide 31251269 by 167.

Let's proceed to step 1:
If we divide 3 by 167, we get 0 and a remainder of 3.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 3 and we're left with 3.
Take the next digit (1) from the dividend and append it to 3, then repeat: 31 / 167

Moving on to step 2:
The number 167 fits into 31 0 times, leaving a remainder of 31.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtract 0 from 31 to get 31.
Append the next digit (2) from the dividend to 31 and continue with: 312 / 167

Advancing to step 3:
When dividing 312 by 167, we get 1 with a remainder of 145.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
The remainder is 145 after subtracting 167 from 312.
Grab the next digit (5) from the dividend, add it to 145, then carry on: 1455 / 167

Advancing to step 4:
The number 167 fits into 1455 8 times, leaving a remainder of 119.
The next digit of our result is 8. 
Result so far: 18.0
Deduct 1336 from 1455 and we're left with 119.
Take the next digit (1) from the dividend and append it to 119, then repeat: 1191 / 167

Going ahead to step 5:
When dividing 1191 by 167, we get 7 with a remainder of 22.
Use 7 as the next digit of our solution. 
Result so far: 187.0
Subtracting 1169 from 1191 leaves us with 22.
Bring next digit (2) of the dividend behind the 22 and repeat the process: 222 / 167

Let's proceed to step 6:
If we divide 222 by 167, we get 1 and a remainder of 55.
The next digit of our result is 1. 
Result so far: 1871.0
Deduct 167 from 222 and we're left with 55.
Take the next digit (6) from the dividend and append it to 55, then repeat: 556 / 167

Step 7:
The number 167 fits into 556 3 times, leaving a remainder of 55.
Use 3 as the next digit of our solution. 
Result so far: 18713.0
The remainder is 55 after subtracting 501 from 556.
Append the next digit (9) from the dividend to 55 and continue with: 559 / 167

Moving on to step 8:
167 goes into 559 3 times with a remainder of 58.
The next digit of our result is 3. 
Result so far: 187133.0
Subtract 501 from 559 to get 58.
Since there are no more digits in the dividend, we add a zero to the remainder making it 580, and continue the process.

Let's proceed to step 9:
580 divided by 167 is 3 with a remainder of 79.
Use 3 as the next digit of our solution. 
Result so far: 187133.3
If we take 501 away from 580, we end up with 79.
Since there are no more digits in the dividend, we add a zero to the remainder making it 790, and continue the process.

Let's proceed to step 10:
The number 167 fits into 790 4 times, leaving a remainder of 122.
Put 4 as the next digit of the answer. 
Result so far: 187133.34
If we subtract 668 from 790, we get 122.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1220, and continue the process.

Let's proceed to step 11:
167 goes into 1220 7 times with a remainder of 51.
Record the quotient 7 as the next digit in the result. 
Result so far: 187133.347
If we subtract 1169 from 1220, we get 51.
Since there are no more digits in the dividend, we add a zero to the remainder making it 510, and continue the process.

On to step 12:
If we divide 510 by 167, we get 3 and a remainder of 9.
The number 3 becomes the next digit in our result. 
Result so far: 187133.3473
If we subtract 501 from 510, we get 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 13:
When dividing 90 by 167, we get 0 with a remainder of 90.
Write down 0 as next digit of the result. 
Result so far: 187133.3473
The remainder is 90 after subtracting 0 from 90.
Since there are no more digits in the dividend, we add a zero to the remainder making it 900, and continue the process.

Step 14:
When dividing 900 by 167, we get 5 with a remainder of 65.
The number 5 becomes the next digit in our result. 
Result so far: 187133.347305
The remainder is 65 after subtracting 835 from 900.
Since there are no more digits in the dividend, we add a zero to the remainder making it 650, and continue the process.

Advancing to step 15:
167 goes into 650 3 times with a remainder of 149.
Record the quotient 3 as the next digit in the result. 
Result so far: 187133.3473053
If we take 501 away from 650, we end up with 149.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1490, and continue the process.

Let's proceed to step 16:
167 can be fit into 1490 8 times, resulting in a remainder of 154.
Record the quotient 8 as the next digit in the result. 
Result so far: 187133.34730538
If we take 1336 away from 1490, we end up with 154.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1540, and continue the process.

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