OFFSET
1,6
COMMENTS
Elements (1,1) and (j,k) which always remain at their old position are not counted. See A093055 for details of storage, another example, references and links.
FORMULA
T(j, k)=gcd(j-1, k-1)-1.
EXAMPLE
a(8)=T(3,5)=1 because there is one fixed element at position 8 in the transposition from
(1 2 3 4 5)(6 7 8 9 10)(11 12 13 14 15) ->
(1 6 11)(2 7 12)(3 8 13)(4 9 14)(5 10 15). The fixed first and last elements 1 and 15 are not counted.
CROSSREFS
KEYWORD
nonn,tabl
AUTHOR
Hugo Pfoertner, Mar 22 2004
STATUS
approved