164072 ÷ 31 
We want to divide 164072 by 31.

On to step 1:
If we divide 1 by 31, we get 0 and a remainder of 1.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we take 0 away from 1, we end up with 1.
Include the next digit (6) from the dividend after 1, then repeat: 16 / 31

Going ahead to step 2:
The number 31 fits into 16 0 times, leaving a remainder of 16.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we take 0 away from 16, we end up with 16.
Take the next digit (4) from the dividend and append it to 16, then repeat: 164 / 31

Advancing to step 3:
164 divided by 31 is 5 with a remainder of 9.
Put 5 as the next digit of the answer. 
Result so far: 5.0
The remainder is 9 after subtracting 155 from 164.
Bring next digit (0) of the dividend behind the 9 and repeat the process: 90 / 31

Step 4:
31 can be fit into 90 2 times, resulting in a remainder of 28.
The number 2 becomes the next digit in our result. 
Result so far: 52.0
Subtracting 62 from 90 leaves us with 28.
Fetch the next digit (7) from the dividend, attach it to 28 and continue: 287 / 31

Going ahead to step 5:
31 goes into 287 9 times with a remainder of 8.
The next digit of our result is 9. 
Result so far: 529.0
The remainder is 8 after subtracting 279 from 287.
Bring next digit (2) of the dividend behind the 8 and repeat the process: 82 / 31

Moving on to step 6:
If we divide 82 by 31, we get 2 and a remainder of 20.
The number 2 becomes the next digit in our result. 
Result so far: 5292.0
The remainder is 20 after subtracting 62 from 82.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Step 7:
200 divided by 31 is 6 with a remainder of 14.
Use 6 as the next digit of our solution. 
Result so far: 5292.6
Subtracting 186 from 200 leaves us with 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Going ahead to step 8:
When dividing 140 by 31, we get 4 with a remainder of 16.
Record the quotient 4 as the next digit in the result. 
Result so far: 5292.64
Deduct 124 from 140 and we're left with 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Let's proceed to step 9:
31 goes into 160 5 times with a remainder of 5.
Use 5 as the next digit of our solution. 
Result so far: 5292.645
If we take 155 away from 160, we end up with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Let's proceed to step 10:
If we divide 50 by 31, we get 1 and a remainder of 19.
Use 1 as the next digit of our solution. 
Result so far: 5292.6451
If we take 31 away from 50, we end up with 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

Let's proceed to step 11:
31 can be fit into 190 6 times, resulting in a remainder of 4.
Record the quotient 6 as the next digit in the result. 
Result so far: 5292.64516
If we subtract 186 from 190, we get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Let's proceed to step 12:
31 can be fit into 40 1 times, resulting in a remainder of 9.
Put 1 as the next digit of the answer. 
Result so far: 5292.645161
The remainder is 9 after subtracting 31 from 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Advancing to step 13:
90 divided by 31 is 2 with a remainder of 28.
Put 2 as the next digit of the answer. 
Result so far: 5292.6451612
Subtracting 62 from 90 leaves us with 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Advancing to step 14:
When dividing 280 by 31, we get 9 with a remainder of 1.
Use 9 as the next digit of our solution. 
Result so far: 5292.64516129
Subtract 279 from 280 to 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.

In conclusion, the division gives 5292.64516129 with a balance of 1e-09.