Let's divide 667993 by 87
The aim is to understand the frequency of 87 in 667993.

Going ahead to step 1:
6 divided by 87 is 0 with a remainder of 6.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 6 and we're left with 6.
Take the next digit (6) from the dividend and append it to 6, then repeat: 66 / 87

Going ahead to step 2:
If we divide 66 by 87, we get 0 and a remainder of 66.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtract 0 from 66 to get 66.
Include the next digit (7) from the dividend after 66, then repeat: 667 / 87

Let's proceed to step 3:
The number 87 fits into 667 7 times, leaving a remainder of 58.
The number 7 becomes the next digit in our result. 
Result so far: 7.0
Subtracting 609 from 667 leaves us with 58.
Fetch the next digit (9) from the dividend, attach it to 58 and continue: 589 / 87

Advancing to step 4:
87 goes into 589 6 times with a remainder of 67.
Use 6 as the next digit of our solution. 
Result so far: 76.0
Subtract 522 from 589 to get 67.
Include the next digit (9) from the dividend after 67, then repeat: 679 / 87

Going ahead to step 5:
If we divide 679 by 87, we get 7 and a remainder of 70.
The number 7 becomes the next digit in our result. 
Result so far: 767.0
Deduct 609 from 679 and we're left with 70.
Include the next digit (3) from the dividend after 70, then repeat: 703 / 87

On to step 6:
If we divide 703 by 87, we get 8 and a remainder of 7.
Put 8 as the next digit of the answer. 
Result so far: 7678.0
Subtract 696 from 703 to get 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Going ahead to step 7:
87 goes into 70 0 times with a remainder of 70.
Record the quotient 0 as the next digit in the result. 
Result so far: 7678.0
If we take 0 away from 70, we end up with 70.
Since there are no more digits in the dividend, we add a zero to the remainder making it 700, and continue the process.

Step 8:
87 goes into 700 8 times with a remainder of 4.
The next digit of our result is 8. 
Result so far: 7678.08
Deduct 696 from 700 and we're left with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Let's proceed to step 9:
87 goes into 40 0 times with a remainder of 40.
The next digit of our result is 0. 
Result so far: 7678.08
Deduct 0 from 40 and we're left with 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

Step 10:
87 can be fit into 400 4 times, resulting in a remainder of 52.
The next digit of our result is 4. 
Result so far: 7678.0804
The remainder is 52 after subtracting 348 from 400.
Since there are no more digits in the dividend, we add a zero to the remainder making it 520, and continue the process.

Moving on to step 11:
If we divide 520 by 87, we get 5 and a remainder of 85.
Use 5 as the next digit of our solution. 
Result so far: 7678.08045
Deduct 435 from 520 and we're left with 85.
Since there are no more digits in the dividend, we add a zero to the remainder making it 850, and continue the process.

Advancing to step 12:
If we divide 850 by 87, we get 9 and a remainder of 67.
Use 9 as the next digit of our solution. 
Result so far: 7678.080459
If we subtract 783 from 850, we get 67.
Since there are no more digits in the dividend, we add a zero to the remainder making it 670, and continue the process.

Let's proceed to step 13:
If we divide 670 by 87, we get 7 and a remainder of 61.
The number 7 becomes the next digit in our result. 
Result so far: 7678.0804597
The remainder is 61 after subtracting 609 from 670.
Since there are no more digits in the dividend, we add a zero to the remainder making it 610, and continue the process.

On to step 14:
87 goes into 610 7 times with a remainder of 1.
The number 7 becomes the next digit in our result. 
Result so far: 7678.08045977
If we subtract 609 from 610, we get 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

The final result is 7678.08045977 with a remainder of 1e-09.