398064 ÷ 7 
We want to figure out the number of times 398064 can be divided by 7.

Moving on to step 1:
If we divide 3 by 7, we get 0 and a remainder of 3.
Put 0 as the next digit of the answer. 
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 / 7

Advancing to step 2:
When dividing 39 by 7, we get 5 with a remainder of 4.
Put 5 as the next digit of the answer. 
Result so far: 5.0
The remainder is 4 after subtracting 35 from 39.
Fetch the next digit (8) from the dividend, attach it to 4 and continue: 48 / 7

Going ahead to step 3:
7 can be fit into 48 6 times, resulting in a remainder of 6.
Write down 6 as next digit of the result. 
Result so far: 56.0
If we take 42 away from 48, we end up with 6.
Bring next digit (0) of the dividend behind the 6 and repeat the process: 60 / 7

On to step 4:
60 divided by 7 is 8 with a remainder of 4.
Write down 8 as next digit of the result. 
Result so far: 568.0
If we take 56 away from 60, we end up with 4.
Grab the next digit (6) from the dividend, add it to 4, then carry on: 46 / 7

Moving on to step 5:
7 can be fit into 46 6 times, resulting in a remainder of 4.
Use 6 as the next digit of our solution. 
Result so far: 5686.0
If we subtract 42 from 46, we get 4.
Take the next digit (4) from the dividend and append it to 4, then repeat: 44 / 7

Advancing to step 6:
The number 7 fits into 44 6 times, leaving a remainder of 2.
The number 6 becomes the next digit in our result. 
Result so far: 56866.0
If we take 42 away from 44, we end up with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Moving on to step 7:
20 divided by 7 is 2 with a remainder of 6.
The number 2 becomes the next digit in our result. 
Result so far: 56866.2
Subtract 14 from 20 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.

Let's proceed to step 8:
60 divided by 7 is 8 with a remainder of 4.
The number 8 becomes the next digit in our result. 
Result so far: 56866.28
Deduct 56 from 60 and we're left with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Going ahead to step 9:
The number 7 fits into 40 5 times, leaving a remainder of 5.
Write down 5 as next digit of the result. 
Result so far: 56866.285
Deduct 35 from 40 and we're left 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.

On to step 10:
The number 7 fits into 50 7 times, leaving a remainder of 1.
Use 7 as the next digit of our solution. 
Result so far: 56866.2857
If we take 49 away from 50, we end up with 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Advancing to step 11:
10 divided by 7 is 1 with a remainder of 3.
The next digit of our result is 1. 
Result so far: 56866.28571
The remainder is 3 after subtracting 7 from 10.
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:
30 divided by 7 is 4 with a remainder of 2.
Put 4 as the next digit of the answer. 
Result so far: 56866.285714
Deduct 28 from 30 and we're left with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Going ahead to step 13:
20 divided by 7 is 2 with a remainder of 6.
Write down 2 as next digit of the result. 
Result so far: 56866.2857142
If we subtract 14 from 20, we 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.

Let's proceed to step 14:
If we divide 60 by 7, we get 8 and a remainder of 4.
Write down 8 as next digit of the result. 
Result so far: 56866.28571428
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.

After the division, we end up with 56866.28571428 and a remainder of 4e-09.