How Can You Use Only Four Zeros to Get the Number 24 in Math?

  • Thread starter Thread starter kauai_diver
  • Start date Start date
  • Tags Tags
    Brain
Click For Summary
The discussion revolves around a brain teaser that challenges participants to use four zeros and mathematical operations to achieve the number 24. The correct solution is presented as (0! + 0! + 0! + 0!)! = 24. Participants clarify that 0! equals 1, which is crucial for understanding the factorial operation. One participant initially misinterprets the factorial notation, mistakenly calculating the result as 3 due to confusion with hexadecimal and binary arithmetic. The conversation emphasizes the importance of correctly applying factorial definitions, highlighting that 4! equals 24, reinforcing the solution to the puzzle.
kauai_diver
I guess I don't 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 I am 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:
Physics news on Phys.org
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.
 
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.
 

Similar threads

Replies
1
Views
2K
Replies
7
Views
9K
Replies
5
Views
11K
  • · Replies 6 ·
Replies
6
Views
2K
Replies
4
Views
2K
  • · Replies 24 ·
Replies
24
Views
6K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 10 ·
Replies
10
Views
11K
  • · Replies 82 ·
3
Replies
82
Views
16K
  • · Replies 45 ·
2
Replies
45
Views
6K