login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A255328 a(n) = total number of nodes in the finite subtrees branching "left" (to the "smaller side") from the node n in the infinite trunk of "number-of-runs beanstalk" (A255056). 8

%I #6 Feb 21 2015 15:37:21

%S 1,1,0,4,0,0,7,0,3,0,0,1,1,6,0,6,0,3,0,0,1,1,12,0,1,5,0,0,1,6,0,6,0,3,

%T 0,0,1,1,12,0,1,0,0,12,1,0,1,5,0,0,1,12,0,1,5,0,0,1,6,0,6,0,3,0,0,1,1,

%U 12,0,1,0,0,12,1,0,1,0,0,10,1,0,0,0,11,1,0,1,5,0,0,1,12,0,1,0,0,12,1,0,1,5,0,0,1,12,0,1,5,0,0,1,6,0,6,0,3,0,0,1

%N a(n) = total number of nodes in the finite subtrees branching "left" (to the "smaller side") from the node n in the infinite trunk of "number-of-runs beanstalk" (A255056).

%H Antti Karttunen, <a href="/A255328/b255328.txt">Table of n, a(n) for n = 0..8590</a>

%F a(0) = 1; a(n) = sum_{k = A091067(A255057(n)) .. A255056(n+1)} A255327(k).

%F a(n) = A255330(n) - A255329(n).

%e See example in A255330. Here we count only the nodes at the left side, thus a(11) = 1.

%o (Scheme)

%o (define (A255328 n) (if (zero? n) 1 (add A255327 (A091067 (A255057 n)) (A255056 (+ n 1)))))

%o ;; Other code as in A255327.

%Y Cf. A255056, A255057, A255327, A255329, A255330, A255331.

%K nonn

%O 0,4

%A _Antti Karttunen_, Feb 21 2015

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified March 28 22:04 EDT 2024. Contains 371254 sequences. (Running on oeis4.)