31858946 divided by 167 
We want to figure out the number of times 31858946 can be divided by 167.

Going ahead to step 1:
The number 167 fits into 3 0 times, leaving a remainder of 3.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 3, we end up with 3.
Fetch the next digit (1) from the dividend, attach it to 3 and continue: 31 / 167

Going ahead to step 2:
167 can be fit into 31 0 times, resulting in a remainder of 31.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Deduct 0 from 31 and we're left with 31.
Take the next digit (8) from the dividend and append it to 31, then repeat: 318 / 167

On to step 3:
167 can be fit into 318 1 times, resulting in a remainder of 151.
The next digit of our result is 1. 
Result so far: 1.0
Subtract 167 from 318 to get 151.
Append the next digit (5) from the dividend to 151 and continue with: 1515 / 167

Step 4:
167 goes into 1515 9 times with a remainder of 12.
Write down 9 as next digit of the result. 
Result so far: 19.0
If we take 1503 away from 1515, we end up with 12.
Append the next digit (8) from the dividend to 12 and continue with: 128 / 167

Step 5:
When dividing 128 by 167, we get 0 with a remainder of 128.
Write down 0 as next digit of the result. 
Result so far: 190.0
Subtracting 0 from 128 leaves us with 128.
Append the next digit (9) from the dividend to 128 and continue with: 1289 / 167

On to step 6:
1289 divided by 167 is 7 with a remainder of 120.
The next digit of our result is 7. 
Result so far: 1907.0
Subtracting 1169 from 1289 leaves us with 120.
Bring next digit (4) of the dividend behind the 120 and repeat the process: 1204 / 167

Step 7:
167 goes into 1204 7 times with a remainder of 35.
Use 7 as the next digit of our solution. 
Result so far: 19077.0
If we take 1169 away from 1204, we end up with 35.
Include the next digit (6) from the dividend after 35, then repeat: 356 / 167

Advancing to step 8:
When dividing 356 by 167, we get 2 with a remainder of 22.
Use 2 as the next digit of our solution. 
Result so far: 190772.0
Subtract 334 from 356 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.

Let's proceed to step 9:
The number 167 fits into 220 1 times, leaving a remainder of 53.
Write down 1 as next digit of the result. 
Result so far: 190772.1
The remainder is 53 after subtracting 167 from 220.
Since there are no more digits in the dividend, we add a zero to the remainder making it 530, and continue the process.

Step 10:
The number 167 fits into 530 3 times, leaving a remainder of 29.
Use 3 as the next digit of our solution. 
Result so far: 190772.13
Deduct 501 from 530 and we're left with 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 11:
If we divide 290 by 167, we get 1 and a remainder of 123.
The number 1 becomes the next digit in our result. 
Result so far: 190772.131
Subtracting 167 from 290 leaves us with 123.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1230, and continue the process.

Going ahead to step 12:
If we divide 1230 by 167, we get 7 and a remainder of 61.
The number 7 becomes the next digit in our result. 
Result so far: 190772.1317
Subtract 1169 from 1230 to get 61.
Since there are no more digits in the dividend, we add a zero to the remainder making it 610, and continue the process.

Let's proceed to step 13:
When dividing 610 by 167, we get 3 with a remainder of 109.
The next digit of our result is 3. 
Result so far: 190772.13173
Deduct 501 from 610 and we're left with 109.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1090, and continue the process.

Going ahead to step 14:
167 can be fit into 1090 6 times, resulting in a remainder of 88.
Use 6 as the next digit of our solution. 
Result so far: 190772.131736
If we subtract 1002 from 1090, we get 88.
Since there are no more digits in the dividend, we add a zero to the remainder making it 880, and continue the process.

On to step 15:
When dividing 880 by 167, we get 5 with a remainder of 45.
The next digit of our result is 5. 
Result so far: 190772.1317365
Deduct 835 from 880 and we're left with 45.
Since there are no more digits in the dividend, we add a zero to the remainder making it 450, and continue the process.

On to step 16:
167 goes into 450 2 times with a remainder of 116.
The number 2 becomes the next digit in our result. 
Result so far: 190772.13173652
If we take 334 away from 450, we end up with 116.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1160, and continue the process.

The final outcome is 190772.13173652, with a leftover of 1.16e-07.