OFFSET
1,2
EXAMPLE
Array begins:
6: 1, 2, 3;
12: 1, 2, 3, 6;
18: 1, 2, 6, 9;
20: 1, 4, 5, 10;
24: 1, 2, 3, 4, 6, 8;
28: 1, 2, 4, 7, 14;
30: 1, 3, 5, 6, 15;
36: 2, 3, 4, 6, 9, 12;
40: 1, 2, 4, 5, 8, 20;
42: 1, 6, 14, 21;
48: 1, 2, 3, 4, 6, 8, 24;
54: 1, 2, 6, 18, 27;
56: 1, 2, 4, 7, 14, 28;
60: 1, 2, 3, 4, 5, 10, 15, 20;
66: 2, 3, 6, 22, 33;
72: 1, 2, 3, 4, 6, 8, 12, 36;
78: 13, 26, 39;
.
Examples where maximality of length is not unique:
k = 48 has also the solution [1, 2, 3, 6, 8, 12, 16].
k = 72 has also the solutions [1, 2, 3, 4, 8, 12, 18, 24], [1, 2, 4, 6, 8, 9, 18, 24].
MAPLE
with(combinat):
A390728row := proc(n) local S, ls, s, ret;
if not isA005835(n) then return NULL fi;
S := subsets(numtheory[divisors](n) minus {n});
ret := []; ls := 0;
while not S[finished] do
s := S[nextvalue]();
if convert(s, `+`) = n then
if ls < nops(s) then ret := s; ls := nops(s) fi;
end if ;
end do;
ret end proc: seq(A390728row(n), n = 2..78);
CROSSREFS
KEYWORD
nonn,tabf
AUTHOR
Peter Luschny, Nov 25 2025
STATUS
approved
