We divide 397627 by 7
Let's see how many times 7 fits into 397627.

Going ahead 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
Subtracting 0 from 3 leaves us with 3.
Append the next digit (9) from the dividend to 3 and continue with: 39 / 7

Advancing to step 2:
The number 7 fits into 39 5 times, leaving a remainder of 4.
Use 5 as the next digit of our solution. 
Result so far: 5.0
Deduct 35 from 39 and we're left with 4.
Take the next digit (7) from the dividend and append it to 4, then repeat: 47 / 7

Step 3:
7 can be fit into 47 6 times, resulting in a remainder of 5.
Record the quotient 6 as the next digit in the result. 
Result so far: 56.0
Subtracting 42 from 47 leaves us with 5.
Fetch the next digit (6) from the dividend, attach it to 5 and continue: 56 / 7

Moving on to step 4:
56 divided by 7 is 8 with a remainder of 0.
The number 8 becomes the next digit in our result. 
Result so far: 568.0
Subtract 56 from 56 to get 0.
Grab the next digit (2) from the dividend, add it to 0, then carry on: 2 / 7

On to step 5:
When dividing 2 by 7, we get 0 with a remainder of 2.
Use 0 as the next digit of our solution. 
Result so far: 5680.0
The remainder is 2 after subtracting 0 from 2.
Bring next digit (7) of the dividend behind the 2 and repeat the process: 27 / 7

Moving on to step 6:
27 divided by 7 is 3 with a remainder of 6.
Write down 3 as next digit of the result. 
Result so far: 56803.0
If we subtract 21 from 27, 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.

Moving on to step 7:
60 divided by 7 is 8 with a remainder of 4.
The next digit of our result is 8. 
Result so far: 56803.8
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.

Advancing to step 8:
7 can be fit into 40 5 times, resulting in a remainder of 5.
Write down 5 as next digit of the result. 
Result so far: 56803.85
If we take 35 away from 40, we end up 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 9:
If we divide 50 by 7, we get 7 and a remainder of 1.
Use 7 as the next digit of our solution. 
Result so far: 56803.857
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 10:
7 goes into 10 1 times with a remainder of 3.
The number 1 becomes the next digit in our result. 
Result so far: 56803.8571
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.

Step 11:
If we divide 30 by 7, we get 4 and a remainder of 2.
Record the quotient 4 as the next digit in the result. 
Result so far: 56803.85714
Subtracting 28 from 30 leaves us 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.

Advancing to step 12:
When dividing 20 by 7, we get 2 with a remainder of 6.
The next digit of our result is 2. 
Result so far: 56803.857142
Deduct 14 from 20 and we're left 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.

Advancing to step 13:
7 can be fit into 60 8 times, resulting in a remainder of 4.
The next digit of our result is 8. 
Result so far: 56803.8571428
The remainder is 4 after subtracting 56 from 60.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Moving on to step 14:
When dividing 40 by 7, we get 5 with a remainder of 5.
Put 5 as the next digit of the answer. 
Result so far: 56803.85714285
The remainder is 5 after subtracting 35 from 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

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