We divide 840758 by 58
The aim is to understand the frequency of 58 in 840758.

Going ahead to step 1:
8 divided by 58 is 0 with a remainder of 8.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 8 and we're left with 8.
Take the next digit (4) from the dividend and append it to 8, then repeat: 84 / 58

Advancing to step 2:
If we divide 84 by 58, we get 1 and a remainder of 26.
Put 1 as the next digit of the answer. 
Result so far: 1.0
Subtract 58 from 84 to get 26.
Take the next digit (0) from the dividend and append it to 26, then repeat: 260 / 58

Let's proceed to step 3:
If we divide 260 by 58, we get 4 and a remainder of 28.
Record the quotient 4 as the next digit in the result. 
Result so far: 14.0
Subtracting 232 from 260 leaves us with 28.
Bring next digit (7) of the dividend behind the 28 and repeat the process: 287 / 58

Step 4:
The number 58 fits into 287 4 times, leaving a remainder of 55.
The number 4 becomes the next digit in our result. 
Result so far: 144.0
The remainder is 55 after subtracting 232 from 287.
Take the next digit (5) from the dividend and append it to 55, then repeat: 555 / 58

On to step 5:
58 can be fit into 555 9 times, resulting in a remainder of 33.
The number 9 becomes the next digit in our result. 
Result so far: 1449.0
If we take 522 away from 555, we end up with 33.
Append the next digit (8) from the dividend to 33 and continue with: 338 / 58

Going ahead to step 6:
When dividing 338 by 58, we get 5 with a remainder of 48.
Use 5 as the next digit of our solution. 
Result so far: 14495.0
If we subtract 290 from 338, we get 48.
Since there are no more digits in the dividend, we add a zero to the remainder making it 480, and continue the process.

Going ahead to step 7:
58 goes into 480 8 times with a remainder of 16.
Put 8 as the next digit of the answer. 
Result so far: 14495.8
The remainder is 16 after subtracting 464 from 480.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Advancing to step 8:
58 goes into 160 2 times with a remainder of 44.
The number 2 becomes the next digit in our result. 
Result so far: 14495.82
Subtract 116 from 160 to get 44.
Since there are no more digits in the dividend, we add a zero to the remainder making it 440, and continue the process.

Advancing to step 9:
58 can be fit into 440 7 times, resulting in a remainder of 34.
Write down 7 as next digit of the result. 
Result so far: 14495.827
Subtracting 406 from 440 leaves us 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.

Step 10:
58 can be fit into 340 5 times, resulting in a remainder of 50.
Record the quotient 5 as the next digit in the result. 
Result so far: 14495.8275
Deduct 290 from 340 and we're left 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 11:
The number 58 fits into 500 8 times, leaving a remainder of 36.
Use 8 as the next digit of our solution. 
Result so far: 14495.82758
Subtracting 464 from 500 leaves us with 36.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

Moving on to step 12:
58 can be fit into 360 6 times, resulting in a remainder of 12.
Use 6 as the next digit of our solution. 
Result so far: 14495.827586
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.

Advancing to step 13:
The number 58 fits into 120 2 times, leaving a remainder of 4.
The number 2 becomes the next digit in our result. 
Result so far: 14495.8275862
If we take 116 away from 120, we end up with 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 14:
When dividing 40 by 58, we get 0 with a remainder of 40.
Put 0 as the next digit of the answer. 
Result so far: 14495.8275862
Subtracting 0 from 40 leaves us 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.

The final outcome is 14495.8275862, with a leftover of 4e-08.