Talk:Prime number

Latest comment: 13 days ago by David Eppstein in topic rename this article to prime numbers.
Good articlePrime number has been listed as one of the Mathematics good articles under the good article criteria. If you can improve it further, please do so. If it no longer meets these criteria, you can reassess it.
Did You Know Article milestones
DateProcessResult
February 23, 2018Good article nomineeListed
Did You Know A fact from this article appeared on Wikipedia's Main Page in the "Did you know?" column on April 4, 2018.
The text of the entry was: Did you know ... that prime numbers have been studied since the time of the ancient Greeks, but had few real-world applications until the invention of public-key cryptography in the 1970s?

Definition in the lead edit

Although involving products in the definition instead of divisors is correct (and rather elegant), it is still pompously so. It requires a non-negligible amount of thinking for the uninitiated, and I have never seen it worded as such anywhere else, nor do math profs usually teach it that way.

This very clearly violates WP:ASTONISH by trying to be clever, besides obviously being WP:OR. 105.156.135.60 (talk) 19:49, 26 September 2021 (UTC)Reply

You have got to be kidding me. It is far from being original research – sources for this definition are not difficult to find – and in fact is deliberately non-technical by using multiplication, a simpler and more familiar concept than that of a divisor. In the US, students start learning about multiplication in the second grade. Division is a third-grade concept, and factorization, multiples, and divisors are fourth-grade concepts. When it is possible to express things more simply using lower-level concepts, that is what we should do. —David Eppstein (talk) 20:13, 26 September 2021 (UTC)Reply
Googling "definition of prime number", and going as far as four pages deep, the one and only website that mentions a product —mathisfun.com— does so by avoiding the need from the reader to realize that "two smaller factors" means 1 is not included (by stating so explicitly), since that would involve the number itself (which is not smaller). And as you can see in the talk page again and again, and presumably why the article is restricted, probable adults are still getting confused by the wording, and I guarantee you that 2nd, 3rd, 4th graders and the rest of the population will be too, with a likelihood far more significant than that of 2nd graders reading about prime numbers on Wikipedia while still being unaware of the concept of divisors.
I write code for a living, and I sure as heck love my clever one-liners, but my coworkers and other people that have to understand/maintain my code don’t really. As such, I tend to avoid them. I hope you will do the right thing here. 105.156.135.60 (talk) 21:35, 26 September 2021 (UTC)Reply
Resisting the temptation to write a clever one-liner about programmers or about your reliance on web searches instead of reliable sources, a quick search quickly found examples of sources that define it in exactly this way: [1] [2] [3]. —David Eppstein (talk) 21:50, 26 September 2021 (UTC)Reply
(edit conflict)I guess that the definition that you find less astonishing is the one that suppose to know what is a divisor. Wikipedia is aimed for the widest possible audience. So a definition that use less technical concepts (here the concept of divisor) is less astonishing and more adapted to a large audience. It is not the fault of Wikipedia if some teachers use wordings that are less simple than needed. D.Lazard (talk) 20:17, 26 September 2021 (UTC)Reply
Surely you mean "more complex than needed"??? :P EEng 03:33, 25 March 2023 (UTC)Reply
If I have 4 apples and divide them equally and whole to 2 teachers it is no stretch to consider: 2 apples each. How is this any different than 2 apples and 2 teachers if 1 apple each? First example: 4 apples Teacher 1 gets 2 Teacher 2 gets 2, Second example: 2 apples Teacher 1 gets 1 Teacher 2 gets 1. The division is whole and distribution is equal in both cases. Please note I am so sorry to raise the hoop and jump through it for nobody objecting yet. But, this is neither original research nor clever it is a simple truth! If not on Wiki, where must reason rule? 50.220.179.34 (talk) 07:42, 28 October 2023 (UTC)Reply

Can a rectangle not have two of its parallel sides equal to 1? edit

