1.质数有:2,3,5,7,11,13,17,19,23,29,31,37,41,43,47。2.合数有:4,6,8,9,10,15,16,18,20,21,22,26,27,28,33,34,35,36,38,39,45,46,48,49,50。
50以内所有的质数和合数有:
质数:2,3,5,7,11,13,17,19,23,29,31,37,41,43,47
合数:4,6,8,9,10,12,14,15,16,18,20,21,22,24,25,26,27,28,30,32,33,34,35,36,38,39,40,42,44,45,46,48,49,50