Hofstadter Q sequence by clock

h=[1,1]
298.times{h<<=h[-h[-1]]+h[-h[-2]]}
puts h

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

download

return to the top page