def C(n) :
if n is even :
return n / 2
else
return 3n+1
k = SECRET_NUMBER
while k > 1 :
print k
k = C(k) 10
5
16
8
4
2
111
34
17
52
26
13
40
20
10
5
16
8
4
2
1The famous Collatz Conjecture is that this always stops at 1, no one knows.
With your group, choose a scenario
So the "predecessor" algebra is
\[--n =\begin{cases} Fail & n=0\\ k & n=++k \\ \infty & n= \infty\end{cases}\]
For every processor write it as a function \[\mathbb{A}\to \mathbb{A}^n\] where n is the number of terms of times data of the same type is given as dependent for that operator.