Talk:Count in factors: Difference between revisions

m
→‎stating that 1 is prime: change a word in the narrative. -- ~~~~
m (→‎stating that 1 is prime: added comments about counting primes. -- ~~~~)
m (→‎stating that 1 is prime: change a word in the narrative. -- ~~~~)
Line 31:
:I've changed it. 1 is "not composite" but that would mess with the formatting. --[[User:Paddy3118|Paddy3118]] ([[User talk:Paddy3118|talk]]) 21:07, 27 October 2013 (UTC)
 
:: Yes, thank for correcting the program.   I had misgivings about flagging it, but it was a very simple change to correct the error, even though it wasn't part of the task's requirements.   (I always appreciate programmers that go the ''extra mile'', even if it's just a few steps.)   I think adding a prime counter to various programs would verify that the program works correctly, at least in factoring primescomposites.   I'm in the process of adding aforementioned code to the REXX program, with proper handling of unity. -- [[User:Gerard Schildberger|Gerard Schildberger]] ([[User talk:Gerard Schildberger|talk]])