Hofstadter Q sequence by pooq

q=1 1
do 300
q=word(q,word(q,1))+word(q,word(q,2)) q
say word(q,3)
end

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

download

return to the top page