Let's divide 398688 by 8
Let's see how many times 8 fits into 398688.

Step 1:
The number 8 fits into 3 0 times, leaving a remainder of 3.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 3 to get 3.
Take the next digit (9) from the dividend and append it to 3, then repeat: 39 / 8

On to step 2:
39 divided by 8 is 4 with a remainder of 7.
The number 4 becomes the next digit in our result. 
Result so far: 4.0
Subtracting 32 from 39 leaves us with 7.
Grab the next digit (8) from the dividend, add it to 7, then carry on: 78 / 8

Step 3:
If we divide 78 by 8, we get 9 and a remainder of 6.
The number 9 becomes the next digit in our result. 
Result so far: 49.0
If we take 72 away from 78, we end up with 6.
Bring next digit (6) of the dividend behind the 6 and repeat the process: 66 / 8

Going ahead to step 4:
66 divided by 8 is 8 with a remainder of 2.
The number 8 becomes the next digit in our result. 
Result so far: 498.0
The remainder is 2 after subtracting 64 from 66.
Append the next digit (8) from the dividend to 2 and continue with: 28 / 8

Going ahead to step 5:
8 goes into 28 3 times with a remainder of 4.
The next digit of our result is 3. 
Result so far: 4983.0
Subtracting 24 from 28 leaves us with 4.
Include the next digit (8) from the dividend after 4, then repeat: 48 / 8

Step 6:
8 can be fit into 48 6 times, resulting in a remainder of 0.
Use 6 as the next digit of our solution. 
Result so far: 49836.0
If we take 48 away from 48, we end up with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Let's proceed to step 7:
The number 8 fits into 0 0 times, leaving a remainder of 0.
The next digit of our result is 0. 
Result so far: 49836.0
The remainder is 0 after subtracting 0 from 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Advancing to step 8:
When dividing 0 by 8, we get 0 with a remainder of 0.
The next digit of our result is 0. 
Result so far: 49836.0
If we take 0 away from 0, we end up with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

The final result is 49836.0 with a remainder of 0.0.