A376656 Sorted positions of first appearances in the second differences (A036263) of consecutive primes (A000040).
1, 2, 3, 4, 9, 10, 29, 30, 33, 34, 96, 98, 99, 154, 179, 180, 189, 216, 217, 242, 262, 294, 296, 428, 429, 446, 708, 756, 834, 1005, 1182, 1229, 1663, 1830, 1831, 1846, 1879, 2191, 2224, 2343, 2809, 3077, 3086, 3384, 3385, 3427, 3643, 3644, 3793, 3795, 4230
Offset: 1
Keywords
Crossrefs
These are the sorted positions of first appearances in A036263.
For first differences we had A373400(n) + 1, except initial terms.
A333254 lists run-lengths of differences between consecutive primes.
Programs
-
Mathematica
q=Differences[Select[Range[1000],PrimeQ],2]; Select[Range[Length[q]],!MemberQ[Take[q,#-1],q[[#]]]&]
Comments