mu( "MUUUU", "MU", 20 ); # returns 2According to the rules, a string with no I's always transforms into a string with an even number of U's (if it has an M at the beginning): rule 2 doubles the number of U's, rule 4 removes an even number, rules 1 and 3 never apply if there are no I's, and no rule can add an I if one isn't there to start with.
Masem, were you able to make this derivation or is "MU" a typo for "M"?
BTW, I agree with your assessment of GEB. A rare combination of fun and enlightening. My favorites are the dialogues, especially "Contracrostipunctus" and the "Crab Canon". Had you noticed the former is a self-referential double acrostic?
Update: Man, by the time I analyze the first example, japhy already has a solution....
In reply to Re: (Golf) Gödel, Escher, and Bach, Oh My!
by VSarkiss
in thread (Golf) Gödel, Escher, and Bach, Oh My!
by Masem
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |