askaichin wrote:Above reply not clear. Pls detail out the solution.
Thanks
My mistake. Was leaving and wrote it in a hurry.
Let me explain:
2058 can be written as 2 * 3* 7^3
The question says that the value will be multiplied each time.
Suppose say value of first picked card is A (A can be 2 or 3 or 7)
Value of second card picked is B(B can be 2 or 3 or 7)
Assuming only 2 cards are picked, the total value is A*B
If more card are picked, the value will be A*B*C*D....
Now A*B*C*D.... = 2* 3* 7^3
Any number can be written as product of primes. We know that the primes involved are only 2,3,7
Hence A*B*C*.... can be written as
2^m * 3^n * 7^p
Hence 2^m * 3^n * 7^p = 2^1* 3^1* 7^3
Hence m=1, n=1, p=3
Which means one 2-valued card
one 3-valued card and
three 7-valued cards are picked.
Total = 1+1+3 = 5
Let me know if you have any troubles understanding this.