Skip to main content
Adam F's user avatar
Adam F's user avatar
Adam F's user avatar
Adam F
  • Member for 13 years, 5 months
  • Last seen more than 1 year ago
awarded
awarded
awarded
revised
How many cpus needed to check a 100 million digit prime number efficiently?
added 17 characters in body; deleted 416 characters in body
Loading…
comment
How many cpus needed to check a 100 million digit prime number efficiently?
I could store all of the known contiguous prime numbers and check against those and then perform trial division of odd numbers up to the square root. If I don't do trial division, how else will I divide and conquer in map-reduce?
comment
How many cpus needed to check a 100 million digit prime number efficiently?
I realize there are more efficient ways but how would you go about dividing the problem for map-reduce? Say I used AKS Primality testing or one of the other more efficient algorithms?
revised
Loading…
awarded
comment
revised
Loading…
Loading…