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

On to step 1:
58 can be fit into 4 0 times, resulting in a remainder of 4.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 4 and we're left with 4.
Take the next digit (7) from the dividend and append it to 4, then repeat: 47 / 58

Moving on to step 2:
When dividing 47 by 58, we get 0 with a remainder of 47.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 47 and we're left with 47.
Append the next digit (3) from the dividend to 47 and continue with: 473 / 58

Moving on to step 3:
473 divided by 58 is 8 with a remainder of 9.
Put 8 as the next digit of the answer. 
Result so far: 8.0
If we subtract 464 from 473, we get 9.
Grab the next digit (8) from the dividend, add it to 9, then carry on: 98 / 58

On to step 4:
When dividing 98 by 58, we get 1 with a remainder of 40.
The number 1 becomes the next digit in our result. 
Result so far: 81.0
Deduct 58 from 98 and we're left with 40.
Include the next digit (9) from the dividend after 40, then repeat: 409 / 58

Going ahead to step 5:
409 divided by 58 is 7 with a remainder of 3.
The next digit of our result is 7. 
Result so far: 817.0
Deduct 406 from 409 and we're left with 3.
Include the next digit (7) from the dividend after 3, then repeat: 37 / 58

Advancing to step 6:
The number 58 fits into 37 0 times, leaving a remainder of 37.
Write down 0 as next digit of the result. 
Result so far: 8170.0
Deduct 0 from 37 and we're left with 37.
Since there are no more digits in the dividend, we add a zero to the remainder making it 370, and continue the process.

Moving on to step 7:
When dividing 370 by 58, we get 6 with a remainder of 22.
Record the quotient 6 as the next digit in the result. 
Result so far: 8170.6
The remainder is 22 after subtracting 348 from 370.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

On to step 8:
If we divide 220 by 58, we get 3 and a remainder of 46.
Record the quotient 3 as the next digit in the result. 
Result so far: 8170.63
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.

Advancing to step 9:
460 divided by 58 is 7 with a remainder of 54.
Write down 7 as next digit of the result. 
Result so far: 8170.637
If we subtract 406 from 460, we get 54.
Since there are no more digits in the dividend, we add a zero to the remainder making it 540, and continue the process.

On to step 10:
The number 58 fits into 540 9 times, leaving a remainder of 18.
Write down 9 as next digit of the result. 
Result so far: 8170.6379
Deduct 522 from 540 and we're left with 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Let's proceed to step 11:
180 divided by 58 is 3 with a remainder of 6.
Record the quotient 3 as the next digit in the result. 
Result so far: 8170.63793
Deduct 174 from 180 and we're left with 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Going ahead to step 12:
58 can be fit into 60 1 times, resulting in a remainder of 2.
The number 1 becomes the next digit in our result. 
Result so far: 8170.637931
Subtract 58 from 60 to get 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Step 13:
20 divided by 58 is 0 with a remainder of 20.
Record the quotient 0 as the next digit in the result. 
Result so far: 8170.637931
The remainder is 20 after subtracting 0 from 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Advancing to step 14:
200 divided by 58 is 3 with a remainder of 26.
The number 3 becomes the next digit in our result. 
Result so far: 8170.63793103
The remainder is 26 after subtracting 174 from 200.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

The final outcome is 8170.63793103, with a leftover of 2.6e-08.