java program that takes a 3 digit number n and finds out
whether
the number 2^n + 1 is prime, or if it is not prime find out
its
factors.
Answer Posted / prabhu
Mr Nithi U'r Wrong If it is 2^n-1 than U'r correct
Because a^2 - b^2 = (a+b)*(a-b)
| Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
What is an error in java?
What is a literal coding?
Can we create more than one object singleton class?
what is synchronization? : Java thread
What is default exception handling in java?
What is bubble sort in java?
What is use of map in java?
How to make a read-only class in java?
What are synchronized blocks in java?
What is numeric function?
What is an example of a conditional statement?
Where are variables stored?
What are loops in java?
How do you do math powers in java?
What is a vararg?