Practical numbers: Difference between revisions

Content added Content deleted
(Undo revision 329074 by Hout (talk) I strongly suggest you take this to the talk page Hout. Don't add Haskell to the Python entry.)
Line 187: Line 187:
the sets. 720, another Practical number needs just 0.01% of its half a billion sets to prove it is Practical.
the sets. 720, another Practical number needs just 0.01% of its half a billion sets to prove it is Practical.


Note however that if the number is '''not''' ultimately Practical, with a large number of factors, then the loop to find this is ''slower''.
Note however that if the number is '''not''' ultimately Practical, with a large number of factors, then the loop to find this is slightly ''slower''.


<lang python>def is_practical2(x: int, __switch=23) -> bool:
<lang python>def is_practical2(x: int, __switch=23) -> bool: