Let's divide 40971617 by 727
We want to divide 40971617 by 727.

On to step 1:
When dividing 4 by 727, we get 0 with a remainder of 4.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 4 to get 4.
Take the next digit (0) from the dividend and append it to 4, then repeat: 40 / 727

Let's proceed to step 2:
If we divide 40 by 727, we get 0 and a remainder of 40.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 40, we end up with 40.
Take the next digit (9) from the dividend and append it to 40, then repeat: 409 / 727

On to step 3:
The number 727 fits into 409 0 times, leaving a remainder of 409.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtracting 0 from 409 leaves us with 409.
Grab the next digit (7) from the dividend, add it to 409, then carry on: 4097 / 727

On to step 4:
The number 727 fits into 4097 5 times, leaving a remainder of 462.
Write down 5 as next digit of the result. 
Result so far: 5.0
Deduct 3635 from 4097 and we're left with 462.
Grab the next digit (1) from the dividend, add it to 462, then carry on: 4621 / 727

Advancing to step 5:
The number 727 fits into 4621 6 times, leaving a remainder of 259.
Put 6 as the next digit of the answer. 
Result so far: 56.0
If we subtract 4362 from 4621, we get 259.
Take the next digit (6) from the dividend and append it to 259, then repeat: 2596 / 727

Moving on to step 6:
The number 727 fits into 2596 3 times, leaving a remainder of 415.
The number 3 becomes the next digit in our result. 
Result so far: 563.0
If we subtract 2181 from 2596, we get 415.
Bring next digit (1) of the dividend behind the 415 and repeat the process: 4151 / 727

Step 7:
If we divide 4151 by 727, we get 5 and a remainder of 516.
Put 5 as the next digit of the answer. 
Result so far: 5635.0
If we subtract 3635 from 4151, we get 516.
Grab the next digit (7) from the dividend, add it to 516, then carry on: 5167 / 727

On to step 8:
727 can be fit into 5167 7 times, resulting in a remainder of 78.
The next digit of our result is 7. 
Result so far: 56357.0
If we subtract 5089 from 5167, we get 78.
Since there are no more digits in the dividend, we add a zero to the remainder making it 780, and continue the process.

Going ahead to step 9:
727 can be fit into 780 1 times, resulting in a remainder of 53.
Put 1 as the next digit of the answer. 
Result so far: 56357.1
The remainder is 53 after subtracting 727 from 780.
Since there are no more digits in the dividend, we add a zero to the remainder making it 530, and continue the process.

Going ahead to step 10:
The number 727 fits into 530 0 times, leaving a remainder of 530.
Record the quotient 0 as the next digit in the result. 
Result so far: 56357.1
If we take 0 away from 530, we end up with 530.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5300, and continue the process.

Step 11:
When dividing 5300 by 727, we get 7 with a remainder of 211.
Use 7 as the next digit of our solution. 
Result so far: 56357.107
If we subtract 5089 from 5300, we get 211.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2110, and continue the process.

On to step 12:
The number 727 fits into 2110 2 times, leaving a remainder of 656.
The next digit of our result is 2. 
Result so far: 56357.1072
If we subtract 1454 from 2110, we get 656.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6560, and continue the process.

Going ahead to step 13:
727 can be fit into 6560 9 times, resulting in a remainder of 17.
Record the quotient 9 as the next digit in the result. 
Result so far: 56357.10729
If we take 6543 away from 6560, we end up with 17.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

Let's proceed to step 14:
727 goes into 170 0 times with a remainder of 170.
Use 0 as the next digit of our solution. 
Result so far: 56357.10729
If we take 0 away from 170, we end up with 170.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1700, and continue the process.

Step 15:
If we divide 1700 by 727, we get 2 and a remainder of 246.
Put 2 as the next digit of the answer. 
Result so far: 56357.1072902
If we subtract 1454 from 1700, we get 246.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2460, and continue the process.

Advancing to step 16:
727 goes into 2460 3 times with a remainder of 279.
Write down 3 as next digit of the result. 
Result so far: 56357.10729023
The remainder is 279 after subtracting 2181 from 2460.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2790, and continue the process.

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