The image provided at the top of this article is given the caption "Composite numbers can be arranged into rectangles but prime numbers cannot." However, this seems slightly vague, and there is room for inaccuracy in that vagueness. The word "arranged" might imply that some amount of re-configuring is required to get the end result. However, a number that is arranged in a straight line of units is already a rectangle, with height 1. On articles about even slightly more subjective topics, I would not balk at word choice, given that many different words and phrases could be used interchangeably. However, as this is a math-related page about prime numbers, I feel like there is a responsibility to have unerring accuracy. Morgandeefox (talk) 17:58, 11 November 2022 (UTC)Reply

This is the caption of an image, not a definition. Despite its vagueness, this caption should be easily understood by everybody. Adding accuracy seems non-compatible with a short caption (see MOS:CAPSUCCINCT). Also, "rectangle" is clearly used in its common meaning, since no set of bullets is geometrically a rectangle. D.Lazard (talk) 18:22, 11 November 2022 (UTC)Reply
Thank you for your response. I find it informative, and a satisfactory address of my concerns. Morgandeefox (talk) 22:30, 11 November 2022 (UTC)Reply
Or (as one of my favorite aphorisms puts it): "An ounce of imprecision saves a ton of explanation." EEng 07:01, 6 June 2023 (UTC)Reply

Relevant requested move edit

See Talk:Prime (disambiguation)#Should Prime be a WP:D page (Prime (disambiguation)), or be a redirect to Prime number?. Lennart97 (talk) 15:33, 14 February 2023 (UTC)Reply

Move discussion in progress edit

There is a move discussion in progress on Talk:Prime (disambiguation) which affects this page. Please participate on that page and not in this talk page section. Thank you. —RMCD bot 18:32, 14 February 2023 (UTC)Reply

Two as a composite edit

This puzzles me: two apples, two teachers, one each. Four apples, two teachers, two each. How then the prime? Would not the best be divided into equal whole equal parts  ? 50.220.179.34 (talk) 05:56, 6 June 2023 (UTC)Reply

Can you clarify what you mean by that? If you are simply saying that a set of two objects can be partitioned into two sets of one, then of course that is true, but so what? What does that have to do with content of the article Prime number? If, on the othe hand, you don't mean that, then I have no idea what you do mean. JBW (talk) 12:59, 6 June 2023 (UTC)Reply
trolling? Dhrm77 (talk) 13:54, 6 June 2023 (UTC)Reply
Two is the only even prime number. Beyond that, it's hard to say what this question means.--♦IanMacM♦ (talk to me) 14:53, 6 June 2023 (UTC)Reply
I am sorry this was also addressed here but with a little less detail. (I top posted). I believe 2 must not be prime because it is both a whole and equally portion-able number. I thought composite meant 'can share equally and whole' (for both school-aged/elementary and math aged-giants). 50.220.179.34 (talk) 07:54, 28 October 2023 (UTC)Reply
It seems that you use "equally portion-able number" in the sense of even number. It is true that 2 is an even number, and that it is the only even number that is also a prime number. Please, be care that using current English words instead of accurately defined mathematical words can be the source of many mistakes. In particular your thought about the mathematical meaning of "composite" is erroneous: the definition of a composite number is to be a whole number that can be obtained by multiplying two smaller whole numbers. This is not related with 'can share equally and whole', whichever meaning is attributed to this phrase that is nonsensical for me. D.Lazard (talk) 09:01, 28 October 2023 (UTC)Reply
What is meant by "equally portion-able number" even as say 77 can be 7 of 11 or 11 of 7 and whole numbers so can be odd. This makes sense to me. 50.220.179.34 (talk) 05:14, 1 November 2023 (UTC)Reply
Every positive integer n may be divided into n copies of 1 or into one copy of n; one might call these the "trivial factorizations". A number is composite if it also has some other ("nontrivial") decomposition into an equal number of equal integers (equivalently, in which both the number of pieces and the size of the pieces is smaller than the number n itself). Four apples may be divided into equal piles in three different ways: four piles each containing one apple (trivial), one pile containing all four apples (trivial), or two piles each with two apples (nontrivial). --JBL (talk) 19:56, 15 November 2023 (UTC)Reply

