Skip to content

fra99le/NonintegerCollatz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NonintegerCollatz

This code is part of a project exploring Collatz for non-integers.

Getting Started

Dependancies

This code relies on the GNU Multiple Precision Arithmetic Library for calculation and GNU Plot for making graphs. Packages for libgmp and gnuplot should exist for most Linux distributions and are available via macports on macOS.

In Debian Linux:

$ sudo apt-get install libgmp10-dev gnuplot

In macOS using macports:

$ sudo port install gmp gnuplot

Running

$ git clone https://github.com/fra99le/NonintegerCollatz.git
$ cd NonintegerCollatz
$ c++ -I/opt/local/include -L/opt/local/lib collatz_w.cpp -lgmp -lgmpxx -o collatz_w 
$ ./collatz_w 33
$ ./plot_w.gplot

About

Code for exploring Collatz for non-integers.

Topics

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors