RubyGems Navigation menu

collatz 0.0.4

Provides the basic functionality to interact with the Collatz conjecture. The parameterisation uses the same (P,a,b) notation as Conway's generalisations. Besides the function and reverse function, there is also functionality to retrieve the hailstone sequence, the "stopping time"/"total stopping time", or tree-graph. The only restriction placed on parameters is that both P and a can't be 0.

Gemfile:
=

安装:
=

版本列表:

  1. 1.1.0 February 23, 2025 (28.5 KB)
  2. 1.0.0 September 24, 2022 (27.5 KB)
  3. 0.1.0 September 21, 2022 (22.5 KB)
  4. 0.0.4 September 14, 2022 (16.0 KB)

所有者:

推送者:

作者:

  • Nathan Levett

SHA 256 校验和:

=

下载总量 2,236

这个版本 609

版本发布:

许可:

Apache-2.0

需要的 Ruby 版本: >= 2.7.0

链接: