answersLogoWhite

0


Best Answer

begin

numeric nNum,nprime

accept nNum

while(nprime<=100)

begin

(nNum%nNum==1)AND

(nNum%1==nNum)

nNum+1

end

end

User Avatar

Wiki User

12y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is the pseudocode for prime numbers?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Math & Arithmetic

How many prime numbers between 1 and 8888888888888888888888888888888888888888888888?

How ma How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and ny prime numbers between 1 and


What is the total of the next eight prime numbers after twenty four?

Just go to a table of prime numbers, find the prime numbers, and add them.Just go to a table of prime numbers, find the prime numbers, and add them.Just go to a table of prime numbers, find the prime numbers, and add them.Just go to a table of prime numbers, find the prime numbers, and add them.


what are the numbers for not prime numbers?

Numbers that are not prime numbers are called composite numbers.


Why are prime numbers divisible?

Prime numbers are divisible because any numbers that are divisible are prime. If a number isn't divisible, it isn't prime. Prime numbers have to be divisible by at least one pair of numbers to be prime.


How can prime numbers be used in your everyday life?

Prime numbers are used to find the LCM of numbers Prime numbers are used to find the HCF of numbers Prime numbers are used to simplify fractions Prime numbers are used to find the LCD of fractions

Related questions

Develop an algorithm to display all prime numbers from 2 to 100 Give both the pseudocode version and the flowchart version Convert your pseudocode into a Java program?

Develop an algorithm to display all prime numbers from 2 to 100. Give both the pseudocode version and the flowchart version. Convert your pseudocode into a Java program.


write a pseudocode to accept a number and find if it is prime or not?

Yes


Consider prime numbers between 1 and 10000. Draw a flowchart to display the prime numbers.Write a pseudo code associated with the flowchart in a)?

A) Here's an example of a flowchart and pseudocode that could be used to display the prime numbers between 1 and 10000: Flowchart:
START Set up an array of numbers from 1 to 10000 Set an empty array to store the prime numbers Set i = 2, the first prime number For each number in the array, check if it is divisible by i If it is divisible by i, it is not a prime number and move to the next number in the array If it is not divisible by i, it is a prime number and add it to the prime numbers array Increase i by 1 and go back to step 4 Repeat steps 4 through 7 until i is greater than the square root of 10000 Display the prime numbers array END


How many prime numbers between 1 and 8888888888888888888888888888888888888888888888?

How ma How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and How many prime numbers between 1 and ny prime numbers between 1 and


What is the total of the next eight prime numbers after twenty four?

Just go to a table of prime numbers, find the prime numbers, and add them.Just go to a table of prime numbers, find the prime numbers, and add them.Just go to a table of prime numbers, find the prime numbers, and add them.Just go to a table of prime numbers, find the prime numbers, and add them.


What are numbers that have 2 factors called?

Prime numbers like 2, 3, 5 and 7.


what are the numbers for not prime numbers?

Numbers that are not prime numbers are called composite numbers.


Are any two prime numbers relatively prime?

Any two prime numbers will be relatively prime. Numbers are relatively prime if they do not have any prime factors in common. Prime numbers have only themselves as prime factors, so all prime numbers are relatively prime to the others.


Why are prime numbers divisible?

Prime numbers are divisible because any numbers that are divisible are prime. If a number isn't divisible, it isn't prime. Prime numbers have to be divisible by at least one pair of numbers to be prime.


Are there infinitely many natural numbers that are not prime?

This can be an extension to the proof that there are infinitely many prime numbers. If there are infinitely many prime numbers, then there are also infinitely many PRODUCTS of prime numbers. Those numbers that are the product of 2 or more prime numbers are not prime numbers.


What 2 prime numbers 30?

No two prime numbers can make 30.No two prime numbers can make 30.No two prime numbers can make 30.No two prime numbers can make 30.


Does prime factorization of composite numbers include prime and composite numbers?

No, prime factorizations consist entirely of prime numbers.