The Kruskal count (also known as Kruskal's principle, Dynkin–Kruskal count, Dynkin's counting trick, Dynkin's card trick, coupling card trick or shift coupling) is a probabilistic concept originally demonstrated by the Russian mathematician Evgenii Borisovich Dynkin in the 1950s or 1960s discussing coupling effects and rediscovered as a card trick by the American mathematician Martin David Kruskal in the early 1970s as a side-product while working on another problem. It was published by Kruskal's friend Martin Gardner and magician Karl Fulves in 1975. This is related to a similar trick published by magician Alexander F. Kraus in 1957 as Sum total and later called Kraus principle.
Besides uses as a card trick, the underlying phenomenon has applications in cryptography, code breaking, software tamper protection, code self-synchronization, control-flow resynchronization, design of variable-length codes and variable-length instruction sets, web navigation, object alignment, and others.
The trick is performed with cards, but is more a magical-looking effect than a conventional magic trick. The magician has no access to the cards, which are manipulated by members of the audience. Thus sleight of hand is not possible. Rather the effect is based on the mathematical fact that the output of a Markov chain, under certain conditions, is typically independent of the input. A simplified version using the hands of a clock is as follows. A volunteer picks a number from one to twelve and does not reveal it to the magician. The volunteer is instructed to start from 12 on the clock and move clockwise by a number of spaces equal to the number of letters that the chosen number has when spelled out. This is then repeated, moving by the number of letters in the new number. The output after three or more moves does not depend on the initially chosen number and therefore the magician can predict it.
d:Q77083876
. Vida Lazarus . Greenberg .d:Q102189194
. Ashok Prasad . Maitra .d:Q102116681
. Giandomenico . Majone . Giandomenico Majone . Die Grundlehren der mathematischen Wissenschaften in Einzeldarstellungen mit besonderer Berücksichtigung der Anwendungsgebiete . 0072-7830 . I (121) . 1965 . 1963-03-10, 1962-03-31 . 1 . 64-24812 . 10.1007/978-3-662-00031-1 . 978-3-662-00033-5 . Title-No. 5104 . Springer-Verlag (Academic Press, Inc.) . 251691119 . New York, US / Berlin, Germany . 2023-09-02 . registration. https://books.google.com/books?id=vHrpCAAAQBAJ (xii+365+1 pages); Book: Markov Processes-II . en . Evgenii Borisovich . Dynkin . Evgenii Borisovich Dynkin . University of Moscow, Moscow, Russia . Jaap . Fabius .d:Q77083876
. Vida Lazarus . Greenberg .d:Q102189194
. Ashok Prasad . Maitra .d:Q102116681
. Giandomenico . Majone . Giandomenico Majone . Die Grundlehren der mathematischen Wissenschaften in Einzeldarstellungen mit besonderer Berücksichtigung der Anwendungsgebiete . 0072-7830 . II (122) . 1965 . 1963-03-10, 1962-03-31 . 1 . 64-24812 . 10.1007/978-3-662-25360-1 . 978-3-662-23320-7 . Title-No. 5105 . . New York, US / Berlin, Germany . 2023-09-02 . registration. (viii+274+2 pages) (NB. This was originally published in Russian as "Markovskie prot︠s︡essy" (Russian: Марковские процессы) by Fizmatgiz (Russian: Физматгиз) in 1963 and translated to English with the assistance of the author.)de:Alexander Adolfowitsch Juschkewitsch
. James S. . Wood . University of Moscow, Moscow, Russia . . New York, US . 69-12529 . 1969 . 1966-01-22 . 1 . 2023-09-03 . live . https://web.archive.org/web/20230906170022/https://people.math.harvard.edu/~ctm/home/text/class/harvard/219/21/html/home/sources/dynkin.pdf . 2023-09-06. (x+237 pages) (NB. This is a corrected translation of the first Russian edition published as "Russian: Теоремы и задачи о процессах Маркова" by Nauka Press (Russian: Наука) in 1967 as part of a series on Probability Theory and Mathematical Statistics (Russian: Теория вероятностей и математическая статистика) with the assistance of the authors. It is based on lectures held at the Moscow State University in 1962/1963.)d:Q102247201
. Yiu-Fai . Lee . . 0020-739X . 1464-5211 . . Miscellany . 36 . 6 . September 2005 . 2004-05-05 . 10.1080/00207390500064254 . 680–683. 121692834 . (4 pages)d:Q102247201
. 2006-03-07 . Classroom notes . . 0020-739X . 1464-5211 . 37 . 7 . . 2005-09-29 . 10.1080/00207390600712299 . Advanced Modeling and Applied Computing Laboratory and Department of Mathematics, The University of Hong Kong, Hong Kong . 833–838 . 121242696 . 2023-09-02 . live . https://web.archive.org/web/20230902190323/http://www.math.hku.hk/imrwww/IMRPreprintSeries/2006/IMR2006-11.pdf . 2023-09-02. (6 pages)d:Q102271025
. Prasad V. . Tetali . Prasad V. Tetali . 2010-11-07 . 2009-05-31 . Proceedings of the forty-first annual ACM symposium on Theory of computing (STOC 2009) . 10.1145/1536414.1536490 . 12797847 . 0812.0789 . 553–560 . 2023-08-20 . live . https://web.archive.org/web/20230820105311/https://faculty.uml.edu/rmontenegro/research/kangaroo-journal.pdf . 2023-08-20.d:Q14949225
. 2011 . singingbanana.com . 2023-08-19 . live . https://web.archive.org/web/20230819090025/https://www.singingbanana.com/Kruskal.pdf . 2023-08-19. (8 pages)d:Q28053587
. dlab @ EPFL . . Lausanne, Switzerland . 2023-09-04 . live . https://web.archive.org/web/20220523101801/https://dlab.epfl.ch/2011-05-26-wikipedias-fixed-point/ . 2022-05-23 . [...] it turns out there is a card trick that works exactly the same way. It's called the "Kruskal Count" [...].de:Ehrhard Behrends
. Steve "Dr. Maths" . Humble . Kraków, Poland . September 2012 . 2012-07-02 . 85 . . 1027-488X . . Zürich, Switzerland . 20–21 [21] . 2023-09-02 . live . https://web.archive.org/web/20230902182119/https://www.ems-ph.org/journals/newsletter/pdf/2012-09-85.pdf . 2023-09-02 . 21 . [...] The Kruscal count [...]. https://web.archive.org/web/20230902172632/http://page.mi.fu-berlin.de/bhrnds/publ_papers/nl2012-09-85_1.pdf (2 pages)d:Q56565972
. 2014-07-10 . Sven . Dietrich . 11th International Conference on Detection of Intrusions and Malware, and Vulnerability Assessment (DIMVA) . . . Egham, UK; Switzerland . Vrije Universiteit Amsterdam, Amsterdam, Netherlands . 10.1007/978-3-319-08509-8_3 . 4634611 . LNCS 8550 . 0302-9743 . 1611-3349 . 978-3-31908508-1 . 41–50 [45] . 2023-08-26 . live . https://web.archive.org/web/20230826135254/https://www.cs.vu.nl/~herbertb/papers/stega_dimva14.pdf . 2023-08-26. (10 pages)d:Q102271025
. Prasad V. . Tetali . Prasad V. Tetali . 2014-09-07 . 2023-08-22 . live . https://web.archive.org/web/20230822002748/https://tetali.math.gatech.edu/PUBLIS/MT14.pdf . 2023-08-22. (18 pages)d:Q102271025
. Jonathan . Katz . Jonathan Katz (computer scientist) . 2015-03-15 . 2015-03-30/2015-04-01 . Proceedings of the 18th IACR International Conference on Practice and Theory in Public-Key Cryptography . Gaithersburg, Maryland, US . . Berlin & Heidelberg, Germany . . LNCS 9020 . 978-3-662-46446-5 . 10.1007/978-3-662-46447-2_6 . 127–149 . 2023-09-03 . live . https://web.archive.org/web/20230903083941/https://www.iacr.org/archive/pkc2015/90200136/90200136.pdf . 2023-09-03. (23 pages)