I would use the Sieve of Eratosthenes.
Write out the numbers 1 to 100 in 10 rows. Cross out 1. Start at 2 and cross out multiples of 2. That will eliminate all the rest of the even numbers. Go to the next uncrossed-out number (3) and cross out all of its multiples. Some of them will already be crossed out. Proceed in this fashion. Five will be next. You can stop by the time you get to ten. All of the uncrossed-out numbers are prime.
Chat with our AI personalities
There are two prime numbers between 30 and 40 - these are 31 and 37.
wow good one. even and prime.... that would leave "2"
All prime numbers are odd numbers. If one were even, it would be divisible by two and would, therefore, not be prime.
For this kind of question, I would suggest looking up a table of prime numbers. As an alternative, you can try to find factors for each of the numbers - if it has a factor, it is NOT a prime. For this range of numbers, testing for prime numbers up to 13 is appropriate. (If 17 is a factor of one of these numbers, the other factor is less than 17, so you would already have found it before you reach 17.)
3 consecutive numbers cannot be prime factors. Any three consecutive numbers would include at least one even number. The only even prime number is 2, and (2,3,4) doesn't qualify.