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

Let's proceed to step 1:
When dividing 9 by 59, we get 0 with a remainder of 9.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 9 and we're left with 9.
Take the next digit (8) from the dividend and append it to 9, then repeat: 98 / 59

Step 2:
98 divided by 59 is 1 with a remainder of 39.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
The remainder is 39 after subtracting 59 from 98.
Grab the next digit (8) from the dividend, add it to 39, then carry on: 398 / 59

Step 3:
The number 59 fits into 398 6 times, leaving a remainder of 44.
The next digit of our result is 6. 
Result so far: 16.0
Deduct 354 from 398 and we're left with 44.
Append the next digit (7) from the dividend to 44 and continue with: 447 / 59

Going ahead to step 4:
When dividing 447 by 59, we get 7 with a remainder of 34.
Write down 7 as next digit of the result. 
Result so far: 167.0
Subtracting 413 from 447 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 5:
The number 59 fits into 340 5 times, leaving a remainder of 45.
The number 5 becomes the next digit in our result. 
Result so far: 167.5
The remainder is 45 after subtracting 295 from 340.
Since there are no more digits in the dividend, we add a zero to the remainder making it 450, and continue the process.

Let's proceed to step 6:
When dividing 450 by 59, we get 7 with a remainder of 37.
Use 7 as the next digit of our solution. 
Result so far: 167.57
Subtract 413 from 450 to get 37.
Since there are no more digits in the dividend, we add a zero to the remainder making it 370, and continue the process.

Step 7:
370 divided by 59 is 6 with a remainder of 16.
Record the quotient 6 as the next digit in the result. 
Result so far: 167.576
If we take 354 away from 370, we end up with 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Moving on to step 8:
160 divided by 59 is 2 with a remainder of 42.
Put 2 as the next digit of the answer. 
Result so far: 167.5762
The remainder is 42 after subtracting 118 from 160.
Since there are no more digits in the dividend, we add a zero to the remainder making it 420, and continue the process.

Step 9:
59 goes into 420 7 times with a remainder of 7.
Record the quotient 7 as the next digit in the result. 
Result so far: 167.57627
Deduct 413 from 420 and we're left with 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Let's proceed to step 10:
If we divide 70 by 59, we get 1 and a remainder of 11.
Write down 1 as next digit of the result. 
Result so far: 167.576271
If we subtract 59 from 70, we get 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

Moving on to step 11:
59 goes into 110 1 times with a remainder of 51.
Use 1 as the next digit of our solution. 
Result so far: 167.5762711
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.

After the division, we end up with 167.5762711 and a remainder of 5.1e-07.