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

Advancing to step 1:
1 divided by 58 is 0 with a remainder of 1.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 1, we end up with 1.
Bring next digit (7) of the dividend behind the 1 and repeat the process: 17 / 58

Let's proceed to step 2:
The number 58 fits into 17 0 times, leaving a remainder of 17.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 17 to get 17.
Bring next digit (2) of the dividend behind the 17 and repeat the process: 172 / 58

Advancing to step 3:
The number 58 fits into 172 2 times, leaving a remainder of 56.
Record the quotient 2 as the next digit in the result. 
Result so far: 2.0
If we subtract 116 from 172, we get 56.
Fetch the next digit (8) from the dividend, attach it to 56 and continue: 568 / 58

Moving on to step 4:
The number 58 fits into 568 9 times, leaving a remainder of 46.
Write down 9 as next digit of the result. 
Result so far: 29.0
If we subtract 522 from 568, we get 46.
Grab the next digit (9) from the dividend, add it to 46, then carry on: 469 / 58

Let's proceed to step 5:
58 goes into 469 8 times with a remainder of 5.
Use 8 as the next digit of our solution. 
Result so far: 298.0
Deduct 464 from 469 and we're left with 5.
Take the next digit (0) from the dividend and append it to 5, then repeat: 50 / 58

Advancing to step 6:
58 can be fit into 50 0 times, resulting in a remainder of 50.
Put 0 as the next digit of the answer. 
Result so far: 2980.0
The remainder is 50 after subtracting 0 from 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 500, and continue the process.

Step 7:
58 goes into 500 8 times with a remainder of 36.
Record the quotient 8 as the next digit in the result. 
Result so far: 2980.8
Subtract 464 from 500 to get 36.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

Going ahead to step 8:
When dividing 360 by 58, we get 6 with a remainder of 12.
Write down 6 as next digit of the result. 
Result so far: 2980.86
If we subtract 348 from 360, we get 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

On to step 9:
The number 58 fits into 120 2 times, leaving a remainder of 4.
The number 2 becomes the next digit in our result. 
Result so far: 2980.862
The remainder is 4 after subtracting 116 from 120.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Advancing to step 10:
40 divided by 58 is 0 with a remainder of 40.
Use 0 as the next digit of our solution. 
Result so far: 2980.862
If we subtract 0 from 40, we get 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 11:
58 goes into 400 6 times with a remainder of 52.
Write down 6 as next digit of the result. 
Result so far: 2980.86206
Subtracting 348 from 400 leaves us with 52.
Since there are no more digits in the dividend, we add a zero to the remainder making it 520, and continue the process.

Moving on to step 12:
The number 58 fits into 520 8 times, leaving a remainder of 56.
The next digit of our result is 8. 
Result so far: 2980.862068
If we take 464 away from 520, we end up with 56.
Since there are no more digits in the dividend, we add a zero to the remainder making it 560, and continue the process.

Going ahead to step 13:
58 can be fit into 560 9 times, resulting in a remainder of 38.
Record the quotient 9 as the next digit in the result. 
Result so far: 2980.8620689
Deduct 522 from 560 and we're left 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.

On to step 14:
58 can be fit into 380 6 times, resulting in a remainder of 32.
Record the quotient 6 as the next digit in the result. 
Result so far: 2980.86206896
Subtracting 348 from 380 leaves us 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.

The final outcome is 2980.86206896, with a leftover of 3.2e-08.