Talk:Sexy primes: Difference between revisions

m
(Explain my reasoning a bit)
Line 44:
::Do you mean not needing, otherwise I can make no sense of the above, either way perhaps you could clarify what you'd like to change. In the Python program you define primeset. You then write 'for p in primes' which recalculates the primes, why don't you instead say for p in primeset? You define 'primearray = [n in primeset for n in range(LIMIT)]' where is primearray actually used?--[[User:Nigel Galloway|Nigel Galloway]] ([[User talk:Nigel Galloway|talk]]) 12:20, 4 October 2018 (UTC)
 
:: (in reply to Paddy3118) Let me explain my reasoning with an analogous (though slightly bogus) example: Suppose we had some hypothetical task: "'''List the numbers less than 50 whose squaressquare contains a digit '1''''". Would you argue that only 1 and 4 should be listed? After all, the limit is 50, and 81 (9²) has (and all numbers larger numbersthan 7 have) area square greater than the limit. The task is asking for numbers within a limit that have a certain property. The fact that having that property depends on numbers outside of that limit doesn't change that it has that property. --[[User:Thundergnat|Thundergnat]] ([[User talk:Thundergnat|talk]]) 12:54, 4 October 2018 (UTC)
10,327

edits