The Golden Ratio by 51b

void main(){int[505]a;for(int i,j,k,c;i<499;c=printf(i++?&*"%d":&*"1.6",--a[i]))for(;c<125;)for(a[i]++,j=i+6;j--;)for(c/=10,k=j;~k;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