The set $X$ of $N$ four-digit numbers formed from the digits $1,2,3,4,5,6,7,8$ satisfies the following condition:


[i]for any two different digits from $1,2,3,4,,6,7,8$ there exists a number in $X$ which contains both of them. [/i]\\

Determine the smallest possible value of $N$.
1. **Understanding the problem**: We need to form a set \( X \) of \( N \) four-digit numbers using the digits \( 1, 2, 3, 4, 5, 6, 7, 8 \) such that for any two different digits from this set, there exists a number in \( X \) which contains both of them.

2. **Initial observation**: Each number in \( X \) is a four-digit number, and we have 8 different digits. To ensure that every pair of digits appears in at least one number, we need to consider the minimum number of such four-digit numbers.

3. **Minimum number of numbers**: Each digit must appear in at least three different numbers to ensure that all pairs are covered. This is because each digit must pair with 7 other digits, and each number can only pair a digit with 3 other digits (since each number has 4 digits).

4. **Calculating the minimum number of numbers**:
   - Each digit appears in at least 3 numbers.
   - There are 8 digits.
   - Each number has 4 digits.
   - Therefore, the total number of digits across all numbers is at least \( 3 \times 8 = 24 \).
   - Since each number has 4 digits, the minimum number of numbers is \( \frac{24}{4} = 6 \).

5. **Constructing an example with \( N = 6 \)**:
   - We need to ensure that every pair of digits appears in at least one of the numbers.
   - Consider the following set of numbers: \( 1234, 5678, 1256, 3478, 1278, 3456 \).
   - Verify that every pair of digits from \( 1, 2, 3, 4, 5, 6, 7, 8 \) appears in at least one of these numbers:
     - Pairs involving 1: \( (1,2), (1,3), (1,4), (1,5), (1,6), (1,7), (1,8) \) appear in \( 1234, 1256, 1278 \).
     - Pairs involving 2: \( (2,3), (2,4), (2,5), (2,6), (2,7), (2,8) \) appear in \( 1234, 1256, 1278 \).
     - Pairs involving 3: \( (3,4), (3,5), (3,6), (3,7), (3,8) \) appear in \( 1234, 3478, 3456 \).
     - Pairs involving 4: \( (4,5), (4,6), (4,7), (4,8) \) appear in \( 1234, 3478, 3456 \).
     - Pairs involving 5: \( (5,6), (5,7), (5,8) \) appear in \( 5678, 1256 \).
     - Pairs involving 6: \( (6,7), (6,8) \) appear in \( 5678, 1256 \).
     - Pairs involving 7: \( (7,8) \) appear in \( 5678, 1278 \).

6. **Conclusion**: The set \( X = \{1234, 5678, 1256, 3478, 1278, 3456\} \) satisfies the condition that every pair of digits appears in at least one number, and the smallest possible value of \( N \) is 6.

The final answer is \( \boxed{6} \).