Category:Prime Numbers: Difference between revisions

From Rosetta Code
Content added Content deleted
(Added to Sol by Task category)
m (Oops...forgot a space)
Line 1: Line 1:
[[Category:Solutions by Programming Task]]A '''prime number'''is defined as a positive integer which has exactly two factors: one and itself. A factor is an integer which divides evenly into it--that is, divides with a remainder of zero. By this definition one and zero are not prime. One only has one factor which is itself, and zero divided by any number always has a remainder of zero, so it effectively has infinite factors.
[[Category:Solutions by Programming Task]]A '''prime number''' is defined as a positive integer which has exactly two factors: one and itself. A factor is an integer which divides evenly into it--that is, divides with a remainder of zero. By this definition one and zero are not prime. One only has one factor which is itself, and zero divided by any number always has a remainder of zero, so it effectively has infinite factors.


Below is a list of tasks which involve the calculation or use of prime numbers.
Below is a list of tasks which involve the calculation or use of prime numbers.

Revision as of 01:40, 6 February 2008

A prime number is defined as a positive integer which has exactly two factors: one and itself. A factor is an integer which divides evenly into it--that is, divides with a remainder of zero. By this definition one and zero are not prime. One only has one factor which is itself, and zero divided by any number always has a remainder of zero, so it effectively has infinite factors.

Below is a list of tasks which involve the calculation or use of prime numbers.

Pages in category "Prime Numbers"

The following 114 pages are in this category, out of 114 total.