Salim Yadav
Follow
Posted 6 year ago
What is formula to check if a number is prime or not? For example, 2,3,5,7,13, 19, 23... are prime numbers. But how to check for bigger numbers like 124 or 147 etc.? कोई संख्या अभाज्य है या नहीं, यह जांचने के लिए क्या सूत्र है? उदाहरण के लिए, 2,3,5,7,13, 19, 23 ... अभाज्य संख्याएँ हैं। लेकिन बड़ी संख्या जैसे 124 या 147 आदि की जांच कैसे करें?
1 Answer(s)
Lalit Patel
Follow
Posted 6 year ago Lalit Patel

Find the nearest square number which is geater than that number then devide that number by smaller than the root of square number . if that number is not divisible any number hence it is a prime number

Salim Yadav
Follow
Salim Yadav

Thanks

07 Jan 2020