Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A160508
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A160508 Knuth's standard example of an unsorted array +0
1
503, 87, 512, 61, 908, 170, 897, 275, 653, 426, 154, 509, 612, 677, 765, 703 (list; graph; listen)
OFFSET

1,1

COMMENT

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

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: A097425 A121577 A001244 this_sequence A067949 A133525 A066525

Adjacent sequences: A160505 A160506 A160507 this_sequence A160509 A160510 A160511

KEYWORD

fini,full,nonn

AUTHOR

Hagen von Eitzen (math(AT)von-eitzen.de), May 16 2009

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified November 25 20:09 EST 2009. Contains 167514 sequences.


AT&T Labs Research