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

Let's proceed to step 1:
The number 707 fits into 4 0 times, leaving a remainder of 4.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtracting 0 from 4 leaves us with 4.
Bring next digit (0) of the dividend behind the 4 and repeat the process: 40 / 707

Let's proceed to step 2:
When dividing 40 by 707, we get 0 with a remainder of 40.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtract 0 from 40 to get 40.
Bring next digit (5) of the dividend behind the 40 and repeat the process: 405 / 707

Advancing to step 3:
405 divided by 707 is 0 with a remainder of 405.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 405, we end up with 405.
Fetch the next digit (1) from the dividend, attach it to 405 and continue: 4051 / 707

Step 4:
If we divide 4051 by 707, we get 5 and a remainder of 516.
The number 5 becomes the next digit in our result. 
Result so far: 5.0
Subtracting 3535 from 4051 leaves us with 516.
Fetch the next digit (5) from the dividend, attach it to 516 and continue: 5165 / 707

On to step 5:
5165 divided by 707 is 7 with a remainder of 216.
Write down 7 as next digit of the result. 
Result so far: 57.0
Subtracting 4949 from 5165 leaves us with 216.
Take the next digit (9) from the dividend and append it to 216, then repeat: 2169 / 707

Advancing to step 6:
The number 707 fits into 2169 3 times, leaving a remainder of 48.
The next digit of our result is 3. 
Result so far: 573.0
If we take 2121 away from 2169, we end up with 48.
Fetch the next digit (0) from the dividend, attach it to 48 and continue: 480 / 707

Advancing to step 7:
480 divided by 707 is 0 with a remainder of 480.
Record the quotient 0 as the next digit in the result. 
Result so far: 5730.0
Deduct 0 from 480 and we're left with 480.
Fetch the next digit (6) from the dividend, attach it to 480 and continue: 4806 / 707

Let's proceed to step 8:
The number 707 fits into 4806 6 times, leaving a remainder of 564.
The next digit of our result is 6. 
Result so far: 57306.0
Subtracting 4242 from 4806 leaves us with 564.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5640, and continue the process.

Step 9:
If we divide 5640 by 707, we get 7 and a remainder of 691.
Record the quotient 7 as the next digit in the result. 
Result so far: 57306.7
Subtract 4949 from 5640 to get 691.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6910, and continue the process.

Going ahead to step 10:
The number 707 fits into 6910 9 times, leaving a remainder of 547.
Use 9 as the next digit of our solution. 
Result so far: 57306.79
If we subtract 6363 from 6910, we get 547.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5470, and continue the process.

Moving on to step 11:
The number 707 fits into 5470 7 times, leaving a remainder of 521.
The number 7 becomes the next digit in our result. 
Result so far: 57306.797
The remainder is 521 after subtracting 4949 from 5470.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5210, and continue the process.

Step 12:
707 can be fit into 5210 7 times, resulting in a remainder of 261.
The next digit of our result is 7. 
Result so far: 57306.7977
Deduct 4949 from 5210 and we're left with 261.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2610, and continue the process.

The quotient of the division is 57306.7977, and the remainder is 0.00261.