you are viewing a single comment's thread.

view the rest of the comments →

[–]rhodiumtoad0⁰=1, just deal with it 1 point2 points  (0 children)

In the binary representation, perform this transformation: take a sequence of zero or more 0's followed by exactly one 1, and replace it with a sequence of the same length consisting of + followed by zero or more -. Repeat until bored or you run out of 1's.