Hacker News new | past | comments | ask | show | jobs | submit login

It almost seems to me that there are two very similar, overlapping mental models* of "primeness".

The first is: "numbers that can be multiplied together to get all other numbers". This mental model by necessity excludes 1.

The second is: "numbers that cannot be 'made' by multiplying other, smaller numbers together". This mental model is "looser," and ends up including 1, and maybe 0 and -1.

The first mental model tends to be more mathematically useful, so becomes the official definition of prime.

\* Note that I explicitly use "mental model" here instead of "definition," because I am discussing different ways that different humans try and _understand_ different sets of numbers.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: