fMakeType
For given n, the function fMakeType calculates all R-tangles of type k=0,1,2, where 0 corresponds to to type [0], 1 to the type [1], and 2 corresponds to R-tangles of type [¥].
k=