We divide 40411961 by 799
We're looking to find how many times 799 goes into 40411961.

Step 1:
799 goes into 4 0 times with a remainder of 4.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtracting 0 from 4 leaves us with 4.
Take the next digit (0) from the dividend and append it to 4, then repeat: 40 / 799

Step 2:
When dividing 40 by 799, we get 0 with a remainder of 40.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 40 and we're left with 40.
Take the next digit (4) from the dividend and append it to 40, then repeat: 404 / 799

On to step 3:
The number 799 fits into 404 0 times, leaving a remainder of 404.
The next digit of our result is 0. 
Result so far: 0.0
Deduct 0 from 404 and we're left with 404.
Append the next digit (1) from the dividend to 404 and continue with: 4041 / 799

On to step 4:
4041 divided by 799 is 5 with a remainder of 46.
Use 5 as the next digit of our solution. 
Result so far: 5.0
Deduct 3995 from 4041 and we're left with 46.
Grab the next digit (1) from the dividend, add it to 46, then carry on: 461 / 799

Moving on to step 5:
461 divided by 799 is 0 with a remainder of 461.
Use 0 as the next digit of our solution. 
Result so far: 50.0
Subtract 0 from 461 to get 461.
Bring next digit (9) of the dividend behind the 461 and repeat the process: 4619 / 799

Let's proceed to step 6:
4619 divided by 799 is 5 with a remainder of 624.
The number 5 becomes the next digit in our result. 
Result so far: 505.0
If we take 3995 away from 4619, we end up with 624.
Grab the next digit (6) from the dividend, add it to 624, then carry on: 6246 / 799

Advancing to step 7:
The number 799 fits into 6246 7 times, leaving a remainder of 653.
The next digit of our result is 7. 
Result so far: 5057.0
If we take 5593 away from 6246, we end up with 653.
Grab the next digit (1) from the dividend, add it to 653, then carry on: 6531 / 799

Advancing to step 8:
The number 799 fits into 6531 8 times, leaving a remainder of 139.
Write down 8 as next digit of the result. 
Result so far: 50578.0
Deduct 6392 from 6531 and we're left with 139.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1390, and continue the process.

Going ahead to step 9:
When dividing 1390 by 799, we get 1 with a remainder of 591.
Put 1 as the next digit of the answer. 
Result so far: 50578.1
Deduct 799 from 1390 and we're left with 591.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5910, and continue the process.

On to step 10:
5910 divided by 799 is 7 with a remainder of 317.
The next digit of our result is 7. 
Result so far: 50578.17
If we take 5593 away from 5910, we end up with 317.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3170, and continue the process.

Let's proceed to step 11:
The number 799 fits into 3170 3 times, leaving a remainder of 773.
The next digit of our result is 3. 
Result so far: 50578.173
The remainder is 773 after subtracting 2397 from 3170.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7730, and continue the process.

Let's proceed to step 12:
799 goes into 7730 9 times with a remainder of 539.
Use 9 as the next digit of our solution. 
Result so far: 50578.1739
If we take 7191 away from 7730, we end up with 539.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5390, and continue the process.

Let's proceed to step 13:
799 goes into 5390 6 times with a remainder of 596.
Use 6 as the next digit of our solution. 
Result so far: 50578.17396
If we take 4794 away from 5390, we end up with 596.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5960, and continue the process.

Step 14:
5960 divided by 799 is 7 with a remainder of 367.
Put 7 as the next digit of the answer. 
Result so far: 50578.173967
The remainder is 367 after subtracting 5593 from 5960.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3670, and continue the process.

Step 15:
3670 divided by 799 is 4 with a remainder of 474.
Put 4 as the next digit of the answer. 
Result so far: 50578.1739674
The remainder is 474 after subtracting 3196 from 3670.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4740, and continue the process.

Going ahead to step 16:
799 can be fit into 4740 5 times, resulting in a remainder of 745.
Record the quotient 5 as the next digit in the result. 
Result so far: 50578.17396745
Deduct 3995 from 4740 and we're left with 745.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7450, and continue the process.

The final outcome is 50578.17396745, with a leftover of 7.45e-07.