Skip to content

Calculate and display the Collatz sequence (3n+1 problem) for very large integers. Sequence is handled as vector in memory.

Notifications You must be signed in to change notification settings

ratwolfzero/collatz_bigint

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 

Repository files navigation

collatz_bigint

Program to calculate the Collatz sequence for very large integers. Using crate BigInt.

Input value can be entered like 27, 2^199, or 2^199-1.

My Mac mini with M2 and 8 GB Ram was able to handle at least 2^30000-1

About

Calculate and display the Collatz sequence (3n+1 problem) for very large integers. Sequence is handled as vector in memory.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages