We divide 171694 by 31
Our goal is to divide 171694 by 31.

Step 1:
The number 31 fits into 1 0 times, leaving a remainder of 1.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Deduct 0 from 1 and we're left with 1.
Fetch the next digit (7) from the dividend, attach it to 1 and continue: 17 / 31

Step 2:
31 can be fit into 17 0 times, resulting in a remainder of 17.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 17 to get 17.
Fetch the next digit (1) from the dividend, attach it to 17 and continue: 171 / 31

On to step 3:
The number 31 fits into 171 5 times, leaving a remainder of 16.
Put 5 as the next digit of the answer. 
Result so far: 5.0
Deduct 155 from 171 and we're left with 16.
Include the next digit (6) from the dividend after 16, then repeat: 166 / 31

Moving on to step 4:
The number 31 fits into 166 5 times, leaving a remainder of 11.
The next digit of our result is 5. 
Result so far: 55.0
If we take 155 away from 166, we end up with 11.
Bring next digit (9) of the dividend behind the 11 and repeat the process: 119 / 31

On to step 5:
When dividing 119 by 31, we get 3 with a remainder of 26.
The number 3 becomes the next digit in our result. 
Result so far: 553.0
If we take 93 away from 119, we end up with 26.
Append the next digit (4) from the dividend to 26 and continue with: 264 / 31

On to step 6:
31 goes into 264 8 times with a remainder of 16.
Use 8 as the next digit of our solution. 
Result so far: 5538.0
If we subtract 248 from 264, we get 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Going ahead to step 7:
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: 5538.5
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 8:
When dividing 50 by 31, we get 1 with a remainder of 19.
Put 1 as the next digit of the answer. 
Result so far: 5538.51
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.

Advancing to step 9:
The number 31 fits into 190 6 times, leaving a remainder of 4.
Put 6 as the next digit of the answer. 
Result so far: 5538.516
Deduct 186 from 190 and we're left with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Moving on to step 10:
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: 5538.5161
If we subtract 31 from 40, 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.

Moving on to step 11:
The number 31 fits into 90 2 times, leaving a remainder of 28.
Write down 2 as next digit of the result. 
Result so far: 5538.51612
Deduct 62 from 90 and we're left 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.

Moving on to step 12:
31 goes into 280 9 times with a remainder of 1.
Use 9 as the next digit of our solution. 
Result so far: 5538.516129
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.

Advancing to step 13:
31 can be fit into 10 0 times, resulting in a remainder of 10.
Use 0 as the next digit of our solution. 
Result so far: 5538.516129
The remainder is 10 after subtracting 0 from 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Let's proceed to step 14:
31 can be fit into 100 3 times, resulting in a remainder of 7.
The number 3 becomes the next digit in our result. 
Result so far: 5538.51612903
The remainder is 7 after subtracting 93 from 100.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

The final result is 5538.51612903 with a remainder of 7e-09.