Given $p$,$x$ and $n$ , I have to calculate(find a closed form for the following four series) :
1) $p^1+p^2+p^3+.......+p^n$
2) $p^1(p^1-1) +p^2(p^2-1)+p^3(p^3-1)+.......+p^n(p^n-1)$
3) $p^1(p^1-1)(p^1-2)(p^1-3) +p^2(p^2-1)(p^2-2)(p^2-3)+p^3(p^3-1)(p^3-2)(p^3-3)+.......+p^n(p^n-1)(p^n-2)(p^n-3)$
4) $p^1(p^1-1)(p^1-2)(p^1-3)....(p^1-x) +p^2(p^2-1)(p^2-2)(p^2-3)........(p^2-x)...+p^3(p^3-1)(p^3-2)(p^3-3)......(p^3-x)+............+p^n(p^n-1)(p^n-2)(p^n-3)........(p^n-x)$
I was able to calculate the first two series using sum of G.P. method. Looking for the solution of last 2 series.