Since there is an infinite set of prime numbers the answer would be infinity.
Chat with our AI personalities
Write your own prime number program and find out.
program to find prime number in 8085 microprocessor
First write a program to generate the prime number. After one prime number was generated, divide the big int number by the prime number. If the remainder is zero then quotient is the second prime number ( also it is important to check whether the quotient is prime number or not because sometimes you will get wrong answer). Repeat the process until you get the result.
Two numbers are relatively prime if their GCF is 1.
No. You can only find the LCM of at least two numbers, prime or otherwise. The LCM of any two prime numbers is their product.