Twin prime definition edit

The statement " twin prime conjecture, that there are infinitely many pairs of primes having just one even number between them." makes no sense as all pairs of odd primes differ by an even number. I suggest you change this to: twin prime conjecture, that there are infinitely many instances of primes that differ by two. 2601:184:407F:D7E0:2C81:A32C:6856:A0B6 (talk) 18:04, 11 June 2023 (UTC)Reply

If the difference of two odd primes is 2k, then there are k even numbers between them. So, the sentence is correct. D.Lazard (talk) 18:12, 11 June 2023 (UTC)Reply
"Having just one even number between them" means, for example, 17 & 19, where the only even number between them is 18. Compare this with, for example, 31 and 37, where there are three even numbers between them, namely 32, 34, and 36. The given definition is therefore correct. Nevertheless, personally I would prefer "primes that differ by two", as to me it seems simpler and more natural. JBW (talk) 18:42, 11 June 2023 (UTC)Reply
I prefer also "primes that differ by two", and it is by laziness that I did not change the article. D.Lazard (talk) 19:17, 11 June 2023 (UTC)Reply
I reckon 3/3 = consensus, even if 2/3 think so for a different reason than the other one, so I have made the change. JBW (talk) 20:54, 11 June 2023 (UTC)Reply

I can't edit this article edit

I don't know why, but since my last edit on this article 30 minutes ago, I can't edit this article anymore. It always says "The server did not respond within the expected time.", no matter how often I try to publish my changes. It's so weird because I can edit other articles just fine. I already tried restarting my device and to re-login. Nothing works. Please help, thanks.-- Maxeto0910 (talk) 22:58, 20 July 2023 (UTC)Reply

Based on the version history, it seems like my edit was now published after trying it dozens of times, though they still aren't displayed in the article for me. I never experienced those problems since editing Wikipedia.-- Maxeto0910 (talk) 23:26, 20 July 2023 (UTC)Reply
This seems like a Wikipedia technical problem. It's not about you. –jacobolus (t) 00:14, 21 July 2023 (UTC)Reply
I cannot even read the article, the server blocks on this particular page.--Sapphorain (talk) 07:21, 21 July 2023 (UTC)Reply
I have been seeing slowdowns for a few days on many long Wikipedia mathematics articles. See discussion of the same issue for golden ratio at Wikipedia:Help desk § Golden ratio. —David Eppstein (talk) 07:26, 21 July 2023 (UTC)Reply

Two smaller natural numbers? edit

We have a problem! The definition of a prime number in the first sentence is wrong. It currently reads "A prime number (or a prime) is a natural number greater than 1 that is not a product of two smaller natural numbers." By this definition 8 is prime. It should read, "A prime number (or a prime) is a natural number greater than 1 that is not a product of smaller natural numbers." Or, "A prime number (or a prime) is a natural number greater than 1 that is not a product of two or more smaller natural numbers." — Preceding unsigned comment added by 50.206.176.154 (talk) 20:43, 10 November 2023 (UTC)Reply

The number 8 is the product of 2 · 4, and is therefore a composite number. –jacobolus (t) 21:15, 10 November 2023 (UTC)Reply

rename this article to prime numbers. edit

there are multiple prime numbers. this article is about all of them. Rguyr (talk) 17:21, 30 December 2023 (UTC)Reply

Cf. WP:SINGULAR and WP:PLURAL. –jacobolus (t) 18:03, 30 December 2023 (UTC)Reply
I agree that would be a good idea 71.14.253.152 (talk) 15:02, 14 March 2024 (UTC)Reply
If it's common and reasonable to talk about one prime number at a time (as it is), then Wikipedia's standard convention is to use a singular title. —David Eppstein (talk) 17:52, 14 March 2024 (UTC)Reply