OFFSET
1,1
LINKS
Zak Seidov, Table of n, a(n) for n = 1..1000
Zak Seidov, Table of values of m, {p,q} and {r,s}.
EXAMPLE
m = 50, {p,q} = {5,7}, {r,s} = {3,5}, 50 = 3*5 + 5*7 = 5*3 + 7*5.
m = 146 = 3*17 + 5*19 = 5*11 + 7*13,
m = 866 = 3*107 + 5*109 = 5*71 + 7*73.
MATHEMATICA
s1=Prime[Range[2, 10000]]; s2=Prime[Range[3, 10001]];
s3=3*s1+5*s2; s5=5*s1+7*s2; Intersection[s3, s5]
CROSSREFS
KEYWORD
nonn
AUTHOR
Zak Seidov, Mar 07 2017
STATUS
approved