cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A126556 Arithmetic mean of two consecutive prime interprimes of second order: interprimes of third order.

This page as a plain text file.
%I A126556 #9 Mar 28 2020 04:28:53
%S A126556 734,2825,5957,10305,13932,15830,18825,25084,30205,32121,34901,40640,
%T A126556 47984,70842,102897,120165,125973,130250,138924,145480,148894,154236,
%U A126556 161676,167730,174737,180632,183077,191253,210375,224327,232817,246285
%N A126556 Arithmetic mean of two consecutive prime interprimes of second order: interprimes of third order.
%C A126556 For primes in this sequence (prime interprimes of third order) see A126557.
%H A126556 Amiram Eldar, <a href="/A126556/b126556.txt">Table of n, a(n) for n = 1..10000</a>
%F A126556 a(n) = (A126555(n)+A126555(n+1))/2.
%o A126556 (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
%Y A126556 Cf. A006562 (balanced primes), A024675 (interprimes), A126554 (interprimes of second order), A126555 (prime interprimes of second order).
%K A126556 nonn
%O A126556 1,1
%A A126556 _Artur Jasinski_, Dec 27 2006
%E A126556 Edited by _Klaus Brockhaus_, Jan 11 2007