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 / siva prasad

hi,
if n is 3 digit no.Then 2^n+1 is not a prime no.The no.of
factors r coming.
Ex: n=100 then 2^100=1.2676506002282294E30 .

Is This Answer Correct ?    4 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the types of inner classes (non-static nested class) used in java?

1049


What is re-factoring in software?

1037


What does system out println () do?

992


How can we make sure main() is the last thread to finish in java program?

1179


What are internal and external variables?

942


what is heap memory?

1081


If an object reference is set to null, will the garbage collector immediately free the memory held by that object?

1133


What is the difference between compiler and jvm?

1034


What is style and indentation?

994


What is the null?

988


Is integer passed by reference in java?

1002


Differentiate jar and war files?

1024


What is a control variable example?

994


What is json parser in java?

1043


Write down program for following scenario. Use java coding standard. You have array list with some words in it..we will call it as dictionary….and you have a arbitrary string containing some chars in it. You have to go through each word of dictionary and find out if that word can be constructed with the help of chars from arbitrary string given. If you find the word print it else print none.

2711