Hofstadter Q sequence by teebee

enum H{H;int a[]=new int[301],i,j;{for(;i<++i;)System.out.println(a[i]=i<3?1:a[j+1]+a[j=i-a[i-1]]);}}

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

download

return to the top page