cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

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.

Original entry on oeis.org

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

Views

Author

Antti Karttunen, Mar 22 2001

Keywords

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

Crossrefs

Cf. A060495, A060496, A060499. Average of digits gives number of balls: A060502.

Programs

  • 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;

Formula

a(n) = SiteSwap3ToDec(Perm2SiteSwap1(PermUnrank3R(n))).