Skip to content

ranjanistic/collatz-conjecture

Repository files navigation

Collatz Conjecture

This repository contains programs to execute Collatz Conjecture in several languages & environments.

All separate language files run separately (Ofcourse).

All programs assume that the conjecture is true and hence rely their recursion on it. Recursion can fall in infinity if this conjecture is wrong at some number.

Run

g++ -std=c++11 -o index.exe index.cpp && .\index
scriptcs index.cs
go run index.go
java index.java
node index.js
python3 index.py
ruby index.rb
cargo run index.rs

Contribution

Add your own programs to this repository in other languages, with the same structure as this one. Create a new branch for your language, or complete the existing incomplete language files.

About

Collatz Conjecture implementation in various languages and or environments.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published