We look at the division of 400376 by 7 
We want to figure out the number of times 400376 can be divided by 7.

Step 1:
If we divide 4 by 7, we get 0 and a remainder of 4.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtracting 0 from 4 leaves us with 4.
Include the next digit (0) from the dividend after 4, then repeat: 40 / 7

Let's proceed to step 2:
7 can be fit into 40 5 times, resulting in a remainder of 5.
Use 5 as the next digit of our solution. 
Result so far: 5.0
Subtract 35 from 40 to get 5.
Bring next digit (0) of the dividend behind the 5 and repeat the process: 50 / 7

Going ahead to step 3:
50 divided by 7 is 7 with a remainder of 1.
Record the quotient 7 as the next digit in the result. 
Result so far: 57.0
The remainder is 1 after subtracting 49 from 50.
Grab the next digit (3) from the dividend, add it to 1, then carry on: 13 / 7

Let's proceed to step 4:
7 can be fit into 13 1 times, resulting in a remainder of 6.
The next digit of our result is 1. 
Result so far: 571.0
The remainder is 6 after subtracting 7 from 13.
Include the next digit (7) from the dividend after 6, then repeat: 67 / 7

On to step 5:
The number 7 fits into 67 9 times, leaving a remainder of 4.
Write down 9 as next digit of the result. 
Result so far: 5719.0
Deduct 63 from 67 and we're left with 4.
Grab the next digit (6) from the dividend, add it to 4, then carry on: 46 / 7

Advancing to step 6:
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: 57196.0
The remainder is 4 after subtracting 42 from 46.
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 7:
40 divided by 7 is 5 with a remainder of 5.
Put 5 as the next digit of the answer. 
Result so far: 57196.5
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.

Going ahead to step 8:
If we divide 50 by 7, we get 7 and a remainder of 1.
Put 7 as the next digit of the answer. 
Result so far: 57196.57
Subtracting 49 from 50 leaves us 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.

Moving on to step 9:
7 goes into 10 1 times with a remainder of 3.
The next digit of our result is 1. 
Result so far: 57196.571
Deduct 7 from 10 and we're left with 3.
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 10:
If we divide 30 by 7, we get 4 and a remainder of 2.
The next digit of our result is 4. 
Result so far: 57196.5714
The remainder is 2 after subtracting 28 from 30.
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 11:
7 goes into 20 2 times with a remainder of 6.
Write down 2 as next digit of the result. 
Result so far: 57196.57142
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.

Advancing to step 12:
The number 7 fits into 60 8 times, leaving a remainder of 4.
Put 8 as the next digit of the answer. 
Result so far: 57196.571428
If we subtract 56 from 60, we 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.

On to step 13:
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: 57196.5714285
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.

Advancing to step 14:
7 goes into 50 7 times with a remainder of 1.
Record the quotient 7 as the next digit in the result. 
Result so far: 57196.57142857
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.

Our division results in 57196.57142857 with a remaining 1e-09.