A random variable $x$ from the set $\{1, 2, ... ,n\}. $ Let $x$ has distribution function $f(k) = Y(n) · g^k$ where $g$ is a fixed number within $0$ and $1$. Find $Y(n)$ which is a constant term in terms of n.
I do not know how to determine $Y(n)$. Can I integrate $f(k)$ ? Thank You.