I should have known about this for a while, but I recently learned that I could use seq to generate a sequence of numbers. It has options for doing things like only outputting even numbers in the generated sequences, and more. Great for used in bash loops.