OFFSET
1,2
FORMULA
Let P(k) = floor(k/2). Start with n, apply P repeatedly until reaching 0. a(n) = concatenation of the differences of the successive numbers obtained. - David Wasserman, Oct 25 2004
EXAMPLE
11 -> 5 -> 2 -> 1, hence a(11) = 6311.
11 -> 5 -> 2 -> 1 -> 0, hence a(11) = 6311.
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Amarnath Murthy, Apr 26 2003
EXTENSIONS
More terms from David Wasserman, Oct 25 2004
STATUS
approved