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)).

A260430 Involution of natural numbers: a(1) = 1, a(A257803(1+n)) = A257804(a(n)), a(A257804(n)) = A257803(1+a(n)), where A257803 and A257804 give the positions of odd and even terms in A233271, the infinite trunk of inverted binary beanstalk.

Original entry on oeis.org

1, 4, 12, 2, 30, 7, 6, 74, 19, 21, 18, 3, 172, 52, 54, 49, 48, 11, 9, 383, 10, 128, 125, 32, 36, 132, 31, 119, 118, 5, 27, 24, 812, 314, 89, 25, 283, 92, 275, 76, 86, 85, 83, 290, 75, 267, 266, 17, 16, 68, 60, 14, 724, 15, 227, 1675, 219, 659, 207, 51, 64, 599, 216, 61, 232, 583, 174, 50, 204, 210, 201, 193, 208, 8, 45, 40, 1574, 612, 173, 569, 595, 159, 43
Offset: 1

Views

Author

Antti Karttunen, Jul 27 2015

Keywords

Crossrefs

Cf. also A233271, A257806.
Related permutations: A260431 - A260434.

Formula

a(1) = 1; for n > 1, if A257800(n) = 0 [when n is one of the terms of A257804] a(n) = A257803(1+a(A257808(n))), otherwise [when n is one of the terms of A257803] a(n) = A257804(a(A257807(n)-1)).

A260432 Permutation of natural numbers: a(1) = 1, a(2n) = A257804(a(n)), a(2n+1) = A257803(1+a(n)), where A257804 and A257803 give the positions of even and odd terms in A233271, the infinite trunk of inverted binary beanstalk.

Original entry on oeis.org

1, 2, 4, 3, 7, 6, 12, 5, 9, 11, 21, 10, 18, 19, 30, 8, 17, 14, 24, 16, 27, 36, 54, 15, 25, 31, 49, 32, 52, 48, 74, 13, 23, 29, 42, 22, 35, 40, 60, 28, 41, 45, 68, 61, 83, 92, 132, 26, 38, 43, 64, 50, 75, 86, 119, 51, 76, 89, 128, 85, 118, 125, 172, 20, 34, 39, 57, 47, 73, 71, 106, 37, 55, 59, 82, 67, 96, 101, 140, 46, 70, 69
Offset: 1

Views

Author

Antti Karttunen, Jul 27 2015

Keywords

Comments

This sequence can be represented as a binary tree. Each left hand child is produced as A257804(n), and each right hand child as A257803(1+n), when the parent contains n:
|
...................1...................
2 4
3......../ \........7 6......../ \........12
/ \ / \ / \ / \
/ \ / \ / \ / \
/ \ / \ / \ / \
5 9 11 21 10 18 19 30
8 17 14 24 16 27 36 54 15 25 31 49 32 52 48 74
etc.

Crossrefs

Inverse: A260431.
Related permutations: A260434, A260430, A054429.
Cf. also A233271, A257806.

Formula

a(1) = 1, a(2n) = A257804(a(n)), a(2n+1) = A257803(1+a(n)).
As a composition of other permutations:
a(n) = A260434(A054429(n)).
a(n) = A260430(A260434(n)).

A260433 Permutation of natural numbers: a(1) = 1, a(A257803(1+n)) = 2*a(n), a(A257804(n)) = 1 + 2*a(n), where A257803 and A257804 give the positions of odd and even terms in A233271, the infinite trunk of inverted binary beanstalk.

Original entry on oeis.org

1, 3, 7, 2, 15, 5, 6, 31, 14, 11, 13, 4, 63, 29, 23, 27, 30, 10, 9, 127, 12, 59, 62, 28, 22, 47, 26, 55, 61, 8, 21, 19, 255, 126, 58, 25, 119, 46, 125, 57, 54, 60, 45, 95, 53, 111, 123, 17, 20, 43, 39, 18, 254, 24, 118, 511, 124, 253, 117, 56, 51, 239, 93, 44, 94, 251, 115, 52, 109, 110, 121, 91, 122, 16, 42, 38, 510, 191, 107, 223, 252, 116, 50, 247, 35, 41
Offset: 1

Views

Author

Antti Karttunen, Jul 27 2015

Keywords

Crossrefs

Inverse: A260434.
Related permutations: A260431, A260430, A054429.
Cf. also A233271, A257806.

Formula

a(1) = 1; for n > 1, if A257800(n) = 0 [when n is one of the terms of A257804] a(n) = 1 + 2*a(A257808(n)), otherwise [when n is one of the terms of A257803] a(n) = 2*a(A257807(n)-1).
As a composition of other permutations:
a(n) = A054429(A260431(n)).
a(n) = A260431(A260430(n)).
Showing 1-4 of 4 results.