<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.tachyony.co.uk/w/index.php?action=history&amp;feed=atom&amp;title=The_Art_of_Computer_Programming</id>
	<title>The Art of Computer Programming - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.tachyony.co.uk/w/index.php?action=history&amp;feed=atom&amp;title=The_Art_of_Computer_Programming"/>
	<link rel="alternate" type="text/html" href="https://wiki.tachyony.co.uk/w/index.php?title=The_Art_of_Computer_Programming&amp;action=history"/>
	<updated>2026-06-28T03:41:38Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.44.0</generator>
	<entry>
		<id>https://wiki.tachyony.co.uk/w/index.php?title=The_Art_of_Computer_Programming&amp;diff=36523&amp;oldid=prev</id>
		<title>~2026-26054-22: /* Pre-fascicles */ Unmantained PDF version fascicle 8A</title>
		<link rel="alternate" type="text/html" href="https://wiki.tachyony.co.uk/w/index.php?title=The_Art_of_Computer_Programming&amp;diff=36523&amp;oldid=prev"/>
		<updated>2026-04-29T05:50:37Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Pre-fascicles: &lt;/span&gt; Unmantained PDF version fascicle 8A&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Short description|Books about algorithms by Donald Knuth}}&lt;br /&gt;
{{Distinguish|The Art of Unix Programming}}&lt;br /&gt;
{{Use mdy dates|date=October 2022|cs1-dates=y}}&lt;br /&gt;
{{Infobox book&lt;br /&gt;
| name         = The Art of Computer Programming&lt;br /&gt;
| image        = ArtOfComputerProgramming.svg&lt;br /&gt;
| caption      = &amp;#039;&amp;#039;The Art of Computer Programming, Volume 1: Fundamental Algorithms&amp;#039;&amp;#039;&lt;br /&gt;
| border       = yes&lt;br /&gt;
| author       = [[Donald Knuth]]&lt;br /&gt;
| country      = United States&lt;br /&gt;
| language     = English&lt;br /&gt;
| dewey        = 519&lt;br /&gt;
| congress     = QA76.75&lt;br /&gt;
| genre        = [[Non-fiction]]&amp;lt;br /&amp;gt; [[Monograph]]&lt;br /&gt;
| publisher    = [[Addison-Wesley]]&lt;br /&gt;
| pub_date     = 1968 – present&lt;br /&gt;
| media_type   = Print ([[Hardcover]])&lt;br /&gt;
| isbn         = 0-201-03801-3&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
[[File:The Art of Computer Programming (vol. 1-4B)-2808.jpg|thumb|Volumes 1 to 4B]]&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;The Art of Computer Programming&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039; (&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;TAOCP&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;) is a comprehensive multi-volume [[monograph]] (Volumes 1-7) written by the computer scientist [[Donald Knuth]] presenting [[Computer programming|programming]] [[algorithm]]s and [[analysis of algorithms|their analysis]]. {{As of|2026}} it consists of published volumes 1, 2, 3, 4A, and 4B, with more expected to be released in the future. The Volumes 1–5 are intended to represent the central core of computer programming for sequential machines; the subjects of Volumes 6 and 7 are important but more specialized.&amp;lt;ref&amp;gt;{{cite web |url=https://www-cs-faculty.stanford.edu/~knuth/taocp.html#future |title=Knuth&amp;#039;s note about his books |access-date=2025-03-28  |archive-date=2025-03-01  |archive-url=https://web.archive.org/web/20250301062919/https://www-cs-faculty.stanford.edu/~knuth/taocp.html#future |url-status=live }}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When Knuth began the project in 1962, he originally conceived of it as a single book with twelve chapters. The first three volumes of what was then expected to be a seven-volume set were published in 1968, 1969, and 1973. Work began in earnest on Volume 4 in 1973, but was suspended in 1977 for work on [[TeX|typesetting]] prompted by the second edition of Volume 2. Writing of the final copy of Volume 4A began in longhand in 2001, and the first online pre-fascicle, 2A, appeared later in 2001.&amp;lt;ref&amp;gt;{{cite web |url=https://oac.cdlib.org/findaid/ark:/13030/kt2k4035s1/entire_text |title=note for box 3, folder 1 |access-date=2019-12-03  |archive-date=2019-12-03  |archive-url=https://web.archive.org/web/20191203042158/https://oac.cdlib.org/findaid/ark:/13030/kt2k4035s1/entire_text/ |url-status=live }}&amp;lt;/ref&amp;gt; The first published installment of Volume 4 appeared in paperback as [[Fascicle (book)|Fascicle]] 2 in 2005. The hardback Volume 4A, combining Volume 4, Fascicles 0–4, was published in 2011. Volume 4, Fascicle 6 (&amp;quot;Satisfiability&amp;quot;) was released in December 2015; Volume 4, Fascicle 5 (&amp;quot;Mathematical Preliminaries Redux; Backtracking; Dancing Links&amp;quot;) was released in November 2019.&lt;br /&gt;
&lt;br /&gt;
Volume 4B consists of material evolved from Fascicles 5 and 6.&amp;lt;ref&amp;gt;{{cite book |url=https://www.informit.com/store/art-of-computer-programming-volume-4b-combinatorial-9780201038064 |title=Pearson InformIT webpage book Content tab |date=September 28, 2022 |publisher=Addison-Wesley Professional. |isbn=9780201038064 |access-date=2022-07-19  |archive-date=2022-07-19  |archive-url=https://web.archive.org/web/20220719173226/https://www.informit.com/store/art-of-computer-programming-volume-4b-combinatorial-9780201038064 |url-status=live }}&amp;lt;/ref&amp;gt; The manuscript was sent to the publisher on August 1, 2022, and the volume was published in September 2022.&amp;lt;ref&amp;gt;{{cite book |url=https://www.informit.com/store/art-of-computer-programming-volume-4b-combinatorial-9780201038064 |title=Pearson InformIT webpage |date=September 28, 2022 |publisher=Addison-Wesley Professional. |isbn=9780201038064 |access-date=2022-07-19  |archive-date=2022-07-19  |archive-url=https://web.archive.org/web/20220719173226/https://www.informit.com/store/art-of-computer-programming-volume-4b-combinatorial-9780201038064 |url-status=live }}&amp;lt;/ref&amp;gt; Fascicle 7 (&amp;quot;Constraint Satisfaction&amp;quot;), planned for Volume 4C, was the subject of Knuth&amp;#039;s talk on August 3, 2022&amp;lt;ref&amp;gt;{{cite web |url=https://cp2022.a4cp.org/invited.html |title=CP 2022 All Questions Answered, July 31–August 5, 2022, Haifa, Israel |access-date=2022-07-22  |archive-date=2022-07-22  |archive-url=https://web.archive.org/web/20220722163902/https://cp2022.a4cp.org/invited.html |url-status=live }}&amp;lt;/ref&amp;gt; and was published on February 5, 2025.&amp;lt;ref&amp;gt;{{cite book |url=https://www.informit.com/store/art-of-computer-programming-volume-4-fascicle-7-constraint-9780135328248 |title=Pearson InformIT webpage |date=February 5, 2025 |publisher=Addison-Wesley Professional. |isbn=9780135328248 |access-date=2025-02-18  |archive-date=2025-02-18 |archive-url=https://web.archive.org/web/20250218090228/https://www.informit.com/store/art-of-computer-programming-volume-4-fascicle-7-constraint-9780135328248 |url-status=live }}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==History==&lt;br /&gt;
[[File:KnuthAtOpenContentAlliance.jpg|right|thumb|200px|Donald Knuth in 2005]]&lt;br /&gt;
&lt;br /&gt;
After winning a [[Regeneron Science Talent Search|Westinghouse Talent Search]] scholarship, Knuth enrolled at the Case Institute of Technology (now [[Case Western Reserve University]]), where his performance was so outstanding that the faculty voted to award him a [[Master of Science|master of science]] upon his completion of the [[bachelor&amp;#039;s degree]]. During his summer vacations, Knuth was hired by the [[Burroughs Corporation]] to write [[compiler]]s, earning more in his summer months than full professors did for an entire year.&amp;lt;ref&amp;gt;{{cite web |url=https://conservancy.umn.edu/handle/11299/107413 |hdl=11299/107413 |title=An Interview with Donald E. Knuth |author-first=Philip L. |author-last=Frana |date=2001-11-08 |access-date=2018-06-20  |archive-date=2018-06-20  |archive-url=https://web.archive.org/web/20180620181207/https://conservancy.umn.edu/handle/11299/107413 |url-status=live }}&amp;lt;/ref&amp;gt; Such exploits made Knuth a topic of discussion among the mathematics department, which included [[Richard S. Varga]].&lt;br /&gt;
&lt;br /&gt;
In January 1962, when he was a graduate student in the mathematics department at Caltech, Knuth was approached by [[Addison-Wesley]] to write a book about compiler design, and he proposed a larger scope. He came up with a list of twelve chapter titles the same day. In the summer of 1962 he worked on a [[Fortran|FORTRAN]] compiler for [[UNIVAC]], considering that he had &amp;quot;sold my soul to the devil&amp;quot; to develop a FORTRAN compiler&amp;lt;ref name=&amp;quot;Feigenbaum 2007&amp;quot;&amp;gt;{{cite web |last1=Feigenbaum |first1=Edward |author-link1=Edward Feigenbaum |title=Oral History of Donald Knuth |url=https://archive.computerhistory.org/resources/text/Oral_History/Knuth_Don_1/Knuth_Don.oral_history.2007.102658053_all.pdf |url-status=live |website=Computer History Museum |access-date=2024-11-26 |date=2007 |archive-date=2008-12-09  |archive-url=https://web.archive.org/web/20081209120854/http://archive.computerhistory.org/resources/text/Oral_History/Knuth_Don_1/Knuth_Don.oral_history.2007.102658053_all.pdf }}&amp;lt;/ref&amp;gt;{{rp|15}} after [[ALGOL]] developments with Burroughs. He remained as a consultant to Burroughs over the period 1960 to 1968 while writing Volume 1 &amp;quot;Fundamental Algorithms&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
During this time, he also developed a mathematical analysis of [[linear probing]], which convinced him to present the material with a quantitative approach. After receiving his Ph.D. in June 1963, he began working on his manuscript, of which he finished his first draft in June 1965, at {{val|3000}} hand-written pages.&amp;lt;ref&amp;gt;{{cite web |author-first=Donald E. |author-last=Knuth |author-link=Donald Ervin Knuth |url=https://garfield.library.upenn.edu/classics1993/A1993LQ46300001.pdf |title=This Week&amp;#039;s Citation Classic |work=Current Contents |number=34 |date=1993-08-23 |page=8 |access-date=2024-11-26  |archive-date=2024-01-05  |archive-url=https://web.archive.org/web/20240105142743/https://garfield.library.upenn.edu/classics1993/A1993LQ46300001.pdf |url-status=live }}&amp;lt;/ref&amp;gt; He had assumed that about five hand-written pages would translate into one printed page, but his publisher said instead that about {{frac|1|1|2}} hand-written pages translated to one printed page. This meant he had approximately {{val|2000}} printed pages of material, which closely matches the size of the first three published volumes.&lt;br /&gt;
&lt;br /&gt;
The first volume of &amp;quot;The Art of Computer Programming&amp;quot;, &amp;quot;Fundamental Algorithms&amp;quot;, took five years to complete between 1963 and 1968 while working at both Caltech and Burroughs.&lt;br /&gt;
&lt;br /&gt;
Knuth&amp;#039;s dedication in Volume 1 reads:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;blockquote&amp;gt;This series of books is affectionately dedicated&amp;lt;br&amp;gt;to the [[IBM 650|Type 650 computer]] once installed at&amp;lt;br&amp;gt;[[Case Institute of Technology]],&amp;lt;br&amp;gt;in remembrance of many pleasant evenings.&amp;lt;ref group=&amp;quot;lower-alpha&amp;quot;&amp;gt;The dedication was worded slightly differently in the first edition.&amp;lt;/ref&amp;gt;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the preface, he thanks first his wife Jill, then Burroughs for the use of B220 and B5500 computers in testing most of the programs, and Caltech, the National Science Foundation, and the Office of Naval Research.&amp;lt;ref name=TAOCP-FA&amp;gt;{{Cite web |last=Knuth |first=Donald Ervin |title=The Art of Computer Programming (TAOCP) 2nd Edition, 1973 |url=https://cs.stanford.edu/~knuth/taocp.html |date=2019-08-03 |access-date=2024-11-26 |archive-date=2019-08-03  |archive-url=https://web.archive.org/web/20190803223145/https://cs.stanford.edu/~knuth/taocp.html |url-status=live }}&amp;lt;/ref&amp;gt;{{rp|xii}}&lt;br /&gt;
&lt;br /&gt;
Section 2.5 of &amp;quot;Fundamental Algorithms&amp;quot; is on [[Dynamic memory allocation|Dynamic Storage Allocation]]. Parts of this are used in the Burroughs approach to memory management. Knuth claims credit for: “the “boundary-tag” method, introduced in Section 2.5, was designed by the author in 1962 for use in a control program for the B5000 computer.”{{r|TAOCP-FA|p=460}}&lt;br /&gt;
&lt;br /&gt;
Knuth received support from Richard S. Varga, who was the scientific adviser to the publisher. Varga was visiting [[Olga Taussky-Todd]] and [[John Todd (computer scientist)|John Todd]] at [[Caltech]]. With Varga&amp;#039;s enthusiastic endorsement, the publisher accepted Knuth&amp;#039;s expanded plans. In its expanded version, the book would be published in seven volumes, each with just one or two chapters.&amp;lt;ref&amp;gt;&lt;br /&gt;
{{Cite book |chapter=Donald Knuth |author-first=Donald J. |author-last=Albers |title=Mathematical People: Profiles and Interviews |publisher=[[A. K. Peters]] |edition=2 |date=2008 |isbn=978-1-56881-340-0 |editor-first1=Donald J. |editor-last1=Albers |editor-first2=Gerald L. |editor-last2=Alexanderson |editor-link2=Gerald L. Alexanderson}}&amp;lt;/ref&amp;gt; Due to the growth in Chapter 7, which was fewer than 100 pages of the 1965 manuscript, per Vol. 4A p. vi, the plan for Volume 4 has since expanded to include Volumes 4A, 4B, 4C, 4D, and possibly more.&lt;br /&gt;
&lt;br /&gt;
In 1976, Knuth prepared a second edition of Volume 2, requiring it to be [[typesetting|typeset]] again, but the style of type used in the first edition (called [[Hot metal typesetting|hot type]]) was no longer readily available. In 1977, he decided to spend some time creating something more suitable. Eight years later, he returned with [[TeX|T&amp;lt;sub&amp;gt;E&amp;lt;/sub&amp;gt;X]], which is currently used for all volumes.&lt;br /&gt;
&lt;br /&gt;
Another characteristic of the volumes is the variation in the difficulty of the exercises including a numerical rating varying from 0 to 50, where 0 is trivial, and 50 is an open question in contemporary research.&lt;br /&gt;
&lt;br /&gt;
==Bounty for finding errors==&lt;br /&gt;
The offer of a so-called [[Knuth reward check]] worth &amp;quot;one hexadecimal dollar&amp;quot; (100&amp;lt;sub&amp;gt;[[Hexadecimal|HEX]]&amp;lt;/sub&amp;gt; [[hexadecimal|base 16]] cents, in [[decimal]], is $2.56) for any errors found, and the correction of these errors in subsequent printings, has contributed to the highly polished and still-authoritative nature of the work, long after its first publication.&lt;br /&gt;
&lt;br /&gt;
==Assembly language in the book==&lt;br /&gt;
All examples in the books use a hypothetical language called &amp;quot;[[MIX (abstract machine)|MIX]] assembly language&amp;quot; (MIXAL), which runs on &amp;quot;a mythical computer called &amp;#039;MIX,&amp;#039;&amp;quot; which was developed to be contemporaneous with other 1960s and 1970s computers. Despite Knuth&amp;#039;s intention to have MIX stand the test of time, he remarked in the third edition of the first volume that it had nonetheless become &amp;quot;quite obsolete.&amp;quot;&amp;lt;ref name=&amp;quot;TAOCPv1&amp;quot;&amp;gt;{{cite book|isbn=0201896834|title=Art of Computer Programming, Volume 1, Fundamental Algorithms|first=Donald|last=Knuth|year=1997 |edition=Third|publisher=Addison Wesley Professional |page=124}}&amp;lt;/ref&amp;gt; During the 1990s, Knuth began developing [[MMIX]], a modern, [[RISC]]-based computer, which Knuth described as &amp;quot;A RISC computer for the new millennium.&amp;quot;&amp;lt;ref name=&amp;quot;KnuthMessage&amp;quot;&amp;gt;{{cite web |last=Knuth |first=Donald |date=2011-09-01 |title=A Message From Don Knuth, 01 September 2011 |url=https://mmix.cs.hm.edu/message.html |website=MMIX Home Page |access-date=2026-04-20}}&amp;lt;/ref&amp;gt; The conversion from MIX to MMIX was a large, multi-year project, for which Knuth solicited help from volunteers.&amp;lt;ref name=&amp;quot;TAOCPv1&amp;quot; /&amp;gt; MMIX would reach its stable release in 2011.&amp;lt;ref name=&amp;quot;KnuthMessage&amp;quot; /&amp;gt; Knuth considers the use of [[assembly language]] necessary for the speed and memory usage of algorithms to be judged.&lt;br /&gt;
&lt;br /&gt;
Regarding the origin of MIX, Knuth remarked it was much like any computer then in existence, &amp;quot;but, perhaps, nicer.&amp;quot;&amp;lt;ref name=&amp;quot;TAOCPv1&amp;quot; /&amp;gt; The name &amp;#039;&amp;#039;MIX&amp;#039;&amp;#039; can be represented as 1009 in [[Roman numerals]]. Further, Knuth explains the derivation of 1009 came from taking sixteen actual computers he deemed similar to MIX and on which MIX was easily simulated. He averaged the numeric portions of their model numbers with equal weight:&lt;br /&gt;
&lt;br /&gt;
⌊(360 + 650 + 709 + 7070 + U3 + SS80 + 1107 + 1604 + G20 + B220 + S2000 + 920 + 601 + H800 + PDP-4 + II) / 16⌋ = 1009&lt;br /&gt;
&lt;br /&gt;
Software such as the [[GNU]] MIX [[Software Development Kit|Development Kit]] (MDK) exists to provide [[Emulator|emulation]] of the MIX architecture.&amp;lt;ref&amp;gt;{{cite web |title=GNU MDK - GNU Project - Free Software Foundation |url=https://www.gnu.org/software/mdk/mdk.html |access-date=2022-10-23 |website=www.gnu.org |archive-date=2022-10-23  |archive-url=https://web.archive.org/web/20221023050959/https://www.gnu.org/software/mdk/mdk.html |url-status=live }}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Critical response==&lt;br /&gt;
Knuth was awarded the 1974 [[Turing Award]] &amp;quot;for his major contributions to the [[analysis of algorithms]] […], and in particular for his contributions to the &amp;#039;art of computer programming&amp;#039; through his well-known books in a continuous series by this title.&amp;quot;&amp;lt;ref&amp;gt;{{cite web |url=https://amturing.acm.org/award_winners/knuth_1013846.cfm |title=Donald E. Knuth – A. M. Turing Award Winner |website=AM Turing |access-date=2017-01-25 |archive-date=2019-10-17  |archive-url=https://web.archive.org/web/20191017231352/http://amturing.acm.org/award_winners/knuth_1013846.cfm |url-status=live }}&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;[[American Scientist]]&amp;#039;&amp;#039; has included this work among &amp;quot;100 or so Books that shaped a Century of Science&amp;quot;, referring to the twentieth century.&amp;lt;ref&amp;gt;{{Cite journal |author-first1=Philip |author-last1=Morrison |author-link1=Philip Morrison |author-first2=Phylis |author-last2=Morrison |url=https://www.americanscientist.org/article/100-or-so-books-that-shaped-a-century-of-science |url-status=live |archive-url=https://web.archive.org/web/20170617002919/http://www.americanscientist.org/bookshelf/pub/100-or-so-books-that-shaped-a-century-of-science |archive-date=2017-06-17 |title=100 or so Books that shaped a Century of Science |volume=87 |issue=6 |journal=American Scientist |date=November–December 1999 |publisher=Sigma Xi, The Scientific Research Society |access-date=2024-11-26}}&amp;lt;/ref&amp;gt; Covers of the third edition of Volume 1 quote [[Bill Gates]] as saying, &amp;quot;If you think you&amp;#039;re a really good programmer… read (Knuth&amp;#039;s) &amp;#039;&amp;#039;Art of Computer Programming&amp;#039;&amp;#039;… You should definitely send me a résumé if you can read the whole thing.&amp;quot;&amp;lt;ref&amp;gt;{{cite web |url=https://www.businessinsider.com/bill-gates-loves-donald-knuth-the-art-of-computer-programming-2016-4 |title=Bill Gates once said &amp;#039;definitely send me a résumé&amp;#039; if you finish this fiendishly difficult book |author-first=Matt |author-last=Weinberger |website=Business Insider |access-date=2024-11-25 |archive-date=2023-07-12  |archive-url=https://web.archive.org/web/20230712010034/https://www.businessinsider.com/bill-gates-loves-donald-knuth-the-art-of-computer-programming-2016-4 |url-status=live }}&amp;lt;/ref&amp;gt;&amp;lt;!-- &amp;lt;ref group=&amp;quot;nb&amp;quot;&amp;gt;According to [[folklore.org]], [[Steve Jobs]] actually made the incredible claim.&lt;br /&gt;
[https://folklore.org/Close_Encounters_of_the_Steve_Kind.html]&amp;lt;/ref&amp;gt; comment out&amp;amp;nbsp;– the reference only says that Steve Jobs read the books, not that he said the quote about the resume. --&amp;gt; &amp;#039;&amp;#039;[[The New York Times]]&amp;#039;&amp;#039; referred to it as &amp;quot;the profession&amp;#039;s defining treatise&amp;quot;.&amp;lt;ref name=&amp;quot;lohr&amp;quot;&amp;gt;{{cite news |author-last=Lohr |author-first=Steve |title=Frances E. Holberton, 84, Early Computer Programmer |work=The New York Times |date=2001-12-17 |url=https://www.nytimes.com/2001/12/17/business/frances-e-holberton-84-early-computer-programmer.html |access-date=2024-11-26 |archive-date=2014-12-16  |archive-url=https://web.archive.org/web/20141216015437/http://www.nytimes.com/2001/12/17/business/frances-e-holberton-84-early-computer-programmer.html |url-status=live }}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Volumes==&lt;br /&gt;
===Completed===&lt;br /&gt;
* Volume 1&amp;amp;nbsp;– Fundamental algorithms&lt;br /&gt;
** Chapter 1&amp;amp;nbsp;– Basic concepts&amp;lt;ref&amp;gt;{{cite web |url=https://www-cs-faculty.stanford.edu/~knuth/taocp.html#future |title=Knuth&amp;#039;s future editions Volumes 1-3 |access-date=2025-04-25  |archive-date=2025-04-23  |archive-url=https://web.archive.org/web/20250423130634/https://www-cs-faculty.stanford.edu/~knuth/taocp.html#future |url-status=live }}&amp;lt;/ref&amp;gt;&lt;br /&gt;
** Chapter 2&amp;amp;nbsp;– Information [[data structure|structures]]&lt;br /&gt;
* Volume 2&amp;amp;nbsp;– Seminumerical algorithms&lt;br /&gt;
** Chapter 3&amp;amp;nbsp;– [[Statistical randomness|Random numbers]]&lt;br /&gt;
** Chapter 4&amp;amp;nbsp;– [[Arithmetic]]&lt;br /&gt;
* Volume 3&amp;amp;nbsp;– [[Sorting algorithm|Sorting]] and [[Search algorithm|searching]]&lt;br /&gt;
** Chapter 5&amp;amp;nbsp;– [[Sorting algorithm|Sorting]]&lt;br /&gt;
** Chapter 6&amp;amp;nbsp;– [[Search algorithm|Searching]]&lt;br /&gt;
* Volume 4A&amp;amp;nbsp;– [[combinatorics|Combinatorial]] algorithms&lt;br /&gt;
** Chapter 7&amp;amp;nbsp;– Combinatorial searching (part 1)&lt;br /&gt;
* Volume 4B&amp;amp;nbsp;– [[combinatorics|Combinatorial]] algorithms&lt;br /&gt;
** Chapter 7&amp;amp;nbsp;– Combinatorial searching (part 2)&lt;br /&gt;
&lt;br /&gt;
===Planned===&lt;br /&gt;
* Volume 4C, 4D, ...&amp;amp;nbsp; Combinatorial algorithms (chapters 7 &amp;amp; 8 released in several subvolumes)&amp;lt;ref&amp;gt;{{cite web |last1=D&amp;#039;Agostino |first1=Susan |author1-link=Susan D&amp;#039;Agostino|title=The Computer Scientist Who Can&amp;#039;t Stop Telling Stories |url=https://www.quantamagazine.org/computer-scientist-donald-knuth-cant-stop-telling-stories-20200416 |website=Quanta Magazine |access-date=2024-11-26 |date=2020-04-16 |quote=&amp;quot;Now 82, he’s hard at work on part B of volume 4, and he anticipates that the book will have at least parts A through F.&amp;quot; |archive-date=2024-11-27  |archive-url=https://web.archive.org/web/20241127003657/https://www.quantamagazine.org/computer-scientist-donald-knuth-cant-stop-telling-stories-20200416/ |url-status=live }}&amp;lt;/ref&amp;gt;&lt;br /&gt;
** Chapter 7&amp;amp;nbsp;– Combinatorial searching (continued)&amp;lt;ref&amp;gt;{{cite book|isbn=9780135328248|title=Art of Computer Programming, Volume 4, Fascicle 7, The: Constraint Satisfaction|first=Donald|last=Knuth|year=2025 |publisher=Addison Wesley Professional }}&amp;lt;/ref&amp;gt;&lt;br /&gt;
** Chapter 8&amp;amp;nbsp;– [[Recursion]]&lt;br /&gt;
* Volume 5&amp;amp;nbsp;– Syntactic algorithms&lt;br /&gt;
** Chapter 9&amp;amp;nbsp;– [[Lexical analysis|Lexical scanning]] (also includes [[String searching algorithm|string search]] and [[data compression]])&lt;br /&gt;
** Chapter 10&amp;amp;nbsp;– [[Parsing]] techniques&lt;br /&gt;
* Volume 6&amp;amp;nbsp;– The Theory of [[context-free language]]s&amp;lt;ref&amp;gt;{{cite web |url=https://cs.stanford.edu/~knuth/taocp.html#future |title=TAOCP – Future plans |access-date=2018-06-20  |archive-date=2019-08-03  |archive-url=https://web.archive.org/web/20190803223145/https://cs.stanford.edu/~knuth/taocp.html#future |url-status=live }}&amp;lt;/ref&amp;gt;&lt;br /&gt;
** Chapter 11&amp;amp;nbsp;– [[Mathematical linguistics]]&amp;lt;ref name=&amp;quot;brochure&amp;quot;&amp;gt;{{cite web |url=https://cs.stanford.edu/~knuth/brochure.pdf |title=TAOCP – Brochure |access-date=2024-11-26  |archive-date=2024-09-26  |archive-url=https://web.archive.org/web/20240926010938/https://cs.stanford.edu/~knuth/brochure.pdf |url-status=live }}&amp;lt;/ref&amp;gt;&lt;br /&gt;
* Volume 7&amp;amp;nbsp;– [[Compiler]] techniques&lt;br /&gt;
** Chapter 12&amp;amp;nbsp;– Programming language translation&amp;lt;ref name=&amp;quot;brochure&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==English editions==&lt;br /&gt;
===Current editions===&lt;br /&gt;
These are the current editions in order by volume number:&lt;br /&gt;
* &amp;#039;&amp;#039;The Art of Computer Programming, Volumes 1-4B Boxed Set&amp;#039;&amp;#039;. (Reading, Massachusetts: Addison-Wesley, 2023), 3904pp. {{ISBN|978-0-13-793510-9|0-13-793510-2}}&lt;br /&gt;
** &amp;#039;&amp;#039;Volume 1: Fundamental Algorithms&amp;#039;&amp;#039;. Third Edition (Reading, Massachusetts: Addison-Wesley, 1997), xx+650pp. {{ISBN|978-0-201-89683-1|0-201-89683-4}}. Errata: [https://cs.stanford.edu/~knuth/all1-pre.ps.gz] (from 2011-01-08), [https://cs.stanford.edu/~knuth/all1.ps.gz] (from 2022, 49th [[printing run|printing]]). Addenda: [https://cs.stanford.edu/~knuth/1-appc.ps.gz] (2011).&lt;br /&gt;
** &amp;#039;&amp;#039;Volume 2: Seminumerical Algorithms&amp;#039;&amp;#039;. Third Edition (Reading, Massachusetts: Addison-Wesley, 1997), xiv+762pp. {{ISBN|978-0-201-89684-8|0-201-89684-2}}. Errata: [https://cs.stanford.edu/~knuth/all2-pre.ps.gz] (from 2011-01-08), [https://cs.stanford.edu/~knuth/all2.ps.gz] (from 2022, 45th printing). Addenda: [https://cs.stanford.edu/~knuth/2-appc.ps.gz] (2011).&lt;br /&gt;
** &amp;#039;&amp;#039;Volume 3: Sorting and Searching&amp;#039;&amp;#039;. Second Edition (Reading, Massachusetts: Addison-Wesley, 1998), xiv+780pp.+foldout. {{ISBN|978-0-201-89685-5|0-201-89685-0}}. Errata: [https://cs.stanford.edu/~knuth/all3-pre.ps.gz] (from 2011-01-08), [https://cs.stanford.edu/~knuth/all3.ps.gz] (from 2022, 45th printing). Addenda: [https://cs.stanford.edu/~knuth/3-appc.ps.gz] (2011).&lt;br /&gt;
** &amp;#039;&amp;#039;Volume 4A: Combinatorial Algorithms, Part 1&amp;#039;&amp;#039;. First Edition (Upper Saddle River, New Jersey: Addison-Wesley, 2011, 26th printing), xv+883pp. {{ISBN|978-0-201-03804-0|0-201-03804-8}}. Errata: [https://cs.stanford.edu/~knuth/all4a-pre.ps.gz] (from 2011), [https://cs.stanford.edu/~knuth/all4a.ps.gz] (from 2022, 20th printing).&lt;br /&gt;
** &amp;#039;&amp;#039;Volume 4B: Combinatorial Algorithms, Part 2&amp;#039;&amp;#039;. First Edition (Upper Saddle River, New Jersey: Addison-Wesley, 2023, 3rd printing), xviii+714pp. {{ISBN|978-0-201-03806-4|0-201-03806-4}}. Errata: [https://cs.stanford.edu/~knuth/all4b.ps.gz] (from 2023, 1st printing).&lt;br /&gt;
* &amp;#039;&amp;#039;Volume 1, Fascicle 1: MMIX&amp;amp;nbsp;– A RISC Computer for the New Millennium&amp;#039;&amp;#039;. (Addison-Wesley, 2005-02-14), 144pp. {{ISBN|0-201-85392-2}}. Errata: [https://cs.stanford.edu/~knuth/all1f1.ps.gz] (from 2005, 1st printing) (will be in the fourth edition of volume 1)&lt;br /&gt;
* &amp;#039;&amp;#039;The MMIX Supplement&amp;#039;&amp;#039; by Martin Ruckert. (Addison-Wesley), 193pp. {{ISBN|0-13-399231-4}}. A conversion of the MIX problems/programs in volumes 1, 2 &amp;amp; 3 to MMIX.&lt;br /&gt;
* &amp;#039;&amp;#039;Volume 4, Fascicle 7: Constraint Satisfaction&amp;#039;&amp;#039;. (Addison-Wesley, 2025-02-05), xiv+281pp. {{ISBN|978-0-13-532824-8}}. Errata: [https://www-cs-faculty.stanford.edu/~knuth/all4f7.ps.gz] (2025-12-28).&lt;br /&gt;
&lt;br /&gt;
===Previous editions===&lt;br /&gt;
====Complete volumes====&lt;br /&gt;
These volumes were superseded by newer editions and are in order by date.&lt;br /&gt;
* &amp;#039;&amp;#039;Volume 1: Fundamental Algorithms&amp;#039;&amp;#039;. First edition, 1968, xxi+634pp, {{ISBN|0-201-03801-3}}.&amp;lt;ref name=&amp;quot;WellsReview&amp;quot;&amp;gt;{{cite journal |author-last=Wells |author-first=Mark B. |title=Review: &amp;#039;&amp;#039;The Art of Computer Programming, Volume 1. Fundamental Algorithms&amp;#039;&amp;#039; and &amp;#039;&amp;#039;Volume 2. Seminumerical Algorithms&amp;#039;&amp;#039; by Donald E. Knuth |journal=Bulletin of the American Mathematical Society |date=1973 |volume=79 |issue=3 |pages=501–509 |url=https://www.ams.org/journals/bull/1973-79-03/S0002-9904-1973-13173-8/S0002-9904-1973-13173-8.pdf |doi=10.1090/s0002-9904-1973-13173-8 |doi-access=free |access-date=2018-06-20  |archive-date=2016-10-20  |archive-url=https://web.archive.org/web/20161020162321/http://www.ams.org/journals/bull/1973-79-03/S0002-9904-1973-13173-8/S0002-9904-1973-13173-8.pdf |url-status=live }}&amp;lt;/ref&amp;gt;&lt;br /&gt;
* &amp;#039;&amp;#039;Volume 2: Seminumerical Algorithms&amp;#039;&amp;#039;. First edition, 1969, xi+624pp, {{ISBN|0-201-03802-1}}.&amp;lt;ref name=&amp;quot;WellsReview&amp;quot;/&amp;gt;&lt;br /&gt;
* &amp;#039;&amp;#039;Volume 3: Sorting and Searching&amp;#039;&amp;#039;. First edition, 1973, xi+723pp+foldout, {{ISBN|0-201-03803-X}}. Errata: [https://cs.stanford.edu/~knuth/err3-1e.ps.gz].&lt;br /&gt;
* &amp;#039;&amp;#039;Volume 1: Fundamental Algorithms&amp;#039;&amp;#039;. Second edition, 1973, xxi+634pp, {{ISBN|0-201-03809-9}}. Errata: [https://cs.stanford.edu/~knuth/err1-2e.ps.gz].&lt;br /&gt;
* &amp;#039;&amp;#039;Volume 2: Seminumerical Algorithms&amp;#039;&amp;#039;. Second edition, 1981, xiii+ 688pp, {{ISBN|0-201-03822-6}}. Errata: [https://cs.stanford.edu/~knuth/err2-2e.ps.gz].&lt;br /&gt;
* &amp;#039;&amp;#039;The Art of Computer Programming, Volumes 1-3 Boxed Set&amp;#039;&amp;#039;. Second Edition (Reading, Massachusetts: Addison-Wesley, 1998), pp. {{ISBN|978-0-201-48541-7|0-201-48541-9}}&lt;br /&gt;
* &amp;#039;&amp;#039;The Art of Computer Programming, Volumes 1-4A Boxed Set&amp;#039;&amp;#039;. Third Edition (Reading, Massachusetts: Addison-Wesley, 2011), 3168pp. {{ISBN|978-0-321-75104-1|0-321-75104-3}}&lt;br /&gt;
&lt;br /&gt;
====Fascicles====&lt;br /&gt;
Volume 4, [[fascicle (book)|Fascicles]] 0–4 were revised and published as Volume&amp;amp;nbsp;4A.&lt;br /&gt;
* &amp;#039;&amp;#039;Volume 4, Fascicle 0: Introduction to Combinatorial Algorithms and Boolean Functions&amp;#039;&amp;#039;. (Addison-Wesley Professional, 2008-04-28) vi+240pp, {{ISBN|0-321-53496-4}}. Errata: [https://cs.stanford.edu/~knuth/all4f0.ps.gz] (2011-01-01).&lt;br /&gt;
* &amp;#039;&amp;#039;Volume 4, Fascicle 1: Bitwise Tricks &amp;amp; Techniques; Binary Decision Diagrams&amp;#039;&amp;#039;. (Addison-Wesley Professional, 2009-03-27) viii+260pp, {{ISBN|0-321-58050-8}}. Errata: [https://cs.stanford.edu/~knuth/all4f1.ps.gz] (2011-01-01).&lt;br /&gt;
* &amp;#039;&amp;#039;Volume 4, Fascicle 2: Generating All Tuples and Permutations&amp;#039;&amp;#039;. (Addison-Wesley, 2005-02-14) v+127pp, {{ISBN|0-201-85393-0}}. Errata: [https://cs.stanford.edu/~knuth/all4f2.ps.gz] (2011-01-01).&lt;br /&gt;
* &amp;#039;&amp;#039;Volume 4, Fascicle 3: Generating All Combinations and Partitions&amp;#039;&amp;#039;. (Addison-Wesley, 2005-07-26) vi+150pp, {{ISBN|0-201-85394-9}}. Errata: [https://cs.stanford.edu/~knuth/all4f3.ps.gz] (2011-01-01).&lt;br /&gt;
* &amp;#039;&amp;#039;Volume 4, Fascicle 4: Generating All Trees; History of Combinatorial Generation&amp;#039;&amp;#039;. (Addison-Wesley, 2006-02-06) vi+120pp, {{ISBN|0-321-33570-8}}. Errata: [https://cs.stanford.edu/~knuth/all4f4.ps.gz] (2011-01-01).&lt;br /&gt;
Volume 4, Fascicles 5–6 were revised and published as Volume&amp;amp;nbsp;4B.&lt;br /&gt;
* &amp;#039;&amp;#039;Volume 4, Fascicle 5: Mathematical Preliminaries Redux; Backtracking; Dancing Links&amp;#039;&amp;#039;. (Addison-Wesley, 2019-11-22) xiii+382pp, {{ISBN|978-0-13-467179-6}}. Errata: [https://cs.stanford.edu/~knuth/all4f5.ps.gz] (2020-03-27)&lt;br /&gt;
* &amp;#039;&amp;#039;Volume 4, Fascicle 6: Satisfiability&amp;#039;&amp;#039;. (Addison-Wesley, 2015-12-08) xiii+310pp, {{ISBN|978-0-13-439760-3}}. Errata: [https://cs.stanford.edu/~knuth/all4f6.ps.gz] (2020-03-26)&lt;br /&gt;
&lt;br /&gt;
====Pre-fascicles====&lt;br /&gt;
Pre-fascicles contain draft of evolving material for future Fascicles. They are put online primarily so that experts in the field can check the contents before distributing them to a wider audience.&amp;lt;ref&amp;gt;{{cite web |url=https://www-cs-faculty.stanford.edu/~knuth/taocp.html |title=Donald Knuth explaines the use of Pre-fascicles | access-date=2026-01-19 | url-status=live }}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Volume 1&lt;br /&gt;
* Pre-fascicle [https://cs.stanford.edu/~knuth/fasc1.ps.gz 1: MMIX] was revised and published as Volume 1, fascicle 1.&lt;br /&gt;
Volume 4&lt;br /&gt;
* [[Pre-fascicle]]s [https://cs.stanford.edu/~knuth/fasc0a.ps.gz 0A: Introduction to Combinatorial Searching], [https://cs.stanford.edu/~knuth/fasc0b.ps.gz 0B: Boolean Basics], and [https://cs.stanford.edu/~knuth/fasc0c.ps.gz 0C: Boolean Evaluation] were revised and published as Volume 4, fascicle 0.&lt;br /&gt;
* Pre-fascicles [https://cs.stanford.edu/~knuth/fasc1a.ps.gz 1A: Bitwise Tricks and Techniques] and [https://cs.stanford.edu/~knuth/fasc1b.ps.gz 1B: Binary Decision Diagrams] were revised and published as Volume 4, fascicle 1.&lt;br /&gt;
* Pre-fascicles [https://cs.stanford.edu/~knuth/fasc2a.ps.gz 2A: Generating All n-Tuples] and [https://cs.stanford.edu/~knuth/fasc2b.ps.gz 2B: Generating All Permutations] were revised and published as Volume 4, fascicle 2.&lt;br /&gt;
* Pre-fascicles [https://cs.stanford.edu/~knuth/fasc3a.ps.gz 3A: Generating All Combinations] and [https://cs.stanford.edu/~knuth/fasc3b.ps.gz 3B: Generating All Partitions] were revised and published as Volume 4, fascicle 3.&lt;br /&gt;
* Pre-fascicles [https://cs.stanford.edu/~knuth/fasc4a.ps.gz 4A: Generating All Trees] and [https://cs.stanford.edu/~knuth/fasc4b.ps.gz 4B: History of Combinatorial Generation] were revised and published as Volume 4, fascicle 4.&lt;br /&gt;
* Pre-fascicles [https://cs.stanford.edu/~knuth/fasc5a.ps.gz 5A: Preliminaries Redux], [https://cs.stanford.edu/~knuth/fasc5b.ps.gz 5B: Introduction to Backtracking], and [https://cs.stanford.edu/~knuth/fasc5c.ps.gz 5C: Dancing Links] were revised and published as Volume 4, fascicle 5.&lt;br /&gt;
* Pre-fascicle [https://cs.stanford.edu/~knuth/fasc6a.ps.gz 6A: Satisfiability] was revised and published as Volume 4, fascicle 6.&lt;br /&gt;
* Pre-fascicle [https://cs.stanford.edu/~knuth/fasc7a.ps.gz 7A: Constraint Satisfaction] was revised and published as Volume 4, fascicle 7.&lt;br /&gt;
&lt;br /&gt;
The remaining pre-fascicles contain draft material that is set to appear in future fascicles and volumes.&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;[https://cs.stanford.edu/~knuth/fasc8a.ps.gz Volume 4, Pre-fascicle 8A: Hamiltonian Paths and Cycles]  [https://www-cs-faculty.stanford.edu/~knuth/fasc8a.pdf (PDF unmantained Version) ]&amp;#039;&amp;#039;&lt;br /&gt;
* &amp;#039;&amp;#039;[https://cs.stanford.edu/~knuth/fasc8b.ps.gz Volume 4, Pre-fascicle 8B: Cliques]&amp;#039;&amp;#039;&lt;br /&gt;
* &amp;#039;&amp;#039;[https://cs.stanford.edu/~knuth/fasc9b.ps.gz Volume 4, Pre-fascicle 9B: A Potpourri of Puzzles]&amp;#039;&amp;#039;&lt;br /&gt;
* &amp;#039;&amp;#039;[https://cs.stanford.edu/~knuth/fasc9c.ps.gz Volume 4, Pre-fascicle 9C: Estimating Backtrack Costs]&amp;#039;&amp;#039;&lt;br /&gt;
* &amp;#039;&amp;#039;[https://cs.stanford.edu/~knuth/fasc12a.ps.gz Volume 4, Pre-fascicle 12A: Components and Traversal] [https://cs.stanford.edu/~knuth/fasc12a+.pdf (PDF Version) ]&amp;#039;&amp;#039;&lt;br /&gt;
* &amp;#039;&amp;#039;[https://cs.stanford.edu/~knuth/fasc14a.ps.gz Volume 4, Pre-fascicle 14A: Bipartite Matching]&amp;#039;&amp;#039;&lt;br /&gt;
* &amp;#039;&amp;#039;[https://cs.stanford.edu/~knuth/fasc16a.ps.gz Volume 4, Pre-fascicle 16A: Introduction to Recursion]&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
* &amp;#039;&amp;#039;[[Introduction to Algorithms]]&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Notes&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
{{Notelist}}&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Citations&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
{{Reflist}}&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Sources&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
{{Refbegin}}&lt;br /&gt;
* {{cite book |title=Portraits in Silicon |author-first=Robert |author-last=Slater |date=1987 |publisher=MIT Press |url=https://books.google.com/books?id=aWTtMyYmKhUC |isbn=0-262-19262-4}}&lt;br /&gt;
* {{cite book |title=Out of Their Minds: The Lives and Discoveries of 15 Great Computer Scientists |author-first1=Dennis |author-last1=Shasha |author-link1=Dennis Shasha |author-first2=Cathy |author-last2=Lazere |date=1995 |publisher=Copernicus |isbn=0-387-97992-1 |url-access=registration |url=https://archive.org/details/isbn_9780387979922 }}&lt;br /&gt;
{{Refend}}&lt;br /&gt;
&lt;br /&gt;
==External links==&lt;br /&gt;
{{Commons category}}&lt;br /&gt;
* [https://cs.stanford.edu/~knuth/taocp.html Overview of topics] (Knuth&amp;#039;s personal homepage)&lt;br /&gt;
* [https://cs.stanford.edu/~knuth/brochure.pdf Announcement of Volume 1 of &amp;#039;The Art of Computer Programming&amp;#039;]&lt;br /&gt;
* [https://conservancy.umn.edu/items/9cb164e9-c9df-4e5e-9796-42198627fae5 Oral history interview with Donald E. Knuth] at [[Charles Babbage Institute]], University of Minnesota, Minneapolis, 2001. Knuth discusses software patenting, [[structured programming]], collaboration and his development of [[TeX]]. The oral history discusses the writing of &amp;#039;&amp;#039;The Art of Computer Programming&amp;#039;&amp;#039;.&lt;br /&gt;
* [https://amturing.acm.org/p3-knuth.pdf &amp;quot;Robert W Floyd, In Memoriam&amp;quot;, by Donald E. Knuth], 2003 - (on the influence of [[Robert W. Floyd|Bob Floyd]])&lt;br /&gt;
* [https://softpanorama.org/People/Knuth/taocp.shtml &amp;#039;&amp;#039;TAoCP&amp;#039;&amp;#039; and its Influence of Computer Science (Softpanorama)]&lt;br /&gt;
&lt;br /&gt;
{{Donald Knuth navbox}}&lt;br /&gt;
&lt;br /&gt;
{{Authority control}}&lt;br /&gt;
&lt;br /&gt;
{{DEFAULTSORT:Art Of Computer Programming, The}}&lt;br /&gt;
[[Category:1968 non-fiction books]]&lt;br /&gt;
[[Category:1969 non-fiction books]]&lt;br /&gt;
[[Category:1973 non-fiction books]]&lt;br /&gt;
[[Category:1981 non-fiction books]]&lt;br /&gt;
[[Category:2011 non-fiction books]]&lt;br /&gt;
[[Category:Addison-Wesley books]]&lt;br /&gt;
[[Category:American non-fiction books]]&lt;br /&gt;
[[Category:Analysis of algorithms]]&lt;br /&gt;
[[Category:Books by Donald Knuth]]&lt;br /&gt;
[[Category:Computer arithmetic algorithms]]&lt;br /&gt;
[[Category:Computer programming books]]&lt;br /&gt;
[[Category:Computer science books]]&lt;br /&gt;
[[Category:English-language non-fiction books]]&lt;br /&gt;
[[Category:Monographs]]&lt;/div&gt;</summary>
		<author><name>~2026-26054-22</name></author>
	</entry>
</feed>