Ulam spiral

Ulam spiral of size 201×201. Black dots represent prime numbers. Diagonal, vertical, and horizontal lines with a high density of prime numbers are clearly visible.
For comparison, a spiral with random odd numbers colored black (at the same density of primes in a 200x200 spiral).

The Ulam spiral or prime spiral is a graphical depiction of the set of prime numbers, devised by mathematician Stanisław Ulam in 1963 and popularized in Martin Gardner's Mathematical Games column in Scientific American a short time later.[1] It is constructed by writing the positive integers in a square spiral and specially marking the prime numbers.

Ulam and Gardner emphasized the striking appearance in the spiral of prominent diagonal, horizontal, and vertical lines containing large numbers of primes. Both Ulam and Gardner noted that the existence of such prominent lines is not unexpected, as lines in the spiral correspond to quadratic polynomials, and certain such polynomials, such as Euler's prime-generating polynomial x2 − x + 41, are believed to produce a high density of prime numbers.[2][3] Nevertheless, the Ulam spiral is connected with major unsolved problems in number theory such as Landau's problems. In particular, no quadratic polynomial has ever been proved to generate infinitely many primes, much less to have a high asymptotic density of them, although there is a well-supported conjecture as to what that asymptotic density should be.

In 1932, 31 years prior to Ulam's discovery, the herpetologist Laurence Klauber constructed a triangular, non-spiral array containing vertical and diagonal lines exhibiting a similar concentration of prime numbers. Like Ulam, Klauber noted the connection with prime-generating polynomials, such as Euler's.[4]

Construction

The Ulam spiral is constructed by writing the positive integers in a spiral arrangement on a square lattice:

Numbers from 1 to 49 placed in spiral order

and then marking the prime numbers:

Small Ulam spiral

In the figure, primes appear to concentrate along certain diagonal lines. In the 201×201 Ulam spiral shown above, diagonal lines are clearly visible, confirming the pattern to that point. Horizontal and vertical lines with a high density of primes, while less prominent, are also evident. Most often, the number spiral is started with the number 1 at the center, but it is possible to start with any number, and the same concentration of primes along diagonal, horizontal, and vertical lines is observed. Starting with 41 at the center gives a diagonal containing an unbroken string of 40 primes (starting from 1523 southwest of the origin, decreasing to 41 at the origin, and increasing to 1601 northeast of the origin), the longest example of its kind.[5]

History

According to Gardner, Ulam discovered the spiral in 1963 while doodling during the presentation of "a long and very boring paper" at a scientific meeting.[1] These hand calculations amounted to "a few hundred points". Shortly afterwards, Ulam, with collaborators Myron Stein and Mark Wells, used MANIAC II at Los Alamos Scientific Laboratory to extend the calculation to about 100,000 points. The group also computed the density of primes among numbers up to 10,000,000 along some of the prime-rich lines as well as along some of the prime-poor lines. Images of the spiral up to 65,000 points were displayed on "a scope attached to the machine" and then photographed.[6] The Ulam spiral was described in Martin Gardner's March 1964 Mathematical Games column in Scientific American and featured on the front cover of that issue. Some of the photographs of Stein, Ulam, and Wells were reproduced in the column.

In an addendum to the Scientific American column, Gardner mentioned the earlier paper of Klauber.[7][8] Klauber describes his construction as follows, "The integers are arranged in triangular order with 1 at the apex, the second line containing numbers 2 to 4, the third 5 to 9, and so forth. When the primes have been indicated, it is found that there are concentrations in certain vertical and diagonal lines, and amongst these the so-called Euler sequences with high concentrations of primes are discovered."[4]

Explanation

Diagonal, horizontal, and vertical lines in the number spiral correspond to polynomials of the form

where b and c are integer constants. When b is even, the lines are diagonal, and either all numbers are odd, or all are even, depending on the value of c. It is therefore no surprise that all primes other than 2 lie in alternate diagonals of the Ulam spiral. Some polynomials, such as , while producing only odd values, factorize over the integers and are therefore never prime except possibly when one of the factors equals 1. Such examples correspond to diagonals that are devoid of primes or nearly so.

