Skip to content

Multi threaded realisation of Syracuse conjecture/Collatz conjecture/3n + 1 problem

License

Notifications You must be signed in to change notification settings

Vilquid/3nplus1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

3nplus1

Multi threaded realisation of Syracuse conjecture/Collatz conjecture/3n + 1 problem

Description

Program tries to iterate through numbers from 1 to X and run cycle with conditions:

  • If number is odd, then multiplied by 3 and added by 1.
  • If number is even, then divided by 2
  • If resulted number is 1, then cycle ends

Current reseult

Current battle station : Intel(R) Core(TM) i7-8565U CPU @ 1.80GHz 1.99 GHz

From 1 to 10e10 -> 181 seconds

About

Multi threaded realisation of Syracuse conjecture/Collatz conjecture/3n + 1 problem

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages