Let's divide 170943 by 31
Our goal is to divide 170943 by 31.

Advancing to step 1:
If we divide 1 by 31, we get 0 and a remainder of 1.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtract 0 from 1 to get 1.
Bring next digit (7) of the dividend behind the 1 and repeat the process: 17 / 31

On to step 2:
When dividing 17 by 31, we get 0 with a remainder of 17.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtract 0 from 17 to get 17.
Append the next digit (0) from the dividend to 17 and continue with: 170 / 31

Let's proceed to step 3:
If we divide 170 by 31, we get 5 and a remainder of 15.
The next digit of our result is 5. 
Result so far: 5.0
Subtracting 155 from 170 leaves us with 15.
Append the next digit (9) from the dividend to 15 and continue with: 159 / 31

On to step 4:
31 can be fit into 159 5 times, resulting in a remainder of 4.
The next digit of our result is 5. 
Result so far: 55.0
Subtract 155 from 159 to get 4.
Fetch the next digit (4) from the dividend, attach it to 4 and continue: 44 / 31

Moving on to step 5:
If we divide 44 by 31, we get 1 and a remainder of 13.
The number 1 becomes the next digit in our result. 
Result so far: 551.0
If we subtract 31 from 44, we get 13.
Bring next digit (3) of the dividend behind the 13 and repeat the process: 133 / 31

Going ahead to step 6:
133 divided by 31 is 4 with a remainder of 9.
Record the quotient 4 as the next digit in the result. 
Result so far: 5514.0
If we subtract 124 from 133, 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.

Step 7:
When dividing 90 by 31, we get 2 with a remainder of 28.
Put 2 as the next digit of the answer. 
Result so far: 5514.2
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.

Moving on to step 8:
If we divide 280 by 31, we get 9 and a remainder of 1.
Put 9 as the next digit of the answer. 
Result so far: 5514.29
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.

Advancing to step 9:
The number 31 fits into 10 0 times, leaving a remainder of 10.
Put 0 as the next digit of the answer. 
Result so far: 5514.29
If we subtract 0 from 10, we get 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Advancing to step 10:
When dividing 100 by 31, we get 3 with a remainder of 7.
Use 3 as the next digit of our solution. 
Result so far: 5514.2903
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.

Let's proceed to step 11:
31 can be fit into 70 2 times, resulting in a remainder of 8.
The number 2 becomes the next digit in our result. 
Result so far: 5514.29032
If we subtract 62 from 70, we get 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Moving on to step 12:
31 can be fit into 80 2 times, resulting in a remainder of 18.
The number 2 becomes the next digit in our result. 
Result so far: 5514.290322
Subtracting 62 from 80 leaves us with 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

The final result is 5514.290322 with a remainder of 1.8e-06.