To gain insight into why some of the remaining odd diagonals may have a higher concentration of primes than others, consider and . Compute remainders upon division by 3 as n takes successive values 0, 1, 2, .... For the first of these polynomials, the sequence of remainders is 1, 2, 2, 1, 2, 2, ..., while for the second, it is 2, 0, 0, 2, 0, 0, .... This implies that in the sequence of values taken by the second polynomial, two out of every three are divisible by 3, and hence certainly not prime, while in the sequence of values taken by the first polynomial, none are divisible by 3. Thus it seems plausible that the first polynomial will produce values with a higher density of primes than will the second. At the very least, this observation gives little reason to believe that the corresponding diagonals will be equally dense with primes. One should, of course, consider divisibility by primes other than 3. Examining divisibility by 5 as well, remainders upon division by 15 repeat with pattern 1, 11, 14, 10, 14, 11, 1, 14, 5, 4, 11, 11, 4, 5, 14 for the first polynomial, and with pattern 5, 0, 3, 14, 3, 0, 5, 3, 9, 8, 0, 0, 8, 9, 3 for the second, implying that only three out of 15 values in the second sequence are potentially prime (being divisible by neither 3 nor 5), while 12 out of 15 values in the first sequence are potentially prime (since only three are divisible by 5 and none are divisible by 3).

While rigorously-proved results about primes in quadratic sequences are scarce, considerations like those above give rise to a plausible conjecture on the asymptotic density of primes in such sequences, which is described in the next section.

Hardy and Littlewood's Conjecture F

In their 1923 paper on the Goldbach Conjecture, Hardy and Littlewood stated a series of conjectures, one of which, if true, would explain some of the striking features of the Ulam spiral. This conjecture, which Hardy and Littlewood called "Conjecture F", is a special case of the Bateman–Horn conjecture and asserts an asymptotic formula for the number of primes of the form ax2 + bx + c. Rays emanating from the central region of the Ulam spiral making angles of 45° with the horizontal and vertical correspond to numbers of the form 4x2 + bx + c with b even; horizontal and vertical rays correspond to numbers of the same form with b odd. Conjecture F provides a formula that can be used to estimate the density of primes along such rays. It implies that there will be considerable variability in the density along different rays. In particular, the density is highly sensitive to the discriminant of the polynomial, b2 − 16c.

The primes of the form 4x2 − 2x + 41 with x = 0, 1, 2, ... have been highlighted in purple. The prominent parallel line in the lower half of the figure corresponds to 4x2 + 2x + 41 or, equivalently, to negative values of x.

Conjecture F is concerned with polynomials of the form ax2 + bx + c where a, b, and c are integers and a is positive. If the coefficients contain a common factor greater than 1 or if the discriminant Δ = b2 − 4ac is a perfect square, the polynomial factorizes and therefore produces composite numbers as x takes the values 0, 1, 2, ... (except possibly for one or two values of x where one of the factors equals 1). Moreover, if a + b and c are both even, the polynomial produces only even values, and is therefore composite except possibly for the value 2. Hardy and Littlewood assert that, apart from these situations, ax2 + bx + c takes prime values infinitely often as x takes the values 0, 1, 2, ... This statement is a special case of an earlier conjecture of Bunyakovsky and remains open. Hardy and Littlewood further assert that, asymptotically, the number P(n) of primes of the form ax2 + bx + c and less than n is given by

where A depends on a, b, and c but not on n. By the prime number theorem, this formula with A set equal to one is the asymptotic number of primes less than n expected in a random set of numbers having the same density as the set of numbers of the form ax2 + bx + c. But since A can take values bigger or smaller than 1, some polynomials, according to the conjecture, will be especially rich in primes, and others especially poor. An unusually rich polynomial is 4x2 − 2x + 41 which forms a visible line in the Ulam spiral. The constant A for this polynomial is approximately 6.6, meaning that the numbers it generates are almost seven times as likely to be prime as random numbers of comparable size, according to the conjecture. This particular polynomial is related to Euler's prime-generating polynomial x2 − x + 41 by replacing x with 2x, or equivalently, by restricting x to the even numbers. The constant A is given by a product running over all prime numbers,

,

in which is number of zeros of the quadratic polynomial modulo p and therefore takes one of the values 0, 1, or 2. Hardy and Littlewood break the product into three factors as

.

