Let's divide 676838 by 31
We're looking to find how many times 31 goes into 676838.

Advancing to step 1:
The number 31 fits into 6 0 times, leaving a remainder of 6.
Put 0 as the next digit of the answer. 
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:
The number 31 fits into 67 2 times, leaving 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.
Fetch the next digit (6) from the dividend, attach it to 5 and continue: 56 / 31

Let's proceed to step 3:
31 can be fit into 56 1 times, resulting in a remainder of 25.
The number 1 becomes the next digit in our result. 
Result so far: 21.0
If we take 31 away from 56, we end up with 25.
Append the next digit (8) from the dividend to 25 and continue with: 258 / 31

On to step 4:
If we divide 258 by 31, we get 8 and a remainder of 10.
Write down 8 as next digit of the result. 
Result so far: 218.0
If we take 248 away from 258, we end up with 10.
Include the next digit (3) from the dividend after 10, then repeat: 103 / 31

Step 5:
31 can be fit into 103 3 times, resulting in a remainder of 10.
The number 3 becomes the next digit in our result. 
Result so far: 2183.0
Deduct 93 from 103 and we're left with 10.
Grab the next digit (8) from the dividend, add it to 10, then carry on: 108 / 31

On to step 6:
108 divided by 31 is 3 with a remainder of 15.
Write down 3 as next digit of the result. 
Result so far: 21833.0
Deduct 93 from 108 and we're left with 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

On to step 7:
If we divide 150 by 31, we get 4 and a remainder of 26.
Put 4 as the next digit of the answer. 
Result so far: 21833.4
Deduct 124 from 150 and we're left with 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Step 8:
When dividing 260 by 31, we get 8 with a remainder of 12.
Write down 8 as next digit of the result. 
Result so far: 21833.48
If we take 248 away from 260, we end up with 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Advancing to step 9:
31 goes into 120 3 times with a remainder of 27.
Put 3 as the next digit of the answer. 
Result so far: 21833.483
The remainder is 27 after subtracting 93 from 120.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

Advancing to step 10:
270 divided by 31 is 8 with a remainder of 22.
Record the quotient 8 as the next digit in the result. 
Result so far: 21833.4838
Subtract 248 from 270 to get 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

On to step 11:
The number 31 fits into 220 7 times, leaving a remainder of 3.
The next digit of our result is 7. 
Result so far: 21833.48387
The remainder is 3 after subtracting 217 from 220.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

On to step 12:
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: 21833.48387
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 13:
If we divide 300 by 31, we get 9 and a remainder of 21.
Put 9 as the next digit of the answer. 
Result so far: 21833.4838709
Deduct 279 from 300 and we're left with 21.
Since there are no more digits in the dividend, we add a zero to the remainder making it 210, and continue the process.

Let's proceed to step 14:
31 goes into 210 6 times with a remainder of 24.
Use 6 as the next digit of our solution. 
Result so far: 21833.48387096
If we take 186 away from 210, we end up with 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

The final result is 21833.48387096 with a remainder of 2.4e-08.