Brain Teaser #5

  • Thread starter kauai_diver
  • Start date

kauai_diver

I guess I dont have access to the brain teaser forum. This one kinda confused me:

Using “Only Four” ZEROS (0) and any Mathematical Operations/Symbols, to obtain the number 24.

Answer is (0! + 0! + 0! + 0!)! = 24


I know im a bit rusty with hex/binary arithmatic but the answer i get with (0! + 0! + 0! + 0!)! is 3 assuming 8 bits:

0! = 0xFF and assuming no carry over:

0xFF + 0xFF = 0xFE

so (0xFF + 0xFF + 0xFF + 0xFF) = 0xFC

!0xFC = 3 Right? Where did I go wrong?
 
Last edited by a moderator:

drag

Science Advisor
1,055
0
Yeah... I was wondering about the same thing.
0! is a factorial, just like n! for example with n
being any natural number. However 0! = 1.

Live long and prosper.
 

kauai_diver

LOL you beat me to it, just got schooled from my wife of all people!

She said !0 would be 0xFF, but 0! = 1.

Factorial notation comes AFTER the value.

and 4! = 24.
 

Related Threads for: Brain Teaser #5

  • Posted
Replies
17
Views
20K
  • Posted
Replies
3
Views
2K
  • Posted
Replies
3
Views
4K
  • Posted
Replies
1
Views
6K
  • Posted
Replies
7
Views
2K
  • Posted
Replies
5
Views
8K
  • Posted
Replies
11
Views
3K
  • Posted
Replies
8
Views
3K

Physics Forums Values

We Value Quality
• Topics based on mainstream science
• Proper English grammar and spelling
We Value Civility
• Positive and compassionate attitudes
• Patience while debating
We Value Productivity
• Disciplined to remain on-topic
• Recognition of own weaknesses
• Solo and co-op problem solving

Hot Threads

Top