A is what number it is testing. press start to draw graph.
For what it is doing check out Veratisiam 3x + 1