Let's divide 167245 by 58
The aim is to understand the frequency of 58 in 167245.

On to step 1:
If we divide 1 by 58, we get 0 and a remainder of 1.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 1, we get 1.
Fetch the next digit (6) from the dividend, attach it to 1 and continue: 16 / 58

On to step 2:
The number 58 fits into 16 0 times, leaving a remainder of 16.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 16, we get 16.
Fetch the next digit (7) from the dividend, attach it to 16 and continue: 167 / 58

Let's proceed to step 3:
If we divide 167 by 58, we get 2 and a remainder of 51.
Record the quotient 2 as the next digit in the result. 
Result so far: 2.0
Subtract 116 from 167 to get 51.
Take the next digit (2) from the dividend and append it to 51, then repeat: 512 / 58

Going ahead to step 4:
If we divide 512 by 58, we get 8 and a remainder of 48.
The number 8 becomes the next digit in our result. 
Result so far: 28.0
Subtract 464 from 512 to get 48.
Bring next digit (4) of the dividend behind the 48 and repeat the process: 484 / 58

Step 5:
When dividing 484 by 58, we get 8 with a remainder of 20.
The next digit of our result is 8. 
Result so far: 288.0
If we subtract 464 from 484, we get 20.
Append the next digit (5) from the dividend to 20 and continue with: 205 / 58

On to step 6:
When dividing 205 by 58, we get 3 with a remainder of 31.
The number 3 becomes the next digit in our result. 
Result so far: 2883.0
If we subtract 174 from 205, we get 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:
When dividing 310 by 58, we get 5 with a remainder of 20.
Write down 5 as next digit of the result. 
Result so far: 2883.5
Subtract 290 from 310 to 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.

Step 8:
58 goes into 200 3 times with a remainder of 26.
Put 3 as the next digit of the answer. 
Result so far: 2883.53
Subtract 174 from 200 to 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.

Moving on to step 9:
If we divide 260 by 58, we get 4 and a remainder of 28.
Use 4 as the next digit of our solution. 
Result so far: 2883.534
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.

Advancing to step 10:
The number 58 fits into 280 4 times, leaving a remainder of 48.
Use 4 as the next digit of our solution. 
Result so far: 2883.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 quotient of the division is 2883.5344, and the remainder is 0.00048.