Question: How do i get equation from a sequence

Hi

I have this sequence which I would like to find an equation f(n) (using RSolve?).

the independant variable is n.

n=4,5,6....inf (incrementing by 1)

f(n)=2,3,3,3,4,5,5,5,6,7,7,7,8,9,9,9,10,11,11,11,12...etc

(an even number followed by three subsequent odds and so forth)

thanks!

 

Please Wait...