When did the career of 1 as a prime number begin and when did it end? [closed]

The old Greek did not consider 1 a number, so it was not a prime. The theorem of unique prime factorization excludes 1 to be a prime number. But in between probably at Euler's and Goldbach's times? Who can determine most precisely (probably by original papers) when 1 first became a prime number and when 1 had been called a prime number for the last time?

-
The real question is: when will $-1$ begin its career as a prime number? – Kevin O'Bryant Jul 6 2010 at 12:27
Why does this matter at all? – Kevin Lin Jul 6 2010 at 19:14
Nice question. Modern people are so sure about the fact that "1 is an integer number" and that "1 is not a prime number", that they look with that certain air of superiority to the people of the past centuries who ignored such elementary and obvious facts... forgetting that they were the people who actually invented these concepts and gave to us; and also forgetting that in any case 1 being prime is just a matter of definition and conventions (certainly, the best choice for many reason, at the moment). – Pietro Majer Jul 6 2010 at 20:15
Community wiki? – Sergei Tropanets Jul 6 2010 at 23:10
Kevin, I think Conway has for many years been referring to the "prime" -1 in formulae involving quadratic symbols. – T. Jul 7 2010 at 4:52

closed as no longer relevant by Felipe Voloch, Gerald Edgar, Asaf Karagila, S. Sra, Bill JohnsonApr 28 2012 at 23:05

