I have a range of sums between $50$ and $100$
I need to determine how many possible combinations of $5$ unique selections between $1$ and $69$ will add up to a number this range.
So, for instance, let's say one possible combination would be: $1+17+20+25+30 = 93$ or $1+2+3+4+45 = 55$
How would I determine the $5$ unique selections to generate a sum within an acceptable range of between $50$ and $100$?
I know I've learned some of this before, but I can't find the right nomenclature for my searches so I can relearn it.
$\newcommand{\bbx}[1]{\,\bbox[15px,border:1px groove navy]{\displaystyle{#1}}\,} \newcommand{\braces}[1]{\left\lbrace\,{#1}\,\right\rbrace} \newcommand{\bracks}[1]{\left\lbrack\,{#1}\,\right\rbrack} \newcommand{\dd}{\mathrm{d}} \newcommand{\ds}[1]{\displaystyle{#1}} \newcommand{\expo}[1]{\,\mathrm{e}^{#1}\,} \newcommand{\ic}{\mathrm{i}} \newcommand{\mc}[1]{\mathcal{#1}} \newcommand{\mrm}[1]{\mathrm{#1}} \newcommand{\pars}[1]{\left(\,{#1}\,\right)} \newcommand{\partiald}[3][]{\frac{\partial^{#1} #2}{\partial #3^{#1}}} \newcommand{\root}[2][]{\,\sqrt[#1]{\,{#2}\,}\,} \newcommand{\totald}[3][]{\frac{\mathrm{d}^{#1} #2}{\mathrm{d} #3^{#1}}} \newcommand{\verts}[1]{\left\vert\,{#1}\,\right\vert}$ $$ \left\{\begin{array}{rll} \ds{\left. 1\right)} & \mbox{Choose any}\ \ds{5}\ \mbox{numbers}\ \in\ \mathbb{N}_{\ 1\ \leq\ ?\ \leq\ 69}\ \mbox{such that their sum is}\ \ds{s}: & \ds{\sum_{n_{1} = 1}^{69}\ldots\sum_{n_{5} = 1}^{69} \bracks{\sum_{i = 1}^{5}n_{i} = s}} \\ &\ds{\bracks{\cdots}}\ \mbox{is the}\ Iverson\ Bracket:\ \ds{\bracks{P} = 1}\ \mbox{whenever}\ \ds{P}\ \mbox{is}\ true \\ &\mbox{and}\ \ds{0}\ otherwise.& \\[5mm] \ds{\left. 2\right)} & \mbox{Sum the above expression over all the values of} \\ &\ds{s = 50,51,\ldots,99,100.}& \end{array}\right. $$
\begin{align} &\bbox[10px,#ffd]{\ds{\sum_{s = 50}^{100}\braces{% \sum_{n_{1} = 1}^{69}\ldots\sum_{n_{5} = 1}^{69} \bracks{\sum_{i = 1}^{5}n_{i} = s}}}} = \sum_{s = 50}^{100}\braces{\sum_{n_{1} = 1}^{69}\ldots \sum_{n_{5} = 1}^{69}\bracks{z^{s}}z^{\sum_{i = 1}^{5}n_{i}}} \\[5mm] = &\ \sum_{s = 50}^{100}\bracks{z^{s}}\pars{\sum_{n = 1}^{69}z^{n}}^{5} = \sum_{s = 50}^{100}\bracks{z^{s}}\pars{z\,{z^{69} - 1 \over z - 1}}^{5} = \sum_{s = 45}^{95}\bracks{z^{s}}{\pars{1 - z^{69}}^{5} \over \pars{1 - z}^{5}} \\[5mm] = &\ \sum_{s = 45}^{95}\bracks{z^{s}}{1 - 5z^{69} \over \pars{1 - z}^{5}} = \sum_{s = 45}^{95}\bracks{z^{s}}\pars{1 - z}^{-5} - 5\sum_{s = 45}^{95}\bracks{z^{s}}z^{69}\pars{1 - z}^{-5} \\[5mm] = &\ \sum_{s = 45}^{95}\bracks{z^{s}}\sum_{k = 0}^{\infty}{-5 \choose k}\pars{-z}^{k} - 5\sum_{s = 45}^{95}\bracks{z^{s}}z^{69} \sum_{k = 0}^{\infty}{-5 \choose k}\pars{-z}^{k} \\[5mm] = &\ \sum_{s = 45}^{95}{-5 \choose s}\pars{-1}^{s} - 5\sum_{s = 45}^{95}\bracks{s \geq 69}{-5 \choose s - 69}\pars{-1}^{s - 69} = \sum_{s = 45}^{95}{s + 4 \choose 4} - 5\sum_{s = 69}^{95}{s - 65 \choose 4} \\[5mm] & = \sum_{s = 0}^{50}{s + 49 \choose 4} - 5\sum_{s = 0}^{26}{s + 4 \choose 4} \end{align}
Then, $$ \bbx{\bbox[10px,#ffd]{\ds{\sum_{s = 50}^{100}\braces{% \sum_{n_{1} = 1}^{69}\ldots\sum_{n_{5} = 1}^{69} \bracks{\sum_{i = 1}^{5}n_{i} = s}}}} = 72\ 531\ 081} $$