OFFSET
1,1
COMMENTS
All terms are even. - Harvey P. Dale, Sep 03 2015
Powers of 2 and numbers of the form 2 * p * (p + 2) * k where p is prime, p+2 isn't and k > 0 is p-smooth. - David A. Corneth, Sep 28 2019
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000 (terms 1..1000 from Harvey P. Dale)
EXAMPLE
126 = 2*3^2*7, with smallest and largest prime factors 2 and 7, sum = 9, and 126 is divisible by 9; so 126 is in the sequence.
MATHEMATICA
slpdQ[n_]:=Module[{f=Transpose[FactorInteger[n]][[1]]}, Divisible[n, Total[ {First[f], Last[f]}]]]; Select[Range[4000], slpdQ] (* Harvey P. Dale, Sep 03 2015 *)
PROG
(PARI) lista(n) = {for (i=2, n, my(fac = factor(i), s = fac[1, 1] + fac[matsize(fac)[1], 1]); if (i % s == 0, print1(i, ", ")); ); } \\ Michel Marcus, May 18 2013
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Joseph L. Pe, Oct 10 2005
STATUS
approved