Here is the Ambi code to calculate the Collatz sequence including a demonstration for the largish number 99,999,999. To run this code simply copy and paste it into the wholly browser based Ambi implementation. // Collatz Sequence Function; function; collatz ; if; import dup $n = 1 neq; ifelse; $n 2 / floor $n...
Read More »
Archive for April, 2009
Collatz Conjecture and Ambi
Do Not Repeat Yourself
Django has won me over. But it can be improved! Delivering web applications using django is a sublime experience – its core ‘do not repeat yourself’ philosophy and the built in admin application makes development of applications easy and fun. There remains however a major source of “repeating yourself” with django. The schema in...
Read More »


