Passer au playerPasser au contenu principalPasser au pied de page
  • il y a 15 ans
This is a short run of a program exploring the Collatz conjecture. Here is the conjecture: "Take any natural number n. If n is even, divide it by 2 to get n / 2, if n is odd multiply it by 3 and add 1 to obtain 3n + 1. Repeat the process indefinitely. The conjecture is that no matter what number you start with, you will always eventually reach 1" (retrieved from wikipedia).

The program is implemented in java using the prefuse toolkit.

Catégorie

🤖
Technologie

Recommandations

1:08
À suivre