OFFSET
1,2
LINKS
Alois P. Heinz, Table of n, a(n) for n = 1..10000
EXAMPLE
2145 = 3*5*11*13 is a term because it is squarefree and 3+13 = 5+11.
16422 = 2*3*7*17*23 is squarefree and 2+7+17 = 3+23.
MAPLE
q:= n-> (l-> {l[.., 2][]} minus {1}={} and (s->
(m-> m::even and coeff(mul(1+x^j, j=s), x, m/2)>0)
(add(i, i=s)))({l[.., 1][]}))(ifactors(n)[2]):
select(q, [$1..20000])[];
MATHEMATICA
Join[{1}, Select[Range[16600], SquareFreeQ[#]&&MemberQ[Total/@Subsets[First/@FactorInteger[#]], Total[First/@FactorInteger[#]]/2]&]] (* James C. McMahon, Jun 02 2025 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Alois P. Heinz, May 31 2025
STATUS
approved
