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

Let's proceed to step 1:
If we divide 9 by 58, we get 0 and a remainder of 9.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 9 and we're left with 9.
Bring next digit (8) of the dividend behind the 9 and repeat the process: 98 / 58

On to step 2:
58 can be fit into 98 1 times, resulting in a remainder of 40.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
The remainder is 40 after subtracting 58 from 98.
Include the next digit (4) from the dividend after 40, then repeat: 404 / 58

On to step 3:
404 divided by 58 is 6 with a remainder of 56.
Write down 6 as next digit of the result. 
Result so far: 16.0
Deduct 348 from 404 and we're left with 56.
Append the next digit (0) from the dividend to 56 and continue with: 560 / 58

Advancing to step 4:
If we divide 560 by 58, we get 9 and a remainder of 38.
Write down 9 as next digit of the result. 
Result so far: 169.0
The remainder is 38 after subtracting 522 from 560.
Bring next digit (4) of the dividend behind the 38 and repeat the process: 384 / 58

Let's proceed to step 5:
When dividing 384 by 58, we get 6 with a remainder of 36.
Use 6 as the next digit of our solution. 
Result so far: 1696.0
If we take 348 away from 384, we end up with 36.
Append the next digit (0) from the dividend to 36 and continue with: 360 / 58

Let's proceed to step 6:
If we divide 360 by 58, we get 6 and a remainder of 12.
The number 6 becomes the next digit in our result. 
Result so far: 16966.0
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.

Moving on to step 7:
58 can be fit into 120 2 times, resulting in a remainder of 4.
Record the quotient 2 as the next digit in the result. 
Result so far: 16966.2
Deduct 116 from 120 and we're left 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.

Moving on to step 8:
58 can be fit into 40 0 times, resulting in a remainder of 40.
The number 0 becomes the next digit in our result. 
Result so far: 16966.2
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 9:
58 goes into 400 6 times with a remainder of 52.
The next digit of our result is 6. 
Result so far: 16966.206
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.

Going ahead to step 10:
If we divide 520 by 58, we get 8 and a remainder of 56.
Write down 8 as next digit of the result. 
Result so far: 16966.2068
The remainder is 56 after subtracting 464 from 520.
Since there are no more digits in the dividend, we add a zero to the remainder making it 560, and continue the process.

Let's proceed to step 11:
If we divide 560 by 58, we get 9 and a remainder of 38.
Put 9 as the next digit of the answer. 
Result so far: 16966.20689
Subtracting 522 from 560 leaves us 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.

Step 12:
58 can be fit into 380 6 times, resulting in a remainder of 32.
Write down 6 as next digit of the result. 
Result so far: 16966.206896
Subtracting 348 from 380 leaves us with 32.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

Moving on to step 13:
58 goes into 320 5 times with a remainder of 30.
The next digit of our result is 5. 
Result so far: 16966.2068965
If we subtract 290 from 320, we get 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Moving on to step 14:
300 divided by 58 is 5 with a remainder of 10.
Use 5 as the next digit of our solution. 
Result so far: 16966.20689655
Deduct 290 from 300 and we're left with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

The final outcome is 16966.20689655, with a leftover of 1e-08.