we have the sequence
4^=-1, 4^(-1/2), 1, 4^(1/2), 4
so
a1=4^-1=1/14
a2=4^(-1/2)=(1/4)^(1/2)=1/2
a3=1
a4=4^(1/2)=2
a5=4
therefore
a2/a1=(1/2)/(1/4)=2
a3/a2=1/(1/2)=2
a4/a3=2/1=2
a5/a4=4/2=2
that means
Is a geometric sequence and the common ratio is r=2
the general formula is equal to
substitute given values
a1=1/4
r=2
we have the function f(n)
Verify the outputs
For n=1
substitute
For n=2
the general expression is
Remmeber that
(1/4)=4^-1=(2^2)^-1=2^-2
substitute in the given expression
Adds the exponents
-2+(n-1)=n-3
therefore
an equivalent expression