**Derrick Norman Lehmer**'s parents were Derrick Fernstück Lehmer and Isabel Smith Perry. He was [1]:-

... the son and grandson of Pennsylvania pioneers and the great grandson of a Hessian trooper who later joined the Continental Army and settled in Pennsylvania. His mother was Isabel Smith Perry, born in1823in Covington, Kentucky.

His primary education was in several schools in Nebraska. Details of his high school education are sparse and it is not known whether a picture taken in 1885 showing him in military uniform means that he served in the military or whether it was a uniform for the high school he attended. He was educated at the University of Nebraska, obtaining his A.B. in 1893 and then worked for the railroads as a surveyor before returning to the University of Nebraska to study for his Master's degree which was awarded in 1896. Before undertaking research he was headmaster of the Worthington Military Academy in 1896-97. He then went to the University of Chicago where he undertook research under the supervision of Eliakim Moore. Lehmer was awarded his Ph.D. in 1900 from the University of Chicago for his thesis *Asymptotic Evaluation of Certain Totient-Sums.*

After the award of his doctorate Lehmer was appointed in 1900 as an instructor in mathematics at the University of California at Berkeley. Lehmer married Clara Eunice Mitchell on 12 July 1900 at Decatur, Illinois, and after they had travelled to Berkeley, Lehmer wrote to his sister-in-law Daisy Lehmer on 2 September:-

I have had two weeks work teaching and find it very charming and interesting work. I would rather teach than do anything else on earth and the more I teach the better I like it. We went to a big reception Friday evening and met a great many of the great men of the University. Mrs Hearst was there - a quiet, dignified woman ... the first millionairess I ever shook hands with. President Wheeler is a handsome man with fine presence and a great knack for remembering faces and names ...

Derrick and Clara had two sons and three daughters Eunice (b. 1903), Helen (b. 1904), Derrick Henry (b. 1905), Stephen (b. 1907), and Alice (b. 1911). Derrick Henry Lehmer became a famous mathematician and also has a biography in this archive. Lehmer was promoted to professor at Berkeley in 1918 and continued to teach there until he retired on 27 July 1937.

Lehmer published *Factors* in 1909, and *List of prime numbers from *1* to *10006721 in 1914. The 1909 publication, whose full title is *Factor Tables for the first ten millions containing the smallest factor of every number not divisible by *2, 3, 5*, or *7* between the limits *0* and *10017000, was published by the Carnegie Institute of Washington. In it Lehmer gives a little of the history of tables of primes:-

From the days of Eratosthenes, the inventor of factor tables, to the present time the interest in the problem has never flagged. ... The history of factor tables really begins in the seventeenth century, starting perhaps with a table by Cataldi(Bologna,1603), which gave all of the factors of all the numbers up to750...

He goes on to say that Schooten published a list of primes to 10,000 (1657), Chernac published the first table to 1,020,000 (1811), Burckhardt published a table for the second million (1814), and Crelle completed the third, fourth, and fifth millions but the tables were discovered to be too inaccurate to publish.

In 1917 Lehmer published *An Elementary Course in Synthetic Projective Geometry.* He writes in the Preface:-

The following course is intended to give, in as simple a way as possible, the essentials of synthetic projective geometry. While, in the main, the theory is developed along the well-beaten track laid out by the great masters of the subject, it is believed that there has been a slight smoothing of the road in some places. Especially this will be observed in the chapter on Involution. The author has never felt satisfied with the usual treatment of that subject by means of circles and anharmonic ratios. A purely projective notion ought not to be based on metrical foundations. ...

One of the real gems in the book is the final chapter on the history of the subject. Lehmer writes about his attitude towards the history in the Preface:-

The writer has not followed the usual practice of inserting historical notes at the foot of the page, and has tried instead, in the last chapter, to give a consecutive account of the history of pure geometry, or, at least, of as much of it as the student will be able to appreciate who has mastered the course as given in the preceding chapters. One is not apt to get a very wide view of the history of a subject by reading a hundred biographical footnotes, arranged in no sort of sequence. The writer, moreover, feels that the proper time to learn the history of a subject is after the student has some general ideas of the subject itself.

During the 1920s Lehmer worked on factor stencils which gave a method of factorising a number using cards with holes punched in them. The method was described by his son as follows:-

Since every quadratic residue R of a number N is also a quadratic residue of every possible factor of N, it follows that the problem of factoring a number N is hereby reduced to the discovery of an adequate number of quadratic residues R of N and the superposition of the corresponding stencils to reveal those few primes having these residues R.

Lehmer published *Factor Stencils* in 1929. He had worked with his son in producing the stencils. They worked with residues *R* < 240 and covered 5000 primes which includes all primes up to 48611. This enabled integers up to 48611^{2} = 2363029321 to be factored.

Following on from the idea of factor stencils, Lehmer came up with another mechanical device to factor numbers. The reference [2] gives details of this device:-

"Even a worm will turn," and now electricity and light, which have in the past gone to mathematics for solutions of their intricate problem, turn about and solve problems in mathematics which would require scores of years to complete.

Construction of a machine which will perform these tedious tasks is insured by the grant of $1,000 to Dr Derrick N Lehmer of the Mathematics Department of the University of California by the Carnegie Institution of Washington D. C. The immediate purpose of the machine is to determine the factors of large numbers which are greater than two millions. ...

The new machine, which will be constructed under Professor Lehmer's direction by his son Derrick H Lehmer, national research fellow, consists of a shaft on which thirty gears of100teeth each are set. Meshing with these gears are thirty other gears with a varying number of teeth, depending on the prime numbers from1to127.

Under each tooth in this second series of gears is a small hole. When the machine is set up and ready for use, some of these holes are plugged and others are open. A beam of light is cast on the side of the machine and then it is set in motion by means of an electric motor.

The main shaft gears all revolve at the same speed, but the gears meshing with them revolve at different speeds because of the varying number of teeth. When in the course of perhaps hundreds of thousands of revolutions one hole in each wheel reaches the same point at the same time, when thirty holes are lined up, in other words, the beam of light goes straight through the machine, strikes a sensitive photo-electric plate and stops the machine instantly.

A little counter which records the number of revolutions made by the main shaft, gives a number from which the factors of the large number under analysis can readily be obtained.

Outside mathematics Lehmer had several interests which are described in the obituary produced by Berkeley:-

His scholarly interest was mainly in the field of mathematics, avocational pursuits carrying him into the domain of music and poetry. His friends thus recognized two strains in his nature. The Derrick strain, if one may so indicate his descent from Hessian stock, accounts for his being a professor of mathematics and at one time Research Assistant of the Carnegie Institution of Washington, where among other things he made "Factor Tables for the First Ten Millions." The Norman strain in him accounts for his love of belles lettres, his creative work in the fields of music and poetry, the songs and operas he composed and the poems he wrote.

Let us give a few more details of Lehmer's literary and musical achievements which are referred to in the above quote. He wrote a play *The Crystal Gazers* in 1936 which was never published. This play concerns spirit conjuring and alchemy, and recounts the story of how Edward Kelly convinced the mathematician John Dee that he could contact the spirit world. Lehmer wrote two operas: *The Necklace of the Sun : A Mayan Drama* had its premiere at the Scottish Rite Auditorium, Oakland, on 28 February 1935. It was also performed in San Francisco. A second opera *The Harvest,* which had a Red Indian theme, had been performed at the Little Theatre, Palace of the Legion of Honor in San Francisco on 14 and 17 October 1933. He also published many collections of songs which he composed including *Seven Indian Songs from the Yosemite Valley* (1924), *Down the stream and other Indian songs* (1927), *Indian camp-fire songs* (1930), *Indian songs from the Northland* (1931), *Fingers of the sun and other Indian songs from the Sierra slopes* (1931), *Songs from the Mesas* (1932), *Songs from the Tundras* (1932), *The Ballad of San Francisco Bay* (1937), and *Five Little songs* (1937). He also wrote *Fightery Dick* and other poems.

Lehmer received many honours for his mathematical work in number theory. He was awarded an honorary D.Sc. from the University of Nebraska in 1932. He was a member of many learned societies, including the American Mathematical Society; the Mathematical Association of America; Circolo Matematico di Palermo; the American Anthropological Association; the Poetry Society of America; the Poetry Society of London; the California Writers' Club; the Bookfellows; the Nebraska Writers Guild; the League of Western Writers; and the American Society for Comparative Musicology. He was a fellow of the American Association for the Advancement of Science and he served as vice-president and trustee of the Mathematical Association of America.

Lehmer died at his home, 2736 Regent Street, Berkeley, after an extended illness.

**Article by:** *J J O'Connor* and *E F Robertson*