24987 divided by 58 
The aim is to understand the frequency of 58 in 24987.

On to step 1:
2 divided by 58 is 0 with a remainder of 2.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtracting 0 from 2 leaves us with 2.
Append the next digit (4) from the dividend to 2 and continue with: 24 / 58

Let's proceed to step 2:
If we divide 24 by 58, we get 0 and a remainder of 24.
Write down 0 as next digit of the result. 
Result so far: 0.0
The remainder is 24 after subtracting 0 from 24.
Grab the next digit (9) from the dividend, add it to 24, then carry on: 249 / 58

On to step 3:
249 divided by 58 is 4 with a remainder of 17.
Record the quotient 4 as the next digit in the result. 
Result so far: 4.0
The remainder is 17 after subtracting 232 from 249.
Grab the next digit (8) from the dividend, add it to 17, then carry on: 178 / 58

Advancing to step 4:
178 divided by 58 is 3 with a remainder of 4.
Record the quotient 3 as the next digit in the result. 
Result so far: 43.0
The remainder is 4 after subtracting 174 from 178.
Fetch the next digit (7) from the dividend, attach it to 4 and continue: 47 / 58

On to step 5:
The number 58 fits into 47 0 times, leaving a remainder of 47.
The number 0 becomes the next digit in our result. 
Result so far: 430.0
The remainder is 47 after subtracting 0 from 47.
Since there are no more digits in the dividend, we add a zero to the remainder making it 470, and continue the process.

Advancing to step 6:
If we divide 470 by 58, we get 8 and a remainder of 6.
Record the quotient 8 as the next digit in the result. 
Result so far: 430.8
The remainder is 6 after subtracting 464 from 470.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Step 7:
60 divided by 58 is 1 with a remainder of 2.
Write down 1 as next digit of the result. 
Result so far: 430.81
The remainder is 2 after subtracting 58 from 60.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

On to step 8:
20 divided by 58 is 0 with a remainder of 20.
Record the quotient 0 as the next digit in the result. 
Result so far: 430.81
If we subtract 0 from 20, we get 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Moving on to step 9:
58 can be fit into 200 3 times, resulting in a remainder of 26.
Write down 3 as next digit of the result. 
Result so far: 430.8103
If we subtract 174 from 200, we get 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

On to step 10:
58 goes into 260 4 times with a remainder of 28.
The number 4 becomes the next digit in our result. 
Result so far: 430.81034
Subtracting 232 from 260 leaves us with 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Let's proceed to step 11:
58 goes into 280 4 times with a remainder of 48.
Record the quotient 4 as the next digit in the result. 
Result so far: 430.810344
If we take 232 away from 280, we end up with 48.
Since there are no more digits in the dividend, we add a zero to the remainder making it 480, and continue the process.

The final outcome is 430.810344, with a leftover of 4.8e-06.