Puzzle #426

What is the next number in this pattern?

7 7 9 27 31 155 161