Originally posted by Andrew HamiltonOne off 2^n, where n is some integer?
Here is a harder one (I think): Anyone care to guess the significance of these #'s ?
1048575, 255, 1, 8191
(the order of the numbers is [b]irrelevant)
There is more than one way of answering this depending on how you look at it.[/b]
Originally posted by FabianFnasCorrect: (2^n)-1
One off 2^n, where n is some integer?
Originally posted by Andrew HamiltonMy assembler programming background helped me a little...
Also, if you convert any of these numbers to binary numbers, they will consist of all digit 1’s with no digit 0’s.
I find that this is on a very rare occasion useful to know when I am designing my software.