int a=10000,b,c=8400,d,e,f[8401],g;main(){for(;b-c;)f[b++]=a/5;for(;d=0,g=c*2;c-=14,printf("%.4d",e+d/a),e=d%a)for(b=c;d+=f[b]*a,f[b]=d%--g,d/=g--,--b;d*=b);}
Mob of the Mean: Free beanie, cattle-prod and Charley Fan Club! "Doctor X is just treating you the way he treats everyone--as subhuman crap too dumb to breathe in after you breathe out." – Don DocX: FTW. – sparks
"Doctor X wins again." – Pyrrho
"Never sorry to make a racist Fucktard cry." – His Humble MagNIfIcence
"It was the criticisms of Doc X, actually, that let me see more clearly how far the hypocrisy had gone." – clarsct
"I'd leave it up to Doctor X who has been a benevolent tyrant so far." – Grammatron
"Indeed you are a river to your people.
Shit. That's going to end up in your sig." – Pyrrho
"Try a twelve step program and accept Doctor X as your High Power." – asthmatic camel
"just like Doc X said." – gnome WS CHAMPIONS X4!!!!NBA CHAMPIONS!!Stanley Cup!SB CHAMPIONS X6!!!!!!
int a=10000,b,c=8400,d,e,f[8401],g;main(){for(;b-c;)f[b++]=a/5;for(;d=0,g=c*2;c-=14,printf("%.4d",e+d/a),e=d%a)for(b=c;d+=f[b]*a,f[b]=d%--g,d/=g--,--b;d*=b);}
@ Matt: read the Mel story with pleasure, reminded me of a time when bits were set with switches. But I think the programmer diden't want to obfuscate (which I used, of course), just to show that lots of π's decimals could be generated with a handful of bytes.