OFFSET
1,7
COMMENTS
Consider the binary tree illustrated in A005940: If we start from any n, computing successive iterations of A252463 until 1 is reached (i.e., we are traversing level by level towards the root of the tree, starting from that vertex of the tree where n is located at), a(n) gives the number of odd numbers > 1 encountered on the path after the initial n, that is, both the final 1 and also the starting n (if it was odd) are excluded from the count.
LINKS
Antti Karttunen, Table of n, a(n) for n = 1..8192
CROSSREFS
KEYWORD
nonn
AUTHOR
Antti Karttunen, Apr 25 2017
STATUS
approved