Your mistake is trivial... I will PM you a hint/solution because you have already solved the PE problem

I request an admin to remove the piece of code, since it's a spoiler for the problem (people who haven't solved P67 also can view this topic...)

## Search found 235 matches

- Tue Jan 05, 2010 9:33 am
- Forum: Clarifications on Project Euler Problems
- Topic: Problem 067
- Replies:
**27** - Views:
**10895**

- Wed Dec 23, 2009 6:36 pm
- Forum: Clarifications on Project Euler Problems
- Topic: Problem 185
- Replies:
**21** - Views:
**10801**

### Re: Problem 185

No, this problem is NP-complete. If I read the definition of NP-complete correctly, a problem belonging there does not mean there is no polynomial time solution... It just means that if there is one, there is a P solution for every problem in NP. The proof or disproof that NP-complete problems have...

- Mon Dec 21, 2009 6:03 pm
- Forum: News, Suggestions, and FAQ
- Topic: Problem 139 Summary
- Replies:
**12** - Views:
**5691**

### Re: Problem 139 Summary

It's now been a week, the problem summary hasn't been updated... Someone forgot in the chaos around the server transfer?

- Wed Dec 16, 2009 5:41 pm
- Forum: News, Suggestions, and FAQ
- Topic: Problem 139 Summary
- Replies:
**12** - Views:
**5691**

### Re: Problem 139 Summary

It seems that, after transferring to the new server, some setting has went wrong, creating problems like 263 An engineersâ€™ dream come true This clearly originates from a PHP problem since this text is literal in the HTML code. So I think you should convert the special characters to their HTML enti...

- Wed Dec 16, 2009 7:49 am
- Forum: Recreational
- Topic: GCD equation
- Replies:
**7** - Views:
**3800**

### Re: GCD equation

I think you are not completely right, since GCD(5 * x * z, 5 * x * q) = 5 * x

And that would make the GCD of the GCD's equal to 5 * x, so it wouldn't be a solution

And that would make the GCD of the GCD's equal to 5 * x, so it wouldn't be a solution

- Wed Dec 16, 2009 7:40 am
- Forum: News, Suggestions, and FAQ
- Topic: Problem 139 Summary
- Replies:
**12** - Views:
**5691**

### Re: Problem 139 Summary

Happy to help, after all, solving problems should not be about understanding questions grammatically, but mathematically

- Tue Dec 15, 2009 11:09 am
- Forum: News, Suggestions, and FAQ
- Topic: Problem 139 Summary
- Replies:
**12** - Views:
**5691**

### Problem 139 Summary

I have not yet solved this problem, but I think I know the intention of the statement, however in my opinion there is some sort of grammar flaw in "Finding Pythagorean triangles which allow the square on the hypotenuse square to be tiled." I suggest it to be changed into "which allow ...

- Wed Dec 02, 2009 12:15 pm
- Forum: Programming languages
- Topic: Storing data in Mathematica
- Replies:
**5** - Views:
**4469**

### Re: Storing data in Mathematica

You should consider something like AppendTo[Rest@list,element]. This deletes the first element of list and then assigns list with element at the end to the variable list (much like the ++ and -- operators) It will keep the number of elements in list constant, eg you will store the last (Length@list)...

- Thu Nov 12, 2009 8:27 pm
- Forum: Recreational
- Topic: Studies and job
- Replies:
**3** - Views:
**2453**

### Re: Studies and job

If you are really interested in the programming part, you could consider just to do Computing Sciences. Here in Holland that contains of learning algorithms, programming and such on a broad scale (e.g. you will learn PHP, C, Java, SQL, Haskell languages, but also abstract stuff like algorithms and c...

- Tue Nov 03, 2009 9:52 am
- Forum: News, Suggestions, and FAQ
- Topic: Spelling error on front page
- Replies:
**3** - Views:
**1948**

### Re: Spelling error on front page

Another typo spotted:

When replying in the Problem-specific fora, (http://projecteuler.net/index.php?secti ... epost=true), it says "It is strongly recommenEded"

Happy to help

When replying in the Problem-specific fora, (http://projecteuler.net/index.php?secti ... epost=true), it says "It is strongly recommenEded"

Happy to help

- Sat Oct 31, 2009 8:45 pm
- Forum: Clarifications on Project Euler Problems
- Topic: Problem 240
- Replies:
**14** - Views:
**6909**

### Re: Problem 240

Code review made me remove some redundant -1 which disallowed the top dice to have value 1. After that, I retried and got it! Thanks for providing feedback.

- Sat Oct 31, 2009 7:35 pm
- Forum: Programming languages
- Topic: Programming in Mathematica
- Replies:
**7** - Views:
**4310**

### Re: Programming in Mathematica

Happy to help. Considering the four major Mathematica shorthands: I am still learning how to use them better every day. PE is extremely useful for this. Make sure to check out any solution fora for the Mathematica users... You can learn a lot there

- Wed Oct 28, 2009 9:24 pm
- Forum: Clarifications on Project Euler Problems
- Topic: Problem 240
- Replies:
**14** - Views:
**6909**

### Re: Problem 240

Could anybody verify the following values? I am struggling a bit, though my algorithm works quite generally (I think) If some things are too general, please ask me for some more specific values sum | dice_size | dice_no | dice_top | amount 15 | 6 | 5 | 3 | 1111 15 | 6 | 10 | 3 | 5755544 25 | 6 | 10 ...

- Wed Oct 28, 2009 7:21 pm
- Forum: Programming languages
- Topic: Programming in Mathematica
- Replies:
**7** - Views:
**4310**

### Re: Programming in Mathematica

I have checked your code on all levels, and have not been able to spot the problem. In my opinion, this function does exactly what it is designed to do. All output seemed right to me, and for controllable numbers it gave the right answer. After verifying, I couldn't resist to try and do the same thi...

- Wed Oct 07, 2009 8:44 pm
- Forum: Clarifications on Project Euler Problems
- Topic: Problem 129
- Replies:
**13** - Views:
**5673**

### Problem 129

I seem to have trouble with this problem. I am pretty confident I have got the right value (calculated A(k) for all k smaller than my value and coprime to 10: it's always smaller than the required 10^6), but I keep getting "wrong answer". The other three problems in this sequence were solv...