List all the prime numbers between 1 and 30.
A natural number greater than 1, which has no factor other than 1 and itself is called a prime number.
Prime numbers between 1 and 30 are 2,3,5,7,11,13,17,19,23,29.
Hence, 2,3,5,7,11,13,17,19,23 and 29 are the prime number between 1 and 30.
How many prime numbers are there from 1to30? Write all the prime numbers.