login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

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.
4
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,6
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).
LINKS
FORMULA
a(n) = -1^A213730(n) * A213727(A213730(n)).
PROG
(Scheme): (define (A218618 n) (* (expt -1 (A213730 n)) (A213727 (A213730 n))))
CROSSREFS
Partial sums: A218785, A218789. Cf. also A218786, A218613.
Sequence in context: A319182 A247282 A246685 * A271451 A131248 A116445
KEYWORD
sign
AUTHOR
Antti Karttunen, Dec 03 2012
STATUS
approved