Let's divide 677258 by 31
We want to figure out the number of times 677258 can be divided by 31.

On to step 1:
31 can be fit into 6 0 times, resulting in a remainder of 6.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Deduct 0 from 6 and we're left with 6.
Fetch the next digit (7) from the dividend, attach it to 6 and continue: 67 / 31

Moving on to step 2:
31 can be fit into 67 2 times, resulting in a remainder of 5.
Write down 2 as next digit of the result. 
Result so far: 2.0
The remainder is 5 after subtracting 62 from 67.
Append the next digit (7) from the dividend to 5 and continue with: 57 / 31

Let's proceed to step 3:
When dividing 57 by 31, we get 1 with a remainder of 26.
Write down 1 as next digit of the result. 
Result so far: 21.0
Subtract 31 from 57 to get 26.
Include the next digit (2) from the dividend after 26, then repeat: 262 / 31

Going ahead to step 4:
262 divided by 31 is 8 with a remainder of 14.
Put 8 as the next digit of the answer. 
Result so far: 218.0
Deduct 248 from 262 and we're left with 14.
Bring next digit (5) of the dividend behind the 14 and repeat the process: 145 / 31

Step 5:
When dividing 145 by 31, we get 4 with a remainder of 21.
Write down 4 as next digit of the result. 
Result so far: 2184.0
If we take 124 away from 145, we end up with 21.
Grab the next digit (8) from the dividend, add it to 21, then carry on: 218 / 31

Advancing to step 6:
When dividing 218 by 31, we get 7 with a remainder of 1.
Write down 7 as next digit of the result. 
Result so far: 21847.0
Subtracting 217 from 218 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.

Going ahead to step 7:
10 divided by 31 is 0 with a remainder of 10.
The next digit of our result is 0. 
Result so far: 21847.0
Subtract 0 from 10 to 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.

On to step 8:
If we divide 100 by 31, we get 3 and a remainder of 7.
The number 3 becomes the next digit in our result. 
Result so far: 21847.03
Subtract 93 from 100 to get 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Moving on to step 9:
31 can be fit into 70 2 times, resulting in a remainder of 8.
The next digit of our result is 2. 
Result so far: 21847.032
If we take 62 away from 70, we end up with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Going ahead to step 10:
When dividing 80 by 31, we get 2 with a remainder of 18.
The next digit of our result is 2. 
Result so far: 21847.0322
Subtract 62 from 80 to get 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 outcome is 21847.0322, with a leftover of 0.00018.