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-10 of 10 results.

A071666 Permutation A057506 applied four times ("^4"), permutation A071662 squared.

Original entry on oeis.org

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

Views

Author

Antti Karttunen, May 30 2002

Keywords

Crossrefs

Inverse permutation: A071665 and also its car/cdr-flipped conjugate, i.e. A071666(n) = A057163(A071665(A057163(n))) = A057506(A071664(n)) = A071662(A071662(n)). Cf. also A071662, A071668, A071670.

A071670 Permutation A057506 applied six times ("^6"), permutation A071662 cubed, permutation A071664 squared.

Original entry on oeis.org

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

Views

Author

Antti Karttunen, May 30 2002

Keywords

Crossrefs

Inverse permutation: A071669 and also its car/cdr-flipped conjugate, i.e. A071670(n) = A057163(A071669(A057163(n))) = A057506(A071668(n)) = A071662(A071662(A071662(n))) = A071664(A071664(n)). Cf. also A071666.

A126312 Fixed points of permutation A071661/A071662.

Original entry on oeis.org

0, 1, 2, 3, 4, 8, 9, 22, 23, 30, 55, 64, 65, 98, 158, 196, 197, 318, 484, 625, 626, 687, 1042, 1549, 1973, 2055, 2056, 2376, 3471, 5113, 6558, 6917, 6918, 8191, 11763, 17268, 22277, 23713, 23714, 24331, 28360, 40491, 59362, 76942, 81754, 82499
Offset: 0

Views

Author

Antti Karttunen, Jan 16 2007

Keywords

Comments

Those i for which A071661(i)=i, i.e. for which A057163(A057164(i)) = A057164(A057163(i)). These appear to consist of just those general plane trees which are symmetric and will stay symmetric also after the underlying plane binary tree has been reflected, i.e. for which A057164(i)=i and A057164(A057163(i)) = A057163(i). See comments at A123050 and A080070. The sequence seems to give also the fixed points of the permutation A125977/A125978.

A089403 Least common multiple of all cycle sizes in range [A014137(n-1)..A014138(n-1)] of permutation A071661/A071662.

Original entry on oeis.org

1, 1, 1, 3, 3, 15, 60, 360, 7560, 582120, 7567560, 141965858433999600
Offset: 0

Views

Author

Antti Karttunen, Nov 29 2003

Keywords

Crossrefs

A057506 Signature-permutation of a Catalan Automorphism: (inverse of) "Donaghey's map M", acting on the parenthesizations encoded by A014486.

Original entry on oeis.org

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

Views

Author

Antti Karttunen, Sep 03 2000

Keywords

Comments

This is inverse of A057505, which is a signature permutation of Catalan automorphism (bijection) known as "Donaghey's map M". See A057505 for more comments, links and references.

Crossrefs

Inverse: A057505.
Cf. A057161, A057162, A057163, A057164, A057501, A057502, A057503, A057504 (for similar signature permutations of simple Catalan automorphisms).
Cf. A057507 (cycle counts).
The 2nd, 3rd, 4th, 5th and 6th "powers" of this permutation: A071662, A071664, A071666, A071668, A071670.
Row 12 of table A122287.

Programs

  • Maple
    map(CatalanRankGlobal,map(DonagheysA057506,CatalanSequences(196))); # Where CatalanSequences(n) gives the terms A014486(0..n).
    DonagheysA057506 := n -> pars2binexp(deepreverse(DonagheysA057505(deepreverse(binexp2pars(n)))));
    DonagheysA057505 := h -> `if`((0 = nops(h)), h, [op(DonagheysA057505(car(h))), DonagheysA057505(cdr(h))]);
    # The following corresponds to automorphism A057164:
    deepreverse := proc(a) if 0 = nops(a) or list <> whattype(a) then (a) else [op(deepreverse(cdr(a))), deepreverse(a[1])]; fi; end;
    # The rest of required Maple-functions: see the given OEIS Wiki page.
  • Scheme
    (define (A057506 n) (CatalanRankSexp (*A057506 (CatalanUnrankSexp n))))
    (define (*A057506 bt) (let loop ((lt bt) (nt (list))) (cond ((not (pair? lt)) nt) (else (loop (cdr lt) (cons nt (*A057506 (car lt))))))))
    ;; Functions CatalanRankSexp and CatalanUnrankSexp can be found at OEIS Wiki page.

Formula

a(n) = A057163(A057164(n)).

Extensions

Entry revised by Antti Karttunen, May 30 2017

A071661 Permutation A057505 applied twice ("squared").

Original entry on oeis.org

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

Views

Author

Antti Karttunen, May 30 2002

Keywords

Crossrefs

Inverse permutation: A071662 and also its car/cdr-flipped conjugate, i.e. A071661(n) = A057163(A071662(A057163(n))) = A057505(A057505(n)). Cf. also A071663, A071665, A071667, A071669.

A071668 Permutation A057506 applied five times ("^5").

Original entry on oeis.org

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

Views

Author

Antti Karttunen, May 30 2002

Keywords

Crossrefs

Inverse permutation: A071667 and also its car/cdr-flipped conjugate, i.e. A071668(n) = A057163(A071667(A057163(n))) = A057506(A071666(n)). Cf. also A071662, A071664, A071670.

A071664 Permutation A057506 applied three times ("cubed").

Original entry on oeis.org

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

Views

Author

Antti Karttunen, May 30 2002

Keywords

Crossrefs

Inverse permutation: A071663 and also its car/cdr-flipped conjugate, i.e. A071664(n) = A057163(A071663(A057163(n))) = A057506(A071662(n)). Cf. also A071666, A071668, A071670.

A083929 Inverse function of N -> N injection A083930.

Original entry on oeis.org

0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
Offset: 0

Views

Author

Antti Karttunen, May 13 2003

Keywords

Comments

a(0)=0 because A083930(0)=0, but a(n) = 0 also for those n which do not occur as values of A083930. All positive natural numbers occur here once.
It appears that A071661(n) = A083929(A071663(A083930(n))) and A071662 = A083929(A071664(A083930(n))).

Crossrefs

a(A080930(n)) = n for all n. Cf. A083925-A083928, A083935.

Formula

a(n) = A083927(A083925(n)).

A079437 Number of cycles in range [A014137(n-1)..A014138(n-1)] of permutation A071661.

Original entry on oeis.org

1, 1, 2, 3, 6, 16, 36, 83, 190, 448, 1056, 2514, 5872, 13806, 32424, 76609, 181434, 432062, 1032716
Offset: 0

Views

Author

Antti Karttunen, Jan 27 2003

Keywords

Comments

That is, number of orbits to which "Catalan bijections" A071661/A071662 partition each A000108(n) Catalan tree structures encoded in A014486[A014137(n-1)..A014138(n-1)].

Crossrefs

Occurs in A073201 as row 13373289.
Showing 1-10 of 10 results.