Problem 226

A place to air possible concerns or difficulties in understanding ProjectEuler problems. This forum is not meant to publish solutions. This forum is NOT meant to discuss solution methods or giving hints how a problem can be solved.
Forum rules
As your posts will be visible to the general public you are requested to be thoughtful in not posting anything that might explicitly give away how to solve a particular problem.

This forum is NOT meant to discuss solution methods for a problem.

In particular don't post any code fragments or results.

Don't start begging others to give partial answers to problems

Don't ask for hints how to solve a problem

Don't start a new topic for a problem if there already exists one


See also the topics:
Don't post any spoilers
Comments, questions and clarifications about PE problems.
zwuupeape
Posts: 189
Joined: Tue Jun 09, 2009 6:11 pm

Re: Problem 226

Post by zwuupeape »

I posted a reply but for some reason it was deleted.

I am 100% certain I have a precision problem. My methods are all verified by online sources, all make perfect sense. I used the PICTURE to verify some of my results and it agrees with me.

If someone who solved it can PM me so that I can verify a few results it would be nice.
I think I can give that away on the forum, though: the first 6 digits of the answer form a prime number. :)
User avatar
Georg
Posts: 157
Joined: Mon Jan 21, 2008 7:00 am
Location: Mannheim, Germany
Contact:

Re: Problem 226

Post by Georg »

zwuupeape wrote:I think I can give that away on the forum, though: the first 6 digits of the answer form a prime number. :)
==> The answer is wrong.
zwuupeape
Posts: 189
Joined: Tue Jun 09, 2009 6:11 pm

Re: Problem 226

Post by zwuupeape »

Yeah, I made a mistake... The first 6 digits form a prime, however, if you add one to the last digit
User avatar
Georg
Posts: 157
Joined: Mon Jan 21, 2008 7:00 am
Location: Mannheim, Germany
Contact:

Re: Problem 226

Post by Georg »

zwuupeape wrote:Yeah, I made a mistake... The first 6 digits form a prime, however, if you add one to the last digit
Indeed. :)
axelbrz
Posts: 51
Joined: Mon Sep 08, 2008 5:34 am

Re: Problem 226

Post by axelbrz »

Hi,

Can I send to someone some values I've obtained to know what I'm doing wrong?

Thanks! :)
"think(O(n))+O(n) sometimes is better than think(O(1))+O(1)"

Image
User avatar
daniel.is.fischer
Posts: 2400
Joined: Sun Sep 02, 2007 11:15 pm
Location: Bremen, Germany

Re: Problem 226

Post by daniel.is.fischer »

axelbrz wrote: Can I send to someone some values I've obtained to know what I'm doing wrong?
Yes.
Il faut respecter la montagne -- c'est pourquoi les gypaètes sont là.
axelbrz
Posts: 51
Joined: Mon Sep 08, 2008 5:34 am

Re: Problem 226

Post by axelbrz »

I was calculating a wrong value! It's correct now!

Thank you! :)
"think(O(n))+O(n) sometimes is better than think(O(1))+O(1)"

Image
User avatar
daniel.is.fischer
Posts: 2400
Joined: Sun Sep 02, 2007 11:15 pm
Location: Bremen, Germany

Re: Problem 226

Post by daniel.is.fischer »

Congrats.
Il faut respecter la montagne -- c'est pourquoi les gypaètes sont là.
Post Reply