We look at the division of 40513577 by 707 
We want to divide 40513577 by 707.

Step 1:
707 goes into 4 0 times 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.
Include the next digit (0) from the dividend after 4, then repeat: 40 / 707

Advancing to step 2:
When dividing 40 by 707, we get 0 with a remainder of 40.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtracting 0 from 40 leaves us with 40.
Append the next digit (5) from the dividend to 40 and continue with: 405 / 707

Step 3:
If we divide 405 by 707, we get 0 and a remainder of 405.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtracting 0 from 405 leaves us with 405.
Bring next digit (1) of the dividend behind the 405 and repeat the process: 4051 / 707

On to step 4:
707 can be fit into 4051 5 times, resulting in a remainder of 516.
Put 5 as the next digit of the answer. 
Result so far: 5.0
The remainder is 516 after subtracting 3535 from 4051.
Bring next digit (3) of the dividend behind the 516 and repeat the process: 5163 / 707

Step 5:
707 goes into 5163 7 times with a remainder of 214.
Record the quotient 7 as the next digit in the result. 
Result so far: 57.0
Deduct 4949 from 5163 and we're left with 214.
Take the next digit (5) from the dividend and append it to 214, then repeat: 2145 / 707

Going ahead to step 6:
707 goes into 2145 3 times with a remainder of 24.
Record the quotient 3 as the next digit in the result. 
Result so far: 573.0
If we subtract 2121 from 2145, we get 24.
Append the next digit (7) from the dividend to 24 and continue with: 247 / 707

Going ahead to step 7:
When dividing 247 by 707, we get 0 with a remainder of 247.
The next digit of our result is 0. 
Result so far: 5730.0
Subtracting 0 from 247 leaves us with 247.
Include the next digit (7) from the dividend after 247, then repeat: 2477 / 707

Moving on to step 8:
707 can be fit into 2477 3 times, resulting in a remainder of 356.
The next digit of our result is 3. 
Result so far: 57303.0
Subtracting 2121 from 2477 leaves us with 356.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3560, and continue the process.

Going ahead to step 9:
When dividing 3560 by 707, we get 5 with a remainder of 25.
Put 5 as the next digit of the answer. 
Result so far: 57303.5
Deduct 3535 from 3560 and we're left with 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

On to step 10:
If we divide 250 by 707, we get 0 and a remainder of 250.
The next digit of our result is 0. 
Result so far: 57303.5
Subtract 0 from 250 to get 250.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2500, and continue the process.

Advancing to step 11:
If we divide 2500 by 707, we get 3 and a remainder of 379.
The number 3 becomes the next digit in our result. 
Result so far: 57303.503
Subtract 2121 from 2500 to get 379.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3790, and continue the process.

Advancing to step 12:
707 can be fit into 3790 5 times, resulting in a remainder of 255.
Record the quotient 5 as the next digit in the result. 
Result so far: 57303.5035
If we subtract 3535 from 3790, we get 255.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2550, and continue the process.

On to step 13:
If we divide 2550 by 707, we get 3 and a remainder of 429.
Record the quotient 3 as the next digit in the result. 
Result so far: 57303.50353
If we subtract 2121 from 2550, we get 429.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4290, and continue the process.

Let's proceed to step 14:
If we divide 4290 by 707, we get 6 and a remainder of 48.
Put 6 as the next digit of the answer. 
Result so far: 57303.503536
Deduct 4242 from 4290 and we're left with 48.
Since there are no more digits in the dividend, we add a zero to the remainder making it 480, and continue the process.

On to step 15:
707 can be fit into 480 0 times, resulting in a remainder of 480.
Record the quotient 0 as the next digit in the result. 
Result so far: 57303.503536
Subtracting 0 from 480 leaves us with 480.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4800, and continue the process.

Step 16:
When dividing 4800 by 707, we get 6 with a remainder of 558.
The number 6 becomes the next digit in our result. 
Result so far: 57303.50353606
The remainder is 558 after subtracting 4242 from 4800.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5580, and continue the process.

Our division results in 57303.50353606 with a remaining 5.58e-07.