Skip to content
Courses
DSA to Development
Get IBM Certification
Newly Launched!
Master Django Framework
Become AWS Certified
For Working Professionals
Interview 101: DSA & System Design
Data Science Training Program
JAVA Backend Development (Live)
DevOps Engineering (LIVE)
Data Structures & Algorithms in Python
For Students
Placement Preparation Course
Data Science (Live)
Data Structure & Algorithm-Self Paced (C++/JAVA)
Master Competitive Programming (Live)
Full Stack Development with React & Node JS (Live)
Full Stack Development
Data Science Program
All Courses
Tutorials
Data Structures & Algorithms
ML & Data Science
Interview Corner
Programming Languages
Web Development
CS Subjects
DevOps And Linux
School Learning
Practice
Build your AI Agent
GfG 160
Problem of the Day
Practice Coding Problems
GfG SDE Sheet
DSA
Practice Problems
C
C++
Java
Python
JavaScript
Data Science
Machine Learning
Courses
Linux
DevOps
SQL
Web Development
System Design
Aptitude
GfG Premium
Sign In
▲
Similar Topics
DSA
22.5k+ articles
Java
10.5k+ articles
Java-Functions
4.1k+ articles
Java - util package
1.5k+ articles
Java-lang package
390+ articles
java-basics
310+ articles
java-guava
140+ articles
java-math
130+ articles
large-numbers
90+ articles
Java-math-package
88 articles
Java-BigInteger
63 posts
Popular Articles
Recent Articles
Fermat's Factorization method for large numbers
Last Updated: 24 February 2024
Given a large number N, the task is to divide this number into a product of two factors, using Fermat's Factorisation method. ExamplesInput:
...read more
Mathematical
large-numbers
Java Programs
factor
Java-BigInteger
Write From Home
DSA
BigInteger gcd() Method in Java with Examples
Last Updated: 04 April 2019
GCD (Greatest Common Divisor) or HCF (Highest Common Factor) of two numbers is the largest number that divides both of them. The java.math.B
...read more
Java
Java-Functions
Java-BigInteger
Java-math-package
BigIntegerMath factorial() function | Guava | Java
Last Updated: 26 July 2021
The method factorial(int n) of Guava's BigIntegerMath class is used to find the factorial of the given number. It returns n!, that is, the p
...read more
Java
java-guava
Java-BigInteger
Similar Topics
DSA
22.5k+ articles
Java
10.5k+ articles
Java-Functions
4.1k+ articles
Java - util package
1.5k+ articles
Java-lang package
390+ articles
java-basics
310+ articles
java-guava
140+ articles
java-math
130+ articles
large-numbers
90+ articles
Java-math-package
88+ articles
BigInteger sqrt() Method in Java
Last Updated: 23 April 2023
java.math.BigInteger.sqrt() is an inbuilt function added in Java SE 9 JDK 9 which returns BigInteger value of square root of a BigInteger o
...read more
Java
Java-Functions
java-math
Java-BigInteger
Java 8
Java-math-package
BigInteger toByteArray() Method in Java
Last Updated: 18 April 2023
The java.math.BigInteger.toByteArray() method returns an array of bytes containing the two's-complement representation of this BigInteger. T
...read more
Java
Java-Functions
java-math
Java-BigInteger
Java-math-package
BigInteger doubleValue() Method in Java
Last Updated: 04 December 2018
The java.math.BigInteger.doubleValue() converts this BigInteger to a double value. If the value return by this function is too big for a mag
...read more
Java
java-basics
Java-Functions
java-math
Java-BigInteger
Java-math-package
BigInteger remainder() Method in Java
Last Updated: 04 December 2018
The java.math.BigInteger.remainder(BigInteger big) method returns a BigInteger whose value is equal to (this BigInteger % big(BigInteger pas
...read more
Java
java-basics
Java-Functions
java-math
Java-BigInteger
Java-math-package
BigInteger signum() Method in Java
Last Updated: 12 May 2021
prerequisite : BigInteger BasicsThe java.math.BigInteger.signum() method helps us to identify whether a BigInteger is positive or zero or ne
...read more
Java
Java-Functions
java-math
Java-BigInteger
Java-math-package
BigInteger abs() Method in Java
Last Updated: 20 May 2019
prerequisite : BigInteger BasicsThe java.math.BigInteger.abs() method returns absolute value of a BigInteger. By using this method one can f
...read more
Java
Java-Functions
java-math
Java-BigInteger
Java-math-package
BigInteger testBit() Method in Java
Last Updated: 04 December 2018
prerequisite : BigInteger BasicsThe java.math.BigInteger.testBit(index) method returns true if and only if the designated bit is set. This m
...read more
Java
Java-Functions
java-math
Java-BigInteger
Java-math-package
BigInteger bitLength() Method in Java
Last Updated: 24 March 2025
The java.math.BigInteger.bitLength() method returns the number of bits in the minimal two's-complement representation of this BigInteger, ex
...read more
Java
Java-Functions
java-math
Java-BigInteger
Java-math-package
BigInteger and() Method in Java
Last Updated: 12 December 2021
The java.math.BigInteger.and(BigInteger val) method returns a BigInteger whose value is bitwise-AND of two BigIntegers. This method returns
...read more
Java
Java-lang package
Java-Functions
java-math
Java-BigInteger
Java-math-package
BigInteger max() and min() Methods in Java
Last Updated: 04 December 2018
Prerequisite: BigInteger BasicsBigInteger max() method: The max() method of the BigInteger returns the BigInteger whose value is the greater
...read more
Java
Java-lang package
Java-Functions
java-math
Java-BigInteger
Java-math-package
Java.math.BigInteger.probablePrime() method in Java
Last Updated: 04 December 2018
Prerequisite : BigInteger BasicsThe probablePrime() method will return a Biginteger of bitLength bits which is prime. bitLength is provided
...read more
Java
Java - util package
Java-Functions
java-math
Java-BigInteger
Java-math-package
Java.math.BigInteger.modInverse() method in Java
Last Updated: 17 April 2023
Prerequisite : BigInteger Basics The modInverse() method returns modular multiplicative inverse of this, mod m. This method throws an Arithm
...read more
Java
Java - util package
Java-Functions
java-math
Java-BigInteger
Java-math-package
First
1
2
3
4
5
>>
Last
First
1
2
3
4
5
>>
Last
First
1
2
3
4
>>
Last
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our
Cookie Policy
&
Privacy Policy
Got It !