Write a 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 / makthar basha

Write a 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.

Is This Answer Correct ?    64 Yes 22 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

1+1/2!+1/3!+...+1/n!

1950


write a program that reverses the input number of n.Formulate an equation to come up with the answer.

7053


write a program using 2 D that searches a number and display the number of items 12 inputs values input 15,20, 13, 30, 38, 40,16, 18, 20 ,18 ,20 enter no. to search : 20

3370


develop a program to calculate and print body mass index for 200 employees

2218


write a program that reads a series of strings and prints only those strings begging with letter "b"

2677






Write a C++ program without using any loop (if, for, while etc) to print prime numbers from 1 to 100 and 100 to 1 (Do not use 200 print statements!!!)

3279


output for printf("printf");

1993


write a program that prompt the user to enter his height and weight,then calculate the body mass index and show the algorithm used

4314


write a program that creates a sequenced array of numbers starting with 1 and alternately add 1 and then 2 to create the text number in the series , as shown below. 1,33,4,6,7,9,............147,148,150 Then , using a binary search , searches the array 100 times using randomly generated targets in the range of 1 to 150

3270


Code for Method of Handling Factorials of Any Size?

2012


write a program using virtual function to find the transposing of a square matrix?

2847


Write a C/C++ program that connects to a MySQL server and displays the global TIMEZONE.

4579


can you please write a program for deadlock that can detect deadlock and to prevent deadlock.

2750


i really need help about this.. write a program to display the set of odd and even numbers separately. find the highest and lowest value of the given numbers.

1973


How to Split Strings with Regex in Managed C++ Applications?

3138