100! has 158 digits, and ends in 24 0's.
Is this the answer? 93326215443944152681699238856266700490715968264381
62146859296389521759999322991560894146397615651828
62536979208272237582511852109168640000000000000000
00000000
Knowledge: Intermediate C#, Beginner AS3, HTML, CSS, Binary, Hex, Octal.
Science is only an educated theory, which we cannot disprove.
Cool.
Knowledge: Intermediate C#, Beginner AS3, HTML, CSS, Binary, Hex, Octal.
Science is only an educated theory, which we cannot disprove.
OK how many different combination's can a Rubiks Cube have?
Knowledge: Intermediate C#, Beginner AS3, HTML, CSS, Binary, Hex, Octal.
Science is only an educated theory, which we cannot disprove.
Here's a program to prove what WingedPanther said in Haskell:
Code:main = do putStrLn (show $ (\x -> (x, numberOfDigits x, zerosOnEnd x)) $ factorialList !! 100) factorialList = 1 : 1 : [x * y | (x, y) <- zip [2..] (tail factorialList)] numberOfDigits :: (Show a) => a -> Int numberOfDigits = length . show zerosOnEnd :: (Show a) => a -> Int zerosOnEnd = length . takeWhile (== '0') . reverse . show
Wow I changed my sig!
Just the ones possible through the rotations of the cube.Do you want all theoretically possible combinations, or just the ones possible through rotations of the cube?
Knowledge: Intermediate C#, Beginner AS3, HTML, CSS, Binary, Hex, Octal.
Science is only an educated theory, which we cannot disprove.
Correct.
Knowledge: Intermediate C#, Beginner AS3, HTML, CSS, Binary, Hex, Octal.
Science is only an educated theory, which we cannot disprove.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks