Question : How long do most people visit Portland?
Answer : Of course you're not most people, but if you were, you'd stay roughly 20 days.
Question : If your plans are flexible, have you considered changing your departure day?
Answer : In October, the cheapest day to fly is Tuesday. Having flexibility in your travel plans means you can save more, so be sure to plan ahead when possible.