%I #9 Mar 14 2017 00:28:47
%S 50,146,866,2162,4178,8362,14372,17138,19094,22504,25346,26764,27544,
%T 35074,42634,45218,54184,59554,63484,69812,70562,90904,107252,111004,
%U 121106,121682,125138,126764,127454,131596,132464
%N Integers m of the form m = 3*p + 5*q = 5*r + 7*s where {p,q} and {r,s} are pairs of consecutive primes.
%H Zak Seidov, <a href="/A283392/b283392.txt">Table of n, a(n) for n = 1..1000</a>
%H Zak Seidov, <a href="/A283392/a283392.txt">Table of values of m, {p,q} and {r,s}.</a>
%e m = 50, {p,q} = {5,7}, {r,s} = {3,5}, 50 = 3*5 + 5*7 = 5*3 + 7*5.
%e m = 146 = 3*17 + 5*19 = 5*11 + 7*13,
%e m = 866 = 3*107 + 5*109 = 5*71 + 7*73.
%t s1=Prime[Range[2,10000]];s2=Prime[Range[3,10001]];
%t s3=3*s1+5*s2;s5=5*s1+7*s2;Intersection[s3,s5]
%K nonn
%O 1,1
%A _Zak Seidov_, Mar 07 2017