# A divisor diversion

**Number Theory**Level 5

\[ \sigma(N) = d_2 \]

Consider the set \(S\) of all integers greater than 1 each of which satisfy the condition that its smallest divisor greater than 1 equals the total number of its divisors.

Find the sum of all elements of \(S\) that are less than \(10^6.\)