IBM Punched Cards used as Factor Stencils, 1939, Smithsonian Institution negative number NMAH-AHB2017q016024
From the 1890s into the 1980s, rectangular paper punched cards were the most common way to enter data and programs onto processors like tabulating machines and then computers. In the late 1920s, number theorist Derek N. Lehmer of the University of California at Berkeley developed a set of punched paper sheets to assist in factoring large numbers. John D. Elder, an instructor at the University of Michigan, realized that factor stencils also could be put on punched cards, and he produced this set in 1939. The following year, Raphael M. Robinson of the University of California at Berkeley published a set of punched cards for finding quadratic congruences—these were in a form suited for distribution to libraries.
In general, some mathematicians embraced the electronic computer, writing programs for it that were entered on punched cards. Some such cards also survive in Smithsonian collections. For a listing of the punch cards in the mathematics and computer collections at the National Museum of American History, see the web object group https://americanhistory.si.edu/collections/object-groups/punch-cards.