Mathematics Quiz Competitive 12

What is the next number in the pattern: 2, 5, 10, 17, ...?