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.

A082358 Permutation of natural numbers: composition of permutations A057163 & A082356.

Original entry on oeis.org

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

Views

Author

Antti Karttunen, Apr 17 2003

Keywords

Comments

This is the signature-permutation of Catalan automorphism which is derived from nonrecursive Catalan automorphism *A123496 with the recursion schema FORK (defined in A122201). - Antti Karttunen, Oct 11 2006

Crossrefs

Inverse of A082357. Cf. also A082359-A082360.
See the Wolframesque plots of A122242 and A122245.
Row 65796 of table A122201.

Formula

a(n) = A057163(A082356(n))

A082364 Permutation of natural numbers induced by the contraction of Catalan bijection signature-permutation A082356.

Original entry on oeis.org

0, 1, 3, 4, 2, 8, 9, 12, 13, 11, 5, 6, 7, 10, 22, 23, 26, 27, 25, 35, 36, 40, 41, 39, 31, 32, 34, 38, 14, 15, 17, 18, 16, 19, 20, 21, 24, 28, 29, 33, 37, 30, 64, 65, 68, 69, 67, 77, 78, 82, 83, 81, 73, 74, 76, 80, 105, 106, 110, 111, 109, 124, 125, 130, 131, 129, 119, 120, 123
Offset: 0

Views

Author

Antti Karttunen, Apr 17 2003

Keywords

Crossrefs

Compare to the plot of A038776.
Inverse of A082363. Cf. also A082361-A082362.

Formula

a(n) = A082853(A082356(A081291(n))).

A089426 Number of cycles in range [A014137(n-1)..A014138(n-1)] of permutation A082355/A082356.

Original entry on oeis.org

1, 1, 2, 3, 6, 8, 14, 19, 24, 30, 40, 46, 58, 78, 84, 97, 116, 144, 170, 194, 224
Offset: 0

Views

Author

Antti Karttunen, Nov 29 2003

Keywords

Comments

The number of orbits to which the corresponding automorphism(s) partitions the set of A000108(n) binary trees with n internal nodes.

A089427 Maximum cycle size in range [A014137(n-1)..A014138(n-1)] of permutation A082355/A082356.

Original entry on oeis.org

1, 1, 1, 3, 4, 18, 33, 161, 433, 1705, 10789, 29157, 88720, 490289, 1881309, 4731356, 17455195, 36595263, 178053588, 405917904, 3256229459
Offset: 0

Views

Author

Antti Karttunen, Nov 29 2003

Keywords

A089428 Least common multiple of all cycle sizes in range [A014137(n-1)..A014138(n-1)] of permutation A082355/A082356.

Original entry on oeis.org

1, 1, 1, 3, 12, 180, 1492920, 8893324440, 284424639188409720
Offset: 0

Views

Author

Antti Karttunen, Nov 29 2003

Keywords

A122201 Signature permutations of FORK-transformations of non-recursive Catalan automorphisms in table A089840.

Original entry on oeis.org

0, 1, 0, 2, 1, 0, 3, 3, 1, 0, 4, 2, 2, 1, 0, 5, 8, 3, 2, 1, 0, 6, 7, 4, 3, 2, 1, 0, 7, 6, 6, 5, 3, 2, 1, 0, 8, 5, 5, 4, 5, 3, 2, 1, 0, 9, 4, 7, 6, 6, 6, 3, 2, 1, 0, 10, 22, 8, 7, 4, 5, 6, 3, 2, 1, 0, 11, 21, 9, 8, 7, 4, 4, 4, 3, 2, 1, 0, 12, 20, 11, 12, 8, 7, 5, 5, 4, 3, 2, 1, 0, 13, 18, 14, 13, 12
Offset: 0

Views

Author

Antti Karttunen, Sep 01 2006

Keywords

Comments

Row n is the signature permutation of the Catalan automorphism which is obtained from the n-th nonrecursive automorphism in the table A089840 with the recursion scheme "FORK". In this recursion scheme the given automorphism is first applied at the root of binary tree, before the algorithm recurses down to the both branches (new ones, possibly changed by the given automorphism). I.e. this corresponds to the pre-order (prefix) traversal of a Catalan structure, when it is interpreted as a binary tree. The associated Scheme-procedures FORK and !FORK can be used to obtain such a transformed automorphism from any constructively or destructively implemented automorphism. Each row occurs only once in this table. Inverses of these permutations can be found in table A122202.

