%I #11 Aug 11 2014 22:45:50
%S 8917523,17051707,24662467,25173593,27001199,37757639,38089453,
%T 42629173,44310817,67142137,67816601,76317653,80517691,82772143,
%U 82843753,83929789,84980743,90007363,94905269,99099773,99524219,117813307,119401577,129163457,147426791,162159887
%N Consider sets of 3 consecutive primes a<b<c such that c - a = 200. The sequence gives the values of b.
%H Zak Seidov, <a href="/A217655/b217655.txt">Table of n, a(n) for n = 1..1000</a>
%H Zak Seidov, <a href="/A217655/a217655.txt">Table of n, a, b, c for n=1..1000</a>
%e a(1) = 8917523 because {8917463, 8917523, 8917663} is the first set of 3 consecutive primes a, b, c with c-a = 200.
%p a :=2 :
%p b := nextprime(a) :
%p c := nextprime(b) :
%p for i from 1 do
%p if c-a= 200 then
%p print(b);
%p end if;
%p a := b ;
%p b := c ;
%p c := nextprime(b) ;
%p end do: # _R. J. Mathar_, Nov 07 2012
%Y Cf. A166251, A217561, A217566, A217577, A217603.
%K nonn
%O 1,1
%A _Zak Seidov_, Oct 09 2012
|