We divide 558737 by 40
We want to divide 558737 by 40.

Advancing to step 1:
When dividing 5 by 40, we get 0 with a remainder of 5.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtracting 0 from 5 leaves us with 5.
Fetch the next digit (5) from the dividend, attach it to 5 and continue: 55 / 40

Step 2:
The number 40 fits into 55 1 times, leaving a remainder of 15.
Use 1 as the next digit of our solution. 
Result so far: 1.0
Subtracting 40 from 55 leaves us with 15.
Include the next digit (8) from the dividend after 15, then repeat: 158 / 40

Advancing to step 3:
40 can be fit into 158 3 times, resulting in a remainder of 38.
Record the quotient 3 as the next digit in the result. 
Result so far: 13.0
Subtract 120 from 158 to get 38.
Append the next digit (7) from the dividend to 38 and continue with: 387 / 40

Going ahead to step 4:
When dividing 387 by 40, we get 9 with a remainder of 27.
Use 9 as the next digit of our solution. 
Result so far: 139.0
The remainder is 27 after subtracting 360 from 387.
Fetch the next digit (3) from the dividend, attach it to 27 and continue: 273 / 40

Moving on to step 5:
If we divide 273 by 40, we get 6 and a remainder of 33.
Put 6 as the next digit of the answer. 
Result so far: 1396.0
If we take 240 away from 273, we end up with 33.
Bring next digit (7) of the dividend behind the 33 and repeat the process: 337 / 40

Advancing to step 6:
If we divide 337 by 40, we get 8 and a remainder of 17.
Write down 8 as next digit of the result. 
Result so far: 13968.0
Subtract 320 from 337 to get 17.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

Step 7:
40 goes into 170 4 times with a remainder of 10.
Write down 4 as next digit of the result. 
Result so far: 13968.4
If we take 160 away from 170, we end up 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.

Let's proceed 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: 13968.42
Subtracting 80 from 100 leaves us with 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:
When dividing 200 by 40, we get 5 with a remainder of 0.
Write down 5 as next digit of the result. 
Result so far: 13968.425
If we subtract 200 from 200, we get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Moving on to step 10:
40 can be fit into 0 0 times, resulting in a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 13968.425
Subtracting 0 from 0 leaves us 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.

Moving on to step 11:
40 goes into 0 0 times with a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 13968.425
Subtracting 0 from 0 leaves us 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.

In conclusion, the division gives 13968.425 with a balance of 0.0.