The first number you want to try is 2^6 = 64. The second would be (2^5)*3=96. That's it. No more. Because the next smallest number which has a length of 6 is either (2^5)*5 or (2^4)*3*3. Unfortunately, both are 3 digit numbers.
The first number you want to try is 2^6 = 64. The second would be (2^5)*3=96. That's it. No more. Because the next smallest number which has a length of 6 is either (2^5)*5 or (2^4)*3*3. Unfortunately, both are 3 digit numbers.
-- by 会员 sdcar2010 (2011/1/4 13:01:07)
真的感谢 NN 回答 但是这道题有点 confused。您可不可以解释一下为什么要try 2 to the whatever power 这个思路是怎么得来的。为什么要成*3
The first number you want to try is 2^6 = 64. The second would be (2^5)*3=96. That's it. No more. Because the next smallest number which has a length of 6 is either (2^5)*5 or (2^4)*3*3. Unfortunately, both are 3 digit numbers.
-- by 会员 sdcar2010 (2011/1/4 13:01:07)
真的感谢 NN 回答 但是这道题有点 confused。您可不可以解释一下为什么要try 2 to the whatever power 这个思路是怎么得来的。为什么要成*3
-- by 会员 allenwanghl (2011/1/4 13:06:49)
What is the smallest prime number? What is the second smallest prime number?