I thought of this question:
Consider you have a number line that starts at $0$ and ends at $n$ where $n>0$. Consider there are $k$ number of points on this number line which are said to be lucky, that is $\{a_1,a_2,\ldots,a_k\}$, where all of them are non-negative. Find the number of ways to color a strip or segment of this number line with a paint, so that you paint at least $2$ lucky numbers. The paint begins at a integer point and ends at integer point and your boundary's are $0$ and $n$ (you can color both of them).
For example:
If $n=3$ and $a_1=0$, $a_2=1$, $a_3=2$,
then number of ways is $5$.
Can anybody help me?