Let's divide 878865 by 42
Our goal is to divide 878865 by 42.

Step 1:
When dividing 8 by 42, we get 0 with a remainder of 8.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we subtract 0 from 8, we get 8.
Bring next digit (7) of the dividend behind the 8 and repeat the process: 87 / 42

Moving on to step 2:
42 goes into 87 2 times with a remainder of 3.
Put 2 as the next digit of the answer. 
Result so far: 2.0
Subtracting 84 from 87 leaves us with 3.
Fetch the next digit (8) from the dividend, attach it to 3 and continue: 38 / 42

Advancing to step 3:
42 can be fit into 38 0 times, resulting in a remainder of 38.
Record the quotient 0 as the next digit in the result. 
Result so far: 20.0
If we take 0 away from 38, we end up with 38.
Fetch the next digit (8) from the dividend, attach it to 38 and continue: 388 / 42

On to step 4:
42 goes into 388 9 times with a remainder of 10.
Record the quotient 9 as the next digit in the result. 
Result so far: 209.0
Deduct 378 from 388 and we're left with 10.
Append the next digit (6) from the dividend to 10 and continue with: 106 / 42

Step 5:
If we divide 106 by 42, we get 2 and a remainder of 22.
The next digit of our result is 2. 
Result so far: 2092.0
If we take 84 away from 106, we end up with 22.
Bring next digit (5) of the dividend behind the 22 and repeat the process: 225 / 42

Going ahead to step 6:
42 can be fit into 225 5 times, resulting in a remainder of 15.
Put 5 as the next digit of the answer. 
Result so far: 20925.0
Subtracting 210 from 225 leaves us with 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Advancing to step 7:
If we divide 150 by 42, we get 3 and a remainder of 24.
Write down 3 as next digit of the result. 
Result so far: 20925.3
Subtract 126 from 150 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 8:
The number 42 fits into 240 5 times, leaving a remainder of 30.
Put 5 as the next digit of the answer. 
Result so far: 20925.35
Subtract 210 from 240 to get 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 9:
300 divided by 42 is 7 with a remainder of 6.
Write down 7 as next digit of the result. 
Result so far: 20925.357
The remainder is 6 after subtracting 294 from 300.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Step 10:
If we divide 60 by 42, we get 1 and a remainder of 18.
Use 1 as the next digit of our solution. 
Result so far: 20925.3571
The remainder is 18 after subtracting 42 from 60.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Going ahead to step 11:
If we divide 180 by 42, we get 4 and a remainder of 12.
Write down 4 as next digit of the result. 
Result so far: 20925.35714
Deduct 168 from 180 and we're left 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.

Going ahead to step 12:
The number 42 fits into 120 2 times, leaving a remainder of 36.
Write down 2 as next digit of the result. 
Result so far: 20925.357142
Subtracting 84 from 120 leaves us with 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 13:
When dividing 360 by 42, we get 8 with a remainder of 24.
The next digit of our result is 8. 
Result so far: 20925.3571428
Subtract 336 from 360 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.

Advancing to step 14:
42 goes into 240 5 times with a remainder of 30.
Write down 5 as next digit of the result. 
Result so far: 20925.35714285
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.

The quotient of the division is 20925.35714285, and the remainder is 3e-08.