RubyGems Navigation menu

collatz 1.0.0

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.0.0 - September 24, 2022 (27.5 KB)
  2. 0.1.0 - September 21, 2022 (22.5 KB)
  3. 0.0.4 - September 14, 2022 (16.0 KB)

擁有者:

Pushed by:

作者:

  • Nathan Levett

SHA 256 checksum:

b05e32a89988e173d06562ddacbd894a86b1d7cc6f52e1ad1349d28d5c386b0b

總下載次數 1,618

這個版本 659

License:

Apache-2.0

Ruby 版本需求: >= 2.7.0

相關連結: