The rule for the pattern is:
-- Double the previous term.
-- Subtract 1 from the previous term.
-- Double the previous term.
-- Subtract 1 from the previous term.
-- Double the previous term.
-- Subtract 1 from the previous term.
.
.
.
etc.
So after 17, the next two terms are 34 and 33 .