This site is supported by donations to The OEIS Foundation.

 Please make a donation to keep the OEIS running. We are now in our 55th year. In the past year we added 12000 new sequences and reached 8000 citations (which often say "discovered thanks to the OEIS"). We need to raise money to hire someone to manage submissions, which would reduce the load on our editors and speed up editing. Other ways to donate

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A218772 Positions in the infinite trunk of beanstalk (see A179016) where the next node upwards is the smaller of the two possible branches. 4
 2, 4, 7, 10, 12, 15, 16, 21, 24, 25, 29, 32, 34, 35, 36, 38, 41, 42, 46, 49, 51, 52, 53, 54, 57, 64, 65, 68, 71, 72, 76, 79, 81, 82, 83, 84, 87, 94, 95, 97, 100, 107, 108, 109, 113, 114, 115, 116, 117, 120, 122, 125, 126, 130, 133, 135, 136, 137, 138, 141, 148 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,1 LINKS Antti Karttunen, Table of n, a(n) for n = 1..10000 EXAMPLE A179016(2) = 3 is the first case where the next term A179016(3) = 4 is the smaller of two branches from 3 (the larger is 5, as 5 = 3+A000120(5)), thus the first term of this sequence is 2. The next case occurs at A179016(4) = 7, as the next term here is again 8, the smaller of two branches from 7 (the larger being 9, as 9 = 7+A000120(9), thus the second term of this sequence is 4. PROG (Scheme with Antti Karttunen's Intseq-library): (define A218772 (NONZERO-POS 1 0 (compose-funs A213728 1+))) CROSSREFS Characteristic function: A213728 shifted once left. Complement: A218773. a(n) = A213732(n)-1. First differences: A218774. Sequence in context: A177093 A164903 A285968 * A057843 A047539 A190521 Adjacent sequences:  A218769 A218770 A218771 * A218773 A218774 A218775 KEYWORD nonn AUTHOR Antti Karttunen, Nov 05 2012 STATUS approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

Last modified December 7 03:00 EST 2019. Contains 329836 sequences. (Running on oeis4.)