Maths encyclopedia and lessons  
Search

Mathematics Encyclopedia and Lessons

 
     
 

Lessons

Popular
Subjects

algebra
arithmetic
calculus
equations
geometry
differential equations
trigonometry
number theory
probability theory
more
 

References

applied mathematics
mathematical games
mathematicians
more
 
 

Ulam spiral

The Ulam spiral, or prime spiral (in other languages also called Ulam cloth) is a simple method of graphing the prime numbers that reveals a pattern which has never been fully explained. It was discovered by the mathematician Stanislaw Marcin Ulam in 1963, while doodling on scratch paper at a scientific meeting. Ulam, bored that day, wrote down a regular grid of numbers, starting with 1 at the center, and spiraling out like this:

  37--36--35--34--33--32--31
   |                       |
  38  17--16--15--14--13  30
   |   |               |   |
  39  18   5-- 4-- 3  12  29
   |   |   |       |   |   |
  40  19   6   1-- 2  11  28
   |   |   |           |   |
  41  20   7-- 8-- 9--10  27
   |   |                   |
  42  21--22--23--24--25--26
   |
  43--44--45--46--47--48--49...

He then circled all of the prime numbers and he got the following picture:

  37--  --  --  --  --  --31
   |                       |
      17--  --  --  --13
   |   |               |   |
           5--  -- 3      29
   |   |   |       |   |   |
      19        -- 2  11
   |   |   |           |   |
  41       7--  --  --    
   |   |                   |
        --  --23--  --  --
   |
  43--  --  --  --47--  --  ...


To his surprise, the circled numbers tended to line up along diagonal lines. The following image illustrates this. This is a 200×200 Ulam spiral, where primes are black. Black diagonal lines are clearly visible.

image:Ulps000-1.png

It appears that there are diagonal lines no matter how many numbers are plotted. This seems to remain true, even if the starting number at the center is much larger than 1. This implies that there are many integer constants b and c such that the function:

f(n) = 4 n2 + b n + c

generates an unexpectedly-large number of primes as n counts up {1, 2, 3, ...}. This was so significant, that the Ulam spiral appeared on the cover of Scientific American in March 1964.

At sufficient distance from the centre, horizontal and vertical lines are also clearly visible.

External links

References

  • Stein, M. and Ulam, S. M. (1967), "An Observation on the Distribution of Primes." Amer. Math. Monthly 74, 43-44.
  • Stein, M. L.; Ulam, S. M.; and Wells, M. B. (1964), "A Visual Display of Some Properties of the Distribution of Primes." Amer. Math. Monthly 71, 516-520.
  • Gardner, M. (1964), "Mathematical Recreations: The Remarkable Lore of the Prime Number." Sci. Amer. 210, 120-128, March 1964.
01-04-2007 01:18:14
The contents of this article are licensed from Wikipedia.org
under the GNU Free Documentation License. How to see transparent copy