OFFSET
1,5
LINKS
Antti Karttunen, Table of n, a(n) for n = 1..8192
FORMULA
a(1) = 0, for n > 1: a(n) = a(A253889(n)) + floor((n modulo 3)/2).
a(1) = 0, thereafter, if n = 3k+2, then a(3k+2) = 1 + a(k+1), otherwise a(n) = a(A253889(n)).
a(n) = A080791(A064216(n)). [Number of nonleading zeros in binary representation of terms of A064216.]
Other identities and observations:
a(A007051(n)) = n for all n >= 0.
a(n) >= A253786(n) for all n >= 1.
PROG
CROSSREFS
KEYWORD
nonn
AUTHOR
Antti Karttunen, Jan 23 2015
STATUS
approved