We look at the division of 674417 by 31 
Let's see how many times 31 fits into 674417.

Step 1:
When dividing 6 by 31, we get 0 with a remainder of 6.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtracting 0 from 6 leaves us with 6.
Take the next digit (7) from the dividend and append it to 6, then repeat: 67 / 31

Advancing to step 2:
31 can be fit into 67 2 times, resulting in a remainder of 5.
The number 2 becomes the next digit in our result. 
Result so far: 2.0
If we take 62 away from 67, we end up with 5.
Grab the next digit (4) from the dividend, add it to 5, then carry on: 54 / 31

On to step 3:
31 can be fit into 54 1 times, resulting in a remainder of 23.
The next digit of our result is 1. 
Result so far: 21.0
Subtracting 31 from 54 leaves us with 23.
Take the next digit (4) from the dividend and append it to 23, then repeat: 234 / 31

On to step 4:
If we divide 234 by 31, we get 7 and a remainder of 17.
Use 7 as the next digit of our solution. 
Result so far: 217.0
If we take 217 away from 234, we end up with 17.
Append the next digit (1) from the dividend to 17 and continue with: 171 / 31

On to step 5:
When dividing 171 by 31, we get 5 with a remainder of 16.
The next digit of our result is 5. 
Result so far: 2175.0
Deduct 155 from 171 and we're left with 16.
Grab the next digit (7) from the dividend, add it to 16, then carry on: 167 / 31

On to step 6:
When dividing 167 by 31, we get 5 with a remainder of 12.
Put 5 as the next digit of the answer. 
Result so far: 21755.0
Subtract 155 from 167 to get 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

On to step 7:
31 can be fit into 120 3 times, resulting in a remainder of 27.
Record the quotient 3 as the next digit in the result. 
Result so far: 21755.3
Deduct 93 from 120 and we're left with 27.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

Going ahead to step 8:
If we divide 270 by 31, we get 8 and a remainder of 22.
The next digit of our result is 8. 
Result so far: 21755.38
The remainder is 22 after subtracting 248 from 270.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Going ahead to step 9:
If we divide 220 by 31, we get 7 and a remainder of 3.
Use 7 as the next digit of our solution. 
Result so far: 21755.387
If we take 217 away from 220, we end up with 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Let's proceed to step 10:
If we divide 30 by 31, we get 0 and a remainder of 30.
Put 0 as the next digit of the answer. 
Result so far: 21755.387
If we take 0 away from 30, we end up with 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Moving on to step 11:
When dividing 300 by 31, we get 9 with a remainder of 21.
Put 9 as the next digit of the answer. 
Result so far: 21755.38709
If we subtract 279 from 300, we get 21.
Since there are no more digits in the dividend, we add a zero to the remainder making it 210, and continue the process.

On to step 12:
210 divided by 31 is 6 with a remainder of 24.
The number 6 becomes the next digit in our result. 
Result so far: 21755.387096
Subtract 186 from 210 to get 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Step 13:
If we divide 240 by 31, we get 7 and a remainder of 23.
Write down 7 as next digit of the result. 
Result so far: 21755.3870967
If we subtract 217 from 240, we get 23.
Since there are no more digits in the dividend, we add a zero to the remainder making it 230, and continue the process.

Moving on to step 14:
31 goes into 230 7 times with a remainder of 13.
Use 7 as the next digit of our solution. 
Result so far: 21755.38709677
If we subtract 217 from 230, we get 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

Our division results in 21755.38709677 with a remaining 1.3e-08.