Page 1 of 1

problem 309

Posted: Tue Nov 09, 2010 11:18 am
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.

Re: problem 309

Posted: Tue Nov 09, 2010 11:38 am
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.