OFFSET
0
COMMENTS
It holds for all n>=1 that a(n) = A179016(n)-A213723(A179016(n-1)) meaning that a(n) = 1 when the next node upwards in the infinite trunk of beanstalk sequence (A179016) is the larger of the two possible branches from A179016(n), and 0 when it is the smaller of the said branches. That is, this sequence tells whether A179016 proceeds "left" or "right" at each step.
If we were able to find the values of this sequence "a priori" (without needing the value of A179016 at the same point and taking modulo 2 from it), then A179016 could be computed in a more straightforward "bottom-up manner", as then we would have enough information to find the correct path in the binary tree of beanstalk up to the infinity.
LINKS
Antti Karttunen, Table of n, a(n) for n = 0..2493
PROG
CROSSREFS
KEYWORD
nonn
AUTHOR
Antti Karttunen, Nov 01 2012
EXTENSIONS
Offset changed from 1 to 0 by Antti Karttunen, Nov 05 2012
STATUS
approved