We're dividing 674593 by 31 
We're looking to find how many times 31 goes into 674593.

Advancing to step 1:
The number 31 fits into 6 0 times, leaving a remainder of 6.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtracting 0 from 6 leaves us with 6.
Include the next digit (7) from the dividend after 6, then repeat: 67 / 31

On to step 2:
67 divided by 31 is 2 with a remainder of 5.
Record the quotient 2 as the next digit in the 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

Let's proceed to step 3:
31 goes into 54 1 times with a remainder of 23.
The number 1 becomes the next digit in our result. 
Result so far: 21.0
If we subtract 31 from 54, we get 23.
Grab the next digit (5) from the dividend, add it to 23, then carry on: 235 / 31

Step 4:
31 goes into 235 7 times with a remainder of 18.
Record the quotient 7 as the next digit in the result. 
Result so far: 217.0
If we take 217 away from 235, we end up with 18.
Bring next digit (9) of the dividend behind the 18 and repeat the process: 189 / 31

Step 5:
The number 31 fits into 189 6 times, leaving a remainder of 3.
The next digit of our result is 6. 
Result so far: 2176.0
Deduct 186 from 189 and we're left with 3.
Append the next digit (3) from the dividend to 3 and continue with: 33 / 31

Let's proceed to step 6:
31 can be fit into 33 1 times, resulting in a remainder of 2.
Write down 1 as next digit of the result. 
Result so far: 21761.0
Subtract 31 from 33 to get 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

On to step 7:
31 goes into 20 0 times with a remainder of 20.
The number 0 becomes the next digit in our result. 
Result so far: 21761.0
Subtracting 0 from 20 leaves us with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Advancing to step 8:
The number 31 fits into 200 6 times, leaving a remainder of 14.
Use 6 as the next digit of our solution. 
Result so far: 21761.06
Deduct 186 from 200 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 9:
140 divided by 31 is 4 with a remainder of 16.
The number 4 becomes the next digit in our result. 
Result so far: 21761.064
If we subtract 124 from 140, 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.

On to step 10:
31 can be fit into 160 5 times, resulting in a remainder of 5.
Record the quotient 5 as the next digit in the result. 
Result so far: 21761.0645
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.

Let's proceed to step 11:
50 divided by 31 is 1 with a remainder of 19.
Use 1 as the next digit of our solution. 
Result so far: 21761.06451
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.

On to step 12:
190 divided by 31 is 6 with a remainder of 4.
Write down 6 as next digit of the result. 
Result so far: 21761.064516
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.

On to step 13:
40 divided by 31 is 1 with a remainder of 9.
The next digit of our result is 1. 
Result so far: 21761.0645161
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.

Going ahead to step 14:
The number 31 fits into 90 2 times, leaving a remainder of 28.
Put 2 as the next digit of the answer. 
Result so far: 21761.06451612
Subtract 62 from 90 to 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.

The quotient of the division is 21761.06451612, and the remainder is 2.8e-08.