What will be the next number in this pattern?

4, 10, 16, 22, __

The pattern is increasing by 6 each time. Therefore, the next number would be 22 + 6 = 28.