Let's analyze the pattern in the sequence:
- From 3 to 4, the difference is +(1)
- From 4 to 7, the difference is +(3)
- From 7 to 8, the difference is +(1)
- From 8 to 11, the difference is +(3)
- From 11 to 12, the difference is +(1)
The differences alternate between +1 and +(3)
Following this pattern, the next difference should be +3:
\[
12 + 3 = 15
\]
Thus, the missing number is \( \boxed{15} \).
Therefore, the correct answer is \( \boxed{4} \).