We're dividing 387542 by 5 
We want to figure out the number of times 387542 can be divided by 5.

Moving on to step 1:
The number 5 fits into 3 0 times, leaving a remainder of 3.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 3, we get 3.
Grab the next digit (8) from the dividend, add it to 3, then carry on: 38 / 5

Step 2:
5 goes into 38 7 times with a remainder of 3.
The next digit of our result is 7. 
Result so far: 7.0
The remainder is 3 after subtracting 35 from 38.
Fetch the next digit (7) from the dividend, attach it to 3 and continue: 37 / 5

Let's proceed to step 3:
37 divided by 5 is 7 with a remainder of 2.
Write down 7 as next digit of the result. 
Result so far: 77.0
The remainder is 2 after subtracting 35 from 37.
Include the next digit (5) from the dividend after 2, then repeat: 25 / 5

Moving on to step 4:
5 goes into 25 5 times with a remainder of 0.
The next digit of our result is 5. 
Result so far: 775.0
The remainder is 0 after subtracting 25 from 25.
Take the next digit (4) from the dividend and append it to 0, then repeat: 4 / 5

Moving on to step 5:
4 divided by 5 is 0 with a remainder of 4.
Write down 0 as next digit of the result. 
Result so far: 7750.0
The remainder is 4 after subtracting 0 from 4.
Include the next digit (2) from the dividend after 4, then repeat: 42 / 5

Going ahead to step 6:
5 goes into 42 8 times with a remainder of 2.
Use 8 as the next digit of our solution. 
Result so far: 77508.0
If we take 40 away from 42, we end up with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Advancing to step 7:
20 divided by 5 is 4 with a remainder of 0.
Use 4 as the next digit of our solution. 
Result so far: 77508.4
Subtract 20 from 20 to 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.

On to step 8:
5 goes into 0 0 times with a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 77508.4
If we subtract 0 from 0, 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.

Step 9:
When dividing 0 by 5, we get 0 with a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 77508.4
If we take 0 away from 0, we end up 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.

After the division, we end up with 77508.4 and a remainder of 0.0.