Hacker News

Top stories

Live mirror
30 storiesupdated just nowView source snapshot
  1. Dream-RSI: Recursive Self-Improvement through Evolving Worlds(arxiv.org ↗)
  2. Show HN: Give your AI agents access to WhatsApp
  3. Mistral X Mozilla: Private, Multilingual AI Browsing(mistral.ai ↗)
  4. The Google Play app review process now regularly takes longer than a week(gultsch.social ↗)
  5. Introducing System One Models and Jev(typesafe.ai ↗)
  6. Show HN: An e-ink frame that hears birds and draws them as 1800s illustrations(github.com/arnegiacomo ↗)
  7. Hackers Got Inside a Flock Camera. Its Data Shows How the System Works(wired.com ↗)
  8. How Big Are Factorials?(thegreenplace.net ↗)
  9. Apple Reference Image: A New Approach for Verified Photography(security.apple.com ↗)
  10. Scaling Golang CI by Replacing actions/setup-go(cloudx.ai ↗)
  11. Douglas Adams and the exterminated Doctor Who adventure(bbc.co.uk ↗)
  12. Original Sony PlayStation 2 security chip 'broken wide open' after 26 years(tomshardware.com ↗)
  13. PS5 Linux lead quits: "a bunch of noobs using LLMs" that "they don't understand"(frvr.com ↗)
  14. Kyber (YC W23) Is Hiring a Forward Deployed Engineer(ycombinator.com ↗)
  15. Tell the speakers that you liked their talks(ohhelloana.blog ↗)
  16. An update on Wayback Machine access(blog.archive.org ↗)
  17. Microsoft says AI rival Anthropic could have 'disastrous impact' on humanity(bbc.co.uk ↗)
  18. Salesforce Global Outage(salesforce.com ↗)
  19. Show HN: How Stale Is Your AI? Release age and training cutoff for 20 models(stale.jock.pl ↗)
  20. ImpactGate: A merge gate that scores the structural decay AI adds(github.com/officefloor ↗)
  21. Doing Everyone Else's Job(yosefk.com ↗)
  22. DeepSeek v4.1 Flash Is Now Our Best Hacking Model(enclave.ai ↗)
  23. Show HN: I made a flight simulator, except you're just a passenger(inflightsimulator.com ↗)
  24. OpenAI expands ChatGPT ads with Sponsored Agents(openai.com ↗)
  25. Gemini 3.8 Live and 3.8 Live Extended Thinking(blog.google ↗)
  26. Why I'm still bearish on LLMs after Navier-Stokes(dank.systems ↗)
  27. Intelligence per Watt: Measuring Intelligence Efficiency of Local AI(arxiv.org ↗)
  28. Anatomy of a Texture(agentlien.github.io ↗)
  29. A software thing I built: GPS on a 25MHz 486-SX(vcfed.org ↗)
  30. German Rheinmetall open-sources its Battlesuite connected weapon system protcol(rheinmetall.github.io ↗)

How Big Are Factorials?

19 pointsby 1d agoeli.thegreenplace.net
8 comments
17h agoHN ↗

Factorial (n) for n > 24 is greater than 10^n.

1h agoHN ↗

Reminds me of: Professor asked us to find the biggest factorial using C programming language. And then using LISP. You can imagine our surprise.

9m agoHN ↗

There is a algorithm call Prime Swing Factorial that can compute large factorials exactly in arbitrary precision math using prime factorization. Like 10000000! in under second depending of how optimized the math library it. Probably like 100x faster than the normal method.

1h agoHN ↗

Stirling's approximation is also used a lot in statistical mechanics, because you often have to calculate logs of state space sizes, which means lots of combinatorics and thus lots of factorials. Plus it's continuous so you can do calculus.

46m agoHN ↗

The author's casual mention of 52! at the opening of the article triggered an OLD webpage that I saw many years ago

https://czep.net/weblog/52cards.html

Anyone know how to determine the age of this page (it's got be at least 20yrs old)

15m agoHN ↗

The main.css file it imports dates itself to March 9 of 2005, and is housed in an "ancient history" section of the website that covers everything before October 26, 2010, so: "sometime between those two years" =P

8m agoHN ↗

52 cards is the first thing I think of when I think factorials. It's such a great and relatable way to convey the subject to people, plus it usually ends up blowing their minds like it did mine when I first learned of it. Not from this page, but from a YT vid many moons ago.

22m agoHN ↗

A quick and dirty approximation of the number of digits in n! is n lg n, which approximates n! from above, via the inequality

  1 * 2 * … * n ≤ n * … * n.

(This approximation should be familiar to many from an algorithmics class.)

For a tighter bound, use n lg n - n/2, or a better approximation of ln 10 in place of 1/2 if you wish. This comes from Stirling's approximation which notes that

  ln n! = n ln n - n + O(ln n).