40101181 divided by 793 
Our goal is to divide 40101181 by 793.

On to step 1:
793 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
Subtract 0 from 4 to get 4.
Grab the next digit (0) from the dividend, add it to 4, then carry on: 40 / 793

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

Advancing to step 3:
401 divided by 793 is 0 with a remainder of 401.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtracting 0 from 401 leaves us with 401.
Bring next digit (0) of the dividend behind the 401 and repeat the process: 4010 / 793

Going ahead to step 4:
The number 793 fits into 4010 5 times, leaving a remainder of 45.
The number 5 becomes the next digit in our result. 
Result so far: 5.0
If we subtract 3965 from 4010, we get 45.
Take the next digit (1) from the dividend and append it to 45, then repeat: 451 / 793

Going ahead to step 5:
793 goes into 451 0 times with a remainder of 451.
The number 0 becomes the next digit in our result. 
Result so far: 50.0
Subtract 0 from 451 to get 451.
Fetch the next digit (1) from the dividend, attach it to 451 and continue: 4511 / 793

Advancing to step 6:
If we divide 4511 by 793, we get 5 and a remainder of 546.
Record the quotient 5 as the next digit in the result. 
Result so far: 505.0
Subtract 3965 from 4511 to get 546.
Include the next digit (8) from the dividend after 546, then repeat: 5468 / 793

Moving on to step 7:
The number 793 fits into 5468 6 times, leaving a remainder of 710.
Write down 6 as next digit of the result. 
Result so far: 5056.0
If we take 4758 away from 5468, we end up with 710.
Take the next digit (1) from the dividend and append it to 710, then repeat: 7101 / 793

Step 8:
When dividing 7101 by 793, we get 8 with a remainder of 757.
Put 8 as the next digit of the answer. 
Result so far: 50568.0
If we subtract 6344 from 7101, we get 757.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7570, and continue the process.

Going ahead to step 9:
When dividing 7570 by 793, we get 9 with a remainder of 433.
Write down 9 as next digit of the result. 
Result so far: 50568.9
The remainder is 433 after subtracting 7137 from 7570.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4330, and continue the process.

Advancing to step 10:
If we divide 4330 by 793, we get 5 and a remainder of 365.
Write down 5 as next digit of the result. 
Result so far: 50568.95
If we subtract 3965 from 4330, we get 365.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3650, and continue the process.

Step 11:
793 can be fit into 3650 4 times, resulting in a remainder of 478.
Put 4 as the next digit of the answer. 
Result so far: 50568.954
The remainder is 478 after subtracting 3172 from 3650.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4780, and continue the process.

Step 12:
793 goes into 4780 6 times with a remainder of 22.
The number 6 becomes the next digit in our result. 
Result so far: 50568.9546
Subtract 4758 from 4780 to 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.

Going ahead to step 13:
If we divide 220 by 793, we get 0 and a remainder of 220.
The next digit of our result is 0. 
Result so far: 50568.9546
If we take 0 away from 220, we end up with 220.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2200, and continue the process.

On to step 14:
793 can be fit into 2200 2 times, resulting in a remainder of 614.
Use 2 as the next digit of our solution. 
Result so far: 50568.954602
Subtracting 1586 from 2200 leaves us with 614.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6140, and continue the process.

Let's proceed to step 15:
793 can be fit into 6140 7 times, resulting in a remainder of 589.
Write down 7 as next digit of the result. 
Result so far: 50568.9546027
If we subtract 5551 from 6140, we get 589.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5890, and continue the process.

Let's proceed to step 16:
If we divide 5890 by 793, we get 7 and a remainder of 339.
Use 7 as the next digit of our solution. 
Result so far: 50568.95460277
If we take 5551 away from 5890, we end up with 339.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3390, and continue the process.

The final result is 50568.95460277 with a remainder of 3.39e-07.