Jump to content


Photo

Minor error in documentation


  • Please log in to reply
4 replies to this topic

#1 Tilter_of_Windmills

Tilter_of_Windmills
  • Members
  • 323 posts

Posted 12 April 2012 - 02:29 PM

<!-- m -->http://www.autohotke...mmands/IfIn.htm<!-- m -->

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:

#2 polyethene

polyethene

    Administrator

  • Administrators
  • 5473 posts

Posted 12 April 2012 - 03:52 PM

Nice find, it has been amended.

#3 dmg

dmg
  • Members
  • 1742 posts

Posted 12 April 2012 - 11:01 PM

1 is not a prime number. :wink:

Actually this has been a matter of debate in the math community for centuries:
<!-- m -->http://mathworld.wol...rimeNumber.html<!-- m -->
<!-- m -->http://en.wikipedia.... ... ity_of_one<!-- m -->

#4 Tilter_of_Windmills

Tilter_of_Windmills
  • Members
  • 323 posts

Posted 13 April 2012 - 02:45 AM

1 is not a prime number. :wink:

Actually this has been a matter of debate in the math community for centuries:
<!-- m -->http://mathworld.wol...rimeNumber.html<!-- m -->
<!-- m -->http://en.wikipedia.... ... ity_of_one<!-- m -->

Do you have an opinion?

#5 dmg

dmg
  • Members
  • 1742 posts

Posted 13 April 2012 - 03:16 AM

1 is not a prime number. :wink:

Actually this has been a matter of debate in the math community for centuries:
<!-- m -->http://mathworld.wol...rimeNumber.html<!-- m -->
<!-- m -->http://en.wikipedia.... ... ity_of_one<!-- m -->

Do you have an opinion?

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".