We're dividing 394187 by 7 
We want to divide 394187 by 7.

Going ahead to step 1:
When dividing 3 by 7, we get 0 with a remainder of 3.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 3, we get 3.
Include the next digit (9) from the dividend after 3, then repeat: 39 / 7

Advancing to step 2:
If we divide 39 by 7, we get 5 and a remainder of 4.
The number 5 becomes the next digit in our result. 
Result so far: 5.0
Subtract 35 from 39 to get 4.
Append the next digit (4) from the dividend to 4 and continue with: 44 / 7

Moving on to step 3:
7 goes into 44 6 times with a remainder of 2.
Use 6 as the next digit of our solution. 
Result so far: 56.0
Subtracting 42 from 44 leaves us with 2.
Take the next digit (1) from the dividend and append it to 2, then repeat: 21 / 7

On to step 4:
The number 7 fits into 21 3 times, leaving a remainder of 0.
The number 3 becomes the next digit in our result. 
Result so far: 563.0
Subtract 21 from 21 to get 0.
Include the next digit (8) from the dividend after 0, then repeat: 8 / 7

Moving on to step 5:
The number 7 fits into 8 1 times, leaving a remainder of 1.
Put 1 as the next digit of the answer. 
Result so far: 5631.0
Subtracting 7 from 8 leaves us with 1.
Bring next digit (7) of the dividend behind the 1 and repeat the process: 17 / 7

On to step 6:
The number 7 fits into 17 2 times, leaving a remainder of 3.
Put 2 as the next digit of the answer. 
Result so far: 56312.0
The remainder is 3 after subtracting 14 from 17.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Step 7:
The number 7 fits into 30 4 times, leaving a remainder of 2.
The number 4 becomes the next digit in our result. 
Result so far: 56312.4
Subtract 28 from 30 to get 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Advancing to step 8:
7 can be fit into 20 2 times, resulting in a remainder of 6.
The next digit of our result is 2. 
Result so far: 56312.42
Subtracting 14 from 20 leaves us with 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 9:
60 divided by 7 is 8 with a remainder of 4.
Write down 8 as next digit of the result. 
Result so far: 56312.428
If we take 56 away from 60, we end up 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.

Step 10:
7 goes into 40 5 times with a remainder of 5.
The number 5 becomes the next digit in our result. 
Result so far: 56312.4285
Subtracting 35 from 40 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.

On to step 11:
7 can be fit into 50 7 times, resulting in a remainder of 1.
The next digit of our result is 7. 
Result so far: 56312.42857
Deduct 49 from 50 and we're left 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.

On to step 12:
If we divide 10 by 7, we get 1 and a remainder of 3.
Use 1 as the next digit of our solution. 
Result so far: 56312.428571
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 13:
30 divided by 7 is 4 with a remainder of 2.
Put 4 as the next digit of the answer. 
Result so far: 56312.4285714
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.

Let's proceed to step 14:
7 goes into 20 2 times with a remainder of 6.
Use 2 as the next digit of our solution. 
Result so far: 56312.42857142
If we take 14 away from 20, we end up with 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

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