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.

Showing 1-2 of 2 results.

A084455 Permutation of Z, obtained by reflecting the juggling sequence A084452 from positive to negative numbers (with zero thrown at beat 0), folded to N with functions N2Z and Z2N.

Original entry on oeis.org

1, 10, 2, 12, 4, 14, 6, 8, 9, 20, 3, 22, 5, 24, 7, 16, 17, 18, 19, 32, 11, 28, 13, 34, 15, 26, 27, 38, 23, 30, 31, 44, 21, 46, 25, 36, 37, 50, 29, 40, 41, 42, 43, 58, 33, 52, 35, 48, 49, 62, 39, 64, 47, 54, 55, 56, 57, 72, 45, 60, 61, 74, 51, 76, 53, 66, 67, 68, 69, 70, 71, 86
Offset: 1

Views

Author

Antti Karttunen, Jun 02 2003

Keywords

Comments

This permutation consists of three infinite cycles + infinite number of fixed points.

Crossrefs

Programs

  • Maple
    [seq(Z2N(A084455_Z2Z(N2Z(n))),n=1..45)];
    N2Z := n -> ((-1)^n)*floor(n/2);
    Z2N := z -> 2*abs(z)+`if`((z < 1),1,0);
    A084455_Z2Z := z -> z+`if`((z > 0), A084452(z),`if`((z >= -3),2*(-z), A084452(A084454((-z)-3))));

A084453 a(n) = n + A084452(n) - 3.

Original entry on oeis.org

2, 3, 4, 1, 7, 8, 9, 5, 6, 13, 11, 14, 10, 16, 12, 19, 20, 15, 22, 17, 18, 26, 23, 21, 28, 29, 24, 25, 33, 27, 34, 35, 30, 31, 32, 40, 41, 42, 36, 37, 38, 39, 48, 45, 49, 43, 44, 52, 46, 47, 56, 54, 50, 51, 59, 53, 61, 55, 64, 57, 58, 67, 60, 69, 62, 63, 73, 65, 66, 74, 68, 76
Offset: 1

Views

Author

Antti Karttunen, Jun 02 2003

Keywords

Crossrefs

Showing 1-2 of 2 results.