136k views
0 votes
What is the greatest prime you must consider to test whether 5015 is prime?

1 Answer

3 votes

Solution

Prime numbers are numbers that have two factors. (1 and itself)

The first few prime numbers are: 2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59

Since 5015/59 = 85

The greatest prime is 59

User Atadj
by
3.3k points