Re: Solving the factoring problem
- From: Noob <root@localhost>
- Date: Fri, 25 Jan 2008 16:16:04 +0100
JSH wrote:
I've been challenged to come up with a practical factoring algorithm,
based on them as there is no doubt about correctness and show that it
is an advance on current factoring methods.
You have inspired me to write my own factoring algorithm.
k=3
define foo(n)
{
m = sqrt(n)
for (i = k; i <= m; i += 2)
if (n%i == 0) { i ; k = i ; return foo(n/i) }
return n
}
foo(9059153542180253)
(It runs in bc.)
How fast does your own algorithm factor 9059153542180253?
Regards.
.
- Prev by Date: Re: JSH: Counting a's
- Next by Date: www.buycheapsneakers.com wholesale nike shoes gucci lv handbag bbc evisu jean ed hardy hoody
- Previous by thread: Giuen Holding Ltd. Tung Industri i Västra Götalands Regionen Göteborg, Sverige.
- Next by thread: Re: Solving the factoring problem
- Index(es):