Wednesday, August 19, 2009

Three Magical Numbers

There are three simple numbers which has a mysterious property. Sum of any two numbers is a perfect square. Can you tell the numbers ?

Labels:

36 Comments:

Blogger milos said...

2,2,2...not a guess but calculation using the fact that the only simple number divideable by 2 is 2:D

August 19, 2009 8:58 AM  
Blogger Chris said...

This post has been removed by the author.

August 19, 2009 9:36 AM  
Blogger Chris said...

Very nice answer. I hadn't noticed that one. I don't understand your explanation though.

Now I see 8,8,8; 18,18,18 etc.

Or -1,0,1 as a solution in (Gaussian) integers. if allow 0 as being a square.
---
milos, take a look at the weight problem, I've updated it, skip to the last few posts.

August 19, 2009 10:57 AM  
Blogger Chris said...

Also 1,8,8.

August 19, 2009 1:57 PM  
Blogger Chris said...

Also 7,2,2; 7,18,18; 4,32,32; 14,50,50 etc. This is fun.

August 19, 2009 2:06 PM  
Blogger Chris said...

This post has been removed by the author.

August 19, 2009 2:51 PM  
Blogger Chris said...

This post has been removed by the author.

August 19, 2009 2:51 PM  
Anonymous t.: b:.:H said...

I think tom means 3 different numbers, nobody said positive numbers =)
[7,-3,2]
for me these are all perfect squares.

August 19, 2009 3:49 PM  
Blogger Chris said...

This post has been removed by the author.

August 19, 2009 4:24 PM  
Blogger Chris said...

t:b:.:H - Very clever - I do like that.

Despite the fun, I think that the only interesting bit left to do, is to show it can't be done with real distinct positive integers - I fancy that is implied in the challenge.

I'm not saying the other stuff is off topic by any means, though.

August 19, 2009 4:29 PM  
Blogger milos said...

sorry english is not my mother language but does simple number mean a number divideable only by himslef and 1???

August 19, 2009 4:44 PM  
Blogger Lara said...

@Milos, thats a Prime Number

assuming that all numbers have to be different however don't have to be positive, isn't there an infinite amount of solutions to this?

cause this is wat I got:
pick 3 different numbers, label them x,y,z and follow this process:

((x^2)+(y^2)+(z^2))/2 = A
therefore: B=(x^2)-A
and C=(y^2)-B

where A,B,C is your solutions...
substituting 1,2,3
I got 3,-2,6

I just realised, there are conditions to which numbers you chose for x,y,z....so far i see that if u keep x and 7 odd, and y even...you'll always come up with a rational number...but I'm in a rush now...cya

August 19, 2009 6:05 PM  
Blogger Lara said...

EDIT:
"if you keep x and z odd, and y even."

August 19, 2009 6:08 PM  
Blogger Chris said...

This post has been removed by the author.

August 19, 2009 6:11 PM  
Anonymous Anonymous said...

sorry to burst a bubble, but 7;-3;2 wont work because the square root of -1 is imaginary...

August 19, 2009 7:10 PM  
Blogger Chris said...

This post has been removed by the author.

August 19, 2009 7:26 PM  
Blogger Chris said...

This post has been removed by the author.

August 19, 2009 7:30 PM  
Anonymous Anonymous said...

30;-5; and 6 :D
oh, and sorry, i wasnt paying enough attention...

August 19, 2009 7:41 PM  
Anonymous Anonymous said...

oh, finally, one without a negative [0;16;9]

August 19, 2009 7:49 PM  
Blogger Chris said...

This post has been removed by the author.

August 19, 2009 8:10 PM  
Blogger Chris said...

Anonymous 7:41, that's OK, "the man who made no mistakes made nothing". Your answer is good with me.

Anonymous 7:49. Oh yes, and there's plenty more like that too.

Looks like everyone's finding cheeky but valid solutions. I notice no one has the the hard one with 3 distinct +ve integer and pucker perfect squares, or even 3 distinct +ve reals and pucker perfect squares.

August 19, 2009 8:12 PM  
Anonymous Anonymous said...

0 and the squares of the two smaller numbers of any Pythagorean triple.

August 20, 2009 3:51 AM  
Anonymous SBA said...

its very simple.
if require positive no.s,the no.s are 1,24,120

August 20, 2009 6:11 AM  
Blogger Chris said...

Last Anonymous, that's what I reckoned.

6,19,30; I'm personally relieved I hadn't published a proof that
that solution was impossible.

Lara had made a typo, she should have written:
(-x^2 + y^2 + z^2)/2 = A.
I've slightly tweaked her definitions for aesthetic reasons.

A selection rule for x,y,z follows from the need for (...)/2 to be
integral. x,y,z all 3 even or 1 even and 2 odd.
The rest is correct, i.e. B = z^2 - A, C = x^2 - B.

x,y,z = 1,2,3 => x^2,y^2,z^2 = 1,4,9 and A,B,C = 6,3,-2
x,y,z = 5,6,7 => x^2,y^2,z^3 = 25,36,49 and A,B,C = 30,19,6

If you prefer: B = (x^2 - y^2 + z^2)/2 and C = (x^2 + y^2 - z^2)/2

You can now rattle of solutions. Thanks Lara.
I'm feeling foolish for not cracking that one immediately.

August 20, 2009 6:54 AM  
Blogger Chris said...

This post has been removed by the author.

August 20, 2009 7:07 AM  
Blogger Chris said...

This post has been removed by the author.

August 20, 2009 8:12 AM  
Blogger Chris said...

This post has been removed by the author.

August 20, 2009 9:01 AM  
Blogger Chris said...

This post has been removed by the author.

August 21, 2009 9:03 AM  
Blogger Chris said...

Just for neatness: define S = (x^2 + y^2 + z^2)/2, then
A = S - x^2, B = S - y^2, C = S - z^2

If drop assumption that A,B,C are integral,
then e.g. A,B,C = 9.5, 6.5, -5.5 does it.

A,B,C can be guaranteed +ve if choose z>y>x and x^2 + y^2 > z^2

Although the problem was stated in terms of squares, it also works
for cubes and up - with the obvious changes to the equations.

August 22, 2009 5:01 PM  
Blogger Mark said...

i believe the answer is 1,3,5

August 27, 2009 3:36 PM  
Blogger Chris said...

That doesn't work. 1+3 = 4 is OK
1+5=6 and 3+5=8 aren't perfect squares.

August 27, 2009 5:09 PM  
Blogger Chris said...

This post has been removed by the author.

August 28, 2009 7:05 PM  
Blogger Chris said...

I'm such a pedant.
The a,b,c all +ve condition should have started: z>y>x>0

August 28, 2009 7:11 PM  
Blogger Chris said...

This post has been removed by the author.

August 28, 2009 7:42 PM  
Blogger Chris said...

If there's anybody out there?(good song)

The conditions on x,y,z corresponds to them being able to form the sides of a triangle.

August 28, 2009 7:43 PM  
Blogger Chris said...

...I thought not

August 28, 2009 7:44 PM  

Post a Comment

Links to this post:

Create a Link

<< Home