mersenneforum.org

mersenneforum.org (https://www.mersenneforum.org/index.php)
-   Lounge (https://www.mersenneforum.org/forumdisplay.php?f=7)
-   -   Calculate this :) (https://www.mersenneforum.org/showthread.php?t=26572)

pepi37 2021-03-07 16:05

Calculate this :)
 
25-5/5=4!

xilman 2021-03-07 16:41

[QUOTE=pepi37;573173]25-5/5=4![/QUOTE]

I am very clearly missing something because you appear to imply that there is something surprising about your statement.

Division has higher priority than subtraction so your expression on the left is just 25-(5/5) = 24.

The ! operator is generally recognized as evaluating the factorial of the quantity to its left. 4 factorial is 24.

What am I missing?

retina 2021-03-07 17:09

[QUOTE=xilman;573176]What am I missing?[/QUOTE]I suspect the missing part is if you are doing-it-wrong then you also get a "correct" answer.

(25 - 5) / 5 = 4 :davar55:

[size=1]That was the closest matching smiley I could find with a ! in it.[/size]

pepi37 2021-03-08 07:23

24=24
So you dont miss anything
I just forget to add, correct answer is 4!

wreck 2021-03-08 12:31

3-2/1=1!
(3-2)/1=1
6-0/2=3!
(6-0)/2=3
138-108/6=5!
(138-108)/6=5


All times are UTC. The time now is 22:56.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.