In reply to jyoveda:
Lots of missing information
- Is n a random number between 1-6 (or whatever number of indexes are in the LUT)
- Did you mean to say you can only pick one number from each index position?
- Did you mean to say the difference between adjacent elements is less than 5?