We divide 389998 by 7
We want to figure out the number of times 389998 can be divided by 7.

Moving on to step 1:
The number 7 fits into 3 0 times, leaving a remainder of 3.
The next digit of our result is 0. 
Result so far: 0.0
The remainder is 3 after subtracting 0 from 3.
Take the next digit (8) from the dividend and append it to 3, then repeat: 38 / 7

Moving on to step 2:
If we divide 38 by 7, we get 5 and a remainder of 3.
Put 5 as the next digit of the answer. 
Result so far: 5.0
If we take 35 away from 38, we end up with 3.
Append the next digit (9) from the dividend to 3 and continue with: 39 / 7

On to step 3:
7 goes into 39 5 times with a remainder of 4.
Write down 5 as next digit of the result. 
Result so far: 55.0
Deduct 35 from 39 and we're left with 4.
Include the next digit (9) from the dividend after 4, then repeat: 49 / 7

Advancing to step 4:
When dividing 49 by 7, we get 7 with a remainder of 0.
The number 7 becomes the next digit in our result. 
Result so far: 557.0
If we subtract 49 from 49, we get 0.
Grab the next digit (9) from the dividend, add it to 0, then carry on: 9 / 7

Advancing to step 5:
7 goes into 9 1 times with a remainder of 2.
Use 1 as the next digit of our solution. 
Result so far: 5571.0
The remainder is 2 after subtracting 7 from 9.
Bring next digit (8) of the dividend behind the 2 and repeat the process: 28 / 7

Going ahead to step 6:
The number 7 fits into 28 4 times, leaving a remainder of 0.
Record the quotient 4 as the next digit in the result. 
Result so far: 55714.0
Subtract 28 from 28 to get 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 7:
7 goes into 0 0 times with a remainder of 0.
The next digit of our result is 0. 
Result so far: 55714.0
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.

Going ahead to step 8:
The number 7 fits into 0 0 times, leaving a remainder of 0.
The next digit of our result is 0. 
Result so far: 55714.0
Subtracting 0 from 0 leaves us 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 outcome is 55714.0, with a leftover of 0.0.