login
Distinct values of A218788 in the order of appearance.
4

%I #13 Feb 08 2013 04:59:19

%S 0,1,3,4,2,37,110,18,11,32,33,4755,16127,73542063,97105360,62,

%T 1306632183,39288694215537689,193,8150,719,12,5,13505,

%U 246941338376004599,13,45,407,944077158106260984,4975012595,5738426278308884,26,27439590092251146768825651348524279

%N Distinct values of A218788 in the order of appearance.

%C a(n) = A014486-index for the n-th tendril of the infinite beanstalk (A179016), which has not been encountered before, constructed with lesser numbers coming to the right, and larger to the left hand side of each branch.

%H A. Karttunen, <a href="/A218610/b218610.txt">Table of n, a(n) for n = 1..72</a>

%H A. Karttunen, <a href="/A014486/a014486_1.pdf">Illustration of how binary trees (the second rightmost column) are encoded by A014486</a>

%F a(n) = A218788(A218611(n)).

%o (Scheme): (define (A218610 n) (A218788 (A218611 n)))

%Y These are the mirror-images of binary trees given in A218609, i.e. a(n) = A057163(A218609(n)). A218613 gives the sizes of these trees. Cf. A218611.

%K nonn

%O 1,3

%A _Antti Karttunen_, Nov 11 2012