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

Going ahead to step 1:
The number 171 fits into 2 0 times, leaving a remainder of 2.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 2, we end up with 2.
Fetch the next digit (7) from the dividend, attach it to 2 and continue: 27 / 171

Moving on to step 2:
171 goes into 27 0 times with a remainder of 27.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 27, we end up with 27.
Grab the next digit (7) from the dividend, add it to 27, then carry on: 277 / 171

Advancing to step 3:
277 divided by 171 is 1 with a remainder of 106.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
If we subtract 171 from 277, we get 106.
Include the next digit (3) from the dividend after 106, then repeat: 1063 / 171

Going ahead to step 4:
The number 171 fits into 1063 6 times, leaving a remainder of 37.
Use 6 as the next digit of our solution. 
Result so far: 16.0
If we subtract 1026 from 1063, we get 37.
Grab the next digit (1) from the dividend, add it to 37, then carry on: 371 / 171

Let's proceed to step 5:
371 divided by 171 is 2 with a remainder of 29.
Write down 2 as next digit of the result. 
Result so far: 162.0
Deduct 342 from 371 and we're left with 29.
Grab the next digit (3) from the dividend, add it to 29, then carry on: 293 / 171

Moving on to step 6:
171 can be fit into 293 1 times, resulting in a remainder of 122.
Use 1 as the next digit of our solution. 
Result so far: 1621.0
If we take 171 away from 293, we end up with 122.
Fetch the next digit (1) from the dividend, attach it to 122 and continue: 1221 / 171

Step 7:
1221 divided by 171 is 7 with a remainder of 24.
Use 7 as the next digit of our solution. 
Result so far: 16217.0
If we take 1197 away from 1221, we end up with 24.
Grab the next digit (8) from the dividend, add it to 24, then carry on: 248 / 171

Moving on to step 8:
171 can be fit into 248 1 times, resulting in a remainder of 77.
The next digit of our result is 1. 
Result so far: 162171.0
Subtract 171 from 248 to 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.

Step 9:
If we divide 770 by 171, we get 4 and a remainder of 86.
Use 4 as the next digit of our solution. 
Result so far: 162171.4
Subtracting 684 from 770 leaves us with 86.
Since there are no more digits in the dividend, we add a zero to the remainder making it 860, and continue the process.

Moving on to step 10:
860 divided by 171 is 5 with a remainder of 5.
Put 5 as the next digit of the answer. 
Result so far: 162171.45
Subtracting 855 from 860 leaves us with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Moving on to step 11:
171 can be fit into 50 0 times, resulting in a remainder of 50.
Put 0 as the next digit of the answer. 
Result so far: 162171.45
If we take 0 away from 50, we end up with 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 500, and continue the process.

Step 12:
500 divided by 171 is 2 with a remainder of 158.
Put 2 as the next digit of the answer. 
Result so far: 162171.4502
Subtract 342 from 500 to get 158.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1580, and continue the process.

Step 13:
1580 divided by 171 is 9 with a remainder of 41.
The next digit of our result is 9. 
Result so far: 162171.45029
Subtract 1539 from 1580 to get 41.
Since there are no more digits in the dividend, we add a zero to the remainder making it 410, and continue the process.

On to step 14:
171 goes into 410 2 times with a remainder of 68.
Write down 2 as next digit of the result. 
Result so far: 162171.450292
If we take 342 away from 410, we end up with 68.
Since there are no more digits in the dividend, we add a zero to the remainder making it 680, and continue the process.

Moving on to step 15:
When dividing 680 by 171, we get 3 with a remainder of 167.
Write down 3 as next digit of the result. 
Result so far: 162171.4502923
If we take 513 away from 680, we end up with 167.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1670, and continue the process.

Moving on to step 16:
When dividing 1670 by 171, we get 9 with a remainder of 131.
Record the quotient 9 as the next digit in the result. 
Result so far: 162171.45029239
Deduct 1539 from 1670 and we're left with 131.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1310, and continue the process.

The quotient of the division is 162171.45029239, and the remainder is 1.31e-07.