primes
how to generate numbers given their prime factors, but with unknown exponents? [duplicate]
This question already has answers here: Closed 11 years ago. Possible Duplicates: nth ugly number Find the Kth least number for expression (2^x)*(3^y)*(5^z)[详细]
2023-04-03 18:32 分类:问答Why is there a unit argument to the haskellwiki prime numbers implementations
What the title says. Example excerpted from the haskellwiki prime numbers p开发者_运维百科age:[详细]
2023-03-29 11:07 分类:问答Finding prime numbers [duplicate]
This question already has answers here: 开发者_Python百科Closed 11 years ago. Possible Duplicate: Which is the fastest algorithm to find prime numbers?[详细]
2023-03-27 01:41 分类:问答Random number relatively prime to an input
What\'s a computationally sane way to, given a natural number n, generate a random number that is relatively prime to n?[详细]
2023-03-23 08:10 分类:问答Why doesn't this work (Python)?
So I\'m trying to learn Python using some tutorials, and I decided to create my own exercise. I wanted to create a script that figures out how many prime numbers there are between 1 and 1000, as well[详细]
2023-03-23 06:49 分类:问答Why is this scala prime generation so slow/memory intensive?
I run out of memory while finding the 10,001th prime number. object Euler0007 { def from(n: Int): Stream[Int] = n #:: from(n + 1)[详细]
2023-03-22 22:59 分类:问答Algorithm to find largest prime number smaller than x [closed]
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical andcannot be reasonably answered in its current form. For help clari[详细]
2023-03-21 00:30 分类:问答Whats the built in function that Finds next largest prime number in java?
Does the Java API provide a function which c开发者_JS百科omputes the next largest prime number given an input x?That would be a pretty esoteric method, and not really a great candidate for inclusion i[详细]
2023-03-20 00:48 分类:问答Code to display all prime numbers not working in JavaScript?
I\'m trying to display all the prime numbers up to 10 and it isn\'t working. Can you see what I did wrong?[详细]
2023-03-19 01:18 分类:问答Finding if a number is prime using Python [duplicate]
This question already has answers here: 开发者_如何学Go Closed 11 years ago. Possible Duplicates: Fastest way to list all primes below N in python[详细]
2023-03-17 00:55 分类:问答