answersLogoWhite

0


Best Answer

Well, you can create the flowchart to you, but here is the basic outline of what needs to be done.

Call your number - the number you want to test - "n".

Divide it by each integer in turn, starting with 2, and ending with "n-2". What matters here is the remainder of the division.

If at any point you get a remainder of zero, that means you have found a smaller factor, and the number is NOT a prime - it is composite. You can end the process immediately.

If you do all the divisions and DON'T get a remainder of zero at any point, there is NO smaller factor, so your number is prime.

(To make the process run faster, you can actually stop once your factor is greater than the square root of "n".)

User Avatar

Hilmar Zonneveld

Lvl 7
4y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How can you draw a flow chart to find out that a given number is prime or composite?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Is the number 199 prime or composite?

The number 199 is a prime number. See the related link for a prime chart..


What number in the hundreds chart is not prime nor composite?

One.


How do you know 2 is a even prime number?

look it up on a prime chart not composite


Why is the 2 on the prime and composite chart special?

No even number greater than 2 is a prime number.


Determine if the given number is prime if the number is composite write it has a prime factor 295?

295 is composite - 5 x 59.


What is the definishion of prime factorization?

The expression of a given composite number as the product of prime numbers.


Do you have a chart of prime and composite numbers?

Yes.


Is 142 prime or composite?

Composite. It is an even number after all, so the factor 2 is a given.


Prime and compsite chart for 5th grade?

Is 65 prime or composite?


Where can you find a prime and composite factor chart?

Answers.com


Is 1029 a prime or composite?

It is not a prime number, it is a composite number.


Is 17 prime or composite number?

It is prime