OFFSET
1,1
COMMENTS
If k is a term, then so is k^2.
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
EXAMPLE
a(3) = 15 is a term because 15 = 3 * 5 and 3 + 5 = 8 = 2^3.
MAPLE
filter:= proc(n) local t, s;
t:= add(s[1]*s[2], s=ifactors(n)[2]);
t = 2^padic:-ordp(t, 2)
end proc:
select(filter, [$1..10^4]);
MATHEMATICA
q[k_] := k > 1 && (# == 2^IntegerExponent[#, 2])& @ (Plus @@ Times @@@ FactorInteger[k]); Select[Range[2300], q] (* Amiram Eldar, Nov 16 2025 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Will Gosnell and Robert Israel, Nov 16 2025
STATUS
approved
