Find the missing number?

7
11
2
17

The missing number is 11.

The numbers in the sequence are all prime numbers, except for 10, which is a composite number. The next prime number after 10 is 11.

A prime number is a natural number greater than 1 that is not a product of two smaller natural numbers. A composite number is a natural number greater than 1 that is not prime.