#factorials — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #factorials, aggregated by home.social.
-
Oh, so we're solving #puzzles now, huh? 🤔 Yeah, let's calculate #factorials without loops, recursion, or common sense. 🌀 Just sprinkle some Y and Z #combinators over that monstrosity and call it a "gentler" introduction. 🙄
https://irfanali.org/blog/zcom #coding #humor #programming #challenges #HackerNews #ngated -
Ah yes, the ancient art of hiding your diary entries in a deck of cards, because #encryption is just too mainstream 🤡🔢. A blog post that is essentially a math lesson disguised as a magic trick, but without any of the actual magic. Apparently, #factorials are the new secret code—move over, spies! 🕵️♂️🃏
https://asherfalcon.com/blog/posts/3 #diaryhacks #mathmagic #secretcodes #HackerNews #ngated -
Finding a billion factorials in 60 ms with SIMD
https://codeforces.com/blog/entry/143279
#HackerNews #Finding #a #billion #factorials #in #60 #ms #with #SIMD #codeforces #SIMD #performance #factorials #computing
-
Decomposing a Factorial into Large Factors
https://terrytao.wordpress.com/2025/03/26/decomposing-a-factorial-into-large-factors/
#HackerNews #Decomposing #a #Factorial #into #Large #Factors #mathematics #factorials #algorithms #numbertheory #TerryTao
-
:rubberduck: made colored #factorials in 2 lines :awesome:
#python -
@atamakahere Surely that would need to limit itself to u8 as the input and u128 as the output? And even then you'd need a hard limit enforced on the input value because 255! is equal to more than 3.35E104, whereas u128::MAX is less than 3.5E38.
In fact, the biggest number which fits is 34! equal to roughly 2.95E38.
Factorials grow up so fast.
-
I sent that 1000! picture to a friend on #Hangouts (which #Google hasn't shut down... yet), and my friend commented on the large number of 0s at the end of the value.
I assured him that that's what happens with #factorials - by 5! you've got 2*5 as a subexpression, and by 10! you've got another factor of 10, well, right there. 15 brings in another factor of 5, and by that point, you've got a backlog of 2s. 25! has six trailing zeroes, with two factors of 5 right there.
That's #math for you.