OFFSET
0,2
COMMENTS
LINKS
EXAMPLE
To find a(7): 7 = ...000111; ... 0 0 1 1 = 3 -> 2^3 = 8; ... 0 1 = 1 -> 3^1 = 3; so a(7) = 3*8 = 24.
CROSSREFS
KEYWORD
base,easy,nonn
AUTHOR
Marc LeBrun, Feb 07 2001
STATUS
approved