Or if you're that lazy, here's a generous hint: a number is prime if the only numbers it divides exactly to (that means no remainder) are 1 and itself.
0 prime? no (divides with zero remainder to everything except itself and infinities)
1 prime? no (only divides to itself)
2 yes 1,2
3 yes 1,3
4 no, 1,2,4
5 yes 1,5
6 no 1,2,3,6
7 yes 1,7
8 no 1,2,4,8
9 no 1,3,9
10 no 1,2,5,10
11 yes 1,11