We're dividing 31131417 by 167 
We want to figure out the number of times 31131417 can be divided by 167.

Moving on to step 1:
167 goes into 3 0 times with a remainder of 3.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 3 and we're left with 3.
Bring next digit (1) of the dividend behind the 3 and repeat the process: 31 / 167

On to step 2:
31 divided by 167 is 0 with a remainder of 31.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 31 to get 31.
Grab the next digit (1) from the dividend, add it to 31, then carry on: 311 / 167

Going ahead to step 3:
167 goes into 311 1 times with a remainder of 144.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
Subtract 167 from 311 to get 144.
Take the next digit (3) from the dividend and append it to 144, then repeat: 1443 / 167

On to step 4:
1443 divided by 167 is 8 with a remainder of 107.
Write down 8 as next digit of the result. 
Result so far: 18.0
The remainder is 107 after subtracting 1336 from 1443.
Grab the next digit (1) from the dividend, add it to 107, then carry on: 1071 / 167

Let's proceed to step 5:
When dividing 1071 by 167, we get 6 with a remainder of 69.
Record the quotient 6 as the next digit in the result. 
Result so far: 186.0
The remainder is 69 after subtracting 1002 from 1071.
Append the next digit (4) from the dividend to 69 and continue with: 694 / 167

Let's proceed to step 6:
694 divided by 167 is 4 with a remainder of 26.
Record the quotient 4 as the next digit in the result. 
Result so far: 1864.0
If we take 668 away from 694, we end up with 26.
Include the next digit (1) from the dividend after 26, then repeat: 261 / 167

Advancing to step 7:
167 goes into 261 1 times with a remainder of 94.
The number 1 becomes the next digit in our result. 
Result so far: 18641.0
If we take 167 away from 261, we end up with 94.
Append the next digit (7) from the dividend to 94 and continue with: 947 / 167

Step 8:
The number 167 fits into 947 5 times, leaving a remainder of 112.
Write down 5 as next digit of the result. 
Result so far: 186415.0
Subtracting 835 from 947 leaves us with 112.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1120, and continue the process.

On to step 9:
When dividing 1120 by 167, we get 6 with a remainder of 118.
Put 6 as the next digit of the answer. 
Result so far: 186415.6
If we subtract 1002 from 1120, we get 118.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1180, and continue the process.

Let's proceed to step 10:
167 can be fit into 1180 7 times, resulting in a remainder of 11.
Use 7 as the next digit of our solution. 
Result so far: 186415.67
If we subtract 1169 from 1180, we get 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

On to step 11:
167 can be fit into 110 0 times, resulting in a remainder of 110.
The number 0 becomes the next digit in our result. 
Result so far: 186415.67
If we take 0 away from 110, we end up with 110.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1100, and continue the process.

Let's proceed to step 12:
When dividing 1100 by 167, we get 6 with a remainder of 98.
The next digit of our result is 6. 
Result so far: 186415.6706
Deduct 1002 from 1100 and we're left with 98.
Since there are no more digits in the dividend, we add a zero to the remainder making it 980, and continue the process.

Step 13:
When dividing 980 by 167, we get 5 with a remainder of 145.
Write down 5 as next digit of the result. 
Result so far: 186415.67065
If we take 835 away from 980, we end up with 145.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1450, and continue the process.

On to step 14:
167 goes into 1450 8 times with a remainder of 114.
Record the quotient 8 as the next digit in the result. 
Result so far: 186415.670658
If we subtract 1336 from 1450, we get 114.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1140, and continue the process.

Going ahead to step 15:
When dividing 1140 by 167, we get 6 with a remainder of 138.
The next digit of our result is 6. 
Result so far: 186415.6706586
If we take 1002 away from 1140, we end up with 138.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1380, and continue the process.

Advancing to step 16:
167 can be fit into 1380 8 times, resulting in a remainder of 44.
Put 8 as the next digit of the answer. 
Result so far: 186415.67065868
If we take 1336 away from 1380, we end up with 44.
Since there are no more digits in the dividend, we add a zero to the remainder making it 440, and continue the process.

The final outcome is 186415.67065868, with a leftover of 4.4e-08.