This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.
%I A200070 #19 Apr 10 2019 04:42:59 %S A200070 110,182,220,364,374,440,494,550,728,748,782,880,988,1100,1210,1274, %T A200070 1334,1456,1496,1564,1760,1976,2200,2294,2366,2420,2548,2668,2750, %U A200070 2912,2992,3128,3182,3520,3854,3952,4114,4400,4588,4732,4840,4982,5096,5336,5500 %N A200070 Numbers n such that the sum of the prime divisors equals 2 times the difference between the largest and the smallest prime divisor. %H A200070 Robert Israel, <a href="/A200070/b200070.txt">Table of n, a(n) for n = 1..10000</a> %e A200070 98420 is in the sequence because the prime divisors are 2, 5, 7, 19, 37 and the sum 2 + 5 + 7 + 19 + 37 = 70 = 2*(37 - 2). %p A200070 filter:= proc(n) local P; P:= numtheory:-factorset(n); %p A200070 convert(P,`+`) = 2*(max(P)-min(P)) %p A200070 end proc: %p A200070 select(filter, [$1..10000]); # _Robert Israel_, Apr 09 2019 %t A200070 Select[Range[5500],Plus@@((pl=First/@FactorInteger[#])/2)==pl[[-1]]-pl[[1]]&] %o A200070 (PARI) isok(n) = if (n>1, my(f=factor(n)[,1]); 2*(vecmax(f) - vecmin(f)) == vecsum(f)); \\ _Michel Marcus_, Apr 10 2019 %Y A200070 Cf. A071140. %K A200070 nonn %O A200070 1,1 %A A200070 _Michel Lagneau_, Nov 13 2011