We look at the division of 997717 by 67 
The aim is to understand the frequency of 67 in 997717.

Going ahead to step 1:
67 goes into 9 0 times with a remainder of 9.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 9 and we're left with 9.
Fetch the next digit (9) from the dividend, attach it to 9 and continue: 99 / 67

Going ahead to step 2:
67 can be fit into 99 1 times, resulting in a remainder of 32.
Put 1 as the next digit of the answer. 
Result so far: 1.0
If we subtract 67 from 99, we get 32.
Include the next digit (7) from the dividend after 32, then repeat: 327 / 67

Going ahead to step 3:
When dividing 327 by 67, we get 4 with a remainder of 59.
Record the quotient 4 as the next digit in the result. 
Result so far: 14.0
If we take 268 away from 327, we end up with 59.
Take the next digit (7) from the dividend and append it to 59, then repeat: 597 / 67

Going ahead to step 4:
67 can be fit into 597 8 times, resulting in a remainder of 61.
Use 8 as the next digit of our solution. 
Result so far: 148.0
If we take 536 away from 597, we end up with 61.
Fetch the next digit (1) from the dividend, attach it to 61 and continue: 611 / 67

Let's proceed to step 5:
67 goes into 611 9 times with a remainder of 8.
Write down 9 as next digit of the result. 
Result so far: 1489.0
Subtract 603 from 611 to get 8.
Take the next digit (7) from the dividend and append it to 8, then repeat: 87 / 67

On to step 6:
When dividing 87 by 67, we get 1 with a remainder of 20.
Record the quotient 1 as the next digit in the result. 
Result so far: 14891.0
Subtract 67 from 87 to get 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Step 7:
67 can be fit into 200 2 times, resulting in a remainder of 66.
The next digit of our result is 2. 
Result so far: 14891.2
Deduct 134 from 200 and we're left with 66.
Since there are no more digits in the dividend, we add a zero to the remainder making it 660, and continue the process.

On to step 8:
When dividing 660 by 67, we get 9 with a remainder of 57.
The next digit of our result is 9. 
Result so far: 14891.29
Subtracting 603 from 660 leaves us with 57.
Since there are no more digits in the dividend, we add a zero to the remainder making it 570, and continue the process.

On to step 9:
If we divide 570 by 67, we get 8 and a remainder of 34.
Put 8 as the next digit of the answer. 
Result so far: 14891.298
Subtracting 536 from 570 leaves us with 34.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

Going ahead to step 10:
67 can be fit into 340 5 times, resulting in a remainder of 5.
Put 5 as the next digit of the answer. 
Result so far: 14891.2985
Subtract 335 from 340 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.

Moving on to step 11:
If we divide 50 by 67, we get 0 and a remainder of 50.
Record the quotient 0 as the next digit in the result. 
Result so far: 14891.2985
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.

Advancing to step 12:
500 divided by 67 is 7 with a remainder of 31.
The next digit of our result is 7. 
Result so far: 14891.298507
If we take 469 away from 500, we end up with 31.
Since there are no more digits in the dividend, we add a zero to the remainder making it 310, and continue the process.

Step 13:
67 can be fit into 310 4 times, resulting in a remainder of 42.
Write down 4 as next digit of the result. 
Result so far: 14891.2985074
Deduct 268 from 310 and we're left with 42.
Since there are no more digits in the dividend, we add a zero to the remainder making it 420, and continue the process.

On to step 14:
420 divided by 67 is 6 with a remainder of 18.
The next digit of our result is 6. 
Result so far: 14891.29850746
If we subtract 402 from 420, we get 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

The quotient of the division is 14891.29850746, and the remainder is 1.8e-08.