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!)
A255058 Branching degree of node n in the trunk of number-of-runs beanstalk: a(n) = A106836(1+A255057(n)). 7
3, 3, 1, 4, 2, 1, 4, 1, 3, 2, 1, 4, 3, 4, 1, 3, 1, 3, 2, 1, 4, 3, 4, 1, 3, 3, 1, 3, 3, 4, 1, 3, 1, 3, 2, 1, 4, 3, 4, 1, 3, 3, 2, 4, 4, 1, 3, 3, 1, 3, 3, 4, 1, 3, 3, 1, 3, 3, 4, 1, 3, 1, 3, 2, 1, 4, 3, 4, 1, 3, 3, 2, 4, 4, 1, 3, 3, 2, 4, 4, 1, 1, 2, 3, 4, 1, 3, 3, 1, 3, 3, 4, 1, 3, 3, 2, 4, 4, 1, 3, 3, 1, 3, 3, 4, 1, 3, 3, 1, 3, 3, 4, 1, 3, 1, 3, 2, 1, 4 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,1
COMMENTS
Iff a(n) = 1, then A255330(n) = 0.
If a(n) = 1, then A255331(n) = 0.
LINKS
FORMULA
a(n) = A106836(1+A255057(n)).
EXAMPLE
The node 11 in the infinite trunk is A255056(11) = 30. Apart from 32, which is the next node (node 12) in the infinite trunk, it has one leaf-child 31 at the "left side" (less than 32), and one leaf-child 33 (more than 32) at the "right side", and also at that side a subtree of three nodes (34 <- 38 <- 43), starting from 34, so in total there are four branches emanating from 30, [i.e., four different k such that A236840(k) = 30], thus a(11) = 4.
Note that a(0) = 3, as for node zero, we count among its children the following cases A236840(2) = 0, A236840(1) = 0, and also A236840(0) = 0, with 0 being exceptionally its own child.
PROG
(Scheme) (define (A255058 n) (A106836 (+ 1 (A255057 n))))
CROSSREFS
Sequence in context: A125607 A137876 A016604 * A258201 A164731 A226576
KEYWORD
nonn
AUTHOR
Antti Karttunen, Feb 20 2015
STATUS
approved

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 April 19 18:05 EDT 2024. Contains 371798 sequences. (Running on oeis4.)