The Golden Ratio by 51b

a[505],i,j,k;main(c){for(;i<499?c>124?c=printf(i++?"%d":"1.6",--a[i]):1:0;)for(a[i]++,j=i+6;j--;)for(c/=10,k=j;~k;)c+=a[k]*a[j-k--];}

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

download

return to the top page