Collatz 3n+1 Sequence Plotting

Collatz 3n+1 Sequence Plotting
Loading the math board and drawing, please wait…
2019-03-21 18:09
This example demonstrates the generation and plotting of the Collatz 3n+1 sequence, involving core math concepts like sequences, iteration, and recursion. It constructs the plot using GeoGebra commands such as Textfield, Max, Sequence, and PolyLine, making it suitable for high school and above students to explore sequence behavior and visualization.

GeoGebra Commands & Parameters

  1. Textfield(a) → InputBox1
  2. Max(L) → M
  3. Sequence((i, L(i)), i, 1, Length[L]) → S
  4. PolyLine(S) → PL