Generate the first 20 numbers
Define a prime number:
A number with 2 factors: 1 and itself
2
0 + 2 = 2
3
2 + 3 = 5
5
5 + 5 = 10
7
10 + 7 = 17
11
17 + 11 = 28
13
28 + 13 = 41
17
41 + 17 = 58
19
58 + 19 = 77
23
77 + 23 = 100
29
100 + 29 = 129
31
129 + 31 = 160
37
160 + 37 = 197
41
197 + 41 = 238
43
238 + 43 = 281
47
281 + 47 = 328
53
328 + 53 = 381
59
381 + 59 = 440
61
440 + 61 = 501
67
501 + 67 = 568
71
568 + 71 = 639