OFFSET
1,2
COMMENTS
The sequence gives the parent node of each leaf-vertex (A055938) in binary beanstalk.
LINKS
EXAMPLE
Terms of A055938 are the leaf-nodes in Paul Tek's illustration. This sequence gives the corresponding parent-node (in that illustration a node immediately below where the arrow points), for each term of A055938[1..]: 2, 5, 6, 9, 12, 13, 14, ...
As A055938(5) = 12, and 12's parent node is 10, a(5) = 10.
As A055938(6) = 13, and 13's parent node is 10, a(6) = 10.
CROSSREFS
KEYWORD
nonn
AUTHOR
Antti Karttunen, May 03 2015
STATUS
approved