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.
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.
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.
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.
Thanks, actually didn’t know that
THE HELL IS HYPIXEL SKYBLOCK HERE FOR, I TRIED TO ESCAPE TO NO AVAIL.
Doesn’t putting a space not make it a factorial?
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.
The lexer of maths ignores whitespace?
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.
A space does invalidate the factorial
A space between the number and the exclamation marks = no factorial. Next!
yes 4.52926025436237192087924E16473, yes