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

Let's proceed to step 1:
If we divide 8 by 58, we get 0 and a remainder of 8.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 8 leaves us with 8.
Bring next digit (4) of the dividend behind the 8 and repeat the process: 84 / 58

Moving on to step 2:
58 goes into 84 1 times with a remainder of 26.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
If we subtract 58 from 84, we get 26.
Bring next digit (2) of the dividend behind the 26 and repeat the process: 262 / 58

Step 3:
If we divide 262 by 58, we get 4 and a remainder of 30.
Use 4 as the next digit of our solution. 
Result so far: 14.0
Subtracting 232 from 262 leaves us with 30.
Grab the next digit (2) from the dividend, add it to 30, then carry on: 302 / 58

Going ahead to step 4:
58 goes into 302 5 times with a remainder of 12.
The next digit of our result is 5. 
Result so far: 145.0
The remainder is 12 after subtracting 290 from 302.
Take the next digit (2) from the dividend and append it to 12, then repeat: 122 / 58

Going ahead to step 5:
If we divide 122 by 58, we get 2 and a remainder of 6.
Put 2 as the next digit of the answer. 
Result so far: 1452.0
Subtract 116 from 122 to get 6.
Append the next digit (8) from the dividend to 6 and continue with: 68 / 58

Advancing to step 6:
When dividing 68 by 58, we get 1 with a remainder of 10.
Use 1 as the next digit of our solution. 
Result so far: 14521.0
Subtract 58 from 68 to get 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Moving on to step 7:
When dividing 100 by 58, we get 1 with a remainder of 42.
The number 1 becomes the next digit in our result. 
Result so far: 14521.1
Subtract 58 from 100 to get 42.
Since there are no more digits in the dividend, we add a zero to the remainder making it 420, and continue the process.

Let's proceed to step 8:
The number 58 fits into 420 7 times, leaving a remainder of 14.
Record the quotient 7 as the next digit in the result. 
Result so far: 14521.17
Subtract 406 from 420 to 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.

On to step 9:
If we divide 140 by 58, we get 2 and a remainder of 24.
The next digit of our result is 2. 
Result so far: 14521.172
Subtracting 116 from 140 leaves us with 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Step 10:
240 divided by 58 is 4 with a remainder of 8.
Use 4 as the next digit of our solution. 
Result so far: 14521.1724
Deduct 232 from 240 and we're left with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Step 11:
When dividing 80 by 58, we get 1 with a remainder of 22.
Use 1 as the next digit of our solution. 
Result so far: 14521.17241
Subtracting 58 from 80 leaves us with 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Advancing to step 12:
58 can be fit into 220 3 times, resulting in a remainder of 46.
The number 3 becomes the next digit in our result. 
Result so far: 14521.172413
Subtracting 174 from 220 leaves us with 46.
Since there are no more digits in the dividend, we add a zero to the remainder making it 460, and continue the process.

Going ahead to step 13:
The number 58 fits into 460 7 times, leaving a remainder of 54.
Put 7 as the next digit of the answer. 
Result so far: 14521.1724137
The remainder is 54 after subtracting 406 from 460.
Since there are no more digits in the dividend, we add a zero to the remainder making it 540, and continue the process.

Moving on to step 14:
58 can be fit into 540 9 times, resulting in a remainder of 18.
The number 9 becomes the next digit in our result. 
Result so far: 14521.17241379
If we subtract 522 from 540, we get 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

After the division, we end up with 14521.17241379 and a remainder of 1.8e-08.