500553 divided by 40 
Our goal is to divide 500553 by 40.

On to step 1:
5 divided by 40 is 0 with a remainder of 5.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtract 0 from 5 to get 5.
Fetch the next digit (0) from the dividend, attach it to 5 and continue: 50 / 40

Going ahead to step 2:
50 divided by 40 is 1 with a remainder of 10.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
Subtracting 40 from 50 leaves us with 10.
Take the next digit (0) from the dividend and append it to 10, then repeat: 100 / 40

Going ahead to step 3:
40 goes into 100 2 times with a remainder of 20.
Use 2 as the next digit of our solution. 
Result so far: 12.0
Subtract 80 from 100 to get 20.
Bring next digit (5) of the dividend behind the 20 and repeat the process: 205 / 40

Step 4:
40 can be fit into 205 5 times, resulting in a remainder of 5.
The next digit of our result is 5. 
Result so far: 125.0
If we subtract 200 from 205, we get 5.
Take the next digit (5) from the dividend and append it to 5, then repeat: 55 / 40

On to step 5:
When dividing 55 by 40, we get 1 with a remainder of 15.
Put 1 as the next digit of the answer. 
Result so far: 1251.0
If we take 40 away from 55, we end up with 15.
Bring next digit (3) of the dividend behind the 15 and repeat the process: 153 / 40

On to step 6:
153 divided by 40 is 3 with a remainder of 33.
Record the quotient 3 as the next digit in the result. 
Result so far: 12513.0
Subtract 120 from 153 to get 33.
Since there are no more digits in the dividend, we add a zero to the remainder making it 330, and continue the process.

Moving on to step 7:
330 divided by 40 is 8 with a remainder of 10.
The next digit of our result is 8. 
Result so far: 12513.8
Deduct 320 from 330 and we're left with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Moving on to step 8:
When dividing 100 by 40, we get 2 with a remainder of 20.
Use 2 as the next digit of our solution. 
Result so far: 12513.82
Subtract 80 from 100 to get 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Advancing to step 9:
200 divided by 40 is 5 with a remainder of 0.
The next digit of our result is 5. 
Result so far: 12513.825
Deduct 200 from 200 and we're left with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Step 10:
40 goes into 0 0 times with a remainder of 0.
The next digit of our result is 0. 
Result so far: 12513.825
Deduct 0 from 0 and we're left with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Going ahead to step 11:
If we divide 0 by 40, we get 0 and a remainder of 0.
The next digit of our result is 0. 
Result so far: 12513.825
Deduct 0 from 0 and we're left with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

The final result is 12513.825 with a remainder of 0.0.