login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A126556
Arithmetic mean of two consecutive prime interprimes of second order: interprimes of third order.
6
734, 2825, 5957, 10305, 13932, 15830, 18825, 25084, 30205, 32121, 34901, 40640, 47984, 70842, 102897, 120165, 125973, 130250, 138924, 145480, 148894, 154236, 161676, 167730, 174737, 180632, 183077, 191253, 210375, 224327, 232817, 246285
OFFSET
1,1
COMMENTS
For primes in this sequence (prime interprimes of third order) see A126557.
LINKS
FORMULA
a(n) = (A126555(n)+A126555(n+1))/2.
PROG
(PARI) {m=250000; a=0; g=0; p=2; q=3; r=5; while(r<=m, if((p+r)/2==q, if(a>0, b=(a+q)/2; if(isprime(b), if(g>0, print1(h=(g+b)/2, ", ")); g=b)); a=q); p=q; q=r; r=nextprime(r+1))} \\ Klaus Brockhaus, Jan 11 2007
CROSSREFS
Cf. A006562 (balanced primes), A024675 (interprimes), A126554 (interprimes of second order), A126555 (prime interprimes of second order).
Sequence in context: A118055 A025356 A025348 * A349870 A174456 A306474
KEYWORD
nonn
AUTHOR
Artur Jasinski, Dec 27 2006
EXTENSIONS
Edited by Klaus Brockhaus, Jan 11 2007
STATUS
approved