OFFSET
0,2
COMMENTS
This sequence is not well-defined for n >= 3628800 because the Site Swap notation can contain values exceeding 9, for example, the Site Swap notation for a(3628800) is [0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 10]. - Sean A. Irvine, Nov 25 2022
FORMULA
a(n) = SiteSwap2ToDec(Perm2SiteSwap1(PermUnrank3R(n))).
MAPLE
SiteSwap2ToDec := proc(s) local i, z; z := 0; for i from nops(s) by -1 to 1 do z := 10*z + s[i]; od; RETURN(z); end;
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Antti Karttunen, Mar 21 2001
STATUS
approved