Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

Can I learn java in 3 months?

1078


Explain parallel processing in java8?

1330


When is the finalize() called?

1234


How large is a boolean?

1064


What are autoboxing and unboxing? When does it occur?

1018


what is an objects lock and which objects have locks? : Java thread

1078


What is the purpose of interface?

1047


What is a cup of java?

1061


What is * argv?

1310


What is a local block?

1192


Explain an algorithm to find depth of a binary tree.

1105


Why declare Main() method as a static in java ?

1124


What is type parameter in java?

1006


I want to print “hello” even before main is executed. How will you acheive that?

1149


What is the different between get and post?

1017