Let's say I have 5 variables (a,b,x,y,z).
- Each variable $\in (1,2,3,4,5,6,7,8,9,10,11,12,13,14,15)$.
- The length of each variable must be 3. So a can be e.g. ${1,2,3}$ or ${2,3,4}$ or ${3,4,5}$, etc...
- The numbers is each variable must be consecutive e.g. (5,6,7) or (11,12,13)
My question is how do I calculate the possible variations of all 5 variables combind resulting in the above. Basically, what's the number of possible combinations of n number of variables that satisfy the above rules.
This is my very first question on the math site, so im definitely not using the right terminology or tags to describe the question