JG: That is very nice. Since you have a good understanding of deriving mathematical formulas, it would serve you very well to learn a programming language such as Python, C, C++.......etc. You could, for instance, program the above formula using very short one-line code to convert any number into binary, almost instantly, such as this line: n=123456789;m=2; a=n%m;printa,", ",;b=int(n/m);n=b;if(n>m, goto2, discard=0;printb,;
It will instantly convert 123456789 into binary like this:
1 , 0 , 1 , 0 , 1 , 0 , 0 , 0 , 1 , 0 , 1 , 1 , 0 , 0 , 1 , 1 , 1 , 1 , 0 , 1 , 1 , 0 , 1 , 0 , 1 , 1 , 1 [read from right to left].