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

A269391 Permutation of natural numbers: a(1) = 1, a(A233271(1+n)) = 2*a(n), a(A269390(n)) = 1 + 2*a(n), where A233271 is the infinite trunk of inverted binary beanstalk and A269390 is its complement.

Original entry on oeis.org

1, 2, 3, 4, 5, 7, 6, 8, 9, 11, 15, 10, 13, 17, 14, 12, 19, 23, 31, 21, 16, 27, 35, 18, 29, 25, 39, 22, 47, 63, 30, 20, 43, 33, 55, 71, 37, 26, 59, 51, 79, 34, 45, 95, 127, 28, 61, 41, 24, 87, 67, 111, 38, 143, 75, 46, 53, 119, 103, 62, 159, 69, 42, 32, 91, 191, 255, 57, 123, 83, 54, 49, 175, 135, 70, 223, 77, 287, 36
Offset: 1

Views

Author

Antti Karttunen, Mar 05 2016

Keywords

Crossrefs

Inverse: A269392.
Cf. also A260431.
Similar or related permutations: A269397, A269401.

Formula

a(1) = 1, for n > 1, if A269381(n) - A269381(n-1) > 0 [when n is in A233271] a(n) = 2*a(A269381(n)-1), otherwise a(n) = 1 + 2*a(n-A269381(n)).
As a composition of other permutations:
a(n) = A269401(A269397(n)).

A269392 Permutation of natural numbers: a(1) = 1, a(2n) = A233271(1+a(n)), a(2n+1) = A269390(a(n)).

Original entry on oeis.org

1, 2, 3, 4, 5, 7, 6, 8, 9, 12, 10, 16, 13, 15, 11, 21, 14, 24, 17, 32, 20, 28, 18, 49, 26, 38, 22, 46, 25, 31, 19, 64, 34, 42, 23, 79, 37, 53, 27, 110, 48, 63, 33, 94, 43, 56, 29, 186, 72, 87, 40, 128, 57, 71, 35, 174, 68, 82, 39, 106, 47, 60, 30, 245, 92, 117, 51, 152, 62, 75, 36, 322, 112, 127, 55, 203, 77, 90, 41
Offset: 1

Views

Author

Antti Karttunen, Mar 05 2016

Keywords

Comments

This sequence can be represented as a binary tree. Each left hand child is produced as A233271(1+n), and each right hand child as A269390(n), when the parent contains n:
|
...................1...................
2 3
4......../ \........5 7......../ \........6
/ \ / \ / \ / \
/ \ / \ / \ / \
/ \ / \ / \ / \
8 9 12 10 16 13 15 11
21 14 24 17 32 20 28 18 49 26 38 22 46 25 31 19
etc.

Crossrefs

Inverse: A269391.
Cf. also A260432.
Similar or related permutations: A269398, A269402.

Formula

a(1) = 1, a(2n) = A233271(1+a(n)), a(2n+1) = A269390(a(n)).
As a composition of other permutations:
a(n) = A269398(A269402(n)).

A269397 Permutation of natural numbers: a(1) = 1, a(A233271(1+n)) = A179016(1+a(n)), a(A269390(n)) = A213713(a(n)), where A179016, A233271 are the infinite trunks of binary beanstalk and inverted binary beanstalk and A213713, A269390 their complements.

Original entry on oeis.org

1, 3, 2, 7, 6, 5, 4, 16, 13, 12, 10, 15, 9, 27, 11, 8, 22, 21, 18, 25, 46, 17, 43, 35, 20, 14, 36, 32, 34, 29, 26, 42, 40, 69, 28, 65, 54, 23, 33, 24, 55, 85, 50, 52, 45, 31, 41, 62, 19, 60, 100, 44, 67, 95, 80, 64, 37, 51, 38, 53, 82, 122, 78, 158, 75, 77, 68, 48, 61, 91, 49, 30, 88, 143, 145, 66, 98, 136, 116, 115, 93, 63, 56, 76, 58, 79, 39
Offset: 1

Views

Author

Antti Karttunen, Mar 05 2016

Keywords

Crossrefs

Inverse: A269398.
Related or similar permutations: A269391, A269401, A269402.
Cf. also A233270.

Formula

a(1) = 1, for n > 1, if A269381(n) - A269381(n-1) > 0 [when n is in A233271] a(n) = A179016(1+a(A269381(n)-1)), otherwise a(n) = A213713(a(n-A269381(n))).
As a composition of related permutations:
a(n) = A269402(A269391(n)).

A269398 Permutation of natural numbers: a(1) = 1, a(A179016(1+n)) = A233271(1+a(n)), a(A213713(n)) = A269390(a(n)), where A179016, A233271 are the infinite trunks of binary beanstalk and inverted binary beanstalk and A213713, A269390 are their complements.

Original entry on oeis.org

1, 3, 2, 7, 6, 5, 4, 16, 13, 11, 15, 10, 9, 26, 12, 8, 22, 19, 49, 25, 18, 17, 38, 40, 20, 31, 14, 35, 30, 72, 46, 28, 39, 29, 24, 27, 57, 59, 87, 33, 47, 32, 23, 52, 45, 21, 103, 68, 71, 43, 58, 44, 60, 37, 41, 83, 186, 85, 123, 50, 69, 48, 82, 56, 36, 76, 53, 67, 34, 144, 128, 98, 101, 143, 65, 84, 66, 63, 86, 55, 106, 61, 118, 253, 42, 121, 169
Offset: 1

Views

Author

Antti Karttunen, Mar 05 2016

Keywords

Crossrefs

Inverse: A269397
Related or similar permutations: A269392, A269401, A269402.
Cf. also A233270.

Formula

a(1) = 1, for n > 1, if A213719(n) = 1 [when n is in A179016] a(n) = A233271(1+a(A269371(n)-1)), otherwise a(n) = 1 + A269390(a(n-A269371(n))).
As a composition of related permutations:
a(n) = A269392(A269401(n)).
Showing 1-4 of 4 results.