if var in 1,2,3,5,7,11 ; Avoid spaces in list.
MsgBox %var% is a small prime number.
1 is not a prime number. :wink:
Posted 12 April 2012 - 02:29 PM
if var in 1,2,3,5,7,11 ; Avoid spaces in list.
MsgBox %var% is a small prime number.
Posted 12 April 2012 - 03:52 PM
Posted 12 April 2012 - 11:01 PM
Actually this has been a matter of debate in the math community for centuries:1 is not a prime number. :wink:
Posted 13 April 2012 - 02:45 AM
Do you have an opinion?Actually this has been a matter of debate in the math community for centuries:1 is not a prime number. :wink:
<!-- m -->http://mathworld.wol...rimeNumber.html<!-- m -->
<!-- m -->http://en.wikipedia.... ... ity_of_one<!-- m -->
Posted 13 April 2012 - 03:16 AM
I regret to say that my math skills are roughly equivalent to my 'flap my arms and fly' skills. I would say you are correct, and that 1 should not be referenced as a prime. "Ours is not to ponder primes, ours is but to long divide".Do you have an opinion?Actually this has been a matter of debate in the math community for centuries:1 is not a prime number. :wink:
<!-- m -->http://mathworld.wol...rimeNumber.html<!-- m -->
<!-- m -->http://en.wikipedia.... ... ity_of_one<!-- m -->