OFFSET
1,2
MATHEMATICA
s[n_] := Module[{m = 1}, While[!Divisible[m*(m + 1), n], m++]; m]; q[n_] := Module[{sn = s[n]}, DivisorSum[n, If[s[#] < sn, 0, 1] &, # < n &] == 0]; Select[Range[150], q] (* Amiram Eldar, Jun 17 2022 *)
PROG
CROSSREFS
KEYWORD
nonn
AUTHOR
Antti Karttunen, Jun 17 2022
STATUS
approved