We divide 400578 by 42
Our goal is to divide 400578 by 42.

Step 1:
42 can be fit into 4 0 times, resulting in a remainder of 4.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we take 0 away from 4, we end up with 4.
Fetch the next digit (0) from the dividend, attach it to 4 and continue: 40 / 42

Step 2:
42 can be fit into 40 0 times, resulting in a remainder of 40.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtracting 0 from 40 leaves us with 40.
Append the next digit (0) from the dividend to 40 and continue with: 400 / 42

Let's proceed to step 3:
42 goes into 400 9 times with a remainder of 22.
The next digit of our result is 9. 
Result so far: 9.0
Deduct 378 from 400 and we're left with 22.
Append the next digit (5) from the dividend to 22 and continue with: 225 / 42

Going ahead to step 4:
When dividing 225 by 42, we get 5 with a remainder of 15.
Write down 5 as next digit of the result. 
Result so far: 95.0
Subtract 210 from 225 to get 15.
Append the next digit (7) from the dividend to 15 and continue with: 157 / 42

Going ahead to step 5:
The number 42 fits into 157 3 times, leaving a remainder of 31.
The next digit of our result is 3. 
Result so far: 953.0
If we take 126 away from 157, we end up with 31.
Fetch the next digit (8) from the dividend, attach it to 31 and continue: 318 / 42

Going ahead to step 6:
318 divided by 42 is 7 with a remainder of 24.
Put 7 as the next digit of the answer. 
Result so far: 9537.0
Subtract 294 from 318 to get 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Step 7:
42 goes into 240 5 times with a remainder of 30.
The number 5 becomes the next digit in our result. 
Result so far: 9537.5
If we take 210 away from 240, we end up with 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Step 8:
300 divided by 42 is 7 with a remainder of 6.
Record the quotient 7 as the next digit in the result. 
Result so far: 9537.57
Subtracting 294 from 300 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.

Step 9:
The number 42 fits into 60 1 times, leaving a remainder of 18.
Record the quotient 1 as the next digit in the result. 
Result so far: 9537.571
If we take 42 away from 60, we end up with 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Advancing to step 10:
180 divided by 42 is 4 with a remainder of 12.
Use 4 as the next digit of our solution. 
Result so far: 9537.5714
Subtracting 168 from 180 leaves us with 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

On to step 11:
120 divided by 42 is 2 with a remainder of 36.
Use 2 as the next digit of our solution. 
Result so far: 9537.57142
The remainder is 36 after subtracting 84 from 120.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

Let's proceed to step 12:
When dividing 360 by 42, we get 8 with a remainder of 24.
The number 8 becomes the next digit in our result. 
Result so far: 9537.571428
If we subtract 336 from 360, we get 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Moving on to step 13:
When dividing 240 by 42, we get 5 with a remainder of 30.
The number 5 becomes the next digit in our result. 
Result so far: 9537.5714285
Subtracting 210 from 240 leaves us with 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Advancing to step 14:
42 can be fit into 300 7 times, resulting in a remainder of 6.
The next digit of our result is 7. 
Result so far: 9537.57142857
Subtract 294 from 300 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.

The final outcome is 9537.57142857, with a leftover of 6e-09.