Skip to content

Check if a number in Prime number using BigInteger

Advertisements
BigInteger.valueOf(n).isProbablePrime(50); //false
See also  Python code snippet - How to get frequency of each elements in a list?

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.