Andrew Martin Smith

Collatz Conjecture Explorer

Start with a positive integer n. If n is even, go to n/2. If odd, go to 3n + 1. The conjecture claims every starting value eventually reaches 1.

Stopping time (steps to 1)
--
Peak value reached
--
Odd steps
--
Even steps
--
Trajectory Plot (value vs. step)
Tip: Use Log scale when the peak is very large; it makes structure easier to see.

Range Explorer

Explore a whole range 1…N (uses JavaScript Numbers for speed; limited to safe sizes). Finds the starting value with the longest stopping time and the highest peak.

Tip: 10,000 is quick; 100,000 may be slower depending on device/browser.
Longest stopping time
--
Starting value (longest)
--
Highest peak
--
Starting value (peak)
--
Metric Value
Range analyzed--
Safety limit hit?--
Memoization entries--

About

Bio
Philosophies

Education
Teaching
Students
Honors

Publications

Musings
Podcasts

Recordings
Scores
Writings

Professional Affiliations

ADJ•ective New Music Composers' Collective
American Society of Composers, Authors and Publishers
Chautauqua County Music Teachers Association
College Music Society
National Association for Music Education
New York State School Music Association
Society for Electro-Acoustic Music in the U.S.
Society of Composers, Inc.
COPYRIGHT © 2025. ALL RIGHTS RESERVED.
  • NEWS
  • BIO
  • CV
  • RESOURCES
  • TOOLS
  • CONTACT
  • MIDI
  • NEWS
  • BIO
  • CV
  • RESOURCES
  • TOOLS
  • CONTACT
  • MIDI