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

On to step 1:
When dividing 8 by 50, we get 0 with a remainder of 8.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtract 0 from 8 to get 8.
Bring next digit (6) of the dividend behind the 8 and repeat the process: 86 / 50

Moving on to step 2:
The number 50 fits into 86 1 times, leaving a remainder of 36.
Write down 1 as next digit of the result. 
Result so far: 1.0
If we subtract 50 from 86, we get 36.
Bring next digit (5) of the dividend behind the 36 and repeat the process: 365 / 50

Moving on to step 3:
50 goes into 365 7 times with a remainder of 15.
Use 7 as the next digit of our solution. 
Result so far: 17.0
The remainder is 15 after subtracting 350 from 365.
Append the next digit (5) from the dividend to 15 and continue with: 155 / 50

Advancing to step 4:
The number 50 fits into 155 3 times, leaving a remainder of 5.
Write down 3 as next digit of the result. 
Result so far: 173.0
Deduct 150 from 155 and we're left with 5.
Include the next digit (4) from the dividend after 5, then repeat: 54 / 50

Moving on to step 5:
54 divided by 50 is 1 with a remainder of 4.
Use 1 as the next digit of our solution. 
Result so far: 1731.0
If we take 50 away from 54, we end up with 4.
Append the next digit (0) from the dividend to 4 and continue with: 40 / 50

Step 6:
The number 50 fits into 40 0 times, leaving a remainder of 40.
Record the quotient 0 as the next digit in the result. 
Result so far: 17310.0
Subtract 0 from 40 to get 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

Going ahead to step 7:
400 divided by 50 is 8 with a remainder of 0.
The number 8 becomes the next digit in our result. 
Result so far: 17310.8
Subtract 400 from 400 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.

Let's proceed to step 8:
The number 50 fits into 0 0 times, leaving a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 17310.8
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.

Step 9:
When dividing 0 by 50, we get 0 with a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 17310.8
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 17310.8 and a remainder of 0.0.