Both Euler and Goldbach counted 1 as a prime in certain situations (variants of Goldbach's conjecture), and did exclude 1 whenever it suited them (arithmetical functions). The question whether 1 is prime or not was not so terribly important before unique factorization was discovered as a fundamental principle by Gauss.

Edit. Here's a nice episode: when Wallis "solved" Fermat's challenge to find a cube whose sum of divisors is a square (Fermat had given the example $\sigma(343) = 20^2$) by claiming that $1$ does it, Fermat was insulted. Wallis then complained that Fermat was not content with this solution and pretended that this was because "some do not admit that $1$ is a number," and remarked that others do.

By the way, in his own solution of the problem $1+p+p^2+p^3 = x^2$ for primes $p$, Fermat showed that the only solutions are $p = 1$ and $p = 7$, so he counted $1$ as a prime number.

-
To echo that: when I was in elementary school, I was taught that a prime number is one that cannot be evenly divided by a number other than one and itself. And thus 1 is prime. When I was in middle school, I was taught greatest common divisors and least common multiples and how to compute them from prime factorizations. And that a number can always be written, in exactly one way, as a product of primes. And oh, by the way, 1 is not a prime. – Willie Wong Jul 6 2010 at 12:35
What situation exactly are you thinking of where you say Euclid counted 1 as prime? – Oliver Jul 6 2010 at 18:44
@Oliver: I meant Goldbach, of course -( – Franz Lemmermeyer Jul 6 2010 at 21:40
Ah, that makes rather more sense. – Oliver Jul 11 2010 at 20:35

My naive understanding is like this: most, but not all, of the ancient Greeks excluded one from the category of numbers ($\alpha\rho\iota\theta\mu o\varsigma$), hence from the primes (others excluded two as well). Speussippus (c.350BC) is a rare exception:

Speussippus, then, is exceptional among pre-Hellenistic thinkers in that he considers one to be the first prime number. [L. Taran, Speusippus of Athens: a critical study with a collection of the related texts and commentary, Philosophia antiqua, vol. 39-40, E.J. Brill, 1981]

This view held (mostly) until Stevin's argument that one was a number and his development of the reals (late 16th century)

In general, mathematics before Stevin is of one character and, after him, it is of another re ecting his contributions. In this regard, he is like Euclid: he stood at a watershed in the history of mathematics. And as with Euclid, he was so successful that, from our present day vantage point, it is hard to see the other side of that watershed. Over there, one was not a number; here and now, it is; even is a number, and i, and aleph nul. [C. J. Jones, The concept of one as a number, Ph.D. thesis, University of Toronto, 1978.]

Now we enter a period of confusion. The view of one as a non-number slowly begins to die out, and some (e.g., Brancker + Pell's table 1688) begin to list one as a prime.
Not a prime for Schooten 1657, Clerke 1682, Chales 1690, Ozanam 1691, Brunot 1723, Cortes 1724, Reyneau 1739, Euler 1770, Horsley 1772, ... A prime for Wallis 1685, Goldbach 1742, Kruger 1746, Willich 1759, Lambert 1770, Felkel 1776, Warring 1782, ... (Not these folks may have used both views at times, as many of us alternate between ln and log for the natural log, depending on our audience)

The beginning of the end comes with Gauss' Disquisitiones Arithmeticae as the Fundamental theorem of arithmetic, and especially the uniqueness of factorization, becomes central. At about the same time number fields are introduced and the role of units becomes understood. I could give a long list (like the above) of yeses and nos in this period as well. But the choice of excluding one from the primes gains superiority and is now essentially universal among mathematicians.

Was there a time one was almost universally considered a prime? Absolutely not. Was there a time it was almost universally considered a non-prime: yes, much of history.

It might be that the last major mathematician "wrote" that one was a prime in print was G. H. Hardy, who lists one as a prime in his "A course of pure mathematics, "3rd ed., Cambridge University Press, 1921:

If there are only a finite number of primes let them be 1, 2, 3, 5, 7, 11, ... $N$. [section 61, page 143-144]

He does is indirectly later in this text:

the decimal $.111\ 010\ 100\ 010\ 10\ldots$, in which the $n$th figure is $1$ if $n$ is prime, and zero otherwise, represents an irrational number [section 78, page 174]

By the 9th edition, 1944, Gerry Myerson notes the first reference to 1 as prime is removed (I'd bet it was changed by the 7th edition, 1938, and will try to check). The decimal (surely accidentally) was still present in the 10th edition that I checked.

However, I am not convince Hardy personally thought (defined) that 1 was prime in 1921, I suspect he thought it was still not important enough to bother changing what he had written in the first edition, 1908. His comments in the article "The Theory of Numbers" in Science (New Series, Vol. 56, No. 1450, Oct. 13, 1922, pp. 401-405), appears to imply 1 is not prime. E.g., he repeats that Mersenne listed $2^n-1$ was prime for 2, 3, ... without commenting about $1=2^1-1$ or altering Mersenne's statement to start at 1---which was commonly done. (I admit this is this is weak evidence!)

-
Very good...but...when was the last time some prominent mathematician held 1 to be a prime? – Gerry Myerson Apr 27 2012 at 12:42
The question was "when 1 first became a prime number and when 1 had been called a prime number for the last time?" I am offering Speussippus (c.350BC) as the answer to the first part. As for "prominent mathematician" I have not seen one after Hardy's A course of pure mathematics, 3rd ed., Cambridge University Press, 1921 (pages 143-3, and page 174); unless you except what I think is an editing mistake. Recent edition of this text still have: The decimal .11101010001010... in which the nth figure is 1 if n is prime and zero otherwise, represents an irrational number. – Chris Caldwell Apr 27 2012 at 13:35
Welcome to MathOverflow! Gerhard "Ask Me About System Design" Paseman, 2012.04.27 – Gerhard Paseman Apr 28 2012 at 6:45
@Chris: A very good answer that I would accept if I had access to my account. But unfortunately a computer crash a year ago makes that impossible. Now it only remains to pinpoint exactly when Hardy changed his opinion. Is there possibly any hint in a preface or else? Hans. – Wolfgang Mueckenheim Apr 28 2012 at 7:00
It would be nice to know when this changed in print, but, if the WorldCat database can believed, no library in the world has the 4th, 5th or 6th edition. The 7th, 1938, was a major revision, and is available in libraries at least Spain, Denmark, Germany and Slovenia. – Chris Caldwell Apr 28 2012 at 16:16

Wikipedia has lots of information on this topic. For example, "Henri Lebesgue is said to be the last professional mathematician to call 1 prime."

-
Wikipedia also notes that D N Lehmer (father of D H Lehmer) included 1 in his list of primes. I didn't know about Lebesgue, but I'd be inclined to discount him since he wasn't a number theorist so it didn't really matter whether he called 1 a prime or not. – Gerry Myerson Jul 6 2010 at 12:03
@Gerry: that seems a bit territorial. Lebesgue was obviously a serious mathematician. I would prefer to give him the benefit of the doubt that he knew some number theory and had reasons (though I don't know what they would be) for his convention. – Pete L. Clark Jul 6 2010 at 15:35
Is anyone here able to verify the claim concerning Lebesgue? Reference? I do not really trust the web in this case . . . – Franz Lemmermeyer Jul 7 2010 at 7:49
Franz, if you look at the wikipedia piece, it has a footnote directing you to page 33 of a recentish book by Derbyshire - have you checked that? I wonder if it's possible that someone was confusing Henri with another Lebesgue, a mid-19th century number theorist. – Gerry Myerson Sep 2 2010 at 13:05
Incidentally, David Williams has an easily findable article called "Brownian Motion and the Riemann Zeta-Function" in which he mentions how the proof of a probability conjecture (that a certain random variable is "mean zero ferromagnetic") would imply the Riemann hypothesis. (According to Chuck Newman, who David Williams cites, this implication was already known to Polya and can be found on page 424 of Polya's Collected Papers, Vol II.) So I'd be a bit cautious who you decide to ignore. – Louigi Addario-Berry Sep 2 2010 at 14:54

G. Hardy (1877-1947) died after H. Lebesgue (1875-1941). Hardy reports Euclid's prime number proof as a proof by contradiction mentioning the existence of a finite set of primes: 1, 2, 3, 5, 7, 11, ..., $N$ on p. 120 of his Course, 3rd ed. (1921).

-
 And, indeed, in the textbook Hardy & Wright, 1 is not prime. – Gerald Edgar Apr 26 2012 at 12:37 In fact 1 is explicitly excluded there because of uniqueness of prime factorization. Also Euclid's proof is written without factor 1 (and is not explicitly denoted as a proof by contradiction). However I have only seen the edition of 2008. – Wolfgang Mueckenheim Apr 26 2012 at 13:08 I have the 9th edition, first published in 1944. The discussion is on page 125 in that edition, and it has been rewritten so that 1 is not listed as a prime, and so that it's not a proof by contradiction. – Gerry Myerson Apr 26 2012 at 23:16

Also, in quantum groups (loosely speaking, one-parameter deformations of groups) the $q=1$ limit recovers the group while $q$ a root of unity is related to phenomena in prime characteristic $p$ > 0.
There is also the Krasner - Kazhdan - Deligne philosophy of "fields of characteristic $p$ as limits of fields of characteristic 0", recently and somewhat speculatively related to the field of one element in arxiv papers of Connes and Consani.
Then again, $1=2^0$, so it is a power of a prime even if it is not prime itself. – David Corwin Jul 7 2010 at 23:03
The putative field of one element, and its even more hypothetical "algebraic extensions", are meant as $p=1$ analogues of fields of size $p^1$ and $p^n$ respectively. Setting $n=0$ is closer to Krasner's approach (which has different aims and was not introduced as a theory of $F_1$). In the existing proposals for how to define these objects, $F_1$ and $F_{1^n}$ are different, and non-isomorphic, objects. – T. Jul 8 2010 at 6:48