Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Primes in A126556.
4

%I #8 Mar 28 2020 04:28:48

%S 174737,224327,433813,541447,787243,969667,980081,1080787,1286581,

%T 1372979,1534513,1567037,1570649,1577189,1659673,1726993,1931291,

%U 2242883,2282041,2415557,2460827,3162503,3711047,4090787,4450373

%N Primes in A126556.

%C Prime interprimes of third order.

%C Primes that are the arithmetic mean of two consecutive prime interprimes of second order; primes of the form (A126555(k)+A126555(k+1))/2.

%H Amiram Eldar, <a href="/A126557/b126557.txt">Table of n, a(n) for n = 1..10000</a>

%o (PARI) {m=5000000;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,if(isprime(h=(g+b)/2),print1(h,",")));g=b));a=q);p=q;q=r; r=nextprime(r+1))} \\ _Klaus Brockhaus_, Jan 11 2007

%Y Cf. A006562 (balanced primes), A024675 (interprimes), A126554 (interprimes of second order), A126555 (prime interprimes of second order), A126556 (interprimes of third order).

%K nonn

%O 1,1

%A _Artur Jasinski_, Dec 27 2006

%E Edited and extended by _Klaus Brockhaus_, Jan 11 2007