There are many definitions online but they do not seem to align, or at least do not clearly correspond to, the usages I see elsewhere. For example: this website defines the difference is being $X$ refers to a set of population elements; and $x$, to a set of sample elements. $N$ refers to population size; and $n$ to sample size.
However in this post we see:
Now consider $X \sim U(0,1)$ and the sequence of random variables $X_n = \left(1 + \frac{1}{n}\right) X$. This is a sequence of RVs with $X_1 = 2X$, $X_2 = \frac{3}{2} X$, $X_3 = \frac{4}{3} X$ and so on. In what senses can we say this is getting closer to $X$ itself?
I do not understand what $X$ and $n$ mean here. I thought $X$ was a function that mapped from the sample space $\Omega$ to the reals? If that's the case what does $X_n$ mean here? Are there $n$ (the size of the sample space) possible functions that map from $\Omega$ to the reals?