Hofstadter Q sequence by pooq

q:[];sum((q:cons(x:if n>2then q[q[1]]+q[q[2]]else 1,q),dispterms(x)),n,1,300);

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

download

return to the top page