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

Going ahead to 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
If we take 0 away from 7, we end up with 7.
Fetch the next digit (8) from the dividend, attach it to 7 and continue: 78 / 42

Step 2:
The number 42 fits into 78 1 times, leaving a remainder of 36.
Write down 1 as next digit of the result. 
Result so far: 1.0
Subtract 42 from 78 to get 36.
Take the next digit (7) from the dividend and append it to 36, then repeat: 367 / 42

Moving on to step 3:
42 goes into 367 8 times with a remainder of 31.
Put 8 as the next digit of the answer. 
Result so far: 18.0
If we subtract 336 from 367, we get 31.
Include the next digit (1) from the dividend after 31, then repeat: 311 / 42

Moving on to step 4:
When dividing 311 by 42, we get 7 with a remainder of 17.
The number 7 becomes the next digit in our result. 
Result so far: 187.0
Subtract 294 from 311 to get 17.
Include the next digit (0) from the dividend after 17, then repeat: 170 / 42

Let's proceed to step 5:
The number 42 fits into 170 4 times, leaving a remainder of 2.
The next digit of our result is 4. 
Result so far: 1874.0
If we subtract 168 from 170, we get 2.
Fetch the next digit (6) from the dividend, attach it to 2 and continue: 26 / 42

Step 6:
The number 42 fits into 26 0 times, leaving a remainder of 26.
The next digit of our result is 0. 
Result so far: 18740.0
If we subtract 0 from 26, we get 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Moving on to step 7:
42 can be fit into 260 6 times, resulting in a remainder of 8.
Put 6 as the next digit of the answer. 
Result so far: 18740.6
Deduct 252 from 260 and we're left with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Step 8:
When dividing 80 by 42, we get 1 with a remainder of 38.
Use 1 as the next digit of our solution. 
Result so far: 18740.61
Subtract 42 from 80 to get 38.
Since there are no more digits in the dividend, we add a zero to the remainder making it 380, and continue the process.

Step 9:
42 can be fit into 380 9 times, resulting in a remainder of 2.
The number 9 becomes the next digit in our result. 
Result so far: 18740.619
Subtract 378 from 380 to get 2.
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 10:
The number 42 fits into 20 0 times, leaving a remainder of 20.
Record the quotient 0 as the next digit in the result. 
Result so far: 18740.619
Subtract 0 from 20 to get 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

On to step 11:
42 can be fit into 200 4 times, resulting in a remainder of 32.
Record the quotient 4 as the next digit in the result. 
Result so far: 18740.61904
Deduct 168 from 200 and we're left with 32.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

On to step 12:
320 divided by 42 is 7 with a remainder of 26.
Put 7 as the next digit of the answer. 
Result so far: 18740.619047
Subtract 294 from 320 to get 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Step 13:
42 can be fit into 260 6 times, resulting in a remainder of 8.
The next digit of our result is 6. 
Result so far: 18740.6190476
Deduct 252 from 260 and we're left with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Step 14:
42 goes into 80 1 times with a remainder of 38.
The next digit of our result is 1. 
Result so far: 18740.61904761
If we subtract 42 from 80, we get 38.
Since there are no more digits in the dividend, we add a zero to the remainder making it 380, and continue the process.

After the division, we end up with 18740.61904761 and a remainder of 3.8e-08.