1, 3, 7, 12, 18, 26, 35, 45, 56, 69(the differences are equal to the list of number not in the sequence).
1, -2, 6, -24The program erroneously predicted -120 (the proper answer being 120)! With many people watching, some digging uncovered that there was a bug in the sign handling of the multiplication routine (an OR instruction instead of a XOR). Jurjen promptly fixed the bug and reassembled the interpreter so that the recognizer gave the correct answer a few minutes later. This was yet another example of our "live performance" way of working.
The input for the SASL compiler would have been something like this:fac 0 = 1 fac n = n*fac(n-1) fac 100
The corresponding output of the compiler would be something like:fac n (if (= n 0) 1 (* n (fac (- n 1)))) (fac 100)
This would then be fed to the SASL interpreter which would print the answer. In order to avoid having to load the SASL compiler for each compilation run, a special version of the LISP interpreter with the SASL compiler already preloaded was created; this version was appropriately called SC (SASL Compiler).fac (((if B ((= B L) C 0)) C 1) S ((* (fac B ((- B L) C 1))) S L)) (fac 100)