Lehmer sieve
Illustration — A Lehmer sieve a primitive digital computer once used for finding primes and solving simple Diophantine equations. Lehmer sieves are electromechanical or simple electronic devices that implement sieves in number theory. Lehmer sieves are named for Derrick Norman Lehmer and his son Derrick Henry Lehmer.
Lehmer sieve

Marcin Wichary from San Francisco, Calif. · Flickr · CC BY 2.0
- Period
- 1926.
- Region
- United States.
VALÉORINE Encyclopedia
VALÉORINE documentary reading
Documentary summary
Illustration — A Lehmer sieve a primitive digital computer once used for finding primes and solving simple Diophantine equations. Lehmer sieves are electromechanical or simple electronic devices that implement sieves in number theory. Lehmer sieves are named for Derrick Norman Lehmer and his son Derrick Henry Lehmer.
Admitted source layer · organised and presented by VALÉORINE
Reference Check
Propose documentary evidence for Lehmer sieve. A contribution is never written directly as fact: identity, source, rights and evidence gates still decide.
Sign in to contribute
World of VALÉORINE
Documentary connections
Only confirmed graph relationships appear here. Images are shown only when their identity and reuse rights both pass the documentary gate.
Documentary evidence
Documentary basis
Authority files
wikidata · Q6518933 · wikipedia · Lehmer sieve
In this article
Construction
Construction
The father was a professor of mathematics at the University of California, Berkeley at the time, and his son followed in his footsteps as a number theorist and professor at Berkeley. A sieve in general is intended to find the numbers which are remainders when a set of numbers are divided by a second set. Generally, they are used in finding solutions of Diophantine equations or to factor numbers. A Lehmer sieve will signal that such solutions are found in a variety of ways depending on the particular construction.
The first Lehmer sieve in 1926 was made using bicycle chains of varying length, with rods at appropriate points in the chains. As the chains turned, the rods would close electrical switches, and when all the switches were closed simultaneously, creating a complete electrical circuit, a solution had been found. Lehmer sieves were very fast, in one particular case factoring 2^{93} + 1 = 3 \times 3 \times 529510939 \times 715827883 \times 2903110321 in 3 seconds. The original is lost, but an early-1980s reconstruction is at the Computer History Museum in Mountain View, California. • Illustration — A Lehmer sieve using gears Built in 1932, a device using gears was shown at the Century of Progress exposition in Chicago. These had gears representing numbers, just as the chains had before, with holes. Holes left open were the remainders sought. When the holes lined up, a light at one end of the device shone on a photocell at the other, which could stop the machine. The machine could then be wound backwards to find the point at which the light had shone, allowing the observation of a solution. This incarnation allowed checking of five thousand combinations a second. In 1936, a version was built using 16 mm film instead of chains, with holes in the film instead of rods. Brushes against the rollers would make electrical contact when the hole reached the top. Again, a full sequence of holes created a complete circuit, indicating a solution. Several Lehmer sieves (and the Bicycle Sieve replica) are on display at the Computer History Museum. Since then, the same basic idea has been used to design sieves in integrated circuits or software.
Early work independent of Lehmer
Early work independent of Lehmer
In 1896 F. W. Lawrence published the paper "Factorisation of numbers". In its final section it outlines a design for an automated, electromechanical digital computing device which could apply the sieving method described in the paper. In 1910 a French translation was published by André Gérardin in his journal Sphinx-Oedipe: this sparked a number of efforts to build devices on the lines of Lawrence's description. In February 1912 Gérardin reported in Sphinx-Oedipe that Maurice Kraitchik had built a mechanical prime sieve. According to Hugh C. Williams and Jeffrey Shallit its design is "rather similar to that of Lawrence" (Kraitchik already knew about Lawrence's paper when his machine was announced, though he did not acknowledge a connection.) According to Shallit, Williams and François Morain, while Kraitchik's machine "might have worked reasonably well at low speeds, it would very likely have been useless at higher speeds". In March Gérardin also announced the existence of two other machines, one designed by Pierre Carrisan and the other by himself. But according to Shallit, Williams and Morain "[a]ll three of these early attempts to construct a sieve suffered from the same inadequacies: they existed only as roughly constructed prototypes, were rather inefficient, required the human eye to scan for solutions, and produced no significant results—apparently none whatsoever." However during 1913-14 Eugène-Olivier Carissan, who had previously built the machine of his brother Pierre's design, designed and built a new prototype. Its performance was encouraging and so a precision version was ordered from the Paris horologists Chateau Frères et Cie. World War I delayed production and so the final machine à congruences ("congruence machine") was only completed in 1919. This machine was electro-mechanical but hand-cranked. It was able to prove 1,321,442,641 prime in 15 minutes of operation and prove 18,405,321,661 prime in 1 hour of operation. According to Williams and Shallit "[t]his seems to have been the first automatic sieve mechanism to have ever been successfully constructed." Shallit, Williams and Morain judged the 1926 Lehmer sieve to be "in many ways much less sophisticated" (though in fact it is somewhat faster). Since 1994 the 1919 Carissan machine has been in the collection of the Musée des Arts et Métiers. It was displayed at the Société d'encouragement pour l'industrie nationale's large Paris exhibition of calculating machinery in June 1920. Eugène-Olivier had plans for improvements including motor-driven operation, but it seems these were not carried out: both Carissan brothers died by 1925 and the machine fell into obscurity over time. D. H. Lehmer did not hear of the Carissans until 1989. He was aware of Lawrence and Kraitchik by at least 1934, when he described their designs for machines as "impractical... [though] theoretically interesting" even though, according to Williams and Shallit, Lehmer's 1932 gears sieve "represents in many ways the fruition of their ideas". Similarly Gérardin was, according to Richard F. Lukes, "apparently totally unaware of Lehmer's previous work" when he constructed a new number sieve in 1937. This was reported to be an electrically-powered, automatic device incorporating a printer. Based on a photograph Lukes speculated that it was based on an adding machine.
Electronic sieves
Electronic sieves
In 1945 and 1946 D. H. and Emma Lehmer gained early experience with the vacuum-tube digital computer ENIAC at the University of Pennsylvania. In the next two decades D. H. Lehmer and others would devote significant attention to writing software sieves for general-purpose computers. However, on his return home to Berkeley Lehmer also decided to seek to build a fast special-purpose hardware sieve using vacuum tube logic. In an unpublished 1946 document he proposed a design for such a sieve, naming it the "Electronic Sieve": it would have been able to be reconfigured by plugging and unplugging logic modules. The proposal also lays out his idea for an "Acoustic Sieve" in which, in Lukes' words, "the periodic element would be a tube of ethylene glycol with a piezo-electric crystal at each end". Lehmer and Berkeley engineering professor Paul Morton did, at some point between 1946 and 1964, design and build all or part of a sieve using counters. After about two years' work they gave up this effort and instead turned their attention to working with delay line memory. In 1962 D. G. Cantor, G. Estrin, A. S. Fraenkel and R. Turn proposed another electronic sieve: this one would have used shift registers and been capable of being connected to a general-purpose computer, but was never built.
The Delay Line Sieve
The Delay Line Sieve
Lehmer and Morton's DLS-127, the initial form of the Delay Line Sieve, began operations in 1965 or 1966. The DLS-127 was built as an unsponsored educational project of Berkeley's Departments of Mathematics and Electrical Engineering at a cost of about US$2000, including a total of about $150 for its navy-surplus wire delay lines. The machine used the innate delay of delay-line memory to advantage, running a number of delay lines of different lengths in parallel and noting a solution when they all returned input data simultaneously. It also had vacuum-tube components. Input was by means of a paper tape which was prepared by software on an IBM 7094} or a CDC 6400. In the early 1970s the machine was upgraded with an additional six moduli and renamed the DLS-157: these new delays were implemented using shift registers rather than delay lines. The Delay Line Sieve ceased operations in 1975; it is now in the collection of the Computer History Museum.
Chronology
Dated record
Chronology
Explore 1926
The full dated record · 3 entries
1926
Lehmer sieve first recorded.
1926
Lehmer sieve is recorded from 1926.
1926
Lehmer sieve was established or created in 1926.
Context
Primary material
Context
The circumstances in which Lehmer sieve stands. Attributed to Derrick Norman Lehmer. Recorded as used for prime number. Established or created in 1926.
Documents and archives
Primary material
Documents and archives
reference work
- “Lehmer sieve”, English Wikipedia, consulted as further reading
Reputable secondary · Wikipedia
institutional register
- Wikidata, structured authority record Q6518933: Lehmer sieve
General reference · Wikimedia Foundation
Notes from the source article
Cited by Wikipedia
Notes from the source article
These works are cited by the source article, in its own numbering. They are recorded as its citations, not as sources VALÉORINE has verified.
- 1.Rubinstein, Richard. D.H. Lehmer's Number Sieves. The Computer Museum Report. The Computer Museum. Spring 1983. 3–4. 17 October 1982. 0736-5438.
- 2.The Computer Museum. The Computer Museum Report. Spring 1983. 2. 17 October 1982. 0736-5438.
- 3.W. W. Rouse Ball (1960) Lehmer's Machine, in Mathematical Recreations and Essays, Macmillan, New York, pp. 61–62.
- 4.1981.
- 5.Lehmer. D. H. D. H. Lehmer. Photoelectric Number Sieve Machine ("Gear Machine"). Computer History Museum.
- 6.Lehmer. D. H. D. H. Lehmer. Number Sieve Machine using 16 mm film. Computer History Museum.
- 7.Lawrence, F.W. Factorisation of numbers. Q. J. Pure Appl. Math. 28. 1. 285-31.
- 8.Lawrence, F.W. Factorisation of numbers. Q. J. Pure Appl. Math. 28. 1. 285-31. 1910.
- 9.Williams, H. C. Mathematics of Computation 1943–1993: A Half-Century of Computational Mathematics. Proceedings of Symposia in Applied Mathematics. American Mathematical Society. 48. 481–531. 1994. 978-0-8218-0291-5.
- 10.Mouyssinat, Michel. Actes du colloque « Vers un Musée de l'Informatique et de la société Numérique en France ?? ». 4. 2012.
- 11.Shallit, Jeffrey. Discovery of a Lost Factoring Machine. Mathematical Intelligencer. 17. 3. 41–47. January 1995. 10.1007/BF03024369.
- 12.Carissan, E. Machine à résoudre des congruences. Bull. Soc. Encouragement Ind. Nat. Société d'encouragement pour l'industrie nationale. 132. 600–607.
- 13.Machine à résoudre les congruences de Carissan.
- 14.Mouyssinat, Michel. Actes du colloque « Vers un Musée de l'Informatique et de la société Numérique en France ?? ». 4. 2012.
- 15.Lemaire, E. Exposition publique de machines à calculer anciennes et modernes. Bull. Soc. Encouragement Ind. Nat. Société d'encouragement pour l'industrie nationale. 132. 608–644.
- 16.Lehmer, D. H. A machine for combining sets of linear congruences. Mathematische Annalen. 109. 1. 661–667. December 1934. 1432-1807.
- 17.Paris 7 Denis Diderot. Mnémosyne. 17. 4. June 2002. 1956-385X.
- 18.Lukes, Richard F. A Very Fast Electronic Number Sieve. University of Manitoba. 14-18. 1995. 0-612-13321-4.
- 19.A. Gérardin. Machine à congruences (modèle 1937). In 70e Congrès des Sociétés Savantes de Paris et des Départements, Section des Sciences, pages 14, II, p.37. Gauthier-Villars, Paris, 1937
- 20.Markoff, John. Unprogramming the ENIAC: Lehmer child's play. Computer History Museum. 9 May 2017.
- 21.Lehmer, D. H. Preliminary proposal for the design and construction of the electronic sieve. 1 December 1946.
- 22.Lehmer, D. H. A History of Computing in the Twentieth Century. Academic Press. 445–456. 0-12-491650-3.
- 23.Cantor, D. G. A Very High-Speed Digital Number Sieve. Mathematics of Computation. 16. 141–154. 1962. 10.1090/S0025-5718-1962-0146990-0.
- 24.Lehmer, D. H. The History of the Sieve Machine. 6 October 1982.
- 25.Lehmer, D. H. An Announcement Concerning the Delay Line SIEVE DLS-127. Mathematics of Computation. 20. 644–646. 1966. 10.1090/S0025-5718-66-99911-X.
- 26.Rubinstein, Richard. D.H. Lehmer's Number Sieves. The Computer Museum Report. The Computer Museum. Spring 1983. 3–4. 17 October 1982. 0736-5438.
- 27.Stephens, A. J. Number Theory and Cryptography. Cambridge University Press. 38–75. 1990. 9781107325838.
- 28.Lehmer, D. H. The History of the Sieve Machine. 6 October 1982.
- 29.Delay line number sieve machine.
Bibliography printed in the source article · 6
- Lehmer, D. N. Hunting big game in the theory of numbers. Scripta Mathematica. 1. 229–235. 1932.
- Lehmer, D. H. The mechanical combination of linear forms. American Mathematical Monthly. Mathematical Association of America. 35. 3. 114–121. 1928. 10.2307/2299504.
- cite book
- Beiler, Albert H. Recreations in the Theory of Numbers. Dover. August 2025.
- Williams, Michael R. Lehmer Sieves. 2002.
- Lukes, Richard F. A Very Fast Electronic Number Sieve. University of Manitoba. 14-18. 1995. 0-612-13321-4.
References
Citations
References
Each reference names the institution holding it, so a reader may go to the document itself.
reference work
Secondary witnessinstitutional register
Wikidata, structured authority record Q6518933: Lehmer sieveWikimedia Foundation
General reference
The Encyclopedia exists whether or not anything is for sale. Corrections are recorded rather than overwritten, and every version of this record is kept. Published 16 August 2026.
Elsewhere in Scientific instruments
736 published records in this field, each with its sources named.
- Large Zenith TelescopeTerminology
- laser communication in spaceTerminology
- laser guide starTerminology
- Laser Ranging RetroflectorTerminology
- Leonhard Euler TelescopeTerminology
- Lesbian ruleTerminology
- Leviathan of ParsonstownTerminology
- liquid mirror telescopeTerminology
Best supported in this field
For owners
Own an object connected with Lehmer sieve?
A specialist will read what you send and tell you what the house can establish, what it cannot, and whether the object is suited to sale. There is no charge and no obligation. The object stays with you throughout; nothing is shipped to us unless it is arranged in writing beforehand.