[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

ITT: We find a magic square of square numbers. There's a

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 90
Thread images: 7

File: magsqr.png (22KB, 829x841px) Image search: [Google]
magsqr.png
22KB, 829x841px
ITT: We find a magic square of square numbers.
There's a big price for it, €1000.
>>
What is this and what are the conditions? The magic number could be 1.
>>
>>8040794
All numbers can only appear once.
A magic square is a square where all the rows, columns and diagonals add up to the same sum.
>>
>>8040797
Domain?
>>
>>8040800
Positive integers from 1 and up.
>>
To start off, this matrix (when squared) have two sums that appear twice each.
49 21 81
51 13 10
19 59 39
>>
>I remembered Parker's Square
kek
>>
I couldn't find a 3x3 square checker

anyone ?
>>
>>8040933
pen and paper, son
>>
>>8040933
If you can't code you should just give up now and take what life hands you.
>>
>>8040789
>There's a big price for it, €1000.
Where? Google gives me nothing.
>>
>>8040990
Honestly I doubt that. Think it could be solved easily with languages operating on lists like prolog.
>>
>>8041028
>implying existence
>>
>>8040990
>>8041028
>>8041030
http://www.multimagie.com/English/SquaresOfSquaresSearch.htm
€1000 and a bottle of champagne.

>>8041028
It's not as easy as you think it is.
>>
>>8041028
Don't talk about things you studied for a week like you know jack shit about them.
>>
What about squares like this that also have a square number as the magic sum?

Were they proven to be non-existent?
>>
File: Untitled.png (2KB, 202x151px) Image search: [Google]
Untitled.png
2KB, 202x151px
>>8040789
Where can I collect my €1000?
>>
>>8041079
Nevermind, the solution is that there aren't any

I looked at the link, and it shows that if E is the middle number, then the sum is S=3E.
If S and E are both square numbers, this implies that 3=S/E is a square of a rational number, which is impossible.
>>
File: 1462037775345.png (9KB, 732x738px) Image search: [Google]
1462037775345.png
9KB, 732x738px
>>8041089
...
>>
>>8041102
bugger off
>>
>>8040789
>Sum equals n
Casual as fuck. Call me when you find one with n being a perfect square itself.
>>
>>8041110
read >>8041093
>>
>>8041089
>no realizing that if a+b+c=n, a^2+b^2+c^2 may not be equal to n^2.
>>
>>8041093
I also tried explaining in an email that in order for the result to be "real" it would also have to be prime, and there are no prime numbers that are also square numbers

otherwise there's too many dividends and it will never result in a finite, real number.
>>
Precisely it's
>3x3 magic square using 7 (or why not 8, or 9) distinct squared integers
>>
http://oeis.org/A024795
If a 3x3 magic square of square numbers exists, its magic sum must be one of the numbers that repeat 9 or more times in this sequence.
>>
>>8041552
Hmm, nevermind that.
It's still true, but not specific enough.
That sequence contains repetitions, including repetitions with numbers recurring twice or thrice.
>>
A few insights.

(1) Kronecker product of two vectors gives you a matrix of the form in the OP.
(2) The sum of that matrices eigenvalues (e.g. The trace) is equal to the sum of the diagonals, e.g. Our number 'n'.
(3) The one find a nearest Kronecker fractor from two vectors (say u and v) as sqrt(s)*u and sqrt(s)*v. Where 's' is the first singular value of the matrix and u, v are first column vectors of the SVD decomposition of the original matrix.

I wonder if you can make hay with those?
>>
actually can't believe nobody has cuda the shit out of it yet
>>
daily reminder that for 3 x 3 magic squares without repeating entries must add up to 15. If you disagree with this, construct one
>>
>>8041767
Here, have a nice counterexample;
[math]\begin{bmatrix} 3 & 13 & 11 \\ 17 & 9 & 1 \\ 7 & 5 & 15 \end{bmatrix}[/math]
>>
>>8041871
>that
>magic square
>>
>>8041957
>no repeating entries
>all rows, columns and diagonals add up to the same sum
what is it missing?
are you talking about the boring 1 to 9 square?
>>
>>8040789
https://www.youtube.com/watch?v=aQxCnmhqZko
>>
>>8041964
1 to n^2 square :^3
>>
>>8041964
Entries must be themselves square numbers.
>>
>From Lee Morgenstern, USA, far extending his previous proof excluding 1: "if there is a 3x3 magic square of distinct squares, then all entries must be above 10^14."
Good luck.
>>
>>8042084
yeah, the boring 1 to 9 square, the simplest of the magic squares, not what this thread is about
>>8042100
wrong
>>
1 1 1
1 1 1
1 1 1
>>
>>8042860
No repeating entries.
>>
File: shiat.jpg (372KB, 1792x833px) Image search: [Google]
shiat.jpg
372KB, 1792x833px
what about this?
>>
>>8042915
constraints are all like A-B = 0
>>
>>8042915
read this >>8040810
>>
All 0
>>
>>8042931
read >>8042922
>>
5229265762932550 1076613715703360 3829691353118270

1308281276418140 3793452841074470 5202784736723760

3756864790588440 5255613363069180 1198060305466060

:D
>>
>>8042960
shit, Im gonna suck you off for how you got there. I had n^4 log n solution (could be improved a bit with massive lookup tables tho) and assumed it's too bad.
>>
>>8042960
>>8042965

The first two rows don't add up to the same number.
>>
>>8042965
>>8042967
common bros, its just my excelshit with big numbers.. ;)
>>
>>8042969
>Im gonna suck you off for how you got there
shit
>>
File: dyfasyg.jpg (488KB, 1498x1316px) Image search: [Google]
dyfasyg.jpg
488KB, 1498x1316px
>>8042970
creat sheet. use estimated values for a-i (eg 1,2,3,4,5,6,7,8,9).
calculate all equations a^2+b^2+c^, d^2+e^2+f^3,.... (8 equations like pcirelated blue hemmed cells)
create constraints like >>8042921
use solver on sum of all constrains(picrelated).
solve.
start to add contraints into solver(step by step) and solve again.
as you can see picrelated there is no need for all constraints.
>>
>>8042967 is right, the sum of the first row ends in 80 while the sum of the middle row ends in 70.

