collatz_test
    
    
    
      collatz_test,
      a MATLAB code which
      calls collatz(), which
      computes the Collatz sequence.
    
    
      Licensing:
    
    
      The information on this web page is distributed under the MIT license.
    
    
      Related Data and Programs:
    
    
      
      collatz,
      a MATLAB code which
      computes and analyzes the Collatz
      sequence (or hailstone sequence or 3n+1 sequence);
    
    
      Source Code:
    
    
      
    
    
      
        - 
          collatz_inverse_test.m,
          computes the inverse image of a set of points under the
          Collatz transformation.
        
- 
          collatz_level_test.m,
          computes the level sets of the Collatz transformation.
        
- 
          collatz_test01.m,
          computes the Collatz sequence for several seeds.
        
- 
          collatz_test02.m,
          computes the length of the Collatz sequence for seeds 1 to 100.
        
- 
          collatz_test03.m,
          writes the Collatz sequence for seed 27 to a file, and the
          Collatz sequence lengths for seeds 1 to 100 to a file.
        
- 
          collatz_test04.m,
          displays the Collatz sequence for seed 27.
        
- 
          collatz_test05.m,
          displays the Collatz max for seeds 1 to 1000.
        
- 
          collatz_test06.m,
          displays the Collatz count for seeds 1 to 50.
        
- 
          collatz_test07.m,
          displays the maximum Collatz count for sequences up to n.
        
- 
          lollatz_inverse_test.m,
          applies the inverse Lollatz permutation to a set of values.
        
- 
          lollatz_permutation_test.m,
          applies the Lollatz permutation to a set of values.
        
- 
          lollatz_sequence_test.m,
          computes a Lollatz sequence.
        
- 
          mollatz_test.m,
          computes the Mollatz 3N-1 sequence for several seeds.
        
- 
          nollatz_test.m,
          computes the Nollatz N+1 sequence for several seeds.
        
      
    
    
      
    
    
    
      Last revised on 15 June 2022.