398991 ÷ 8 
Let's see how many times 8 fits into 398991.

Advancing to step 1:
3 divided by 8 is 0 with a remainder of 3.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we subtract 0 from 3, we get 3.
Append the next digit (9) from the dividend to 3 and continue with: 39 / 8

Advancing to step 2:
When dividing 39 by 8, we get 4 with a remainder of 7.
Record the quotient 4 as the next digit in the result. 
Result so far: 4.0
The remainder is 7 after subtracting 32 from 39.
Append the next digit (8) from the dividend to 7 and continue with: 78 / 8

On to 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.
Include the next digit (9) from the dividend after 6, then repeat: 69 / 8

On to step 4:
8 can be fit into 69 8 times, resulting in a remainder of 5.
Write down 8 as next digit of the result. 
Result so far: 498.0
Subtract 64 from 69 to get 5.
Bring next digit (9) of the dividend behind the 5 and repeat the process: 59 / 8

Advancing to step 5:
When dividing 59 by 8, we get 7 with a remainder of 3.
Write down 7 as next digit of the result. 
Result so far: 4987.0
Subtracting 56 from 59 leaves us with 3.
Bring next digit (1) of the dividend behind the 3 and repeat the process: 31 / 8

Let's proceed to step 6:
If we divide 31 by 8, we get 3 and a remainder of 7.
Record the quotient 3 as the next digit in the result. 
Result so far: 49873.0
If we take 24 away from 31, we end up with 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 7:
When dividing 70 by 8, we get 8 with a remainder of 6.
Write down 8 as next digit of the result. 
Result so far: 49873.8
Subtract 64 from 70 to get 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Going ahead to step 8:
When dividing 60 by 8, we get 7 with a remainder of 4.
The number 7 becomes the next digit in our result. 
Result so far: 49873.87
Subtract 56 from 60 to 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.

Advancing to step 9:
8 goes into 40 5 times with a remainder of 0.
Put 5 as the next digit of the answer. 
Result so far: 49873.875
The remainder is 0 after subtracting 40 from 40.
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 10:
If we divide 0 by 8, we get 0 and a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 49873.875
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.

On to step 11:
If we divide 0 by 8, we get 0 and a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 49873.875
Deduct 0 from 0 and we're left 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 quotient of the division is 49873.875, and the remainder is 0.0.