We divide 178866 by 42
Our goal is to divide 178866 by 42.

Let's proceed to step 1:
1 divided by 42 is 0 with a remainder of 1.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 1 to get 1.
Include the next digit (7) from the dividend after 1, then repeat: 17 / 42

Advancing to step 2:
42 goes into 17 0 times with a remainder of 17.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 17, we get 17.
Take the next digit (8) from the dividend and append it to 17, then repeat: 178 / 42

Step 3:
178 divided by 42 is 4 with a remainder of 10.
Write down 4 as next digit of the result. 
Result so far: 4.0
Deduct 168 from 178 and we're left with 10.
Append the next digit (8) from the dividend to 10 and continue with: 108 / 42

Let's proceed to step 4:
108 divided by 42 is 2 with a remainder of 24.
Use 2 as the next digit of our solution. 
Result so far: 42.0
If we subtract 84 from 108, we get 24.
Include the next digit (6) from the dividend after 24, then repeat: 246 / 42

Going ahead to step 5:
42 goes into 246 5 times with a remainder of 36.
Put 5 as the next digit of the answer. 
Result so far: 425.0
Subtracting 210 from 246 leaves us with 36.
Append the next digit (6) from the dividend to 36 and continue with: 366 / 42

On to step 6:
The number 42 fits into 366 8 times, leaving a remainder of 30.
Use 8 as the next digit of our solution. 
Result so far: 4258.0
Subtracting 336 from 366 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.

Going ahead to step 7:
42 can be fit into 300 7 times, resulting in a remainder of 6.
Write down 7 as next digit of the result. 
Result so far: 4258.7
Subtract 294 from 300 to get 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Step 8:
When dividing 60 by 42, we get 1 with a remainder of 18.
Write down 1 as next digit of the result. 
Result so far: 4258.71
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:
When dividing 180 by 42, we get 4 with a remainder of 12.
Use 4 as the next digit of our solution. 
Result so far: 4258.714
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.

Advancing to step 10:
42 can be fit into 120 2 times, resulting in a remainder of 36.
Write down 2 as next digit of the result. 
Result so far: 4258.7142
The remainder is 36 after subtracting 84 from 120.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

Going ahead to step 11:
360 divided by 42 is 8 with a remainder of 24.
Put 8 as the next digit of the answer. 
Result so far: 4258.71428
If we subtract 336 from 360, we 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.

Let's proceed to step 12:
240 divided by 42 is 5 with a remainder of 30.
Put 5 as the next digit of the answer. 
Result so far: 4258.714285
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.

Advancing to step 13:
42 can be fit into 300 7 times, resulting in a remainder of 6.
The next digit of our result is 7. 
Result so far: 4258.7142857
Subtract 294 from 300 to get 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Step 14:
The number 42 fits into 60 1 times, leaving a remainder of 18.
The next digit of our result is 1. 
Result so far: 4258.71428571
Subtract 42 from 60 to 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 quotient of the division is 4258.71428571, and the remainder is 1.8e-08.