Re: [Tutor] Problem Euler 26

2008-06-29 Thread Martin Walsh
kinuthiA muchanE wrote: > > (28, '035714286') > (38, '026315789') > (81, '012345679') > > For 28, the digit, in the fractional part, after 8 is 5, so 5 is > repeated and as for, 81 the next digit after 7 is 0, so again 0 occurs > twice. But for 38, the next digit after 9 is 4, and because it has

Re: [Tutor] Problem Euler 26

2008-06-29 Thread Martin Walsh
kinuthiA muchanE wrote: > Hi, Hi Kinuthia, > I am trying to solve Problem Number 26 > (http://projecteuler.net/index.php?section=problems&id=26) on project > Euler but apparently the answer I am submitting is wrong. > I am a big fan of Project Euler also. Fun stuff. > I suspect I have complete

[Tutor] Problem Euler 26

2008-06-29 Thread kinuthiA muchanE
Hi, I am trying to solve Problem Number 26 (http://projecteuler.net/index.php?section=problems&id=26) on project Euler but apparently the answer I am submitting is wrong. Here is the problem: A unit fraction contains 1 in the numerator. The decimal representation of the unit fractions with denom