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

Going ahead to step 1:
The number 58 fits into 5 0 times, leaving a remainder of 5.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 5 and we're left with 5.
Bring next digit (0) of the dividend behind the 5 and repeat the process: 50 / 58

Moving on to step 2:
When dividing 50 by 58, we get 0 with a remainder of 50.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 50 to get 50.
Append the next digit (6) from the dividend to 50 and continue with: 506 / 58

Going ahead to step 3:
The number 58 fits into 506 8 times, leaving a remainder of 42.
The number 8 becomes the next digit in our result. 
Result so far: 8.0
Deduct 464 from 506 and we're left with 42.
Grab the next digit (6) from the dividend, add it to 42, then carry on: 426 / 58

Step 4:
58 can be fit into 426 7 times, resulting in a remainder of 20.
The number 7 becomes the next digit in our result. 
Result so far: 87.0
The remainder is 20 after subtracting 406 from 426.
Fetch the next digit (3) from the dividend, attach it to 20 and continue: 203 / 58

Let's proceed to step 5:
When dividing 203 by 58, we get 3 with a remainder of 29.
The number 3 becomes the next digit in our result. 
Result so far: 873.0
The remainder is 29 after subtracting 174 from 203.
Append the next digit (5) from the dividend to 29 and continue with: 295 / 58

Advancing to step 6:
If we divide 295 by 58, we get 5 and a remainder of 5.
Write down 5 as next digit of the result. 
Result so far: 8735.0
If we take 290 away from 295, we end up with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Moving on to step 7:
58 goes into 50 0 times with a remainder of 50.
Use 0 as the next digit of our solution. 
Result so far: 8735.0
If we subtract 0 from 50, we get 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 500, and continue the process.

Step 8:
The number 58 fits into 500 8 times, leaving a remainder of 36.
The number 8 becomes the next digit in our result. 
Result so far: 8735.08
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.

Step 9:
360 divided by 58 is 6 with a remainder of 12.
Use 6 as the next digit of our solution. 
Result so far: 8735.086
Deduct 348 from 360 and we're left with 12.
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:
If we divide 120 by 58, we get 2 and a remainder of 4.
Put 2 as the next digit of the answer. 
Result so far: 8735.0862
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.

Going ahead to step 11:
If we divide 40 by 58, we get 0 and a remainder of 40.
Put 0 as the next digit of the answer. 
Result so far: 8735.0862
If we take 0 away from 40, we end up 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.

Let's proceed to step 12:
When dividing 400 by 58, we get 6 with a remainder of 52.
The next digit of our result is 6. 
Result so far: 8735.086206
Deduct 348 from 400 and we're left 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.

Let's proceed to step 13:
When dividing 520 by 58, we get 8 with a remainder of 56.
Write down 8 as next digit of the result. 
Result so far: 8735.0862068
Subtracting 464 from 520 leaves us 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.

Advancing to step 14:
When dividing 560 by 58, we get 9 with a remainder of 38.
Put 9 as the next digit of the answer. 
Result so far: 8735.08620689
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.

Our division results in 8735.08620689 with a remaining 3.8e-08.