Math, base 2 number, string processing, ad hoc