asked 55.8k views
3 votes
WHT ARE THE EASIEST WAYS TO FIGURE OUT IF A NUMBER IS PRIME OF COMPOSITE

asked
User MatthewD
by
9.3k points

2 Answers

1 vote
I usually start with 2 and go up the prime numbers until I get to the square root of the number and IF I haven't fond a factor by then, then I will say it is prime.

Example factors of 381
square root is roughly 19.5
Now I will see if the numbers 2, 3, 5, 7, 11, 13, 17, or 19 will go into it. If any of them do then the number is composite, if not then it is prime.
answered
User TachyonicBytes
by
9.5k points
4 votes
To find out if a number is prime you have to find it's factors. if the factors are only 1 and that number it's prime, if the number has other factors then it's composite. hope i helped! have a great day.

answered
User Cyneo
by
8.8k points

No related questions found

Welcome to Qamnty — a place to ask, share, and grow together. Join our community and get real answers from real people.