Random commentary about C++, STL, Boost, Perl, Python, Algorithms, Problem Solving and Web Search

Wednesday, April 22, 2009

100 random digits

100 digits are chosen at random. What is the probability to find two numbers, a and b, such that a^2=b and each digit is used just one time in forming the two numbers?

I like this puzzle since you must take into account the number of digits of a square number and the number of digits of 100. Then you need to consider these numbers together...

I like this puzzle since you must take into account the number of digits of a square number and the number of digits of 100. Then you need to consider these numbers together...

ReplyDelete