We look at the division of 54869765 by 171 
The aim is to understand the frequency of 171 in 54869765.

Going ahead to step 1:
The number 171 fits into 5 0 times, leaving a remainder of 5.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 5 after subtracting 0 from 5.
Take the next digit (4) from the dividend and append it to 5, then repeat: 54 / 171

Going ahead to step 2:
If we divide 54 by 171, we get 0 and a remainder of 54.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 54, we end up with 54.
Take the next digit (8) from the dividend and append it to 54, then repeat: 548 / 171

Advancing to step 3:
548 divided by 171 is 3 with a remainder of 35.
Record the quotient 3 as the next digit in the result. 
Result so far: 3.0
Deduct 513 from 548 and we're left with 35.
Bring next digit (6) of the dividend behind the 35 and repeat the process: 356 / 171

Step 4:
171 goes into 356 2 times with a remainder of 14.
Use 2 as the next digit of our solution. 
Result so far: 32.0
If we take 342 away from 356, we end up with 14.
Bring next digit (9) of the dividend behind the 14 and repeat the process: 149 / 171

On to step 5:
When dividing 149 by 171, we get 0 with a remainder of 149.
The number 0 becomes the next digit in our result. 
Result so far: 320.0
Deduct 0 from 149 and we're left with 149.
Fetch the next digit (7) from the dividend, attach it to 149 and continue: 1497 / 171

Step 6:
The number 171 fits into 1497 8 times, leaving a remainder of 129.
Use 8 as the next digit of our solution. 
Result so far: 3208.0
The remainder is 129 after subtracting 1368 from 1497.
Grab the next digit (6) from the dividend, add it to 129, then carry on: 1296 / 171

Let's proceed to step 7:
1296 divided by 171 is 7 with a remainder of 99.
Write down 7 as next digit of the result. 
Result so far: 32087.0
Deduct 1197 from 1296 and we're left with 99.
Append the next digit (5) from the dividend to 99 and continue with: 995 / 171

On to step 8:
995 divided by 171 is 5 with a remainder of 140.
Put 5 as the next digit of the answer. 
Result so far: 320875.0
If we take 855 away from 995, we end up with 140.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1400, and continue the process.

Let's proceed to step 9:
1400 divided by 171 is 8 with a remainder of 32.
The number 8 becomes the next digit in our result. 
Result so far: 320875.8
Deduct 1368 from 1400 and we're left with 32.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

Advancing to step 10:
171 goes into 320 1 times with a remainder of 149.
Write down 1 as next digit of the result. 
Result so far: 320875.81
If we subtract 171 from 320, we get 149.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1490, and continue the process.

Let's proceed to step 11:
1490 divided by 171 is 8 with a remainder of 122.
Put 8 as the next digit of the answer. 
Result so far: 320875.818
If we subtract 1368 from 1490, we get 122.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1220, and continue the process.

Moving on to step 12:
171 can be fit into 1220 7 times, resulting in a remainder of 23.
The number 7 becomes the next digit in our result. 
Result so far: 320875.8187
If we subtract 1197 from 1220, we get 23.
Since there are no more digits in the dividend, we add a zero to the remainder making it 230, and continue the process.

Going ahead to step 13:
When dividing 230 by 171, we get 1 with a remainder of 59.
The number 1 becomes the next digit in our result. 
Result so far: 320875.81871
Deduct 171 from 230 and we're left with 59.
Since there are no more digits in the dividend, we add a zero to the remainder making it 590, and continue the process.

Going ahead to step 14:
When dividing 590 by 171, we get 3 with a remainder of 77.
Record the quotient 3 as the next digit in the result. 
Result so far: 320875.818713
If we subtract 513 from 590, we get 77.
Since there are no more digits in the dividend, we add a zero to the remainder making it 770, and continue the process.

On to step 15:
When dividing 770 by 171, we get 4 with a remainder of 86.
The next digit of our result is 4. 
Result so far: 320875.8187134
The remainder is 86 after subtracting 684 from 770.
Since there are no more digits in the dividend, we add a zero to the remainder making it 860, and continue the process.

Let's proceed to step 16:
If we divide 860 by 171, we get 5 and a remainder of 5.
The number 5 becomes the next digit in our result. 
Result so far: 320875.81871345
Subtract 855 from 860 to get 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Our division results in 320875.81871345 with a remaining 5e-09.