58542 divided by 40 
We want to figure out the number of times 58542 can be divided by 40.

Moving on to step 1:
40 can be fit into 5 0 times, resulting in a remainder of 5.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we subtract 0 from 5, we get 5.
Append the next digit (8) from the dividend to 5 and continue with: 58 / 40

Advancing to step 2:
When dividing 58 by 40, we get 1 with a remainder of 18.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
Deduct 40 from 58 and we're left with 18.
Append the next digit (5) from the dividend to 18 and continue with: 185 / 40

Moving on to step 3:
If we divide 185 by 40, we get 4 and a remainder of 25.
Record the quotient 4 as the next digit in the result. 
Result so far: 14.0
Subtracting 160 from 185 leaves us with 25.
Include the next digit (4) from the dividend after 25, then repeat: 254 / 40

Going ahead to step 4:
When dividing 254 by 40, we get 6 with a remainder of 14.
Record the quotient 6 as the next digit in the result. 
Result so far: 146.0
Subtracting 240 from 254 leaves us with 14.
Include the next digit (2) from the dividend after 14, then repeat: 142 / 40

On to step 5:
40 can be fit into 142 3 times, resulting in a remainder of 22.
Write down 3 as next digit of the result. 
Result so far: 1463.0
If we subtract 120 from 142, we get 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Let's proceed to step 6:
40 can be fit into 220 5 times, resulting in a remainder of 20.
The next digit of our result is 5. 
Result so far: 1463.5
Subtract 200 from 220 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.

Let's proceed to step 7:
The number 40 fits into 200 5 times, leaving a remainder of 0.
The number 5 becomes the next digit in our result. 
Result so far: 1463.55
Subtracting 200 from 200 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.

The final result is 1463.55 with a remainder of 0.0.