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

Let's proceed to step 1:
58 can be fit into 3 0 times, resulting in a remainder of 3.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 3 after subtracting 0 from 3.
Bring next digit (1) of the dividend behind the 3 and repeat the process: 31 / 58

Moving on to step 2:
When dividing 31 by 58, we get 0 with a remainder of 31.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 31, we end up with 31.
Fetch the next digit (2) from the dividend, attach it to 31 and continue: 312 / 58

Advancing to step 3:
The number 58 fits into 312 5 times, leaving a remainder of 22.
Write down 5 as next digit of the result. 
Result so far: 5.0
If we take 290 away from 312, we end up with 22.
Bring next digit (1) of the dividend behind the 22 and repeat the process: 221 / 58

Step 4:
When dividing 221 by 58, we get 3 with a remainder of 47.
Write down 3 as next digit of the result. 
Result so far: 53.0
Subtracting 174 from 221 leaves us with 47.
Grab the next digit (1) from the dividend, add it to 47, then carry on: 471 / 58

Moving on to step 5:
When dividing 471 by 58, we get 8 with a remainder of 7.
Put 8 as the next digit of the answer. 
Result so far: 538.0
Subtracting 464 from 471 leaves us with 7.
Take the next digit (1) from the dividend and append it to 7, then repeat: 71 / 58

Advancing to step 6:
The number 58 fits into 71 1 times, leaving a remainder of 13.
Put 1 as the next digit of the answer. 
Result so far: 5381.0
The remainder is 13 after subtracting 58 from 71.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

On to step 7:
The number 58 fits into 130 2 times, leaving a remainder of 14.
Record the quotient 2 as the next digit in the result. 
Result so far: 5381.2
If we subtract 116 from 130, we get 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Let's proceed to step 8:
140 divided by 58 is 2 with a remainder of 24.
Put 2 as the next digit of the answer. 
Result so far: 5381.22
The remainder is 24 after subtracting 116 from 140.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

In conclusion, the division gives 5381.22 with a balance of 0.024.