A200721 Product of two nonconsecutive primes p and q that divides the sum of primes between p and q, exclusively.
26, 1133, 20309, 51159, 3246905, 28673661, 5201685791
Offset: 1
Keywords
Examples
51159 = 3*17053, (5+ ... +17047)/51159 = 307.
Programs
-
Mathematica
ss[n_] := Module[{f = Transpose[FactorInteger[n]], p, q, s}, If[f[[2]] == {1, 1}, {p, q} = PrimePi[f[[1]]]; s = Total[Table[Prime[i], {i, p + 1, q - 1}]]; s != 0 && Mod[s, n] == 0, False]]; Select[Range[2, 21000], ss] (* T. D. Noe, Nov 21 2011 *)
Extensions
a(7) from Donovan Johnson, Nov 23 2011
Comments