781012 divided by 42 
We're looking to find how many times 42 goes into 781012.

Going ahead to step 1:
When dividing 7 by 42, we get 0 with a remainder of 7.
Put 0 as the next digit of the answer. 
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

Step 2:
When dividing 78 by 42, we get 1 with a remainder of 36.
Write down 1 as next digit of the result. 
Result so far: 1.0
The remainder is 36 after subtracting 42 from 78.
Bring next digit (1) of the dividend behind the 36 and repeat the process: 361 / 42

Step 3:
42 goes into 361 8 times with a remainder of 25.
Use 8 as the next digit of our solution. 
Result so far: 18.0
Subtract 336 from 361 to get 25.
Grab the next digit (0) from the dividend, add it to 25, then carry on: 250 / 42

Going ahead to step 4:
42 goes into 250 5 times with a remainder of 40.
Use 5 as the next digit of our solution. 
Result so far: 185.0
Subtracting 210 from 250 leaves us with 40.
Bring next digit (1) of the dividend behind the 40 and repeat the process: 401 / 42

Let's proceed to step 5:
401 divided by 42 is 9 with a remainder of 23.
Use 9 as the next digit of our solution. 
Result so far: 1859.0
If we take 378 away from 401, we end up with 23.
Take the next digit (2) from the dividend and append it to 23, then repeat: 232 / 42

On to step 6:
The number 42 fits into 232 5 times, leaving a remainder of 22.
Use 5 as the next digit of our solution. 
Result so far: 18595.0
Deduct 210 from 232 and we're left with 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

On to step 7:
When dividing 220 by 42, we get 5 with a remainder of 10.
The number 5 becomes the next digit in our result. 
Result so far: 18595.5
The remainder is 10 after subtracting 210 from 220.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Going ahead to step 8:
42 can be fit into 100 2 times, resulting in a remainder of 16.
Record the quotient 2 as the next digit in the result. 
Result so far: 18595.52
The remainder is 16 after subtracting 84 from 100.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Step 9:
The number 42 fits into 160 3 times, leaving a remainder of 34.
The next digit of our result is 3. 
Result so far: 18595.523
Subtracting 126 from 160 leaves us 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.

On to step 10:
42 goes into 340 8 times with a remainder of 4.
Write down 8 as next digit of the result. 
Result so far: 18595.5238
If we take 336 away from 340, we end up with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Step 11:
If we divide 40 by 42, we get 0 and a remainder of 40.
Use 0 as the next digit of our solution. 
Result so far: 18595.5238
If we take 0 away from 40, we end up with 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

Advancing to step 12:
42 can be fit into 400 9 times, resulting in a remainder of 22.
The number 9 becomes the next digit in our result. 
Result so far: 18595.523809
Deduct 378 from 400 and we're left with 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

On to step 13:
When dividing 220 by 42, we get 5 with a remainder of 10.
The next digit of our result is 5. 
Result so far: 18595.5238095
Deduct 210 from 220 and we're left with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Going ahead to step 14:
When dividing 100 by 42, we get 2 with a remainder of 16.
The number 2 becomes the next digit in our result. 
Result so far: 18595.52380952
Deduct 84 from 100 and we're left with 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

The final result is 18595.52380952 with a remainder of 1.6e-08.