I'm stuck and I was wondering if anyone could point me in the right direction
Oh, Im so sorry! I forgot to state what I'm to do with it. It asks me to find a explicit formula for the recursion
$$\begin{align*} a_1&= 3\\ a_n&= 5a_{n-1} + 12 \end{align*}$$
So i found
$$\begin{align*} a_1&=3\\ a_2&=27\\ a_3&= 147\\ a_4&= 747 \end{align*}$$
So far I'm stuck. I can try writing the summation in a different way but I just cannot figure it out
Since it’s a first-order recurrence, you can try the very elementary technique of ‘unwinding’ it:
$$\begin{align*} a_n&=5a_{n-1}+12\\ &=5(5a_{n-2}+12)+12\\ &=5^2a_{n-2}+5\cdot12+12\\ &=5^2(5a_{n-3}+12)+5\cdot12+12\\ &=5^3a_{n-3}+5^2\cdot12+5\cdot12+12\\ &\;\vdots\\ &=5^ka_{n-k}+12(5^{k-1}+5^{k-2}+\ldots+5+1)\tag{1}\\ &\;\vdots\\ &=5^{n-1}a_{n-(n-1)}+12\sum_{k=0}^{n-2}5^k\\ &=5^{n-1}a_1+12\sum_{k=0}^{n-2}5^k\\ &=3\cdot5^{n-1}+12\sum_{k=0}^{n-2}5^k\;. \end{align*}$$
You should know how to express that last summation in closed form, and when you’ve done that, you’ll have a closed form for $a_n$. Of course we guessed at a pattern in line $(1)$, so the closed form that you get should be considered a conjecture, but once you have it, it’s easy enough to prove by induction that it’s correct.
This answer illustrates another, somewhat neater technique for solving exactly this kind of recurrence.