Hi Guru's,<div><br></div><div>I'm working on a solution to find the prime factor of the number</div><div>This part of the code works.. <a href="http://www.pastie.org/2041584">http://www.pastie.org/2041584</a></div>
<div><br></div><div>When the number gets bigger, the range cannot iterate through bigger number and it does not work. </div><div><br></div><div>When I googled , I came across creating our own range function to solve this. I was just wondering if there was a better algorithm to get the prime numbers / prime factors of a long number?</div>
<div><br></div><div><br></div><div>Any inputs is highly appreciated.</div><div><br></div><div><br></div><meta http-equiv="content-type" content="text/html; charset=utf-8">