Question
Determine all numbers in between 10 and 200 where 'n' is a prime and (n-1) is a perfect square.
Answers
Steve
well, there are only a few perfect squares:
16 25 36 49 64 100 121 144 169 196
So, check the next numbers for primality.
17 is prime
26 is not
and so on
16 25 36 49 64 100 121 144 169 196
So, check the next numbers for primality.
17 is prime
26 is not
and so on