oicleevan / collatz

A calculator for the collatz conjecture, in a variety of different languages.

Home Page:https://oicleevan.xyz/html/projects.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

collatz

A calculator for the collatz conjecture/hailstone sequence, in various languages!

purpose

A learning method and exercise, to help understand and demonstrate the differences between and functionality of a variety of languages, and an opportunity to collaborate.

submitting

ideal conditions for the program:

  • it should provide the option to manually take input from command line, as well as optionally in the program itself.
  • it ideally would add data to an array/list, and then prints that list to the terminal/window.
  • for sake of portability, a separate function for calculation would be nice (for sake of portability).
  • please do not include a binary! it bloats the repository, and programs should be compiled in the users environment.

Please include a README describing how to build, run, or generally use the program! Thanks!

All programs are released under the MIT License, unless you include a different LICENSE file in your program's directory.

I'm writing it in the languages I know, try yours!

Even if someone else has already done a program in a language you know, you are still free to do it in that language, as long as there isn't any plagiarism involved.

Please do your work in a subdirectory with your username, etc. Java/oicleevan. Feel free to submit a pull request!

-- oicleevan

About

A calculator for the collatz conjecture, in a variety of different languages.

https://oicleevan.xyz/html/projects.html

License:MIT License


Languages

Language:Haskell 24.8%Language:Java 16.8%Language:Common Lisp 15.2%Language:C++ 9.1%Language:C# 6.6%Language:Makefile 5.6%Language:Swift 5.0%Language:Python 4.9%Language:Shell 4.1%Language:Rust 4.1%Language:JavaScript 3.8%