We divide 787542 by 45
We want to figure out the number of times 787542 can be divided by 45.

Going ahead to step 1:
45 goes into 7 0 times with a remainder of 7.
The next digit of our result is 0. 
Result so far: 0.0
Deduct 0 from 7 and we're left with 7.
Grab the next digit (8) from the dividend, add it to 7, then carry on: 78 / 45

Advancing to step 2:
When dividing 78 by 45, we get 1 with a remainder of 33.
The next digit of our result is 1. 
Result so far: 1.0
The remainder is 33 after subtracting 45 from 78.
Grab the next digit (7) from the dividend, add it to 33, then carry on: 337 / 45

On to step 3:
The number 45 fits into 337 7 times, leaving a remainder of 22.
Put 7 as the next digit of the answer. 
Result so far: 17.0
The remainder is 22 after subtracting 315 from 337.
Take the next digit (5) from the dividend and append it to 22, then repeat: 225 / 45

Going ahead to step 4:
45 goes into 225 5 times with a remainder of 0.
Write down 5 as next digit of the result. 
Result so far: 175.0
Subtracting 225 from 225 leaves us with 0.
Take the next digit (4) from the dividend and append it to 0, then repeat: 4 / 45

On to step 5:
When dividing 4 by 45, we get 0 with a remainder of 4.
Write down 0 as next digit of the result. 
Result so far: 1750.0
If we take 0 away from 4, we end up with 4.
Bring next digit (2) of the dividend behind the 4 and repeat the process: 42 / 45

Let's proceed to step 6:
If we divide 42 by 45, we get 0 and a remainder of 42.
Put 0 as the next digit of the answer. 
Result so far: 17500.0
If we take 0 away from 42, we end up with 42.
Since there are no more digits in the dividend, we add a zero to the remainder making it 420, and continue the process.

Moving on to step 7:
45 goes into 420 9 times with a remainder of 15.
Use 9 as the next digit of our solution. 
Result so far: 17500.9
Deduct 405 from 420 and we're left with 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Going ahead to step 8:
The number 45 fits into 150 3 times, leaving a remainder of 15.
Use 3 as the next digit of our solution. 
Result so far: 17500.93
Subtracting 135 from 150 leaves us with 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Step 9:
45 goes into 150 3 times with a remainder of 15.
Put 3 as the next digit of the answer. 
Result so far: 17500.933
The remainder is 15 after subtracting 135 from 150.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

The final outcome is 17500.933, with a leftover of 0.0015.