Write as a Function of n a(n)=3n-20