TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

The Collatz Conjecture in PostgreSQL

48 pointsby ktamuraabout 9 years ago

4 comments

ThePhysicistabout 9 years ago
CTE&#x27;s are awesome indeed :)<p>As another interesting use case, here&#x27;s the solution of the &quot;eight queens problem&quot; in Postgres:<p><a href="https:&#x2F;&#x2F;gist.github.com&#x2F;adewes&#x2F;5e5397b693eb50e67f07" rel="nofollow">https:&#x2F;&#x2F;gist.github.com&#x2F;adewes&#x2F;5e5397b693eb50e67f07</a><p>An here&#x27;s the accompanying article:<p><a href="http:&#x2F;&#x2F;andreas-dewes.de&#x2F;articles&#x2F;solving-the-eight-queens-problem-in-sql.html" rel="nofollow">http:&#x2F;&#x2F;andreas-dewes.de&#x2F;articles&#x2F;solving-the-eight-queens-pr...</a>
programLyriqueabout 9 years ago
(Better?) known also as the Syracuse problem: I had never heard about the &quot;Collatz conjecture&quot;; in French speaking countries, it&#x27;s exclusively called the Syracuse problem.<p>I wonder how names for this conjecture have diverged like that...
评论 #11606038 未加载
评论 #11606204 未加载
pellaabout 9 years ago
<a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Collatz_conjecture" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Collatz_conjecture</a>
tajenabout 9 years ago
This requires a GitHub account, and I have deleted my GitHub account after a GitHub VP said &quot;The problem for diversity is the white women&quot; (in a leaked presentation at the end of last year). <a href="https:&#x2F;&#x2F;www.reddit.com&#x2F;r&#x2F;pics&#x2F;comments&#x2F;44ttzj&#x2F;racist_diversity_training_at_github&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.reddit.com&#x2F;r&#x2F;pics&#x2F;comments&#x2F;44ttzj&#x2F;racist_diversi...</a>