i thought the people who did numerical analysis in excel were accounting/business types. isn't this discrepancy the kind of thing that you're supposed to be good at spotting?
>>
A simple result:
Assume such a magic square exists, write A,B,C ... as short for a^2, b^2, c^2, ...
Then all 9 numbers have the same parity (i.e., either all odd or all even) so without loss of generality we can assume they are all odd by repeated dividing by 4.

Proof: Fix A,C,G and the magic square constraints determine the final sum (3(C+G)/2) as well as the other entries:
[eqn]\begin{bmatrix} A & \frac{3G+C}{2}-A & C \\ \frac{3C+G}{2}-A & \frac{C+G}{2} & A+\frac{G-C}{2} \\ G & A-\frac{G-C}{2} & C+G-A \end{bmatrix}[/eqn]

In particular C+G is even.
Assume C and G are both odd squares, hence = 1 mod 4. Then the square (C+G)/2 isn't divisible by 4 so must be odd as well. If A is even then C+G-A is also even, but the average of two even squares cannot be an odd square, contradiction. Hence A is odd. By the same logic, all the other squares are odd.
If we assume instead that C and G are both even, then C+G is divisible by 4 so the square (C+G)/2 must be even. If A is odd then so is C+G-A, and both = 1 mod 8 (proof: [2x+1]^2 = 4x[x+1]+1) but their average will necessarily be odd, contradiction. Therefore all squares are even.
>>
no die
>>
File: 2000px-Magicsquareexample.svg.png (97KB, 2000x1556px) Image search: [Google]
2000px-Magicsquareexample.svg.png
97KB, 2000x1556px
>>8043148
>Then all 9 numbers have the same parity (i.e., either all odd or all even)
This doesn't have to be true.
>>
>>8045283
That's not square numbers though.
>>
So the solution is?
>>
>>8041093
Aye but S needn't be square though.
>>
First, let's look for rational solutions. If we find one, we can scale the values up by the least common multiple of the denominators to get an
integer solution. Set A=a^2, B=b^2, etc. If we treat A,E,I and B as rational parameters, we can work around the square to get the rest.
However, it's only consistent if I=2E-A. Plugging that in, and then without loss of generality scaling so that E=1, we get the 3x3 matrix

