Rudxain / collatz_finder

Tries to find a counter-example to the Collatz Conjecture, in Rust

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

About

Website repo. I'm considering merging both repos into a monorepo

Archive

Reason.

WARNING: this repo is staged for potential deletion!

Usage

To install:

cargo install --git https://github.com/Rudxain/collatz_finder.git

Run this for more ℹinfo:

colfind help

etc

Just like my JS implementation, it supports negatives. It also supports multiple bases/radices (not anymore, sorry 🙁, I'll fix later).

The rationale behind the multi-base support, is that CC is more interesting and helpful to explore/experiment in bases 2 & 3 and any other base whose factors are 2 and/or 3, and bases whose factors are +-1 offset from 2 and/or 3, so I had to add all bases from 1 to 10 (and hexdec, because it's binary in disguise)

I did some benchmarks and it's EXTREMELY FASTER than the JS counterpart at checking nums!

About

Tries to find a counter-example to the Collatz Conjecture, in Rust

License:The Unlicense


Languages

Language:Rust 100.0%