References

  • A. Karttunen, paper in preparation, draft available by e-mail.

Crossrefs

The first 22 rows of this table: row 0 (identity permutation): A001477, 1: A057163, 2: A057511, 3: A122341, 4: A122343, 5: A122345, 6: A122347, 7: A122349, 8: A082325, 9: A082360, 10: A122291, 11: A122293, 12: A074681, 13: A122295, 14: A122297, 15: A122353, 16: A122355, 17: A074684, 18: A122357, 19: A122359, 20: A122361, 21: A122301. Other rows: row 4253: A082356, row 65796: A082358, row 79361: A123493.

Programs

  • Scheme
    (define (FORK foo) (letrec ((bar (lambda (s) (let ((t (foo s))) (if (pair? t) (cons (bar (car t)) (bar (cdr t))) t))))) bar))
    (define (!FORK foo!) (letrec ((bar! (lambda (s) (cond ((pair? s) (foo! s) (bar! (car s)) (bar! (cdr s)))) s))) bar!))

A082355 Permutation of natural numbers induced by Catalan Automorphism *A082355 acting on the parenthesizations encoded by A014486/A063171.

Original entry on oeis.org

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

Views

Author

Antti Karttunen, Apr 17 2003

Keywords

Comments

This bijection maps between the "standard" ordering of binary trees as encoded by A014486 and "variant B quaternary encoding" as explained in the sequence A085184.

Crossrefs

Inverse of A082356. a(n) = A082357(A057163(n)). a(n) = A082363(A082853(n))+A082852(n). Cf. also A082351-A082352, A082357-A082358.
Differs from A057118 first time at n=42: a(42)=56, while A057118(42)=58.

A082351 Permutation of natural numbers induced by the Catalan bijection gma082351 acting on the parenthesizations encoded by A014486/A063171.

Original entry on oeis.org

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

Views

Author

Antti Karttunen, Apr 17 2003

Keywords

Crossrefs

A082352 Permutation of natural numbers induced by the Catalan bijection gma082352 acting on the parenthesizations encoded by A014486/A063171.

Original entry on oeis.org

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

Views

Author

Antti Karttunen, Apr 17 2003

Keywords

Crossrefs

A085184 Sequence A085183 shown in base 4. Quaternary code for binary trees.

Original entry on oeis.org

0, 1, 2, 11, 12, 21, 22, 30, 111, 112, 121, 122, 130, 211, 212, 221, 222, 230, 301, 302, 310, 320, 1111, 1112, 1121, 1122, 1130, 1211, 1212, 1221, 1222, 1230, 1301, 1302, 1310, 1320, 2111, 2112, 2121, 2122, 2130, 2211, 2212, 2221, 2222, 2230, 2301, 2302
Offset: 1

Views

Author

Antti Karttunen, Jun 14 2003

Keywords

Comments

This sequence gives two alternative ways to encode rooted plane binary trees (Stanley's interpretation 'c' = interpretation 'd' without the outermost edges):
A: scan each term from left to right and for each 0, add a leaf node to the tree (terminate a branch), for each 1, add a leftward leaning branch \, for each 2, add a rightward leaning branch / and for each 3, add a double-branch \/ and continue in left-to-right, depth-first fashion.
B: Like method A, but the roles of digits 1 and 2 are swapped. When one compares the generated trees to the "standard order" as specified in the illustrations for A014486, one obtains the permutation A074684/A074683 for the case A and A082356/A082355 for the case B.
If we assign the following weights for each digit: w(0) = -1, w(1) = w(2) = 0, w(3) = +1, then the sequence gives all base-4 numbers for which all the partial sums of digit weights (from the most significant to the least significant end) are nonnegative and the final sum is zero. The initial term 0 is considered to have no significant digits at all, so its total weight is zero also.

Examples

			For the first eleven terms the following binary trees are constructed with method A. With method B we would get their mirror images, although this doesn't hold in general (e.g. for terms like 301-320).
........................................................\......./......\...
.....................\......./.......\......./...........\......\....../...
..*......\....../.....\......\......./....../.....\/......\......\.....\...
..0......1......2.....11.....12.....21.....22.....30....111....112....121..
		

Crossrefs

Cf. A085185. Number of terms with n significant digits is given by A000108(n+1).

Formula

a(n) = A007090(A085183(n)).
Showing 1-10 of 10 results.