A B 3-A-B
4-2*A-B 1 2*A+B-2
A+B-1 2-B 2-A

for which the common sum n=3. We need to make all of these elements squares. A=a^2, B=b^2 and 1=1^2 are done. We can use the standard "line intersecting the circle" technique to solve 2-b^2 = square and 2-a^2=square. This will leave 4 matrix elements left to do and parameterizations for a and b.

What do you think?
>>
>>8045290
just take the root of those numbers and you've solved it
>>
>>8045472
Sigh, read this >>8042936
>>
>>8045451
continuing... set
a=( p^2-2*p-1)/(p^2+1)
b=(-p^2-2*p+1)/(p^2+1)

seems to work! I've solved it.

Either I've made a mistake or this problem is really easy.
>>
>>8045515
test it
>>
>>8045515
I've made a mistake of course... We need distinct integers.
>>
if anyone finds an actual magic square of squares, don't post it here or someone else will try to grab the price
>>
>>8045522
anyway, here's what I've got, A=a^2, B=b^2

a= ( p^2-2*p-1)/(p^2+1);
b= ( q^2-2*q-1)/(q^2+1);
A=a^2
B=b^2
C=3-A-B
D=4-2*A-B
e=1
F=2*A+B-2
G=A+B-1
h= (-q^2-2*q+1)/(q^2+1);
i= (-p^2-2*p+1)/(p^2+1);

So you just (!) have to find rational p and q so C,D,F and G as above are perfect squares.
>>
>>8045601
That's still impossible.
>>
>>8040826
-1/12?
>>
what would be the brute force algorithm for this?

I have access to some high performance computing and a very good background in programming
>>
OP is a Parker square
>>
>>8043148
Is this model right? Will any existing magic square fit into it?
>>
>>8047349
construct a matrix, everytime you place a value, check if it's already there
if it's already there, get a new value
sum the rows, columns and diagonals
count the number of unique values in the list of sums
if it's 1, then it's a magic square
this way you can also find near-magic squares with 2 or 3 uniques
tweak this based on the findings and restrictions posted in this thread
for example, the magic square of squares does not contain a 1
>>
>>8041871
>9
>1
So close to only primes.
>>
>>8040789
Just solve for the system of implicit equations [math]d < c < h < i < e < a < b < g < f \cup a^2+b^2+c^2=d^2+e^2+f^2=g^2+h^2+i^2=a^2+d^2+g^2=b^2+e^2+h^2=c^2+f^2+i^2=a^2+e^2+i^2=c^2+e^2+g^2[/math] and generalize to integers if possible.
>>
>>8042113
>>8040789
I found this proof of the impossibility of a 3x3 magic square of squares.
Can someone LaTeX it for me, please?
http://www.mathpages.com/home/kmath417.htm
>>
>>8048507
That's pretty easy to understand. Why LaTeX?
>>
>>8040789
isn't this impossible because r^2-s^2 is on the order of 2x-1

how the fuck are we supposed to get these numbers to add up to be the same if we aren't allowed repeats
>>
>>8050545
No, it's not impossible as far as we know.
>>
>>8048487
That's a little bit too complicated, don't you think?
>>
>>8041767
Multiply each box by 2.
>>
>>8055001
It's all Euclidean.
>>
>>8048507

wtf?

how does [math]2e2[/math] being be a sum of two
squares in four different ways imply that [math]e[/math] itself is a sum of squares in
(at least) two different ways?

I tried using fermat but it turns out there is a case where a = 3 mod 4 and i = 3 mod 4 and e = 3 mod 4

how does one rule out out this case ?
>>
>>8048487
easier said than done
>>
>>8056473

anyone can answer this ?
>>
>>8042113
Well, shit.
>>
File: 1462678867290.jpg (259KB, 1280x1185px) Image search: [Google]
1462678867290.jpg
259KB, 1280x1185px
>if there is a 3x3 magic square of distinct squares, then all entries must be above 10^14
>>
I wrote a script in C to solve this. I have the answer. Not gonna post since I want the money.
>>
>>8059721
If you have already e-mailed the answers, then what is the threat?
>nobody gonna stop looking just cause you wrote it bwoy
>>
>>8059721
Well, have you sent it to them yet?
What's the answer?
>>
>>8050436
because I'm autistic
Thread posts: 90
Thread images: 7


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.