We're dividing 40842 by 95 
Let's see how many times 95 fits into 40842.

Step 1:
95 can be fit into 4 0 times, resulting in a remainder of 4.
The next digit of our result is 0. 
Result so far: 0.0
The remainder is 4 after subtracting 0 from 4.
Take the next digit (0) from the dividend and append it to 4, then repeat: 40 / 95

Advancing to step 2:
When dividing 40 by 95, we get 0 with a remainder of 40.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 40, we get 40.
Take the next digit (8) from the dividend and append it to 40, then repeat: 408 / 95

Let's proceed to step 3:
If we divide 408 by 95, we get 4 and a remainder of 28.
The number 4 becomes the next digit in our result. 
Result so far: 4.0
If we subtract 380 from 408, we get 28.
Append the next digit (4) from the dividend to 28 and continue with: 284 / 95

On to step 4:
284 divided by 95 is 2 with a remainder of 94.
Write down 2 as next digit of the result. 
Result so far: 42.0
Subtracting 190 from 284 leaves us with 94.
Fetch the next digit (2) from the dividend, attach it to 94 and continue: 942 / 95

On to step 5:
942 divided by 95 is 9 with a remainder of 87.
Use 9 as the next digit of our solution. 
Result so far: 429.0
Subtracting 855 from 942 leaves us with 87.
Since there are no more digits in the dividend, we add a zero to the remainder making it 870, and continue the process.

Advancing to step 6:
870 divided by 95 is 9 with a remainder of 15.
Put 9 as the next digit of the answer. 
Result so far: 429.9
If we take 855 away from 870, we end up 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.

Step 7:
95 goes into 150 1 times with a remainder of 55.
The next digit of our result is 1. 
Result so far: 429.91
If we subtract 95 from 150, we get 55.
Since there are no more digits in the dividend, we add a zero to the remainder making it 550, and continue the process.

On to step 8:
95 can be fit into 550 5 times, resulting in a remainder of 75.
The next digit of our result is 5. 
Result so far: 429.915
Subtracting 475 from 550 leaves us with 75.
Since there are no more digits in the dividend, we add a zero to the remainder making it 750, and continue the process.

Let's proceed to step 9:
750 divided by 95 is 7 with a remainder of 85.
Put 7 as the next digit of the answer. 
Result so far: 429.9157
Subtracting 665 from 750 leaves us with 85.
Since there are no more digits in the dividend, we add a zero to the remainder making it 850, and continue the process.

Moving on to step 10:
850 divided by 95 is 8 with a remainder of 90.
Use 8 as the next digit of our solution. 
Result so far: 429.91578
Subtract 760 from 850 to get 90.
Since there are no more digits in the dividend, we add a zero to the remainder making it 900, and continue the process.

Step 11:
If we divide 900 by 95, we get 9 and a remainder of 45.
Use 9 as the next digit of our solution. 
Result so far: 429.915789
The remainder is 45 after subtracting 855 from 900.
Since there are no more digits in the dividend, we add a zero to the remainder making it 450, and continue the process.

Step 12:
95 goes into 450 4 times with a remainder of 70.
The number 4 becomes the next digit in our result. 
Result so far: 429.9157894
Subtract 380 from 450 to get 70.
Since there are no more digits in the dividend, we add a zero to the remainder making it 700, and continue the process.

On to step 13:
95 can be fit into 700 7 times, resulting in a remainder of 35.
The number 7 becomes the next digit in our result. 
Result so far: 429.91578947
Deduct 665 from 700 and we're left with 35.
Since there are no more digits in the dividend, we add a zero to the remainder making it 350, and continue the process.

The quotient of the division is 429.91578947, and the remainder is 3.5e-08.