Generate the first 45 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
73
639 + 73 = 712
79
712 + 79 = 791
83
791 + 83 = 874
89
874 + 89 = 963
97
963 + 97 = 1,060
101
1,060 + 101 = 1,161
103
1,161 + 103 = 1,264
107
1,264 + 107 = 1,371
109
1,371 + 109 = 1,480
113
1,480 + 113 = 1,593
127
1,593 + 127 = 1,720
131
1,720 + 131 = 1,851
137
1,851 + 137 = 1,988
139
1,988 + 139 = 2,127
149
2,127 + 149 = 2,276
151
2,276 + 151 = 2,427
157
2,427 + 157 = 2,584
163
2,584 + 163 = 2,747
167
2,747 + 167 = 2,914
173
2,914 + 173 = 3,087
179
3,087 + 179 = 3,266
181
3,266 + 181 = 3,447
191
3,447 + 191 = 3,638
193
3,638 + 193 = 3,831
197
3,831 + 197 = 4,028