problem 309

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.
Post Reply
philip_m_jones
Posts: 1
Joined: Tue Nov 09, 2010 11:13 am

problem 309

Post by philip_m_jones »

Hi

I am stuck on this one and want to check the semantics.

For ladders up to 200, there are 5 listed solutions. One is (70, 119, 30). Now for longer ladders, are multiples allowed such as (140, 238, 60)?

Can I check that if the ladder length is up to 1600, then there are 146 solutions, and up to 2500 there are 268 solutions? I did these using brute force for a search in w, x and y and checked for integer h.
User avatar
hk
Administrator
Posts: 12832
Joined: Sun Mar 26, 2006 10:34 am
Location: Haren, Netherlands

Re: problem 309

Post by hk »

philip_m_jones wrote:Hi

Can I check that if the ladder length is up to 1600, then there are 146 solutions, and up to 2500 there are 268 solutions? I did these using brute force for a search in w, x and y and checked for integer h.
For ladder lengths up to 2500 there are 267 solutions.
For ladder lengths up to and including 2500 there are 268 solutions.
Image
War ruins the life and health of untold numbers of innocent children.
Post Reply