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

Let's proceed to step 1:
The number 15 fits into 5 0 times, leaving a remainder of 5.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 5 after subtracting 0 from 5.
Fetch the next digit (0) from the dividend, attach it to 5 and continue: 50 / 15

On to step 2:
The number 15 fits into 50 3 times, leaving a remainder of 5.
Use 3 as the next digit of our solution. 
Result so far: 3.0
The remainder is 5 after subtracting 45 from 50.
Include the next digit (6) from the dividend after 5, then repeat: 56 / 15

Advancing to step 3:
If we divide 56 by 15, we get 3 and a remainder of 11.
Write down 3 as next digit of the result. 
Result so far: 33.0
Subtract 45 from 56 to get 11.
Append the next digit (9) from the dividend to 11 and continue with: 119 / 15

Let's proceed to step 4:
If we divide 119 by 15, we get 7 and a remainder of 14.
The next digit of our result is 7. 
Result so far: 337.0
If we take 105 away from 119, we end up with 14.
Append the next digit (8) from the dividend to 14 and continue with: 148 / 15

Moving on to step 5:
148 divided by 15 is 9 with a remainder of 13.
Put 9 as the next digit of the answer. 
Result so far: 3379.0
If we take 135 away from 148, we end up with 13.
Take the next digit (7) from the dividend and append it to 13, then repeat: 137 / 15

Moving on to step 6:
15 goes into 137 9 times with a remainder of 2.
Use 9 as the next digit of our solution. 
Result so far: 33799.0
Deduct 135 from 137 and we're left 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 15 is 1 with a remainder of 5.
Put 1 as the next digit of the answer. 
Result so far: 33799.1
Subtract 15 from 20 to get 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

On to step 8:
If we divide 50 by 15, we get 3 and a remainder of 5.
The number 3 becomes the next digit in our result. 
Result so far: 33799.13
Subtract 45 from 50 to get 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Let's proceed to step 9:
15 can be fit into 50 3 times, resulting in a remainder of 5.
Put 3 as the next digit of the answer. 
Result so far: 33799.133
Subtracting 45 from 50 leaves us with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

The final outcome is 33799.133, with a leftover of 0.0005.