login
A060498
Each permutation in the list A060117 converted to Site Swap notation, with digits reversed and inverted. "Zero throws" (fixed elements) indicated with 0's.
11
0, 11, 120, 222, 201, 111, 1300, 1313, 2330, 3333, 3302, 2312, 2020, 3023, 1120, 1223, 2222, 3122, 3001, 2011, 3131, 2231, 1201, 1111, 14000, 14014, 14140, 14244, 14203, 14113, 24400, 24414, 34440, 44444, 44403, 34413, 34030, 44034, 24130
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) = SiteSwap3ToDec(Perm2SiteSwap1(PermUnrank3R(n))).
MAPLE
SiteSwap3ToDec := proc(s) local i, z, n; n := nops(s); z := 0; for i from n by -1 to 1 do z := 10*z; if(s[i] > 0) then z := z + (n-s[i]); fi; od; RETURN(z); end;
CROSSREFS
Cf. A060495, A060496, A060499. Average of digits gives number of balls: A060502.
Sequence in context: A354906 A060499 A164828 * A274119 A171316 A081122
KEYWORD
nonn
AUTHOR
Antti Karttunen, Mar 22 2001
STATUS
approved