OFFSET
0,3
COMMENTS
PROG
(Python)
def A087745(n): return sum((bool(~(m:=n>>1)&m-k)^1)<<k for k in range((n>>1)+1)) # Chai Wah Wu, May 02 2023
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Philippe Deléham, Oct 02 2003
EXTENSIONS
Definition corrected and edited by Omar E. Pol, Dec 24 2008
STATUS
approved