166825 divided by 31 
Our goal is to divide 166825 by 31.

Moving on to step 1:
31 can be fit into 1 0 times, resulting in a remainder of 1.
The next digit of our result is 0. 
Result so far: 0.0
Deduct 0 from 1 and we're left 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.
The next digit of our result is 0. 
Result so far: 0.0
The remainder is 16 after subtracting 0 from 16.
Take the next digit (6) from the dividend and append it to 16, then repeat: 166 / 31

Moving on to step 3:
When dividing 166 by 31, we get 5 with a remainder of 11.
Write down 5 as next digit of the result. 
Result so far: 5.0
The remainder is 11 after subtracting 155 from 166.
Bring next digit (8) of the dividend behind the 11 and repeat the process: 118 / 31

Going ahead to step 4:
When dividing 118 by 31, we get 3 with a remainder of 25.
The number 3 becomes the next digit in our result. 
Result so far: 53.0
If we take 93 away from 118, we end up with 25.
Bring next digit (2) of the dividend behind the 25 and repeat the process: 252 / 31

Moving on to step 5:
When dividing 252 by 31, we get 8 with a remainder of 4.
Use 8 as the next digit of our solution. 
Result so far: 538.0
If we subtract 248 from 252, we get 4.
Grab the next digit (5) from the dividend, add it to 4, then carry on: 45 / 31

Let's proceed to step 6:
The number 31 fits into 45 1 times, leaving a remainder of 14.
The number 1 becomes the next digit in our result. 
Result so far: 5381.0
Deduct 31 from 45 and we're left 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.

Step 7:
140 divided by 31 is 4 with a remainder of 16.
The next digit of our result is 4. 
Result so far: 5381.4
Subtracting 124 from 140 leaves us 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.

Advancing to step 8:
31 can be fit into 160 5 times, resulting in a remainder of 5.
Put 5 as the next digit of the answer. 
Result so far: 5381.45
Subtract 155 from 160 to get 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Advancing to step 9:
50 divided by 31 is 1 with a remainder of 19.
Write down 1 as next digit of the result. 
Result so far: 5381.451
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 10:
If we divide 190 by 31, we get 6 and a remainder of 4.
The next digit of our result is 6. 
Result so far: 5381.4516
The remainder is 4 after subtracting 186 from 190.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Advancing to step 11:
When dividing 40 by 31, we get 1 with a remainder of 9.
Use 1 as the next digit of our solution. 
Result so far: 5381.45161
If we take 31 away from 40, 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 12:
If we divide 90 by 31, we get 2 and a remainder of 28.
Record the quotient 2 as the next digit in the result. 
Result so far: 5381.451612
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.

Let's proceed to step 13:
280 divided by 31 is 9 with a remainder of 1.
Write down 9 as next digit of the result. 
Result so far: 5381.4516129
Subtracting 279 from 280 leaves us with 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Let's proceed to step 14:
When dividing 10 by 31, we get 0 with a remainder of 10.
Write down 0 as next digit of the result. 
Result so far: 5381.4516129
Deduct 0 from 10 and we're left with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

In conclusion, the division gives 5381.4516129 with a balance of 1e-08.