I'm working on a theory but my maths is as good as a chimps so I'd really appreciate some advice.
I'm trying to find out if it's possible to add a single bit to a binary number without using a computer, for example;
19 = 10011
If I add a single bit (1) then the result is
20 = 10100
so on and so for...
If I didn't have a computer how would I be able to work that out in a mathematical way?
I can generate an alternating binary switch by using this simple loop
a = 1
b = a - b
My objective:
c = c + b
The problem is that b is in binary form so c must also be binary in order to increment the counter?
I hope you understand my objective. Any help would be greatly received, even if it's to say it's impossible.
regards
cookertron