Since the average distance between primes is just 15, that is not much
of a surprise.
>As this number increases the rarety also increases dramatically.
>
>2,3,5,5,8,10,12,13,17,21,26,29,33,34,37,50,55,65,70,72,82,89,101,
>109,122,135,144,145,169,170,197,226,228,233,257,290,305,325,357,360,362,
>377,401,408,442,485,528,530,577,610,626,677,701,730,747,785,842,901,962,
>985,987
If my algorithm generates your sequences correctly, there are only 60
terms < 1,000. 962 is bogus
>All integers < 2,000 = 81 terms total.
There are only 80 terms < 2,000
2, 3, 5, 5, 8, 10, 12,
13,
17, 21, 26, 29, 33, 34, 37,
50,
55, 65, 70, 72, 82, 89, 101,
109,
122, 135, 144, 145, 169, 170, 197,
226,
228, 233, 257, 290, 305, 325, 357,
360,
362, 377, 401, 408, 442, 485, 528,
530,
577, 610, 626, 677, 701, 730, 747,
785,
842, 901, 962, 985, 987, 1020, 1025,
1090,
1157, 1189, 1226, 1292, 1297, 1353, 1370,
1405,
1445, 1522, 1597, 1601, 1682, 1752, 1765,
1850,
>How many terms for all integers <10,000?
There are 157 terms < 10,000
2, 3, 5, 5, 8, 10, 12,
13,
17, 21, 26, 29, 33, 34, 37,
50,
55, 65, 70, 72, 82, 89, 101,
109,
122, 135, 144, 145, 169, 170, 197,
226,
228, 233, 257, 290, 305, 325, 357,
360,
362, 377, 401, 408, 442, 485, 528,
530,
577, 610, 626, 677, 701, 730, 747,
785,
842, 901, 962, 985, 987, 1020, 1025,
1090,
1157, 1189, 1226, 1292, 1297, 1353, 1370,
1405,
1445, 1522, 1597, 1601, 1682, 1752, 1765,
1850,
1937, 2026, 2117, 2210, 2223, 2305, 2378,
2402,
2501, 2549, 2584, 2602, 2705, 2772, 2810,
2917,
3026, 3137, 3250, 3365, 3405, 3482, 3601,
3640,
3722, 3845, 3927, 3970, 4097, 4128, 4181,
4226,
4289, 4357, 4490, 4625, 4762, 4901, 4947,
5042,
5185, 5330, 5473, 5477, 5626, 5741, 5777,
5868,
5930, 6085, 6242, 6401, 6562, 6725, 6765,
6805,
6890, 6897, 7057, 7226, 7397, 7570, 7745,
7922,
8040, 8101, 8282, 8465, 8650, 8658, 8837,
9026,
9217, 9303, 9410, 9605, 9802,