T.R | Title | User | Personal Name | Date | Lines |
---|
527.1 | You can get a magic square this way | MODEL::YARBROUGH | | Wed Jul 02 1986 17:55 | 9 |
| The number in question is the repeating fractional part of 1/47
multiplied by a large enough power of 10 to make it an integer.
This works for 1/p for p= primes > 5, if the period of the repeating
decimal fraction is of length p-1. Thus it works for 1/7 but fails
for 1/13.
The repeating period of 1/19, as I recall, has the interesting property
that if you write down the period multiplied by 1, 2, ..., 18 you
will form an 18x18 magic square of single digits.
|
527.2 | I think you always get a magic square | SIERRA::OSMAN | and silos to fill before I feep, and silos to fill before I feep | Thu Jul 03 1986 09:31 | 9 |
| Isn't the magic square property necessarily true of ALL such "long"
1/p fractions ? For instance, look back at my 1/47 example. Each
row certainly adds to the same thing, since the digits are the
same just rotated. Each column also has the same digits. Hence
it's a magic square, except perhaps for the diagonals, which are
probably fine too, and if not, can be made fine by appropriate
reordering of the rows which, fortunately, won't affect the integrity
of the columns.
|
527.3 | It's the diagonals that are important | MODEL::YARBROUGH | | Thu Jul 03 1986 09:42 | 10 |
| For 1/19, no reordering is required for the diagonals to add up
correctly, and that is what makes the square magic. For 1/7, for
a counterexample, the array of 1...n-1 multiples is
142857
285714
428571
571428
714285
857142
and the diagonal sums are 23 and 31.
|
527.4 | abra cadaver | COMET::ROBERTS | Dwayne Roberts | Thu Jul 03 1986 11:22 | 11 |
|
re .2:
I believe one of the major conditions of "magicity" in a magic square
is that none of the elements repeats. There certainly seems to
be a certain lack of magic in the square
2 2 2
2 2 2
2 2 2
|
527.5 | | AURORA::HALLYB | Free the quarks! | Thu Jul 03 1986 12:49 | 11 |
| > Consider a number like:
>
> n = 0212765957446808510638297872340425531914893617
>
> Numbers like this are interesting, because:
Eric, surely you know that _all_ numbers are interesting!
In fact, even the magic square in .4 holds a certain amount of interest.
John $-}
|
527.6 | right, John | SIERRA::OSMAN | and silos to fill before I feep, and silos to fill before I feep | Thu Jul 03 1986 17:08 | 18 |
| Actually, John is correct. All numbers are interesting. Here's
a proof:
Suppose there existed a set of uninteresting numbers. Call it S.
S = {u1, u2, u3 . . . un}
There is some minimum number in this set. Call it Sm.
Sm = Sj (for some 1 <= j <= n)
This Sm is the smallest uninteresting number.
Hence Sm is of some interest.
Operating by induction, we reduce our set to null.
/Eric
|
527.7 | Heavy :-) | ELIS::GARSON | V+F = E+2 | Wed Dec 05 1990 10:42 | 11 |
|
re .-1
> Operating by induction, we reduce our set to null.
Unfortunately, the case n = 1 is false. The smallest element of a set
with one value is not interesting.
Can anyone generalise this proof to real numbers? (in which case a set
of uninteresting numbers may not even have a smallest element)
|