FUNCTION: BnTranspoPalin - image of a simple reflection in S(2n)
CALLING SEQUENCE:
- BnTranspoPalin(i, n)
- BN[BnTranspoPalin](i, n)
-
PARAMETERS:
- n = any positive integer
- i = any non negative integer
SYNOPSIS:
- The BnTranspoPalin function returns a generator of B(n). The result
is an element of B(n) embedded into S(2*n), as a palindromic permutation.
- BnTranspoPalin(0, n) = [1, ..., n+1, n, ..., 2*n].
- BnTranspoPalin(i, n) = [1, ..., n-i+1, n-i, ..., n+i+1, n+i, ..., 2*n].
- Whenever there is a conflict between the function name BnTranspoPalin
and another name used in the same session, use the long form
BN['BnTranspoPalin'].
EXAMPLES:
> with(BN):
> BnTranspoPalin(1, 3);
[1, 3, 2, 5, 4, 6]
SEE ALSO: