The sequence consists of the nonunitary perfect numbers (A064591), squares of primes (A001248) and 18.
Ligh and Wall (1987) called the terms that are not nonunitary perfect numbers (i.e., the numbers k such that A048146(k) is a proper divisor of k) "non-unitary subperfect numbers". - Amiram Eldar, Jan 19 2026
nusigma[ n_ ] := DivisorSigma[ 1, n ]-Times@@(1+Power@@#&/@FactorInteger[ n ]); For[ n=1, True, n++, v=nusigma[ n ]; If[ v>0&&Mod[ n, v ]==0, Print[ n ] ] ]