We're dividing 99980513 by 171 
The aim is to understand the frequency of 171 in 99980513.

On to step 1:
9 divided by 171 is 0 with a remainder of 9.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtracting 0 from 9 leaves us with 9.
Include the next digit (9) from the dividend after 9, then repeat: 99 / 171

Let's proceed to step 2:
The number 171 fits into 99 0 times, leaving a remainder of 99.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 99 after subtracting 0 from 99.
Grab the next digit (9) from the dividend, add it to 99, then carry on: 999 / 171

Let's proceed to step 3:
When dividing 999 by 171, we get 5 with a remainder of 144.
Put 5 as the next digit of the answer. 
Result so far: 5.0
If we subtract 855 from 999, we get 144.
Fetch the next digit (8) from the dividend, attach it to 144 and continue: 1448 / 171

On to step 4:
The number 171 fits into 1448 8 times, leaving a remainder of 80.
Write down 8 as next digit of the result. 
Result so far: 58.0
Deduct 1368 from 1448 and we're left with 80.
Include the next digit (0) from the dividend after 80, then repeat: 800 / 171

Advancing to step 5:
800 divided by 171 is 4 with a remainder of 116.
Record the quotient 4 as the next digit in the result. 
Result so far: 584.0
Deduct 684 from 800 and we're left with 116.
Fetch the next digit (5) from the dividend, attach it to 116 and continue: 1165 / 171

Let's proceed to step 6:
171 goes into 1165 6 times with a remainder of 139.
Write down 6 as next digit of the result. 
Result so far: 5846.0
The remainder is 139 after subtracting 1026 from 1165.
Append the next digit (1) from the dividend to 139 and continue with: 1391 / 171

Advancing to step 7:
171 goes into 1391 8 times with a remainder of 23.
Put 8 as the next digit of the answer. 
Result so far: 58468.0
If we take 1368 away from 1391, we end up with 23.
Grab the next digit (3) from the dividend, add it to 23, then carry on: 233 / 171

Moving on to step 8:
171 goes into 233 1 times with a remainder of 62.
The next digit of our result is 1. 
Result so far: 584681.0
The remainder is 62 after subtracting 171 from 233.
Since there are no more digits in the dividend, we add a zero to the remainder making it 620, and continue the process.

Step 9:
171 can be fit into 620 3 times, resulting in a remainder of 107.
Record the quotient 3 as the next digit in the result. 
Result so far: 584681.3
Subtract 513 from 620 to get 107.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1070, and continue the process.

Let's proceed to step 10:
The number 171 fits into 1070 6 times, leaving a remainder of 44.
Put 6 as the next digit of the answer. 
Result so far: 584681.36
The remainder is 44 after subtracting 1026 from 1070.
Since there are no more digits in the dividend, we add a zero to the remainder making it 440, and continue the process.

Let's proceed to step 11:
If we divide 440 by 171, we get 2 and a remainder of 98.
Write down 2 as next digit of the result. 
Result so far: 584681.362
Subtracting 342 from 440 leaves us with 98.
Since there are no more digits in the dividend, we add a zero to the remainder making it 980, and continue the process.

Let's proceed to step 12:
171 goes into 980 5 times with a remainder of 125.
Write down 5 as next digit of the result. 
Result so far: 584681.3625
Deduct 855 from 980 and we're left with 125.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1250, and continue the process.

Let's proceed to step 13:
1250 divided by 171 is 7 with a remainder of 53.
Record the quotient 7 as the next digit in the result. 
Result so far: 584681.36257
Deduct 1197 from 1250 and we're left with 53.
Since there are no more digits in the dividend, we add a zero to the remainder making it 530, and continue the process.

Step 14:
If we divide 530 by 171, we get 3 and a remainder of 17.
The next digit of our result is 3. 
Result so far: 584681.362573
If we subtract 513 from 530, we get 17.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

Moving on to step 15:
171 goes into 170 0 times with a remainder of 170.
Put 0 as the next digit of the answer. 
Result so far: 584681.362573
Subtract 0 from 170 to get 170.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1700, and continue the process.

Let's proceed to step 16:
If we divide 1700 by 171, we get 9 and a remainder of 161.
The number 9 becomes the next digit in our result. 
Result so far: 584681.36257309
Subtracting 1539 from 1700 leaves us with 161.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1610, and continue the process.

In conclusion, the division gives 584681.36257309 with a balance of 1.61e-07.