%N a(n) is the least k with n distinct prime factors such that the sum of its prime factors (counting multiplicity) divides k, or 0 if no such k exists. First member of A036844 with n distinct prime factors.
%C A001221(a(n)) = n; A001414(a(n)) divides a(n). a(4) = 840; A086487(4) = 1122. This is probably the only difference between these two sequences.
%e a(4) = 840 = 2^3*3*5*7; 2+2+2+3+5+7 = 21 divides 840.
%Y Cf. A001414, A001221, A086487, A104465.
%A _David Wasserman_, Mar 09 2005