Here the factor ε, corresponding to the prime 2, is 1 if a + b is odd and 2 if a + b is even. The first product index p runs over the finitely-many odd primes dividing both a and b. For these primes since p then cannot divide c. The second product index runs over the infinitely-many odd primes not dividing a. For these primes equals 1, 2, or 0 depending on whether the discriminant is 0, a non-zero square, or a non-square modulo p. This is accounted for by the use of the Legendre symbol, . When a prime p divides a but not b there is one root modulo p. Consequently, such primes do not contribute to the product.

A quadratic polynomial with A ≈ 11.3, currently the highest known value, has been discovered by Jacobson and Williams.[9][10]

Variants

Klauber's 1932 paper describes a triangle in which row n contains the numbers (n  −  1)2 + 1 through n2. As in the Ulam spiral, quadratic polynomials generate numbers that lie in straight lines. Vertical lines correspond to numbers of the form k2 − k + M. Vertical and diagonal lines with a high density of prime numbers are evident in the figure.

Robert Sacks devised a variant of the Ulam spiral in 1994. In the Sacks spiral, the non-negative integers are plotted on an Archimedean spiral rather than the square spiral used by Ulam, and are spaced so that one perfect square occurs in each full rotation. (In the Ulam spiral, two squares occur in each rotation.) Euler's prime-generating polynomial, x2 − x + 41, now appears as a single curve as x takes the values 0, 1, 2, ... This curve asymptotically approaches a horizontal line in the left half of the figure. (In the Ulam spiral, Euler's polynomial forms two diagonal lines, one in the top half of the figure, corresponding to even values of x in the sequence, the other in the bottom half of the figure corresponding to odd values of x in the sequence.)

Additional structure may be seen when composite numbers are also included in the Ulam spiral. The number 1 has only a single factor, itself; each prime number has two factors, itself and 1; composite numbers are divisible by at least three different factors. Using the size of the dot representing an integer to indicate the number of factors and coloring prime numbers red and composite numbers blue produces the figure shown.

Spirals following other tilings of the plane also generate lines rich in prime numbers, for example hexagonal spirals.

See also

References

  1. ^ a b Gardner 1964, p. 122.
  2. ^ Stein, Ulam & Wells 1964, p. 517.
  3. ^ Gardner 1964, p. 124.
  4. ^ a b Daus 1932, p. 373.
  5. ^ Mollin 1996, p. 21.
  6. ^ Stein, Ulam & Wells 1964, p. 520.
  7. ^ Gardner 1971, p. 88.
  8. ^ Hartwig, Daniel (2013), Guide to the Martin Gardner papers, The Online Archive of California, p. 117.
  9. ^ Jacobson Jr., M. J.; Williams, H. C (2003), "New quadratic polynomials with high densities of prime values" (PDF), Mathematics of Computation, 72 (241): 499–519, Bibcode:2003MaCom..72..499J, doi:10.1090/S0025-5718-02-01418-7
  10. ^ Guy, Richard K. (2004), Unsolved problems in number theory (3rd ed.), Springer, p. 8, ISBN 978-0-387-20860-2

Bibliography


Read other articles:

                                            الثقافة الأعلام والتراجم الجغرافيا التاريخ الرياضيات العلوم المجتمع التقانات الطيران الأديان فهرس البوابات بوابة المرأة المغربية يوجد حالياً في ويكيبيديا العربية، الموسوعة الحرة 90٬910 مق

Genus of bats Desmodus Common vampire bat (Desmodus rotundus) Scientific classification Domain: Eukaryota Kingdom: Animalia Phylum: Chordata Class: Mammalia Order: Chiroptera Family: Phyllostomidae Subfamily: Desmodontinae Genus: DesmodusWied-Neuwied, 1826 Type species Desmodus rufusWied-Neuwied, 1826 Species Desmodus archaeodaptes† Desmodus draculae† Desmodus rotundus Desmodus stocki† Desmodus is a genus of bats which—along with the genera Diaemus and Diphylla—are allied as the sub...

Artikel ini sebatang kara, artinya tidak ada artikel lain yang memiliki pranala balik ke halaman ini.Bantulah menambah pranala ke artikel ini dari artikel yang berhubungan atau coba peralatan pencari pranala.Tag ini diberikan pada Desember 2022. Pekan Mode BudapestJenisPameran pakaian dan modeFrekuensiSetengah tahunanLokasiBudapest, HungariaPesertaPerancang lokal dan internasional dari BudapestPenyelenggaraEve Hajnal, Kriszta DoraTokohAnda, Anh Tuan, Je Suis Belle, Nanushka, Use Unused, Nubu,...

