786627 ÷ 42 
Our goal is to divide 786627 by 42.

Step 1:
42 goes into 7 0 times with a remainder of 7.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtracting 0 from 7 leaves us with 7.
Include the next digit (8) from the dividend after 7, then repeat: 78 / 42

Moving on to step 2:
When dividing 78 by 42, we get 1 with a remainder of 36.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
If we subtract 42 from 78, we get 36.
Take the next digit (6) from the dividend and append it to 36, then repeat: 366 / 42

Moving on to step 3:
42 goes into 366 8 times with a remainder of 30.
Put 8 as the next digit of the answer. 
Result so far: 18.0
Deduct 336 from 366 and we're left with 30.
Grab the next digit (6) from the dividend, add it to 30, then carry on: 306 / 42

On to step 4:
When dividing 306 by 42, we get 7 with a remainder of 12.
Put 7 as the next digit of the answer. 
Result so far: 187.0
Subtracting 294 from 306 leaves us with 12.
Append the next digit (2) from the dividend to 12 and continue with: 122 / 42

On to step 5:
42 goes into 122 2 times with a remainder of 38.
The next digit of our result is 2. 
Result so far: 1872.0
Subtract 84 from 122 to get 38.
Include the next digit (7) from the dividend after 38, then repeat: 387 / 42

Let's proceed to step 6:
387 divided by 42 is 9 with a remainder of 9.
Write down 9 as next digit of the result. 
Result so far: 18729.0
The remainder is 9 after subtracting 378 from 387.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Advancing to step 7:
When dividing 90 by 42, we get 2 with a remainder of 6.
The number 2 becomes the next digit in our result. 
Result so far: 18729.2
If we take 84 away from 90, 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.

Advancing to step 8:
The number 42 fits into 60 1 times, leaving a remainder of 18.
The number 1 becomes the next digit in our result. 
Result so far: 18729.21
Subtracting 42 from 60 leaves us 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.

Step 9:
42 can be fit into 180 4 times, resulting in a remainder of 12.
The next digit of our result is 4. 
Result so far: 18729.214
If we subtract 168 from 180, we get 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Let's proceed to step 10:
120 divided by 42 is 2 with a remainder of 36.
The number 2 becomes the next digit in our result. 
Result so far: 18729.2142
If we subtract 84 from 120, we get 36.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

Step 11:
360 divided by 42 is 8 with a remainder of 24.
Use 8 as the next digit of our solution. 
Result so far: 18729.21428
Subtracting 336 from 360 leaves us with 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

On to step 12:
If we divide 240 by 42, we get 5 and a remainder of 30.
The next digit of our result is 5. 
Result so far: 18729.214285
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.

On to step 13:
When dividing 300 by 42, we get 7 with a remainder of 6.
Write down 7 as next digit of the result. 
Result so far: 18729.2142857
Deduct 294 from 300 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.

Let's proceed to step 14:
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: 18729.21428571
If we subtract 42 from 60, we get 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

The final outcome is 18729.21428571, with a leftover of 1.8e-08.