Wednesday, March 6, 2013

Logic puzzle-medium

1     2     3     4          5          6                             7                           8                         9                     10    

1     2     6     24     120        720                  5,040                   40,320                  362,880        3,628,806



...............................................................................................................................................

Hint: !

...............................................................................................................................................

Solution: ! is a factorial. A factorial means you should take that number and multiply by the numbers before it:
1!=1. 2!=2x1=2. 3!=3x2x1=6. 4!=4x3x2x1=24. 5!=5x4x3x2x1=120, and so on.
Zero is different though. Instead 0!=1 for some strange reason.(The same as 1!)

I got this problem from the puzzle "How can you use 5 0's to get 120 using any math equation?" The answer was this: (0! + 0! + 0! + 0! + 0!)! which made (1 + 1 + 1 + 1 + 1)! and then 5! which made 120.