cant be divided by 2,3,5,7 but can be divided by big prime numbers? and then does this mean that primes are special in the world of division?#
ya, that's the message I got from him. Which is why there are established algorithms and methods to finding prime numbers, it's not a simple matter. But depending on what range of numbers you're expecting, you could implement specific methods/algorithms to check for primes that won't cause unnecessary overhead and be easier to debug
the original question was if dividing by 2 3 5 and 7 you can find if a number is prime or not
Обсуждают сегодня