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

Going ahead to step 1:
When dividing 1 by 58, we get 0 with a remainder of 1.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Deduct 0 from 1 and we're left with 1.
Append the next digit (6) from the dividend to 1 and continue with: 16 / 58

Moving on to step 2:
58 can be fit into 16 0 times, resulting in a remainder of 16.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 16, we get 16.
Append the next digit (5) from the dividend to 16 and continue with: 165 / 58

Going ahead to step 3:
58 can be fit into 165 2 times, resulting in a remainder of 49.
Use 2 as the next digit of our solution. 
Result so far: 2.0
Subtract 116 from 165 to get 49.
Take the next digit (9) from the dividend and append it to 49, then repeat: 499 / 58

Advancing to step 4:
499 divided by 58 is 8 with a remainder of 35.
Use 8 as the next digit of our solution. 
Result so far: 28.0
Subtract 464 from 499 to get 35.
Grab the next digit (1) from the dividend, add it to 35, then carry on: 351 / 58

Moving on to step 5:
351 divided by 58 is 6 with a remainder of 3.
Use 6 as the next digit of our solution. 
Result so far: 286.0
If we subtract 348 from 351, we get 3.
Include the next digit (4) from the dividend after 3, then repeat: 34 / 58

Let's proceed to step 6:
The number 58 fits into 34 0 times, leaving a remainder of 34.
Use 0 as the next digit of our solution. 
Result so far: 2860.0
Subtracting 0 from 34 leaves us with 34.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

On to step 7:
When dividing 340 by 58, we get 5 with a remainder of 50.
Write down 5 as next digit of the result. 
Result so far: 2860.5
Deduct 290 from 340 and we're left with 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 500, and continue the process.

Let's proceed to step 8:
58 can be fit into 500 8 times, resulting in a remainder of 36.
Write down 8 as next digit of the result. 
Result so far: 2860.58
The remainder is 36 after subtracting 464 from 500.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

Let's proceed to step 9:
58 can be fit into 360 6 times, resulting in a remainder of 12.
Use 6 as the next digit of our solution. 
Result so far: 2860.586
The remainder is 12 after subtracting 348 from 360.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Moving on to step 10:
If we divide 120 by 58, we get 2 and a remainder of 4.
The number 2 becomes the next digit in our result. 
Result so far: 2860.5862
Deduct 116 from 120 and we're left with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Let's proceed to step 11:
58 can be fit into 40 0 times, resulting in a remainder of 40.
The next digit of our result is 0. 
Result so far: 2860.5862
Subtracting 0 from 40 leaves us with 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

On to step 12:
400 divided by 58 is 6 with a remainder of 52.
Use 6 as the next digit of our solution. 
Result so far: 2860.586206
Subtract 348 from 400 to get 52.
Since there are no more digits in the dividend, we add a zero to the remainder making it 520, and continue the process.

Advancing to step 13:
When dividing 520 by 58, we get 8 with a remainder of 56.
The next digit of our result is 8. 
Result so far: 2860.5862068
Deduct 464 from 520 and we're left 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.

Let's proceed to step 14:
58 goes into 560 9 times with a remainder of 38.
Put 9 as the next digit of the answer. 
Result so far: 2860.58620689
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.

The final outcome is 2860.58620689, with a leftover of 3.8e-08.