OFFSET
1,1
COMMENTS
A124115 sorted and duplicates removed.
EXAMPLE
2*prime(21) - prime(22) + 2 = 2*73 - 79 + 2 = 69, so 69 is in the sequence.
MATHEMATICA
2#[[1]]-#[[2]]+2&/@Partition[Prime[Range[80]], 2, 1]//Union (* Harvey P. Dale, Nov 28 2023 *)
PROG
(PARI) {p=2; q=3; v=[]; while(p<370, v=concat(v, 2*p-q+2); p=q; q=nextprime(q+1)); v=listsort(List(v), 1); for(j=1, #v-1, print1(v[j], ", "))}
CROSSREFS
KEYWORD
nonn
AUTHOR
Klaus Brockhaus, Nov 28 2006
STATUS
approved