I have to find a specific $g(n)$ such that $f(n)=\Theta(g(n))$.
$$f(n) = \sum_{i=1}^n3(4^i)+3(3^i)-i^{19}+20$$ I suppose that this can be solved as integrating this formula, but i don't know how and why we can make transition between sum and integral.
$$\lim_{n\to \infty}\sum_{i=1}^n3(4^i)+3(3^i)-i^{19}+20 \to \int ?$$
I know some basics of Riemann's transition from sum to integral with dx, but don't know what to do in this case.
UPD.1
$f(n)=\Theta(g(n))$ means that there exist $c_1 > 0, c_2 > 0$ such that $$c_1g(n)\le f(n) \le c_2g(n)$$ where $n>n_1$