Let's divide 562228 by 58
The aim is to understand the frequency of 58 in 562228.

Moving on to step 1:
5 divided by 58 is 0 with a remainder of 5.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 5, we end up with 5.
Include the next digit (6) from the dividend after 5, then repeat: 56 / 58

Moving on to step 2:
56 divided by 58 is 0 with a remainder of 56.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtract 0 from 56 to get 56.
Take the next digit (2) from the dividend and append it to 56, then repeat: 562 / 58

On to step 3:
If we divide 562 by 58, we get 9 and a remainder of 40.
Write down 9 as next digit of the result. 
Result so far: 9.0
The remainder is 40 after subtracting 522 from 562.
Append the next digit (2) from the dividend to 40 and continue with: 402 / 58

Let's proceed to step 4:
When dividing 402 by 58, we get 6 with a remainder of 54.
The next digit of our result is 6. 
Result so far: 96.0
If we take 348 away from 402, we end up with 54.
Bring next digit (2) of the dividend behind the 54 and repeat the process: 542 / 58

Going ahead to step 5:
When dividing 542 by 58, we get 9 with a remainder of 20.
Use 9 as the next digit of our solution. 
Result so far: 969.0
Subtract 522 from 542 to get 20.
Bring next digit (8) of the dividend behind the 20 and repeat the process: 208 / 58

On to step 6:
If we divide 208 by 58, we get 3 and a remainder of 34.
Use 3 as the next digit of our solution. 
Result so far: 9693.0
Deduct 174 from 208 and we're left 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.

Advancing to step 7:
The number 58 fits into 340 5 times, leaving a remainder of 50.
Write down 5 as next digit of the result. 
Result so far: 9693.5
If we take 290 away from 340, we end up 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.

Moving on to step 8:
If we divide 500 by 58, we get 8 and a remainder of 36.
Write down 8 as next digit of the result. 
Result so far: 9693.58
If we subtract 464 from 500, we 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.

On to step 9:
58 goes into 360 6 times with a remainder of 12.
Write down 6 as next digit of the result. 
Result so far: 9693.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.

Going ahead to step 10:
120 divided by 58 is 2 with a remainder of 4.
The number 2 becomes the next digit in our result. 
Result so far: 9693.5862
If we subtract 116 from 120, we get 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:
The number 58 fits into 40 0 times, leaving a remainder of 40.
Use 0 as the next digit of our solution. 
Result so far: 9693.5862
The remainder is 40 after subtracting 0 from 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:
58 can be fit into 400 6 times, resulting in a remainder of 52.
Write down 6 as next digit of the result. 
Result so far: 9693.586206
If we take 348 away from 400, we end up 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.

On to step 13:
58 can be fit into 520 8 times, resulting in a remainder of 56.
Use 8 as the next digit of our solution. 
Result so far: 9693.5862068
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 14:
If we divide 560 by 58, we get 9 and a remainder of 38.
The number 9 becomes the next digit in our result. 
Result so far: 9693.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 result is 9693.58620689 with a remainder of 3.8e-08.