OFFSET
1,1
COMMENTS
First column is subset of A046931, which starts with 3. Here, 3 and 5 are omitted.
The related sum can be denoted Sum_prime_gaps, S = pg_inf + pg_sup.
FORMULA
Sum_prime_gaps_a(n) = S_a(n) = (A002260(n))*2 + 4.
EXAMPLE
Square array begins:
.
S = pg_inf + pg_sup |
2*(3..k) |
-----------------------------------------------------------------------
6 | 7, 11, 13, 17, 19, 41, 43, 71, 101, ... A098414
8 | 29, 31, 59, 61, 73, 137, 151, 179, 239, ...
10 | 23, 37, 47, 67, 79, 83, 131, 163, 167, ...
12 | 53, 97, 139, 149, 157, 173, 181, 191, 241, ...
14 | 89, 199, 359, 367, 389, 449, 521, 619, 661, ...
.
31, 59 and 179 are in the same row because their preceding and succeeding prime gaps, (pg_inf, pg_sup), respectively (2,6), (6,2) and (6,2) each equally sum up to 8.
53 and 181 are in the same row because their preceding and succeeding prime gaps, (pg_inf, pg_sup), respectively (6,6) and (2,10) each equally sum up to 12. Here, 53 also happens to be a balanced prime as its corresponding gaps, (6,6), are equal.
CROSSREFS
KEYWORD
nonn,tabl
AUTHOR
Tamas Sandor Nagy, Nov 13 2024
STATUS
approved