OFFSET
1,5
COMMENTS
See A140129 for further comments and examples.
LINKS
Reinhard Zumkeller, Table of n, a(n) for n = 1..8191
FORMULA
a(n) = if n=1 then 1 else if n < 3*2^floor(log_2(n)-1) then (if n mod 2 = 0 then a(n/2) else 2^floor(log_2(n)-1)) else a(n-floor(log_2(n))).
For n>1: a(A023758(n)) = 1.
CROSSREFS
KEYWORD
nonn,frac
AUTHOR
Reinhard Zumkeller, May 14 2008
STATUS
approved