We're dividing 580540 by 50 
The aim is to understand the frequency of 50 in 580540.

On to step 1:
50 goes into 5 0 times with a remainder of 5.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 5 to get 5.
Take the next digit (8) from the dividend and append it to 5, then repeat: 58 / 50

On to step 2:
When dividing 58 by 50, we get 1 with a remainder of 8.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
The remainder is 8 after subtracting 50 from 58.
Fetch the next digit (0) from the dividend, attach it to 8 and continue: 80 / 50

Going ahead to step 3:
50 can be fit into 80 1 times, resulting in a remainder of 30.
Write down 1 as next digit of the result. 
Result so far: 11.0
If we take 50 away from 80, we end up with 30.
Fetch the next digit (5) from the dividend, attach it to 30 and continue: 305 / 50

On to step 4:
50 goes into 305 6 times with a remainder of 5.
The number 6 becomes the next digit in our result. 
Result so far: 116.0
Subtracting 300 from 305 leaves us with 5.
Take the next digit (4) from the dividend and append it to 5, then repeat: 54 / 50

Moving on to step 5:
If we divide 54 by 50, we get 1 and a remainder of 4.
The number 1 becomes the next digit in our result. 
Result so far: 1161.0
The remainder is 4 after subtracting 50 from 54.
Bring next digit (0) of the dividend behind the 4 and repeat the process: 40 / 50

Going ahead to step 6:
If we divide 40 by 50, we get 0 and a remainder of 40.
Use 0 as the next digit of our solution. 
Result so far: 11610.0
If we take 0 away from 40, we end up with 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

Let's proceed to step 7:
When dividing 400 by 50, we get 8 with a remainder of 0.
The number 8 becomes the next digit in our result. 
Result so far: 11610.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.

On to step 8:
50 goes into 0 0 times with a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 11610.8
Subtract 0 from 0 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 9:
The number 50 fits into 0 0 times, leaving a remainder of 0.
The next digit of our result is 0. 
Result so far: 11610.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.

Our division results in 11610.8 with a remaining 0.0.