<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>For those of you turning your attention to collatz, I really
      encourage you to take a look at the Online Encyclopedia of Integer
      Sequences.</p>
    <p><a class="moz-txt-link-freetext" href="https://oeis.org/A006577">https://oeis.org/A006577</a></p>
    <p>and then run your program on the interval 1-72 to see if you are
      producing the correct output.   Remember that if two integers have
      the same collatz sequence length, you keep the smaller integer in
      your list.   When I run my code using those limits I produce the
      following...</p>
    <pre class="code highlight" lang="plaintext"><span class="line" id="LC1" lang="plaintext"> Sorted based on sequence length</span>
<span class="line" id="LC2" lang="plaintext">                   54                  112</span>
<span class="line" id="LC3" lang="plaintext">                   27                  111</span>
<span class="line" id="LC4" lang="plaintext">                   41                  109</span>
<span class="line" id="LC5" lang="plaintext">                   62                  107</span>
<span class="line" id="LC6" lang="plaintext">                   31                  106</span>
<span class="line" id="LC7" lang="plaintext">                   47                  104</span>
<span class="line" id="LC8" lang="plaintext">                   71                  102</span>
<span class="line" id="LC9" lang="plaintext">                   39                   34</span>
<span class="line" id="LC10" lang="plaintext">                   57                   32</span>
<span class="line" id="LC11" lang="plaintext">                   43                   29</span>
<span class="line" id="LC12" lang="plaintext"> Sorted based on integer size</span>
<span class="line" id="LC13" lang="plaintext">                   71                  102</span>
<span class="line" id="LC14" lang="plaintext">                   62                  107</span>
<span class="line" id="LC15" lang="plaintext">                   57                   32</span>
<span class="line" id="LC16" lang="plaintext">                   54                  112</span>
<span class="line" id="LC17" lang="plaintext">                   47                  104</span>
<span class="line" id="LC18" lang="plaintext">                   43                   29</span>
<span class="line" id="LC19" lang="plaintext">                   41                  109</span>
<span class="line" id="LC20" lang="plaintext">                   39                   34</span>
<span class="line" id="LC21" lang="plaintext">                   31                  106</span>
<span class="line" id="LC22" lang="plaintext">                   27                  111

</span></pre>
    <p>I could potentially run you programs with a really big ranges or
      really big numbers (largest being 2100000000). <br>
    </p>
    <p><br>
    </p>
    <div class="moz-signature">-- <br>
      <b>Andrew J. Pounds, Ph.D.</b><br>
      <i>Professor of Chemistry and Computer Science</i><br>
      <i>Director of the Computational Science Program</i><br>
      <i>Mercer University, Macon, GA, 31207 (478) 301-5627 </i></div>
  </body>
</html>