|
|
A348269
|
|
A 5 X 5 pandiagonal magic square read by rows: the entries have digits which are only 0's and 1's and form a magic square in any base b >= 2.
|
|
2
|
|
|
11, 1100, 110000, 11000000, 1100000000, 10010000, 1001000000, 100000001, 110, 101000, 100000100, 100010, 10001000, 1000010000, 1000001, 1000001000, 10001, 1000100, 100100000, 10000010, 1100000, 110000000, 1000000010, 1001, 10100
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
The magic square is:
[ 11, 1100, 110000, 11000000, 1100000000 ]
[ 10010000, 1001000000, 100000001, 110, 101000 ]
[ 100000100, 100010, 10001000, 1000010000, 1000001 ]
[ 1000001000, 10001, 1000100, 100100000, 10000010 ]
[ 1100000, 110000000, 1000000010, 1001, 10100 ]
The magic sum of any row, column or diagonal is 1111111111.
This has the form
A+B C+D E+F G+H I+J
E+H G+J A+I C+B D+F
C+I B+F D+H E+J G+A
D+J A+E G+C I+F B+H
G+F I+H B+J A+D C+E
with magic sum = A+B+C+D+E+F+G+H+I+J.
|
|
LINKS
|
|
|
FORMULA
|
(C#)
{
long A = 1;
long B = 10;
long C = 100;
long D = 1000;
long E = 10000;
long F = 100000;
long G = 1000000;
long H = 10000000;
long I = 100000000;
long J = 1000000000;
return new long[,] {
{ A+B, C+D, E+F, G+H, I+J },
{ E+H, G+J, A+I, C+B, D+F },
{ C+I, B+F, D+H, E+J, G+A},
{ D+J, A+E, G+C, I+F, B+H },
{ G+F, I+H, B+J, A+D, C+E }
};
}
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,fini,full
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|