Assume that I have an ordinary number in Decmical base, now what I want to know is determining whether it has an even number of 1's in a binary base or not.and yet again I should emphasize the fact that I do not want the exact number of 1's in the binary base,just knowing if the number of 1's is even or odd.(by the way if you find a way to determine the exact number of 1's that should work as well)
Thanks in advance.
I'm new to English math so I apologize for any mistakes in the typing.(tried to be as clear as possible though :D)
Please feel free to edit the question and the tags if you wish.