We're dividing 298789 by 58 
The aim is to understand the frequency of 58 in 298789.

Advancing to step 1:
If we divide 2 by 58, we get 0 and a remainder of 2.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtracting 0 from 2 leaves us with 2.
Bring next digit (9) of the dividend behind the 2 and repeat the process: 29 / 58

Let's proceed to step 2:
58 goes into 29 0 times with a remainder of 29.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 29 after subtracting 0 from 29.
Grab the next digit (8) from the dividend, add it to 29, then carry on: 298 / 58

Advancing to step 3:
The number 58 fits into 298 5 times, leaving a remainder of 8.
Put 5 as the next digit of the answer. 
Result so far: 5.0
The remainder is 8 after subtracting 290 from 298.
Fetch the next digit (7) from the dividend, attach it to 8 and continue: 87 / 58

Going ahead to step 4:
When dividing 87 by 58, we get 1 with a remainder of 29.
Record the quotient 1 as the next digit in the result. 
Result so far: 51.0
Subtracting 58 from 87 leaves us with 29.
Bring next digit (8) of the dividend behind the 29 and repeat the process: 298 / 58

Let's proceed to step 5:
58 goes into 298 5 times with a remainder of 8.
The number 5 becomes the next digit in our result. 
Result so far: 515.0
Subtract 290 from 298 to get 8.
Grab the next digit (9) from the dividend, add it to 8, then carry on: 89 / 58

Advancing to step 6:
58 goes into 89 1 times with a remainder of 31.
The next digit of our result is 1. 
Result so far: 5151.0
Subtracting 58 from 89 leaves us with 31.
Since there are no more digits in the dividend, we add a zero to the remainder making it 310, and continue the process.

Step 7:
The number 58 fits into 310 5 times, leaving a remainder of 20.
Use 5 as the next digit of our solution. 
Result so far: 5151.5
The remainder is 20 after subtracting 290 from 310.
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 8:
58 can be fit into 200 3 times, resulting in a remainder of 26.
Use 3 as the next digit of our solution. 
Result so far: 5151.53
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 9:
When dividing 260 by 58, we get 4 with a remainder of 28.
The next digit of our result is 4. 
Result so far: 5151.534
Subtract 232 from 260 to get 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Advancing to step 10:
If we divide 280 by 58, we get 4 and a remainder of 48.
Put 4 as the next digit of the answer. 
Result so far: 5151.5344
The remainder is 48 after subtracting 232 from 280.
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 result is 5151.5344 with a remainder of 0.00048.