We look at the division of 5040404 by 563 
Our goal is to divide 5040404 by 563.

Going ahead to step 1:
5 divided by 563 is 0 with a remainder of 5.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 5 after subtracting 0 from 5.
Take the next digit (0) from the dividend and append it to 5, then repeat: 50 / 563

Advancing to step 2:
563 goes into 50 0 times with a remainder of 50.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 50 to get 50.
Fetch the next digit (4) from the dividend, attach it to 50 and continue: 504 / 563

Going ahead to step 3:
The number 563 fits into 504 0 times, leaving a remainder of 504.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtracting 0 from 504 leaves us with 504.
Bring next digit (0) of the dividend behind the 504 and repeat the process: 5040 / 563

Moving on to step 4:
5040 divided by 563 is 8 with a remainder of 536.
Record the quotient 8 as the next digit in the result. 
Result so far: 8.0
Deduct 4504 from 5040 and we're left with 536.
Include the next digit (4) from the dividend after 536, then repeat: 5364 / 563

Let's proceed to step 5:
563 goes into 5364 9 times with a remainder of 297.
Put 9 as the next digit of the answer. 
Result so far: 89.0
The remainder is 297 after subtracting 5067 from 5364.
Include the next digit (0) from the dividend after 297, then repeat: 2970 / 563

Let's proceed to step 6:
When dividing 2970 by 563, we get 5 with a remainder of 155.
Use 5 as the next digit of our solution. 
Result so far: 895.0
Subtract 2815 from 2970 to get 155.
Grab the next digit (4) from the dividend, add it to 155, then carry on: 1554 / 563

On to step 7:
1554 divided by 563 is 2 with a remainder of 428.
Write down 2 as next digit of the result. 
Result so far: 8952.0
The remainder is 428 after subtracting 1126 from 1554.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4280, and continue the process.

Advancing to step 8:
563 goes into 4280 7 times with a remainder of 339.
The number 7 becomes the next digit in our result. 
Result so far: 8952.7
The remainder is 339 after subtracting 3941 from 4280.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3390, and continue the process.

Step 9:
If we divide 3390 by 563, we get 6 and a remainder of 12.
Use 6 as the next digit of our solution. 
Result so far: 8952.76
If we take 3378 away from 3390, we end up with 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Let's proceed to step 10:
The number 563 fits into 120 0 times, leaving a remainder of 120.
The number 0 becomes the next digit in our result. 
Result so far: 8952.76
Deduct 0 from 120 and we're left with 120.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1200, and continue the process.

Step 11:
When dividing 1200 by 563, we get 2 with a remainder of 74.
Put 2 as the next digit of the answer. 
Result so far: 8952.7602
The remainder is 74 after subtracting 1126 from 1200.
Since there are no more digits in the dividend, we add a zero to the remainder making it 740, and continue the process.

Let's proceed to step 12:
563 can be fit into 740 1 times, resulting in a remainder of 177.
Put 1 as the next digit of the answer. 
Result so far: 8952.76021
Subtract 563 from 740 to get 177.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1770, and continue the process.

Let's proceed to step 13:
If we divide 1770 by 563, we get 3 and a remainder of 81.
The next digit of our result is 3. 
Result so far: 8952.760213
Deduct 1689 from 1770 and we're left with 81.
Since there are no more digits in the dividend, we add a zero to the remainder making it 810, and continue the process.

Step 14:
810 divided by 563 is 1 with a remainder of 247.
Put 1 as the next digit of the answer. 
Result so far: 8952.7602131
Subtracting 563 from 810 leaves us with 247.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2470, and continue the process.

Going ahead to step 15:
If we divide 2470 by 563, we get 4 and a remainder of 218.
The next digit of our result is 4. 
Result so far: 8952.76021314
Deduct 2252 from 2470 and we're left with 218.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2180, and continue the process.

Our division results in 8952.76021314 with a remaining 2.18e-07.