Categories: None [Edit]

collatz

https://rubygems.org/gems/collatz
https://github.com/Skenvy/Collatz
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.

Total

Ranking: 163,045 of 188,454
Downloads: 2,990

Daily

Ranking: 104,387 of 188,434
Downloads: 1

Depended by

RankDownloadsName

Depends on

RankDownloadsName

Owners

#GravatarHandle
1iconSkenvy