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

On to step 1:
58 goes into 9 0 times with a remainder of 9.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 9, we end up with 9.
Grab the next digit (7) from the dividend, add it to 9, then carry on: 97 / 58

On to step 2:
58 goes into 97 1 times with a remainder of 39.
Write down 1 as next digit of the result. 
Result so far: 1.0
Subtracting 58 from 97 leaves us with 39.
Append the next digit (1) from the dividend to 39 and continue with: 391 / 58

Let's proceed to step 3:
391 divided by 58 is 6 with a remainder of 43.
Write down 6 as next digit of the result. 
Result so far: 16.0
Deduct 348 from 391 and we're left with 43.
Fetch the next digit (1) from the dividend, attach it to 43 and continue: 431 / 58

Step 4:
The number 58 fits into 431 7 times, leaving a remainder of 25.
Record the quotient 7 as the next digit in the result. 
Result so far: 167.0
The remainder is 25 after subtracting 406 from 431.
Append the next digit (6) from the dividend to 25 and continue with: 256 / 58

Going ahead to step 5:
If we divide 256 by 58, we get 4 and a remainder of 24.
Record the quotient 4 as the next digit in the result. 
Result so far: 1674.0
The remainder is 24 after subtracting 232 from 256.
Fetch the next digit (5) from the dividend, attach it to 24 and continue: 245 / 58

Step 6:
58 goes into 245 4 times with a remainder of 13.
Write down 4 as next digit of the result. 
Result so far: 16744.0
Deduct 232 from 245 and we're left with 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

Step 7:
If we divide 130 by 58, we get 2 and a remainder of 14.
Use 2 as the next digit of our solution. 
Result so far: 16744.2
The remainder is 14 after subtracting 116 from 130.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Moving on to step 8:
58 can be fit into 140 2 times, resulting in a remainder of 24.
Put 2 as the next digit of the answer. 
Result so far: 16744.22
Subtract 116 from 140 to get 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

After the division, we end up with 16744.22 and a remainder of 0.024.