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

On to step 1:
The number 59 fits into 3 0 times, leaving a remainder of 3.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Deduct 0 from 3 and we're left with 3.
Include the next digit (3) from the dividend after 3, then repeat: 33 / 59

Going ahead to step 2:
33 divided by 59 is 0 with a remainder of 33.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtract 0 from 33 to get 33.
Grab the next digit (4) from the dividend, add it to 33, then carry on: 334 / 59

Advancing to step 3:
When dividing 334 by 59, we get 5 with a remainder of 39.
Put 5 as the next digit of the answer. 
Result so far: 5.0
Subtracting 295 from 334 leaves us with 39.
Take the next digit (2) from the dividend and append it to 39, then repeat: 392 / 59

Let's proceed to step 4:
392 divided by 59 is 6 with a remainder of 38.
Record the quotient 6 as the next digit in the result. 
Result so far: 56.0
Subtracting 354 from 392 leaves us with 38.
Fetch the next digit (7) from the dividend, attach it to 38 and continue: 387 / 59

Going ahead to step 5:
If we divide 387 by 59, we get 6 and a remainder of 33.
The number 6 becomes the next digit in our result. 
Result so far: 566.0
If we subtract 354 from 387, we get 33.
Take the next digit (7) from the dividend and append it to 33, then repeat: 337 / 59

Step 6:
59 goes into 337 5 times with a remainder of 42.
Use 5 as the next digit of our solution. 
Result so far: 5665.0
Subtract 295 from 337 to get 42.
Since there are no more digits in the dividend, we add a zero to the remainder making it 420, and continue the process.

Advancing to step 7:
59 goes into 420 7 times with a remainder of 7.
The next digit of our result is 7. 
Result so far: 5665.7
Subtract 413 from 420 to get 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Step 8:
70 divided by 59 is 1 with a remainder of 11.
Write down 1 as next digit of the result. 
Result so far: 5665.71
Deduct 59 from 70 and we're left with 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

On to step 9:
59 can be fit into 110 1 times, resulting in a remainder of 51.
The number 1 becomes the next digit in our result. 
Result so far: 5665.711
Subtract 59 from 110 to get 51.
Since there are no more digits in the dividend, we add a zero to the remainder making it 510, and continue the process.

The final outcome is 5665.711, with a leftover of 0.0051.