Like Tree1Likes

Collatz's Conjecture

This is a discussion on Collatz's Conjecture within the C Programming forums, part of the General Programming Boards category; Using small numbers to represent bigger numbers, is the right way to go. Once you get close to the max ...

  1. #16
    Registered User
    Join Date
    Sep 2006
    Posts
    8,868
    Using small numbers to represent bigger numbers, is the right way to go. Once you get close to the max number your system can generate, you need to "create" your own, smaller int's, that *represent*, huge numbers.

    In a project I ran two years ago, I used this same approach, and it works very well, even going up into 10^24th range. No reason why it couldn't be extended much higher. Note that no big number library is needed to do this, just understand that the digits in a number, represent a power of 10, and use that.

    BTW, there is a distrubuted computing project working on this conjecture, currently with 1,104 teams (not all are active though). You can see the first 100 top teams, here:
    http://boincstats.com/stats/team_sta...=collatzc&st=0
    Last edited by Adak; 06-29-2011 at 08:11 PM.

Page 2 of 2 FirstFirst 12
Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Collatz Conjecture
    By eebank in forum C Programming
    Replies: 1
    Last Post: 10-27-2010, 09:51 PM
  2. Goldbach's Conjecture
    By cashmerelc in forum C Programming
    Replies: 7
    Last Post: 07-19-2010, 11:41 PM
  3. Help With Collatz Conjecture
    By Dougal in forum C Programming
    Replies: 3
    Last Post: 10-20-2009, 11:01 PM
  4. Godbach conjecture!!
    By Leojeen in forum C Programming
    Replies: 10
    Last Post: 04-20-2008, 07:42 PM
  5. Goldbach Conjecture
    By StarOrbs in forum C++ Programming
    Replies: 19
    Last Post: 03-17-2005, 04:42 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21