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.

A218618 Absolute value of a(n) tells the size of the n-th side-tree ("tendril", A213730(n)) in the binary beanstalk; the sign tells on which side of the infinite trunk (A179016) it is.

Original entry on oeis.org

0, 1, -1, 1, -1, 3, 1, -1, 3, 5, -1, 1, -1, 3, 5, -1, -7, 1, 1, 3, 1, -1, 3, 5, -1, -7, 1, 1, 3, -7, 1, 1, -5, 1, -5, -3, -1, 1, -1, 3, 5, -1, -7, 1, 1, 3, -7, 1, 1, -5, 1, -5, -3, -1, -7, 1, 1, -5, 1, 11, 1, 1, 13, 1, -5, -1, 3, 1, -1, 3, 5, -1, -7, 1, 1, 3
Offset: 0

Views

Author

Antti Karttunen, Dec 03 2012

Keywords

Comments

Positive and negative terms correspond to the tendrils that sprout respectively at the left and right sides of the infinite trunk, when the beanstalk is drawn with the lesser numbers branching to the left. The absolute values give the sizes of those tendrils, with all nodes included: The leaves, the internal vertices as well as the root itself: A213730(n).

Crossrefs

Partial sums: A218785, A218789. Cf. also A218786, A218613.

Programs

Formula

a(n) = -1^A213730(n) * A213727(A213730(n)).