We look at the division of 978843 by 31 
We want to divide 978843 by 31.

Moving on to step 1:
9 divided by 31 is 0 with a remainder of 9.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 9 to get 9.
Fetch the next digit (7) from the dividend, attach it to 9 and continue: 97 / 31

Let's proceed to step 2:
If we divide 97 by 31, we get 3 and a remainder of 4.
The number 3 becomes the next digit in our result. 
Result so far: 3.0
Subtract 93 from 97 to get 4.
Take the next digit (8) from the dividend and append it to 4, then repeat: 48 / 31

Let's proceed to step 3:
31 can be fit into 48 1 times, resulting in a remainder of 17.
Record the quotient 1 as the next digit in the result. 
Result so far: 31.0
If we take 31 away from 48, we end up with 17.
Append the next digit (8) from the dividend to 17 and continue with: 178 / 31

Advancing to step 4:
If we divide 178 by 31, we get 5 and a remainder of 23.
Use 5 as the next digit of our solution. 
Result so far: 315.0
If we subtract 155 from 178, we get 23.
Include the next digit (4) from the dividend after 23, then repeat: 234 / 31

Moving on to step 5:
31 goes into 234 7 times with a remainder of 17.
The number 7 becomes the next digit in our result. 
Result so far: 3157.0
Subtracting 217 from 234 leaves us with 17.
Take the next digit (3) from the dividend and append it to 17, then repeat: 173 / 31

Advancing to step 6:
The number 31 fits into 173 5 times, leaving a remainder of 18.
Put 5 as the next digit of the answer. 
Result so far: 31575.0
If we subtract 155 from 173, we 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.

On to step 7:
If we divide 180 by 31, we get 5 and a remainder of 25.
Use 5 as the next digit of our solution. 
Result so far: 31575.5
If we take 155 away from 180, we end up with 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

Going ahead to step 8:
250 divided by 31 is 8 with a remainder of 2.
Record the quotient 8 as the next digit in the result. 
Result so far: 31575.58
The remainder is 2 after subtracting 248 from 250.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Let's proceed to step 9:
The number 31 fits into 20 0 times, leaving a remainder of 20.
The next digit of our result is 0. 
Result so far: 31575.58
If we subtract 0 from 20, we get 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Let's proceed to step 10:
The number 31 fits into 200 6 times, leaving a remainder of 14.
Put 6 as the next digit of the answer. 
Result so far: 31575.5806
Subtracting 186 from 200 leaves us 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.

Advancing to step 11:
140 divided by 31 is 4 with a remainder of 16.
Use 4 as the next digit of our solution. 
Result so far: 31575.58064
The remainder is 16 after subtracting 124 from 140.
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 12:
When dividing 160 by 31, we get 5 with a remainder of 5.
Use 5 as the next digit of our solution. 
Result so far: 31575.580645
Subtracting 155 from 160 leaves us with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Advancing to step 13:
50 divided by 31 is 1 with a remainder of 19.
Record the quotient 1 as the next digit in the result. 
Result so far: 31575.5806451
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.

Advancing to step 14:
When dividing 190 by 31, we get 6 with a remainder of 4.
The number 6 becomes the next digit in our result. 
Result so far: 31575.58064516
If we subtract 186 from 190, we get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

The final result is 31575.58064516 with a remainder of 4e-09.