Let's divide 58040 by 50
The aim is to understand the frequency of 50 in 58040.

Going ahead to step 1:
If we divide 5 by 50, we get 0 and a remainder of 5.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtracting 0 from 5 leaves us with 5.
Take the next digit (8) from the dividend and append it to 5, then repeat: 58 / 50

Moving on to step 2:
50 can be fit into 58 1 times, resulting in a remainder of 8.
Put 1 as the next digit of the answer. 
Result so far: 1.0
If we subtract 50 from 58, we get 8.
Append the next digit (0) from the dividend to 8 and continue with: 80 / 50

Going ahead to step 3:
50 goes into 80 1 times with a remainder of 30.
Put 1 as the next digit of the answer. 
Result so far: 11.0
The remainder is 30 after subtracting 50 from 80.
Grab the next digit (4) from the dividend, add it to 30, then carry on: 304 / 50

Going ahead to step 4:
If we divide 304 by 50, we get 6 and a remainder of 4.
Write down 6 as next digit of the result. 
Result so far: 116.0
If we take 300 away from 304, we end up with 4.
Fetch the next digit (0) from the dividend, attach it to 4 and continue: 40 / 50

Moving on to step 5:
50 goes into 40 0 times with a remainder of 40.
Write down 0 as next digit of the result. 
Result so far: 1160.0
The remainder is 40 after subtracting 0 from 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

Advancing to step 6:
400 divided by 50 is 8 with a remainder of 0.
Write down 8 as next digit of the result. 
Result so far: 1160.8
If we subtract 400 from 400, 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 7:
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: 1160.8
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.

Going ahead to step 8:
When dividing 0 by 50, we get 0 with a remainder of 0.
The next digit of our result is 0. 
Result so far: 1160.8
The remainder is 0 after subtracting 0 from 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

The quotient of the division is 1160.8, and the remainder is 0.0.