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

On to step 1:
When dividing 1 by 59, we get 0 with a remainder of 1.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we take 0 away from 1, we end up with 1.
Bring next digit (7) of the dividend behind the 1 and repeat the process: 17 / 59

On to step 2:
59 goes into 17 0 times with a remainder of 17.
The next digit of our result is 0. 
Result so far: 0.0
Deduct 0 from 17 and we're left with 17.
Fetch the next digit (0) from the dividend, attach it to 17 and continue: 170 / 59

Going ahead to step 3:
If we divide 170 by 59, we get 2 and a remainder of 52.
Use 2 as the next digit of our solution. 
Result so far: 2.0
Subtracting 118 from 170 leaves us with 52.
Grab the next digit (8) from the dividend, add it to 52, then carry on: 528 / 59

Going ahead to step 4:
528 divided by 59 is 8 with a remainder of 56.
Put 8 as the next digit of the answer. 
Result so far: 28.0
Subtracting 472 from 528 leaves us with 56.
Take the next digit (9) from the dividend and append it to 56, then repeat: 569 / 59

Going ahead to step 5:
59 can be fit into 569 9 times, resulting in a remainder of 38.
The number 9 becomes the next digit in our result. 
Result so far: 289.0
The remainder is 38 after subtracting 531 from 569.
Grab the next digit (5) from the dividend, add it to 38, then carry on: 385 / 59

Going ahead to step 6:
59 goes into 385 6 times with a remainder of 31.
Use 6 as the next digit of our solution. 
Result so far: 2896.0
If we take 354 away from 385, we end up with 31.
Since there are no more digits in the dividend, we add a zero to the remainder making it 310, and continue the process.

On to step 7:
The number 59 fits into 310 5 times, leaving a remainder of 15.
Use 5 as the next digit of our solution. 
Result so far: 2896.5
The remainder is 15 after subtracting 295 from 310.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Going ahead to step 8:
150 divided by 59 is 2 with a remainder of 32.
The next digit of our result is 2. 
Result so far: 2896.52
If we subtract 118 from 150, we get 32.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

Step 9:
59 goes into 320 5 times with a remainder of 25.
Put 5 as the next digit of the answer. 
Result so far: 2896.525
Deduct 295 from 320 and we're left with 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

Moving on to step 10:
The number 59 fits into 250 4 times, leaving a remainder of 14.
Put 4 as the next digit of the answer. 
Result so far: 2896.5254
Subtracting 236 from 250 leaves us with 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Going ahead to step 11:
The number 59 fits into 140 2 times, leaving a remainder of 22.
The next digit of our result is 2. 
Result so far: 2896.52542
Subtracting 118 from 140 leaves us with 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Let's proceed to step 12:
The number 59 fits into 220 3 times, leaving a remainder of 43.
The next digit of our result is 3. 
Result so far: 2896.525423
If we take 177 away from 220, we end up with 43.
Since there are no more digits in the dividend, we add a zero to the remainder making it 430, and continue the process.

Advancing to step 13:
59 can be fit into 430 7 times, resulting in a remainder of 17.
Write down 7 as next digit of the result. 
Result so far: 2896.5254237
Deduct 413 from 430 and we're left 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.

On to step 14:
170 divided by 59 is 2 with a remainder of 52.
The next digit of our result is 2. 
Result so far: 2896.52542372
Subtract 118 from 170 to get 52.
Since there are no more digits in the dividend, we add a zero to the remainder making it 520, and continue the process.

The final result is 2896.52542372 with a remainder of 5.2e-08.