Math, asked by srikant586, 1 year ago

Which is the fastest algorithm to find whether a number is prime or not

Answers

Answered by Anonymous
0
I would like to know the best algorithm to implement this functionality. Naturally, there would be a data structure I could query. I define the best algorithm, to be the algorithm that produces a data structure with lowest memory consumption for the range (1, N], where N is a constant.
Similar questions