Frente Nacional Democrático Líder Arturo Uslar PietriFundación 24 de febrero de 1964Disolución 1973Ideología Nacionalismo ConservadurismoPosición DerechaSede CaracasPaís VenezuelaColores Naranja y Blanco[editar datos en Wikidata] El Frente Nacional Democrático (FND) fue un partido político venezolano de derecha política de ideología conservadora. Fue fundado el 24 de febrero de 1964 por Arturo Uslar Pietri, conglomerando a las agrupaciones que apoyaron su candidatura pres...

École nationale supérieure de chimie, de biologie et de physiqueTypePublicEstablished2009LocationPessac, FranceAffiliationsPolytechnic Institute of BordeauxWebsiteenscbp.bordeaux-inp.fr The École nationale supérieure de chimie, de biologie et de physique or ENSCPB (or CPB in common parlance) - which can be translated as Graduate School of Chemistry, Biology and Physics - is one of the French grandes écoles, whose main purpose is to form chemical and physical engineers (with a level bac+5...

For the musician of the Elizabeth Shepherd Trio, see Elizabeth Shepherd (musician). British actress {born 1936) Elizabeth ShepherdShepherd in 2019Born (1936-08-12) 12 August 1936 (age 87)London, EnglandOther namesElizabeth Shephard, Elizabeth SheppardYears active1959–presentSpouse John Ringham ​ ​(m. 1959; div. 1962)​[1] Barry Boys ​(m. 1965)​WebsiteOfficial website Elizabeth Shepherd (born 1...

American jazz musician Danny Big Black ReyBornDaniel Rey1934Savannah, Georgia, U.S.Occupation(s)Musician, percussionist, actorYears active1963-presentWebsitehttp://www.bigblackmusic.com Danny Big Black Rey (1934) is an American actor, musician, and percussionist specializing in Latin and Ethnic Jazz music. After playing at clubs and hotels in Miami and in calypso bands in the Bahamas during the 1950s, he moved to New York in the early 1960s, working mostly with Randy Weston,[1] a...

American inventor and architect James BogardusNewspaper photographBorn(1800-03-14)March 14, 1800Catskill, New York, U.S.DiedApril 13, 1874(1874-04-13) (aged 74)New York City, New York, U.S.Known forCast-ironSpouseMargaret MacClay James Bogardus (March 14, 1800 – April 13, 1874) was an American inventor and architect, the pioneer of American cast-iron architecture, for which he took out a patent in 1850.[1] Early life Bogardus was born in the town of Catskill in New York on...

Max Planck Institute for Human Cognitive and Brain Sciences in Leipzig The Max Planck Institute for Human Cognitive and Brain Sciences is located in Leipzig, Germany.[1] The institute was founded in 2004 by a merger between the former Max Planck Institute of Cognitive Neuroscience in Leipzig and the Max Planck Institute for Psychological Research in Munich.[2] It is one of 86 institutes in the Max Planck Society (Max Planck Gesellschaft).[3][4] Departments [...

Badminton tournament2006 Thomas & Uber CupTournament detailsDates28 April – 7 MayEdition24th (Thomas Cup)21st (Uber Cup)LevelInternationalVenueSendai GymnasiumTokyo Metropolitan GymnasiumLocationSendai and Tokyo, Japan ← 2004 Jakarta 2008 Jakarta → The 2006 Thomas & Uber Cup was held from 28 April to 7 May in Sendai and Tokyo, Japan. It was the 24th tournament of Thomas Cup and 21st tournament of Uber Cup, men's and women's badminton tournaments. Sendai hosted all of the group s...

2019 Malayalam film by Anuraj Manohar IshqTheatrical release posterDirected byAnuraj ManoharWritten byRatheesh RaviProduced byMukesh R MehtaA.V. AnoopC.V. SarathiStarringShane NigamAnn SheetalShine Tom ChackoLeona LishoyCinematographyAnsar ShahEdited byKiran DasMusic byJakes BejoyProductioncompaniesAVA ProductionsE4 EntertainmentRelease date 17 May 2019 (2019-05-17) (Kerala) Running time134 minutesCountryIndiaLanguageMalayalam Ishq is a 2019 Indian Malayalam language romant...

هذه المقالة يتيمة إذ تصل إليها مقالات أخرى قليلة جدًا. فضلًا، ساعد بإضافة وصلة إليها في مقالات متعلقة بها. (نوفمبر 2019) معركة واترلو. كانت بريطانيا العظمى (لاحقًا المملكة المتحدة) أكثر أعداء نابليون ثباتًا، ولعبت الدور المركزي في سقوط نابليون حتى مع تبدل جميع القوى الكبرى ال�...

Park in Tseung Kwan O, Hong Kong Po Tsui Park寶翠公園Entrance gate of Po Tsui ParkLocationPo Lam, Hong KongCoordinates22°19′29″N 114°15′10″E / 22.32472°N 114.25278°E / 22.32472; 114.25278Opened25 July 1994; 29 years ago (1994-07-25)Operated byLeisure and Cultural Services DepartmentPublic transit accessPo Lam station Po Tsui Park (Chinese: 寶翠公園) is a public park between the communities of Po Lam and Tseung Kwan O Villa...

Hotel in Indonesia AmanjiwoLocation within JavaGeneral informationLocationMagelang, IndonesiaCoordinates7°37′55″S 110°12′9″E / 7.63194°S 110.20250°E / -7.63194; 110.20250Opening1997OwnerAman ResortsManagementAman ResortsDesign and constructionArchitect(s)Ed TuttleOther informationNumber of suites36 Amanjiwo is a five star luxury hotel in the Menoreh Hills near Magelang, Central Java, Indonesia. It lies opposite the 9th century Buddhist sanctuary and UNESCO ...

Cover of The Dragon's PearlAutobiography by Sirin Phathanothai The Dragon's Pearl is the autobiography written by Sirin Phathanothai telling her experiences growing up in the 1950s and 1960s among the leaders of China. The book tells the story of how in 1956, when Bangkok-Beijing relations were tense at the height of the Cold War, Thailand was trying to survive the power struggle between China and the United States in Asia. The new Thai government desperately needed American money for its uns...

Operational-level headquarters of the Australian Defence Force Headquarters Joint Operations CommandActive2004–presentCountryAustraliaTypeJoint HeadquartersSize550Part ofAustralian Defence ForceGarrison/HQKowen, Australian Capital TerritoryCommandersChief of Joint OperationsLieutenant General Greg BiltonMilitary unit The Australian Headquarters Joint Operations Command (HQJOC) is the Australian Defence Force's (ADF) operational level headquarters responsible for the command and control...

United States historic placeErie CanalU.S. National Register of Historic PlacesU.S. National Historic Landmark Nine remaining arches of the Schoharie Creek Aqueduct with the towpath on the right and the remains of the canal crossing on the leftNearest cityFort Hunter, New YorkCoordinates42°56′22.65″N 74°17′10.62″W / 42.9396250°N 74.2862833°W / 42.9396250; -74.2862833Built1841–1845NRHP reference No.66000530Significant datesAdded to NRHPOctobe...

This article needs additional citations for verification. Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed.Find sources: Proxy card – news · newspapers · books · scholar · JSTOR (March 2020) (Learn how and when to remove this template message) Easily acquired or home-made substitute for a collectible card A proxy card is an easily acquired or home-made substitute for a collectibl...

КоммунаНьёль-ле-СентNieul-lès-Saintes 45°46′00″ с. ш. 0°44′00″ з. д.HGЯO Страна  Франция Регион Пуату — Шаранта Департамент Приморская Шаранта Кантон Сент-Запад История и география Площадь 20,41 км²[1] Часовой пояс UTC+1:00, летом UTC+2:00 Население Население 1048 человек (20...

This article may require cleanup to meet Wikipedia's quality standards. The specific problem is: Writing is too technical, lead content bleeds into sections, written like an essay, very wordy. Please help improve this article if you can. (July 2014) (Learn how and when to remove this template message) 2008 video gameThe IncrediBots title screen.Publisher(s)Grubby GamesDesigner(s)Ryan Clark, Oliver Trujillo, Matt Parry, Michael PinesEngineBox2D Physics EnginePlatform(s)Web browserReleaseOctobe...