Prime and Composite Numbers: Fifth Grade Mathematics

Classifying whole numbers as prime or composite provides insight into their fundamental structure and divisibility.

Definitions of Prime and Composite

A whole number greater than 1 is classified as either prime or composite based on the number of distinct positive factors it possesses.

+--------------------------------------------------------------------------+
|                  PRIME VERSUS COMPOSITE DEFINITIONS                      |
+---------------------+----------------------------+-----------------------+
| Classification      | Exact Definition           | Examples              |
+---------------------+----------------------------+-----------------------+
| Prime Number        | A whole number > 1 that has| 2, 3, 5, 7, 11, 13,   |
|                     | exactly two factors: 1 and | 17, 19, 23, 29, 31    |
|                     | itself.                    |                       |
+---------------------+----------------------------+-----------------------+
| Composite Number    | A whole number > 1 that has| 4, 6, 8, 9, 10, 12,   |
|                     | more than two factors.     | 14, 15, 16, 18, 20    |
+---------------------+----------------------------+-----------------------+
| Special Case: 0 & 1 | NEITHER prime nor composite| 0 has infinite factors|
|                     |                            | 1 has only one factor |
+---------------------+----------------------------+-----------------------+

Visualizing with Rectangular Arrays

A number can be modeled as rectangular arrays of unit tiles:
- A prime number can only form a single straight line array (1 row by n columns). For example, 7 can only be arranged as 1 * 7.

- A composite number can form two or more different rectangular arrays. For example, 12 can be arranged as 1 * 12, 2 * 6, or 3 * 4.


Array Modeling:
  7 (Prime):      * * * * * * *   (Only 1 by 7 possible)

  6 (Composite):  * * * * * *     (1 by 6)
                  OR
                  * * *
                  * * *           (2 by 3)

The Sieve of Eratosthenes

The Sieve of Eratosthenes is an ancient algorithm for finding all prime numbers up to a given limit. By listing numbers 1 to 100, crossing out 1, and iteratively crossing out multiples of 2, 3, 5, and 7, the remaining uncrossed numbers are all prime.

All 25 Prime Numbers Between 1 and 100:
  2,  3,  5,  7, 11, 13, 17, 19, 23, 29,
 31, 37, 41, 43, 47, 53, 59, 61, 67, 71,
 73, 79, 83, 89, 97

The Unique Status of the Number 2

The number 2 is the smallest prime number, and it is the ONLY even prime number. Every other even number is divisible by 2 and therefore has at least three factors (1, 2, and the number itself), making it composite.

Exercises and Solutions

Exercise 1: Prime or Composite Classification. Determine whether each of the following numbers is prime, composite, or neither: 1, 27, 31, 49, and 51. Justify each answer by listing its factors.

Solution 1: The number 1 is neither prime nor composite because it has only one positive factor (1). The number 27 is composite because its factors are 1, 3, 9, and 27 (more than two factors). The number 31 is prime because its only factors are 1 and 31. The number 49 is composite because its factors are 1, 7, and 49 (7 * 7 = 49). The number 51 is composite because 5 + 1 = 6 (divisible by 3); its factors are 1, 3, 17, and 51.

Exercise 2: Rectangular Array Analysis. A student is trying to arrange 29 square desks into a rectangular seating chart with more than 1 row. Can the student do this? Explain why or why not using mathematical terms.

Solution 2: No, the student cannot arrange 29 desks into a rectangle with more than 1 row. 29 is a prime number, meaning its only factors are 1 and 29. A rectangular array requires dimensions that are factors of the total count. The only possible rectangular dimensions for 29 desks are 1 row of 29 desks or 29 rows of 1 desk.