Consider the experiment of tossing a single die. Let $X$ be number of spots on up face of die after toss. Then range space of $X$ is $R_x = \{1,2,3,4,5,6\}$. The discrete probability distribution for this experiment is:
\begin{array}{ccccccc} x_i & 1 & 2 & 3 & 4 & 5 & 6 \\ p(x_i) & 1/21 & 2/21 & 3/21 & 4/21 & 5/21 &6/21 \end{array}
Now the author has given a table for the above experiment with its cdf (Cumulative distribution function), but I don't understand how it is produced. The table is
\begin{array}{ccccccc} x & (-\infty,1) & [1,2) & [2,3) & [3,4) & [4,5) & [5,6) & [6, \infty)\\ F(x) & 0 & 1/21 & 3/21 & 6/21 & 10/21 & 15/21 & 21/21 \end{array}
How is the $F(x)$ value calculated ?