Power of 2, Part 3
In Part 1 and Part 2 of the problem of "power of 2", I finally found the 2^n with 10 consecutive zeros. It took 703 CPU-hours to find that 2^559940 with 10 consecutive zeros in this number with 168559 digits.
$python Python 2.5.2 (r252:60911, Oct 2 2008, 09:47:11) [C] on sunos5 Type "help", "copyright", "credits" or "license" for more information. >>>n=2**559940 >>>'0'*10 in str(n) True >>>len(str(n)) 168559
If you fit these numbers (n) (ie, 559940 100823 14007 6801 1492 1491 377 242 53 10) into Google search, you should be able to locate the rest of the number from AT&T site. They managed to find 2^n with 17 consecutive zeros. So, what's the use of it, I don't know.
Labels: python
0 Comments:
Post a Comment
<< Home