Hello, does anyone know how to solve this? I keep getting it wrong on my homework, thanks!Find the first term of the sequence given by the following~n= 1, 2, 3...an = 5(3)^n-1 I attached an image to this question.

Given the nth term of the required sequence expressed according to the equation:
[tex]a_n=5(3)^{n-1}[/tex]You need to get the first four terms of the sequence as shown:
For the first term, when n = 1
[tex]\begin{gathered} a_1=5(3)^{1-1} \\ a_1=5(3)^0 \\ a_1=5(1) \\ a_1=5 \end{gathered}[/tex]For the second term, when n = 2
[tex]\begin{gathered} a_2=5(3)^{2-1} \\ a_2=5(3)^1 \\ a_2=5(3)_{} \\ a_2=15 \end{gathered}[/tex]For the third term, when n = 3
[tex]\begin{gathered} a_3=5(3)^{3-1} \\ a_3=5(3)^2 \\ a_3=5(9) \\ a_3=45 \end{gathered}[/tex]For the fourth term, when n = 4
[tex]\begin{gathered} a_4=5(3)^{4-1} \\ a_4=5(3)^3 \\ a_4=5(27) \\ a_4=135 \end{gathered}[/tex]Therefore the first four terms of the sequence will be 5, 15, 45 and 135