Arrange the numbers 1 to 9 as shown in the diagram so that the square of the sum of numbers on each of the three sides are equal.
Any good ways to do this or does it rely solely on trial and error?
Printable View
Arrange the numbers 1 to 9 as shown in the diagram so that the square of the sum of numbers on each of the three sides are equal.
Any good ways to do this or does it rely solely on trial and error?
It was a lot simpler after I thought about it for a second. You're trying to find out what pattern would work so that they are all even, right? Well first you have to know the number that you're trying to achieve in order for you to be able to solve it. Just add up all the numbers then do some trial and error.
Do you mean the sum of the squared numbers? If so, why would you even start out with those numbers, and not just throw the final numbers on there right away. I'm confused.
I would probably put 9 (81) on one of the corners, and then work from there with small numbers on the other two corners.
Caretaker's idea might be good, although I'm not sure if it accounts for the fact that some of the sides share numbers, due to the corners. I'm not sure if that needs to be accounted for either though.
So in the example, the bottom edge has value 1^2 + 2^2 + 3^2 + 4^2, for instance?
In this case as Marvo says, the first step is to just square all of the numbers.
I'm not sure why he puts 81 on a corner though, this isn't necessarily the solution (in fact, as far as I can tell, it definitely isn't a solution)..?
The best hint I can give is to consider the remainders of each square after division by small numbers; for instance, after division by 2. Try to use the fact that the numbers and their sums are either even or odd.
Edit: Looks like you've changed the puzzle? Previously it was quite interesting and there was only one answer.
Spoiler for Answer:
As it stands now the squaring is totally pointless, and I'm wondering where you got the puzzle from. If the squares of the sides are equal then obviously you just have to make it so that the sides are equal, disregarding the squaring.
I can't think of a good way to solve this problem. What I mean is that If for some reason I cared about the actual solution, I would rather write a program to just brute force it than spend a quarter of the time winnowing down possibilities.
In the version where the problem incorporates the square of sums rather than the sum of squares (i.e. for the broken version), it can be stated as a non-homogeneous system of 3 linear equations in 9 variables with the RHS equal to (x, x, x) and addressed systematically.
I'll try to come up with a good (sorry Xei) solution and report back if I get one.
What's wrong with my solution? :/
I didn't spend any time winnowing it down, my method determined the answer uniquely.
How would you work through your solution for the broken system? And why isn't x a variable...
Except there's not a unique answer to be determined. The answers come in multiples of 48...
I wouldn't because my solution wouldn't work. X was intended to be a variable though.Quote:
How would you work through your solution for the broken system? And why isn't x a variable...