We look at the division of 2218255 by 664 
The aim is to understand the frequency of 664 in 2218255.

Advancing to step 1:
If we divide 2 by 664, we get 0 and a remainder of 2.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 2 and we're left with 2.
Grab the next digit (2) from the dividend, add it to 2, then carry on: 22 / 664

Going ahead to step 2:
22 divided by 664 is 0 with a remainder of 22.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtracting 0 from 22 leaves us with 22.
Take the next digit (1) from the dividend and append it to 22, then repeat: 221 / 664

Going ahead to step 3:
664 can be fit into 221 0 times, resulting in a remainder of 221.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtracting 0 from 221 leaves us with 221.
Include the next digit (8) from the dividend after 221, then repeat: 2218 / 664

Going ahead to step 4:
The number 664 fits into 2218 3 times, leaving a remainder of 226.
The number 3 becomes the next digit in our result. 
Result so far: 3.0
Deduct 1992 from 2218 and we're left with 226.
Include the next digit (2) from the dividend after 226, then repeat: 2262 / 664

Moving on to step 5:
The number 664 fits into 2262 3 times, leaving a remainder of 270.
The number 3 becomes the next digit in our result. 
Result so far: 33.0
If we take 1992 away from 2262, we end up with 270.
Take the next digit (5) from the dividend and append it to 270, then repeat: 2705 / 664

Step 6:
If we divide 2705 by 664, we get 4 and a remainder of 49.
Record the quotient 4 as the next digit in the result. 
Result so far: 334.0
If we take 2656 away from 2705, we end up with 49.
Take the next digit (5) from the dividend and append it to 49, then repeat: 495 / 664

Step 7:
664 goes into 495 0 times with a remainder of 495.
Record the quotient 0 as the next digit in the result. 
Result so far: 3340.0
Subtract 0 from 495 to get 495.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4950, and continue the process.

Step 8:
When dividing 4950 by 664, we get 7 with a remainder of 302.
The next digit of our result is 7. 
Result so far: 3340.7
Subtracting 4648 from 4950 leaves us with 302.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3020, and continue the process.

Moving on to step 9:
3020 divided by 664 is 4 with a remainder of 364.
The next digit of our result is 4. 
Result so far: 3340.74
Subtract 2656 from 3020 to get 364.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3640, and continue the process.

Going ahead to step 10:
3640 divided by 664 is 5 with a remainder of 320.
Use 5 as the next digit of our solution. 
Result so far: 3340.745
Subtracting 3320 from 3640 leaves us with 320.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3200, and continue the process.

Step 11:
When dividing 3200 by 664, we get 4 with a remainder of 544.
Use 4 as the next digit of our solution. 
Result so far: 3340.7454
The remainder is 544 after subtracting 2656 from 3200.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5440, and continue the process.

Step 12:
5440 divided by 664 is 8 with a remainder of 128.
Use 8 as the next digit of our solution. 
Result so far: 3340.74548
Deduct 5312 from 5440 and we're left with 128.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1280, and continue the process.

On to step 13:
When dividing 1280 by 664, we get 1 with a remainder of 616.
Put 1 as the next digit of the answer. 
Result so far: 3340.745481
Subtracting 664 from 1280 leaves us with 616.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6160, and continue the process.

Advancing to step 14:
664 goes into 6160 9 times with a remainder of 184.
Record the quotient 9 as the next digit in the result. 
Result so far: 3340.7454819
If we subtract 5976 from 6160, we get 184.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1840, and continue the process.

Let's proceed to step 15:
664 goes into 1840 2 times with a remainder of 512.
The number 2 becomes the next digit in our result. 
Result so far: 3340.74548192
If we take 1328 away from 1840, we end up with 512.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5120, and continue the process.

The final result is 3340.74548192 with a remainder of 5.12e-07.