Everything2
Near Matches
Ignore Exact
Full Text
Everything2

four numbers game

created by pottedstu

(thing) by pottedstu (1.7 y) (print)   ?   (I like it!) 2 C!s Tue Oct 30 2001 at 13:47:14

The Four Numbers Game is a mathematical game, as taught by Dr. Paul Sally, Prof. of Mathematics at the University of Chicago. To play this game, draw a square and put a number at each corner, thus:

5___9
|   |
|   |
|   |
7___13

Now form a new square based on the difference between each the values at the ends of each side. Example:

5_4_9
|   |
2   4
|   |
7_6_13

This gives a new square, which I'll rotate anticlockwise 45 degrees.

4___4
|   |
|   |
|   |
2___6

This in turn gives

0___2
|   |
|   |
|   |
2___4

Then

2___2
|   |
|   |
|   |
2___2

Then

0___0
|   |
|   |
|   |
0___0

At this point, the game is over. You count the number of squares you made, excluding the original, and try to get as high a score as possible.

What are the best numbers to choose? In general, Tribonacci numbers take a very long time to converge. If you pick a group of 4 successive Tribonacci numbers, this is what happens.

149 _ 274  
 |     |
927 _ 504

125 _ 230
 |     |
778 _ 423

105 _ 193
 |     |
653 _ 355

This will go on for a long time, reaching all zeros on the 18th square. The complete set of corners is:

125 230 423 778
105 193 355 653
88 162 298 548
74 136 250 460
62 114 210 386
52 96 176 324
44 80 148 272
36 68 124 228
32 56 104 192
24 48 88 160
24 40 72 136
16 32 64 112
16 32 48 96
16 16 48 80
0 32 32 64
32 0 32 64
32 32 32 32
0 0 0 0


If you want to explore further, you can play online, courtesy of czeano, at:

http://projectmayhem.org/~czeano/fournumb.php
Alternatively, you could enter the following C++ program:
// Program for the Four Numbers Game
// By Stuart Finlayson
// This code is public domain, and the author surrenders all rights to it

#include <iostream>

using namespace std;

main() {
        int a, b, c, d;
        int a1, b1, c1, d1;
        cout << "Enter 4 integers for the corners\n";
        cin >> a >> b >> c >> d;

        while (a!=0 || b!=0 || c!=0 || d!=0) {
                a1 = abs(b-a);
                b1 = abs(c-b);
                c1 = abs(d-c);
                d1 = abs(a-d);

                a=a1; b=b1; c=c1; d=d1;

                cout << a << ' ' << b << ' ' << c << ' '
                        << d << endl;
        }

        return 0;
}
Further reading

Anonymous, "The Four Numbers Game". http://www.geocities.com/SiliconValley/Park/5376/num.html, 2001/10/30.


printable version
chaos

Mathematical Games golden mean Golden ratio Tribonacci number
rising butt Lucas number Su Doku Numbers 36
How to get a Ph.D. Sun Ra University of Chicago series
Fibonacci number Nim Callus Number
fractran game mathematics
Y'know, if you log in, you can write something here, or contact authors directly on the site. Create a New User if you don't already have an account.
  Epicenter
Login
Password

password reminder
register

Everything2 Help

Cool Staff Picks
Things you could have written:
Bahá'í Faith
Osteogenesis Imperfecta
The day I became a capitalist swine, hell-bent on gorging on the fruits of slave labor
Life of Pi
Thoughts on The Joy Luck Club
Bridgeborough, New Jersey
An area the size of Wales
PayPal
Against you I will fling myself, unvanquished and unyielding, O Death!
Georg Hegel
Coyote
hookah
Coase Theorem
New Writeups
Heitah
Posthumous Oscar(thing)
ignis_glaciesque
University of South Florida(place)
ignis_glaciesque
Flogstaskriket(idea)
liveforever
Caesar's last breath(idea)
dagnyswaggart
she wants to believe(personal)
antigravpussy
he doesn't know, but her eyes widen too far(thing)
dagnyswaggart
Wild tides guard her secrets(poetry)
Lord Brawl
Caesar's last breath(poetry)
locke baron
Forgotten things in space(fiction)
sitaraika
Colours(idea)
etouffee
Wild tides guard her secrets(poetry)
Lord Brawl
Dr. Horrible's Sing-Along Blog(review)
a8ksh4
regret(idea)
Heisenberg
Editor Log: July 2008(log)
sam512
halfway homes, catacombs, twilight zones(fiction)
E2 is a by-product of the existence of The Everything Development Company