Error-correcting codes (ECC), found in coding theory, use methods to handle possible errors that may arise from electronic noise, to a scratch of a CD in a way where they are detected and corrected. Recently, ECC have gone beyond their traditional use. ECC can be used in applications from performing magic tricks to detecting and repairing mutations in DNA sequencing. This paper investigates an application of the Hamming Code, a type of ECC, in the form of a magic trick which uses Andy Liu's description of the Hamming Code through set theory and a known card trick. Finally, connections between this new card trick and the properties of the Hamming Code are explained

Author Bio

This research was completed over the course of five weeks in the summer of 2018 at California Lutheran University. The majority of the project was completed by the student as the faculty mentor provided suggestions to where the research should go as well as points of clarification when working on a particular research objective.

Luis Perez is currently a graduate student pursuing an MA in Mathematics at San Francisco State University. As an undergraduate student at California Lutheran University, he majored in mathematics and computer science. Luis played soccer four seasons for the Kingsmen. Luis is excited to start graduate school. He looks forward to taking graduate-level mathematics, teach, and conduct research. Luis plans to eventually earn a PhD in Mathematics. With a PhD in Mathematics, Luis hopes to become a professor of mathematics who advocates for diversity in STEM.