Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in primes

haskell, counting how many prime numbers are there in a list

list function haskell primes

++, last & init faster than :, head & tail?

haskell primes

Calculating whether number is prime in Prolog

python code not running right, same thing in java does

java python primes

What is the best, most performant algorithm to find all primes up to a given number?

Generating an infinite set of numbers

f# primes lazy-sequences

Algorithm to compare multiplications of powers of primes

algorithm math primes

my mersenne-prime generator is stopping at 2^31 - 1

python python-3.x primes

Can someone explain this Miller-Rabin Primality test pseudo-code in simple terms?

C++ and way-too-big numbers (Miller-Rabin primality test; calculating a power with pow() and then applying the modulo operator)

c++ primes largenumber

Compression using prime numbers

compression primes

Could someone help me understand this Sieve of Eratosthenes script? The last couple lines have me stumped

python python-3.x primes

Performance of two alternative functions that compute least divisor

Wrote a program to print prime numbers, How do I make it better?

get prime numbers from numpy array [closed]

python arrays numpy primes

Checking primality of very large numbers in Python

python primes

Postponed Sieve algorithm with start logic

Why is my theoretically more efficient prime tester slower?

haskell primes

Count of Coprimes for each number