87416540 divided by 172 
The aim is to understand the frequency of 172 in 87416540.

On to step 1:
8 divided by 172 is 0 with a remainder of 8.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we take 0 away from 8, we end up with 8.
Take the next digit (7) from the dividend and append it to 8, then repeat: 87 / 172

Let's proceed to step 2:
87 divided by 172 is 0 with a remainder of 87.
The next digit of our result is 0. 
Result so far: 0.0
Deduct 0 from 87 and we're left with 87.
Fetch the next digit (4) from the dividend, attach it to 87 and continue: 874 / 172

Going ahead to step 3:
172 can be fit into 874 5 times, resulting in a remainder of 14.
Put 5 as the next digit of the answer. 
Result so far: 5.0
If we subtract 860 from 874, we get 14.
Include the next digit (1) from the dividend after 14, then repeat: 141 / 172

Let's proceed to step 4:
The number 172 fits into 141 0 times, leaving a remainder of 141.
Use 0 as the next digit of our solution. 
Result so far: 50.0
The remainder is 141 after subtracting 0 from 141.
Fetch the next digit (6) from the dividend, attach it to 141 and continue: 1416 / 172

Let's proceed to step 5:
If we divide 1416 by 172, we get 8 and a remainder of 40.
The next digit of our result is 8. 
Result so far: 508.0
If we subtract 1376 from 1416, we get 40.
Grab the next digit (5) from the dividend, add it to 40, then carry on: 405 / 172

On to step 6:
The number 172 fits into 405 2 times, leaving a remainder of 61.
Put 2 as the next digit of the answer. 
Result so far: 5082.0
Subtracting 344 from 405 leaves us with 61.
Bring next digit (4) of the dividend behind the 61 and repeat the process: 614 / 172

Moving on to step 7:
When dividing 614 by 172, we get 3 with a remainder of 98.
Use 3 as the next digit of our solution. 
Result so far: 50823.0
If we take 516 away from 614, we end up with 98.
Fetch the next digit (0) from the dividend, attach it to 98 and continue: 980 / 172

Step 8:
When dividing 980 by 172, we get 5 with a remainder of 120.
Use 5 as the next digit of our solution. 
Result so far: 508235.0
Subtract 860 from 980 to get 120.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1200, and continue the process.

Going ahead to step 9:
172 goes into 1200 6 times with a remainder of 168.
Record the quotient 6 as the next digit in the result. 
Result so far: 508235.6
Deduct 1032 from 1200 and we're left with 168.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1680, and continue the process.

Let's proceed to step 10:
172 can be fit into 1680 9 times, resulting in a remainder of 132.
The next digit of our result is 9. 
Result so far: 508235.69
Deduct 1548 from 1680 and we're left with 132.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1320, and continue the process.

Step 11:
The number 172 fits into 1320 7 times, leaving a remainder of 116.
Use 7 as the next digit of our solution. 
Result so far: 508235.697
Subtract 1204 from 1320 to get 116.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1160, and continue the process.

Going ahead to step 12:
When dividing 1160 by 172, we get 6 with a remainder of 128.
The next digit of our result is 6. 
Result so far: 508235.6976
The remainder is 128 after subtracting 1032 from 1160.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1280, and continue the process.

Advancing to step 13:
172 goes into 1280 7 times with a remainder of 76.
The next digit of our result is 7. 
Result so far: 508235.69767
Deduct 1204 from 1280 and we're left with 76.
Since there are no more digits in the dividend, we add a zero to the remainder making it 760, and continue the process.

Advancing to step 14:
760 divided by 172 is 4 with a remainder of 72.
The next digit of our result is 4. 
Result so far: 508235.697674
If we subtract 688 from 760, we get 72.
Since there are no more digits in the dividend, we add a zero to the remainder making it 720, and continue the process.

On to step 15:
If we divide 720 by 172, we get 4 and a remainder of 32.
Record the quotient 4 as the next digit in the result. 
Result so far: 508235.6976744
If we subtract 688 from 720, 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.

Our division results in 508235.6976744 with a remaining 3.2e-07.