OFFSET
1,1
COMMENTS
LINKS
Felix Huber, Table of n, a(n) for n = 1..10000
Eric Weisstein's World of Mathematics, Abundance
EXAMPLE
MAPLE
A393185List := proc(N)
option remember;
local a, t, s, k, d, i;
a := `if`(N < 28, [], [[28, 6]]);
t := table();
s := table();
for k to N do
d := NumberTheory:-sigma(k) - 2*k;
if not assigned(t[d]) then
t[d] := k;
if assigned(t[-d]) then
if not assigned(s[k]) then
a := [op(a), [k, min(k, t[-d])]];
s[k] := 1;
end if;
end if;
end if;
end do;
a := sort(a);
seq(a[i][2], i = 2 .. nops(a));
end proc:
A393185List(588);
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Felix Huber, Feb 08 2026
STATUS
approved
