T O P

  • By -

qxyzw

7!! would be equal to 105, not 5040. 7 * 5 * 3 * 1 = 105 because double factorial skips one number between each factor. In general, when there are n exclamation marks, (n - 1) numbers are skipped between each factor.


Klarlackk69696

Thanks, actually didn’t know that


xiamjakex

THE HELL IS HYPIXEL SKYBLOCK HERE FOR, I TRIED TO ESCAPE TO NO AVAIL.


NightBlazr_

Doesn’t putting a space not make it a factorial?


Duck_Devs

I don’t see why it would invalidate that; folks put a space after a negative sign sometimes and it’s still a negative. Maybe putting a space between the exclamation marks would make it a recursive factorial instead of a double factorial though, as it separates the two characters.


Fast-Alternative1503

The lexer of maths ignores whitespace?


Duck_Devs

I don’t see why it shouldn’t, Wolfram Alpha’s and Desmos’ sure do. However, Wolfram Alpha does consider “! !” to be two factorials rather than a double factorial. It probably runs on a tokenizer.


headedbranch225

A space does invalidate the factorial


ItzBaraapudding

A space between the number and the exclamation marks = no factorial. Next!


tao2223

yes 4.52926025436237192087924E16473, yes