I described the function several times already.
index of pair = fun(i,j,n);
triple index = fun(i,j,k,n);
quatro = fun(i,jk,l, n);
..
the solution is rather easy, but I'm very lazy... today.
8:
1,2,3,4,5,6,7,8 - 8 elements.
a,b,c,d,e,f,g,h - 8 elements too.
pairs: ab, ac, ad, ...
indexes (numbering, sequence): 1, 2, 3, ...
is this comperhandable for... human?