Jump to content

Random trivia

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
17 replies to this topic

#1
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
100! has 158 digits, and ends in 24 0's.
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#2
CommittedC0der

CommittedC0der

    Speaks fluent binary

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,565 posts
Is this the answer? 93326215443944152681699238856266700490715968264381
62146859296389521759999322991560894146397615651828
62536979208272237582511852109168640000000000000000
00000000
A man can be defined by what he does when no one is looking.
Science is only an educated theory, which we cannot disprove.

#3
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
Yes.
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#4
CommittedC0der

CommittedC0der

    Speaks fluent binary

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,565 posts
Cool.
A man can be defined by what he does when no one is looking.
Science is only an educated theory, which we cannot disprove.

#5
CommittedC0der

CommittedC0der

    Speaks fluent binary

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,565 posts
OK how many different combination's can a Rubiks Cube have?
A man can be defined by what he does when no one is looking.
Science is only an educated theory, which we cannot disprove.

#6
ZekeDragon

ZekeDragon

    Writes binary right handed and hex left handed

  • Moderators
  • 2,103 posts
Here's a program to prove what WingedPanther said in Haskell:
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!

#7
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts

thegamemaker said:

OK how many different combination's can a Rubiks Cube have?

Do you want all theoretically possible combinations, or just the ones possible through rotations of the cube?

@Zeke: I just typed it in on my new toy: an HP 50g calculator :D
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#8
CommittedC0der

CommittedC0der

    Speaks fluent binary

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,565 posts

Quote

Do you want all theoretically possible combinations, or just the ones possible through rotations of the cube?
Just the ones possible through the rotations of the cube.
A man can be defined by what he does when no one is looking.
Science is only an educated theory, which we cannot disprove.

#9
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
Cube maths - Rubik's Official Online Site
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#10
CommittedC0der

CommittedC0der

    Speaks fluent binary

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,565 posts
Correct.
A man can be defined by what he does when no one is looking.
Science is only an educated theory, which we cannot disprove.

#11
Guest

Guest

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 3,414 posts
How many triangles are on the front of the desk?
Posted Image
Root Beer == System Administrator's Beer
Download the new operating system programming kit! (some assembly required)

#12
CommittedC0der

CommittedC0der

    Speaks fluent binary

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,565 posts
Is 26 the right answer?
A man can be defined by what he does when no one is looking.
Science is only an educated theory, which we cannot disprove.