View Single Post
Old 10-21-2011, 01:47 PM   #15
iironiic
D6 FFR Legacy Player
FFR Simfile AuthorD7 Elite KeysmasherFFR Veteran
 
iironiic's Avatar
 
Join Date: Jan 2009
Age: 32
Posts: 4,342
Default Re: THE project euler thread

Quote:
Originally Posted by emerald000 View Post
From what I can see, you seem to be rounding off your 100th decimal.
Well... in the case of radical 2, this is the string of digits I got from my program: {141421356237309504880...}. This is including that one digit to the left of that decimal point because the sum from that digit to the 99th decimal digit is the given 475. What confuses me is this phrase: "first one hundred decimal digits". Does this include or exclude that beginning digit? If it excludes it, the sum should've been 481.

I don't think it's a rounding error because the 100th decimal digit of radical 2 is 7, which would round the 99th decimal digit up. When I created that set of digits, 2 was the last element of that set, so that doesn't seem to be the problem in my program.
iironiic is offline   Reply With Quote