We're dividing 781177 by 42 
We want to divide 781177 by 42.

Advancing to step 1:
42 can be fit into 7 0 times, resulting in a remainder of 7.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 7 and we're left with 7.
Grab the next digit (8) from the dividend, add it to 7, then carry on: 78 / 42

On to step 2:
42 can be fit into 78 1 times, resulting in a remainder of 36.
Use 1 as the next digit of our solution. 
Result so far: 1.0
If we take 42 away from 78, we end up with 36.
Take the next digit (1) from the dividend and append it to 36, then repeat: 361 / 42

Advancing to step 3:
42 can be fit into 361 8 times, resulting in a remainder of 25.
The next digit of our result is 8. 
Result so far: 18.0
If we subtract 336 from 361, we get 25.
Include the next digit (1) from the dividend after 25, then repeat: 251 / 42

Going ahead to step 4:
251 divided by 42 is 5 with a remainder of 41.
Use 5 as the next digit of our solution. 
Result so far: 185.0
Deduct 210 from 251 and we're left with 41.
Bring next digit (7) of the dividend behind the 41 and repeat the process: 417 / 42

Moving on to step 5:
42 goes into 417 9 times with a remainder of 39.
Put 9 as the next digit of the answer. 
Result so far: 1859.0
Subtracting 378 from 417 leaves us with 39.
Append the next digit (7) from the dividend to 39 and continue with: 397 / 42

Step 6:
When dividing 397 by 42, we get 9 with a remainder of 19.
Write down 9 as next digit of the result. 
Result so far: 18599.0
The remainder is 19 after subtracting 378 from 397.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

Step 7:
42 can be fit into 190 4 times, resulting in a remainder of 22.
Write down 4 as next digit of the result. 
Result so far: 18599.4
If we subtract 168 from 190, we get 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Advancing to step 8:
If we divide 220 by 42, we get 5 and a remainder of 10.
Put 5 as the next digit of the answer. 
Result so far: 18599.45
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.

On to step 9:
The number 42 fits into 100 2 times, leaving a remainder of 16.
The number 2 becomes the next digit in our result. 
Result so far: 18599.452
If we subtract 84 from 100, we get 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Let's proceed to step 10:
42 goes into 160 3 times with a remainder of 34.
Use 3 as the next digit of our solution. 
Result so far: 18599.4523
If we take 126 away from 160, 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.

Moving on to step 11:
42 goes into 340 8 times with a remainder of 4.
Use 8 as the next digit of our solution. 
Result so far: 18599.45238
Subtracting 336 from 340 leaves us 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.

Going ahead to step 12:
If we divide 40 by 42, we get 0 and a remainder of 40.
The number 0 becomes the next digit in our result. 
Result so far: 18599.45238
Subtracting 0 from 40 leaves us 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.

Let's proceed to step 13:
400 divided by 42 is 9 with a remainder of 22.
Put 9 as the next digit of the answer. 
Result so far: 18599.4523809
If we take 378 away from 400, we end up 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.

Moving on to step 14:
If we divide 220 by 42, we get 5 and a remainder of 10.
Put 5 as the next digit of the answer. 
Result so far: 18599.45238095
If we subtract 210 from 220, we get 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

The final result is 18599.45238095 with a remainder of 1e-08.