answersLogoWhite

0

Is 73 a prime num

Updated: 8/20/2019
User Avatar

Wiki User

12y ago

Best Answer

Yes, 73 is a Prime number.

User Avatar

Wiki User

12y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Is 73 a prime num
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

How do you print the series of prime number between 11 to 100?

#include<iostream> bool is_prime (const unsigned num) { return num%2 && num%3 && num%5 && num%7; } int main() { for (unsigned num=11; num<=100; ++num) if (is_prime (num)) std::cout<<num<<std::endl; } Output: 13 17 19 23 29 31 37 41 43 47 53 59 61 67 71 73 79 83 89 97


How do you write a program that prints out the first 100 prime numbers using OOP?

You do not need OOP for this because the first 100 prime numbers are all integral types. All you need is a function to determine if a given integral is prime or not, and another to find the next prime after a given integral: bool is_prime (const unsigned int num) { unsigned factor, max_factor; /* anything less than 2 is non-prime */ if (num<2) return false; /* 2 is the only even prime */ if (!(num%2) return num==2; /* determine largest potential factor of num (square root of num)*/ max_factor = sqrt (num); /* test each odd factor from 3 onwards */ for (factor=3; factor<=max_factor; factor+=2) { if (!(num%factor)) return false; /* num is non-prime */ } return true; /* the number is prime */ } unsigned next_prime (unsigned int num) { /* increment num until num is prime */ while (!is_prime (++num)); return num; } /* test the functions */ int main (void) { unsigned num, count; count=0; num=0; printf ("Printing the first 100 prime numbers:\n"); while (count<100) { num=next_prime (num); printf ("%d is prime\n", num); ++count; } return 0; }


Is 39 an prime num?

No.


Write a unix shell program to print the prime numbers?

i=2 rem=1 echo "Enter a number" read num if [ $num -lt 2 ] then echo "$num is not prime" exit 0 fi while [ $i -le `expr $num / 2` -a $rem -ne 0 ] do rem=`expr $num % $i` i=`expr $i + 1` done if [ $rem -ne 0 ] then echo "$num is prime" else echo "$num is not prime" fi


How do you write a C program to check whether a number is prime or not and to find the nth prime number?

int number; int i=2; while (i<number) { if(number%i==0) { printf("Not a prime no."); break; } else printf("number entered is prime"); getch(); }


How do you write a C program to generate the first 50 prime numbers?

/*Determine prime numbers between 1 to 50*/ #include<stdio.h> #include<conio.h> main() { int num, i ,n; clrscr(); printf ( "\nEnter a number limit" ) ; scanf ( "%d", &n ) ; for ( num=2; num <= 50; num++ ) { for ( i=2; i <= num - 1; i++ ) { if ( num % i == 0 ) { Break; continue; } } if (num==i) printf(\n The prime number=%d", num); continue; } getch() }


Shell script to find a prime no?

i=2 rem=1 echo -e "Enter a number: \c" read num if [ $num -lt 2 ]; then echo -e "$num is not prime\n" exit 0 fi while [ $i -le `expr $num / 2` -a $rem -ne 0 ]; do rem=`expr $num % $i` i=`expr $i + 1` done if [ $rem -ne 0 ]; then echo -e "$num is prime\n" else echo -e "$num is not prime\n" fi


What is the prime factorizations of 73?

there is no prime factorization of 72 except for 1 and 72


What are the factors of 73?

73 is prime. Its only factors are 73 and 1.


Is 73 prime?

Yes, 73 is a prime number.


Is 73 prime or compiste?

73 is a Prime Number


Is 73 prime or compostite?

73 is a prime number