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

A218780 A014486-codes for the compact representation of Beanstalk-tree, growing by two natural numbers at time, starting from the tree of one internal node (1) and two leaves (2 and 3), with the lesser numbers coming to the left hand side.

Original entry on oeis.org

2, 10, 44, 180, 728, 2928, 11720, 46888, 187568, 750304, 3001232, 12004960, 48019856, 192079504, 768318048, 3073272224, 12293088960, 49172355968, 196689423936, 786757695872, 3147030783552, 12588123134528, 50352492538240, 201409970153216, 805639880612992
Offset: 1

Views

Author

Antti Karttunen, Nov 17 2012

Keywords

Comments

The active middle region of the triangle (see the attached "Wolframesque" illustration) corresponds to the area where the growing tip(s) of the beanstalk are located. Successively larger "turbulences" occurring in that area appear approximately at the row numbers given by A218548 divided by two. The larger tendrils, (the finite side-trees) are, the longer there is vacillation in the direction of the growing region, which lasts until the growing tip of the infinite stem (A179016) has passed the topmost tips of the tendril. See also A218612.
These are the mirror-images (in binary tree sense) of the terms in sequence A218782. For less compact versions, see A218776 & A218778.

Examples

			Illustration how the growing beanstalk-tree produces the first four terms of this sequence. In this "compact" variant, each successive pair of numbers ((2,3), (4,5), (6,7), etc.) adds a new bud (\/) to the beanstalk, with the lesser numbers coming to the left hand side:
----------
..2...3...
...\./.... Coded by A014486(A218781(1)) = A014486(1) = 2 (binary 10).
....1.....
----------
....4...5.
.....\./..
..2...3...
...\./.... Coded by A014486(A218781(2)) = A014486(2) = 10 (bin. 1010).
....1.....
----------
..6...7...
...\./....
....4...5.
.....\./..
..2...3...
...\./.... Coded by A014486(A218781(3)) = A014486(5) = 44 (101100).
....1.....
----------
....8...9.
.....\./..
..6...7...
...\./....
....4...5.
.....\./..
..2...3...
...\./.... Coded by A014486(A218781(4)) = A014486(12) = 180 (10110100).
....1.....
----------
Thus the first four terms of this sequence are 2, 10, 44 and 180.
		

Crossrefs

A218615 a(n) = binary code (shown here in decimal) of the position of natural number n in the beanstalk-tree A218776.

Original entry on oeis.org

1, 3, 2, 6, 4, 14, 10, 26, 18, 58, 42, 122, 90, 106, 74, 202, 138, 458, 330, 970, 714, 842, 586, 1866, 1354, 1610, 1098, 3402, 2378, 3658, 2634, 6730, 4682, 14922, 10826, 31306, 23114, 27210, 19018, 59978, 43594, 51786, 35402, 109130, 76362, 117322, 84554, 248394
Offset: 1

Views

Author

Antti Karttunen, Nov 16 2012

Keywords

Comments

The binary code is the same as used by function general-car-cdr of MIT/GNU Scheme: a zero bit represents a cdr operation (taking the right hand side branch in the binary tree), and a one bit represents a car (taking the left hand side branch in the binary tree). The bits are interpreted from LSB to MSB, and the most significant one bit, rather than being interpreted as an operation, signals the end of the binary code.

Examples

			As we can traverse to 4 in A218776-tree (see the example there) by taking first the right branch (cdr) from the root, resulting bit 0 as the least significant bit of the code, then by taking the left branch (car) from 3 to get to 4, resulting bit 1 as the second rightmost bit of the code, which when capped with an extra termination-one, results binary code 110, 6 in decimal, thus a(4)=6.
		

Crossrefs

a(n) = A054429(A218614(n)). Superset of A218791. Used to construct A218776, A218777. Cf. also A179016, A218787, A218788

Formula

a(1)=1, for odd n, a(n) = A004754(a(A011371(n))), for even n, a(n) = A004755(a(A011371(n))).

A218790 a(n) = binary code (shown here in decimal) of the position of the predecessor of the natural number pair (2n,2n+1) in the compact beanstalk-tree A218782.

Original entry on oeis.org

1, 3, 5, 13, 21, 37, 53, 117, 181, 309, 437, 693, 949, 1717, 1461, 3509, 5557, 9653, 13749, 21941, 30133, 54709, 46517, 79285, 112053, 210357, 177589, 472501, 308661, 734645, 996789, 2045365, 3093941, 5191093, 7288245, 11482549, 15676853, 28259765, 24065461
Offset: 1

Views

Author

Antti Karttunen, Nov 16 2012

Keywords

Crossrefs

Subset of A218614, i.e. a(n) = A218614(A005187(n)).
Also, a(n) = A054429(A218791(n)). Used to construct A218782, A218783. Cf. also A218787, A218788

Formula

a(n) = A218614(A005187(n)).
Showing 1-3 of 3 results.