Question: Find a formula for the sequence in terms of "n"

{5,1,5,1,5,1,...}

This sequence looks pretty straight forward, I mean its easy see the pattern. However, I just cant seem to come up with a formula that would work for any number "n". This is is bugging me...lol

thanks, -matt