We're dividing 400118 by 71 
We want to divide 400118 by 71.

Let's proceed to step 1:
4 divided by 71 is 0 with a remainder of 4.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 4, we end up with 4.
Take the next digit (0) from the dividend and append it to 4, then repeat: 40 / 71

Going ahead to step 2:
When dividing 40 by 71, we get 0 with a remainder of 40.
The next digit of our result is 0. 
Result so far: 0.0
The remainder is 40 after subtracting 0 from 40.
Bring next digit (0) of the dividend behind the 40 and repeat the process: 400 / 71

Step 3:
71 can be fit into 400 5 times, resulting in a remainder of 45.
Use 5 as the next digit of our solution. 
Result so far: 5.0
If we take 355 away from 400, we end up with 45.
Bring next digit (1) of the dividend behind the 45 and repeat the process: 451 / 71

Moving on to step 4:
When dividing 451 by 71, we get 6 with a remainder of 25.
Put 6 as the next digit of the answer. 
Result so far: 56.0
If we subtract 426 from 451, we get 25.
Grab the next digit (1) from the dividend, add it to 25, then carry on: 251 / 71

Let's proceed to step 5:
When dividing 251 by 71, we get 3 with a remainder of 38.
The next digit of our result is 3. 
Result so far: 563.0
Deduct 213 from 251 and we're left with 38.
Include the next digit (8) from the dividend after 38, then repeat: 388 / 71

On to step 6:
When dividing 388 by 71, we get 5 with a remainder of 33.
The next digit of our result is 5. 
Result so far: 5635.0
If we take 355 away from 388, we end up with 33.
Since there are no more digits in the dividend, we add a zero to the remainder making it 330, and continue the process.

Moving on to step 7:
The number 71 fits into 330 4 times, leaving a remainder of 46.
Write down 4 as next digit of the result. 
Result so far: 5635.4
Subtract 284 from 330 to get 46.
Since there are no more digits in the dividend, we add a zero to the remainder making it 460, and continue the process.

Advancing to step 8:
71 can be fit into 460 6 times, resulting in a remainder of 34.
Put 6 as the next digit of the answer. 
Result so far: 5635.46
If we take 426 away from 460, we end up with 34.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

Let's proceed to step 9:
The number 71 fits into 340 4 times, leaving a remainder of 56.
Record the quotient 4 as the next digit in the result. 
Result so far: 5635.464
If we take 284 away from 340, we end up with 56.
Since there are no more digits in the dividend, we add a zero to the remainder making it 560, and continue the process.

Going ahead to step 10:
71 goes into 560 7 times with a remainder of 63.
The number 7 becomes the next digit in our result. 
Result so far: 5635.4647
If we subtract 497 from 560, we get 63.
Since there are no more digits in the dividend, we add a zero to the remainder making it 630, and continue the process.

On to step 11:
630 divided by 71 is 8 with a remainder of 62.
Record the quotient 8 as the next digit in the result. 
Result so far: 5635.46478
The remainder is 62 after subtracting 568 from 630.
Since there are no more digits in the dividend, we add a zero to the remainder making it 620, and continue the process.

Let's proceed to step 12:
When dividing 620 by 71, we get 8 with a remainder of 52.
Put 8 as the next digit of the answer. 
Result so far: 5635.464788
Subtracting 568 from 620 leaves us with 52.
Since there are no more digits in the dividend, we add a zero to the remainder making it 520, and continue the process.

The quotient of the division is 5635.464788, and the remainder is 5.2e-06.