Schritt

a_{n+1} = Wenn a_n gerade, dann a_n/2, sonst 3a_n+1

a_{1} = 

n = 1 (slider from 1 to 150, step 1)
a = 12 (slider from 0 to 11175, step 1)
Text2: "a_{" + n + "} = " + a + ""
m(x, y) = (y * (x / y - floor(x / y)))
a1: 12
Eingabefeld1 = Textfield(a1)