Report question

Question: More elegant way to return a sequence of numbers based on booleans?