>>12846695n/3^n is a geometric function of the form sum(x^n), which sums to 1/(1-x). if you take the derivative of both sides, you will now have sum(nx^(n-1)). Multiplying both sides by x yields (nx^n), which is the form of n/3^n, with x=1/3.
apologies for formatting, i do not know latex, let me know if this makes sense