login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A160508 Knuth's standard example of an unsorted array. 0
503, 87, 512, 61, 908, 170, 897, 275, 653, 426, 154, 509, 612, 677, 765, 703 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
The numbers were randomly generated by Knuth with a set of decimal dice and used throughout his book as sample input for investigated sorting algorithms.
REFERENCES
D. E. Knuth, The Art of Computer Programming, Vol. 3 / Sorting and Searching, Addison-Wesley, 1973, page 75 and remainder of chapter 5.
LINKS
EXAMPLE
Apparently, the first roll of three (distinguishable) decimal dice resulted in the first die showing "5", the second showing "0", the third showing "3"; therefore a(1) = 503.
CROSSREFS
Sequence in context: A250609 A251266 A001244 * A067949 A200959 A179172
KEYWORD
fini,full,nonn
AUTHOR
Hagen von Eitzen, May 16 2009
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 19 02:04 EDT 2024. Contains 371782 sequences. (Running on oeis4.)