Page 2 of 2
Re: Problem 223 & 224
Posted: Tue Feb 12, 2019 6:01 pm
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?
Re: Problem 223 & 224
Posted: Tue Feb 12, 2019 8:47 pm
by Animus
You are probably mixing up values in the thread for problem 223 and problem 224.
Re: Problem 223 & 224
Posted: Tue Feb 12, 2019 9:02 pm
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
