For example, suppose I have a chain of 3 elements (natural numbers) and I fix N=2. What I want is to find, in form of a matrix or 2D-array, the different ways o
N=2