We look at the division of 580813 by 59 
The aim is to understand the frequency of 59 in 580813.

On to step 1:
59 goes into 5 0 times with a remainder of 5.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 5 and we're left with 5.
Include the next digit (8) from the dividend after 5, then repeat: 58 / 59

On to step 2:
58 divided by 59 is 0 with a remainder of 58.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 58, we get 58.
Take the next digit (0) from the dividend and append it to 58, then repeat: 580 / 59

Step 3:
The number 59 fits into 580 9 times, leaving a remainder of 49.
The number 9 becomes the next digit in our result. 
Result so far: 9.0
Subtract 531 from 580 to get 49.
Append the next digit (8) from the dividend to 49 and continue with: 498 / 59

Going ahead to step 4:
The number 59 fits into 498 8 times, leaving a remainder of 26.
Record the quotient 8 as the next digit in the result. 
Result so far: 98.0
The remainder is 26 after subtracting 472 from 498.
Fetch the next digit (1) from the dividend, attach it to 26 and continue: 261 / 59

Step 5:
261 divided by 59 is 4 with a remainder of 25.
The number 4 becomes the next digit in our result. 
Result so far: 984.0
Deduct 236 from 261 and we're left with 25.
Append the next digit (3) from the dividend to 25 and continue with: 253 / 59

On to step 6:
59 goes into 253 4 times with a remainder of 17.
Write down 4 as next digit of the result. 
Result so far: 9844.0
If we take 236 away from 253, we end up with 17.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

Let's proceed to step 7:
When dividing 170 by 59, we get 2 with a remainder of 52.
Put 2 as the next digit of the answer. 
Result so far: 9844.2
The remainder is 52 after subtracting 118 from 170.
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 8:
If we divide 520 by 59, we get 8 and a remainder of 48.
Put 8 as the next digit of the answer. 
Result so far: 9844.28
If we take 472 away from 520, we end up with 48.
Since there are no more digits in the dividend, we add a zero to the remainder making it 480, and continue the process.

Step 9:
59 goes into 480 8 times with a remainder of 8.
The next digit of our result is 8. 
Result so far: 9844.288
Subtracting 472 from 480 leaves us with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

After the division, we end up with 9844.288 and a remainder of 0.0008.