Let's divide 5111720 by 407
Our goal is to divide 5111720 by 407.

Moving on to step 1:
5 divided by 407 is 0 with a remainder of 5.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 5, we end up with 5.
Append the next digit (1) from the dividend to 5 and continue with: 51 / 407

Moving on to step 2:
51 divided by 407 is 0 with a remainder of 51.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtracting 0 from 51 leaves us with 51.
Grab the next digit (1) from the dividend, add it to 51, then carry on: 511 / 407

On to step 3:
407 can be fit into 511 1 times, resulting in a remainder of 104.
Use 1 as the next digit of our solution. 
Result so far: 1.0
The remainder is 104 after subtracting 407 from 511.
Append the next digit (1) from the dividend to 104 and continue with: 1041 / 407

Moving on to step 4:
The number 407 fits into 1041 2 times, leaving a remainder of 227.
Record the quotient 2 as the next digit in the result. 
Result so far: 12.0
If we subtract 814 from 1041, we get 227.
Fetch the next digit (7) from the dividend, attach it to 227 and continue: 2277 / 407

Advancing to step 5:
407 goes into 2277 5 times with a remainder of 242.
The next digit of our result is 5. 
Result so far: 125.0
The remainder is 242 after subtracting 2035 from 2277.
Fetch the next digit (2) from the dividend, attach it to 242 and continue: 2422 / 407

Going ahead to step 6:
When dividing 2422 by 407, we get 5 with a remainder of 387.
Use 5 as the next digit of our solution. 
Result so far: 1255.0
Subtracting 2035 from 2422 leaves us with 387.
Fetch the next digit (0) from the dividend, attach it to 387 and continue: 3870 / 407

Let's proceed to step 7:
407 goes into 3870 9 times with a remainder of 207.
Put 9 as the next digit of the answer. 
Result so far: 12559.0
The remainder is 207 after subtracting 3663 from 3870.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2070, and continue the process.

Step 8:
407 can be fit into 2070 5 times, resulting in a remainder of 35.
Use 5 as the next digit of our solution. 
Result so far: 12559.5
If we subtract 2035 from 2070, we get 35.
Since there are no more digits in the dividend, we add a zero to the remainder making it 350, and continue the process.

Step 9:
The number 407 fits into 350 0 times, leaving a remainder of 350.
Put 0 as the next digit of the answer. 
Result so far: 12559.5
If we subtract 0 from 350, we get 350.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3500, and continue the process.

On to step 10:
The number 407 fits into 3500 8 times, leaving a remainder of 244.
The next digit of our result is 8. 
Result so far: 12559.508
If we subtract 3256 from 3500, we get 244.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2440, and continue the process.

Step 11:
407 goes into 2440 5 times with a remainder of 405.
Put 5 as the next digit of the answer. 
Result so far: 12559.5085
If we take 2035 away from 2440, we end up with 405.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4050, and continue the process.

Step 12:
4050 divided by 407 is 9 with a remainder of 387.
Record the quotient 9 as the next digit in the result. 
Result so far: 12559.50859
If we take 3663 away from 4050, we end up with 387.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3870, and continue the process.

Advancing to step 13:
If we divide 3870 by 407, we get 9 and a remainder of 207.
The number 9 becomes the next digit in our result. 
Result so far: 12559.508599
Deduct 3663 from 3870 and we're left with 207.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2070, and continue the process.

The final result is 12559.508599 with a remainder of 2.07e-05.