07-Apr-2012, 3:19 PM
Quote:8494030592
Say someone messed up with this whole doubling thing...at this point, would anyone notice?
Well, as a CS geek, I know that 2^31-1=2147483647 is the largest number that an int can hold in Java, so I know 2147483648=2^31 is a power of 2.
The number 2123507648, is not a power of 2, so someone must have messed up along the way...
Perhaps I can restore the correct sequence...
2147483648*2=4294967296.
A 10-digit number with only 5 distinct digits (2, 4, 6, 7, 9)! Also, each block of 2 digits in the first number (21, 47, 48, 36, and 48) got perfectly doubled (to 42, 94, 96, 72, and 96) without any carry from the previous block messing them up! What are the odds of that?