Problem 223 & 224

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.
enigmaticcam
Posts: 16
Joined: Wed Sep 30, 2015 12:07 am

Re: Problem 223 & 224

Post by enigmaticcam »

viv_ban wrote: Sat Nov 21, 2009 4:43 pm Can somebody please confirm the number of solutions for perimeter < 10^4 is equal to 13656
For some reason, I can't write even a brute force algorithm that gets even close to 13,656 for 10^4. I'm checking every variation of a,b,c where a <= b <= c, c < a + b, and a + b + c <= 10^4, but I'm only getting 543. What am I missing?
User avatar
Animus
Administrator
Posts: 1987
Joined: Sat Aug 16, 2014 1:23 pm

Re: Problem 223 & 224

Post by Animus »

You are probably mixing up values in the thread for problem 223 and problem 224.
enigmaticcam
Posts: 16
Joined: Wed Sep 30, 2015 12:07 am

Re: Problem 223 & 224

Post by enigmaticcam »

Animus wrote: Tue Feb 12, 2019 8:47 pm You are probably mixing up values in the thread for problem 223 and problem 224.
Oh, thank you. yes, that seems likely. I didn't even realize that 223 was c^2 + 1 and 224 was c^2 - 1. I thought they were the same just larger perimeters :lol:
Post Reply