login
A218773
Positions in the infinite trunk of beanstalk (see A179016) where the next node upwards is the larger of the two possible branches.
4
0, 1, 3, 5, 6, 8, 9, 11, 13, 14, 17, 18, 19, 20, 22, 23, 26, 27, 28, 30, 31, 33, 37, 39, 40, 43, 44, 45, 47, 48, 50, 55, 56, 58, 59, 60, 61, 62, 63, 66, 67, 69, 70, 73, 74, 75, 77, 78, 80, 85, 86, 88, 89, 90, 91, 92, 93, 96, 98, 99, 101, 102, 103, 104, 105, 106
OFFSET
1,3
LINKS
EXAMPLE
A179016(0) = 0 is the first case where the next term A179016(2) = 1 is the larger of two branches from 0 (the smaller branch in this case being 0 itself, as 0 = 0+A000120(0)), thus the first term of this sequence is 0.
A179016(1) = 1 is the second case where the next term A179016(3) = 3 is the larger of two branches from 1 (the smaller branch in this case being 2, as 2 = 1+A000120(2), 2 being a leaf node, one of the terms of A055938), thus the second term of this sequence is 1.
PROG
(Scheme with Antti Karttunen's Intseq-library): (define A218773 (NONZERO-POS 1 0 (compose-funs A213729 1+)))
CROSSREFS
Characteristic function: A213729 shifted once left. Complement: A218772. a(n) = A213733(n)-1. First differences: A218775.
Sequence in context: A186223 A047446 A058065 * A285967 A295581 A164902
KEYWORD
nonn
AUTHOR
Antti Karttunen, Nov 05 2012
STATUS
approved