We're dividing 171823 by 42 
We're looking to find how many times 42 goes into 171823.

Step 1:
If we divide 1 by 42, we get 0 and a remainder of 1.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtracting 0 from 1 leaves us with 1.
Include the next digit (7) from the dividend after 1, then repeat: 17 / 42

Moving on to step 2:
The number 42 fits into 17 0 times, leaving a remainder of 17.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 17, we get 17.
Take the next digit (1) from the dividend and append it to 17, then repeat: 171 / 42

Advancing to step 3:
42 can be fit into 171 4 times, resulting in a remainder of 3.
Use 4 as the next digit of our solution. 
Result so far: 4.0
The remainder is 3 after subtracting 168 from 171.
Bring next digit (8) of the dividend behind the 3 and repeat the process: 38 / 42

Advancing to step 4:
When dividing 38 by 42, we get 0 with a remainder of 38.
The number 0 becomes the next digit in our result. 
Result so far: 40.0
Subtract 0 from 38 to get 38.
Fetch the next digit (2) from the dividend, attach it to 38 and continue: 382 / 42

Let's proceed to step 5:
382 divided by 42 is 9 with a remainder of 4.
Put 9 as the next digit of the answer. 
Result so far: 409.0
Deduct 378 from 382 and we're left with 4.
Bring next digit (3) of the dividend behind the 4 and repeat the process: 43 / 42

Moving on to step 6:
42 goes into 43 1 times with a remainder of 1.
The number 1 becomes the next digit in our result. 
Result so far: 4091.0
If we subtract 42 from 43, we get 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

On to step 7:
42 can be fit into 10 0 times, resulting in a remainder of 10.
Write down 0 as next digit of the result. 
Result so far: 4091.0
Subtract 0 from 10 to 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.

On to step 8:
42 can be fit into 100 2 times, resulting in a remainder of 16.
Put 2 as the next digit of the answer. 
Result so far: 4091.02
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.

Going ahead to step 9:
The number 42 fits into 160 3 times, leaving a remainder of 34.
Use 3 as the next digit of our solution. 
Result so far: 4091.023
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:
The number 42 fits into 340 8 times, leaving a remainder of 4.
Use 8 as the next digit of our solution. 
Result so far: 4091.0238
Deduct 336 from 340 and we're left 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.

Advancing to step 11:
42 can be fit into 40 0 times, resulting in a remainder of 40.
Use 0 as the next digit of our solution. 
Result so far: 4091.0238
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.

Going ahead to step 12:
When dividing 400 by 42, we get 9 with a remainder of 22.
The next digit of our result is 9. 
Result so far: 4091.023809
If we subtract 378 from 400, 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.

On to step 13:
The number 42 fits into 220 5 times, leaving a remainder of 10.
Put 5 as the next digit of the answer. 
Result so far: 4091.0238095
If we take 210 away from 220, we end up 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.

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: 4091.02380952
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.

In conclusion, the division gives 4091.02380952 with a balance of 1.6e-08.