We're dividing 40991538 by 842 
We want to figure out the number of times 40991538 can be divided by 842.

Step 1:
When dividing 4 by 842, we get 0 with 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.
Bring next digit (0) of the dividend behind the 4 and repeat the process: 40 / 842

Let's proceed to step 2:
If we divide 40 by 842, we get 0 and a remainder of 40.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 40 after subtracting 0 from 40.
Take the next digit (9) from the dividend and append it to 40, then repeat: 409 / 842

Let's proceed to step 3:
842 can be fit into 409 0 times, resulting in a remainder of 409.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we take 0 away from 409, we end up with 409.
Grab the next digit (9) from the dividend, add it to 409, then carry on: 4099 / 842

Advancing to step 4:
842 can be fit into 4099 4 times, resulting in a remainder of 731.
Record the quotient 4 as the next digit in the result. 
Result so far: 4.0
If we take 3368 away from 4099, we end up with 731.
Grab the next digit (1) from the dividend, add it to 731, then carry on: 7311 / 842

Let's proceed to step 5:
7311 divided by 842 is 8 with a remainder of 575.
Use 8 as the next digit of our solution. 
Result so far: 48.0
Subtract 6736 from 7311 to get 575.
Grab the next digit (5) from the dividend, add it to 575, then carry on: 5755 / 842

Step 6:
If we divide 5755 by 842, we get 6 and a remainder of 703.
Use 6 as the next digit of our solution. 
Result so far: 486.0
If we take 5052 away from 5755, we end up with 703.
Fetch the next digit (3) from the dividend, attach it to 703 and continue: 7033 / 842

Step 7:
7033 divided by 842 is 8 with a remainder of 297.
Put 8 as the next digit of the answer. 
Result so far: 4868.0
If we take 6736 away from 7033, we end up with 297.
Bring next digit (8) of the dividend behind the 297 and repeat the process: 2978 / 842

Let's proceed to step 8:
2978 divided by 842 is 3 with a remainder of 452.
The number 3 becomes the next digit in our result. 
Result so far: 48683.0
Deduct 2526 from 2978 and we're left with 452.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4520, and continue the process.

Moving on to step 9:
842 goes into 4520 5 times with a remainder of 310.
The next digit of our result is 5. 
Result so far: 48683.5
Subtracting 4210 from 4520 leaves us with 310.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3100, and continue the process.

Advancing to step 10:
If we divide 3100 by 842, we get 3 and a remainder of 574.
Use 3 as the next digit of our solution. 
Result so far: 48683.53
Subtract 2526 from 3100 to get 574.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5740, and continue the process.

Advancing to step 11:
5740 divided by 842 is 6 with a remainder of 688.
Record the quotient 6 as the next digit in the result. 
Result so far: 48683.536
The remainder is 688 after subtracting 5052 from 5740.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6880, and continue the process.

Step 12:
6880 divided by 842 is 8 with a remainder of 144.
Put 8 as the next digit of the answer. 
Result so far: 48683.5368
The remainder is 144 after subtracting 6736 from 6880.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1440, and continue the process.

Advancing to step 13:
842 can be fit into 1440 1 times, resulting in a remainder of 598.
Put 1 as the next digit of the answer. 
Result so far: 48683.53681
Deduct 842 from 1440 and we're left with 598.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5980, and continue the process.

Advancing to step 14:
842 goes into 5980 7 times with a remainder of 86.
The next digit of our result is 7. 
Result so far: 48683.536817
The remainder is 86 after subtracting 5894 from 5980.
Since there are no more digits in the dividend, we add a zero to the remainder making it 860, and continue the process.

Moving on to step 15:
860 divided by 842 is 1 with a remainder of 18.
Record the quotient 1 as the next digit in the result. 
Result so far: 48683.5368171
Deduct 842 from 860 and we're left 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.

On to step 16:
842 can be fit into 180 0 times, resulting in a remainder of 180.
The next digit of our result is 0. 
Result so far: 48683.5368171
Subtract 0 from 180 to get 180.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1800, and continue the process.

After the division, we end up with 48683.5368171 and a remainder of 1.8e-07.