Hofstadter Q sequence by teebee

a:[1.p,1.p];298.times{|i|a~=[a[i+2-a[i+1]]+a[i+2-a[i]] .p];}

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return to the top page