We look at the division of 577098 by 58 
The aim is to understand the frequency of 58 in 577098.

Moving on to step 1:
If we divide 5 by 58, we get 0 and a remainder of 5.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtracting 0 from 5 leaves us with 5.
Grab the next digit (7) from the dividend, add it to 5, then carry on: 57 / 58

Moving on to step 2:
The number 58 fits into 57 0 times, leaving a remainder of 57.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 57 to get 57.
Bring next digit (7) of the dividend behind the 57 and repeat the process: 577 / 58

Step 3:
The number 58 fits into 577 9 times, leaving a remainder of 55.
Put 9 as the next digit of the answer. 
Result so far: 9.0
If we take 522 away from 577, we end up with 55.
Fetch the next digit (0) from the dividend, attach it to 55 and continue: 550 / 58

Step 4:
When dividing 550 by 58, we get 9 with a remainder of 28.
Write down 9 as next digit of the result. 
Result so far: 99.0
If we subtract 522 from 550, we get 28.
Take the next digit (9) from the dividend and append it to 28, then repeat: 289 / 58

Moving on to step 5:
When dividing 289 by 58, we get 4 with a remainder of 57.
The next digit of our result is 4. 
Result so far: 994.0
Subtracting 232 from 289 leaves us with 57.
Include the next digit (8) from the dividend after 57, then repeat: 578 / 58

Moving on to step 6:
When dividing 578 by 58, we get 9 with a remainder of 56.
Put 9 as the next digit of the answer. 
Result so far: 9949.0
Subtract 522 from 578 to get 56.
Since there are no more digits in the dividend, we add a zero to the remainder making it 560, and continue the process.

On to step 7:
58 goes into 560 9 times with a remainder of 38.
Write down 9 as next digit of the result. 
Result so far: 9949.9
If we take 522 away from 560, we end up with 38.
Since there are no more digits in the dividend, we add a zero to the remainder making it 380, and continue the process.

Moving on to step 8:
If we divide 380 by 58, we get 6 and a remainder of 32.
Record the quotient 6 as the next digit in the result. 
Result so far: 9949.96
Deduct 348 from 380 and we're left with 32.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

Going ahead to step 9:
58 can be fit into 320 5 times, resulting in a remainder of 30.
Put 5 as the next digit of the answer. 
Result so far: 9949.965
Subtract 290 from 320 to get 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Going ahead to step 10:
The number 58 fits into 300 5 times, leaving a remainder of 10.
Write down 5 as next digit of the result. 
Result so far: 9949.9655
If we take 290 away from 300, we end up with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Our division results in 9949.9655 with a remaining 0.0001.