What are all the prime and composite numbers from 1-30

Sagot :

The prime numbers are  2,  5,  7,  11,  13,  17,  19,  23,  27, and  29 .

All of the others are composite numbers.
[tex]1-prime \ number \\ 2-prime \ number \\ 3-prime \ number \\ 4-compound \ number \\ 5-prime \ number \\ 6-compound \ number \\ 7-prime \ number \\ 8-compound \ number \\ 9-compound \ number \\ 10-compound \ number \\ 11- \ prime \ number \\ 12-compound \ number \\ 13-prime \ number \\ 14-compound \ number \\ 15-compound \ number \\ 16-compound \ number \\ 17-prime \number \\ 18-compound \ number \\ 19-prime \ number \\ 20-compound \ number \\ 21-compound \ number \\ 22-compound \ number \\[/tex][tex]23-prime \ number \\ 24-compound \ number \\ 25-compound \ number \\ 26-compound \ number \\ 27-compound \ number \\ 28-compound \ number \\ 29-prime \ number \\ 30-compound \ number [/tex]