OFFSET
1,3
COMMENTS
LINKS
T. D. Noe, Rows n=1..100, flattened
EXAMPLE
Row 5 is 1,5,6, the possible sums obtained from the divisors 1 and 5 of 5.
Triangle starts:
1;
1,2,3;
1,3,4;
1,2,3,4,5,6,7;
1,5,6;
1,2,3,4,5,6,7,8,9,10,11,12;
1,7,8;
1,2,3,4,5,6,7,8,9,10,11,12,13,14,15;
1,3,4,9,10,12,13;
MAPLE
with(numtheory): with(linalg): sums:=proc(n) local dl, t: dl:=convert(divisors(n), list): t:=tau(n): {seq(innerprod(dl, convert(2^t+i, base, 2)[1..t]), i=1..2^t-1)} end: for n from 1 to 12 do sums(n) od; # yields sequence in triangular form
MATHEMATICA
row[n_] := Union[Total /@ Subsets[Divisors[n]]] // Rest;
Table[row[n], {n, 1, 12}] // Flatten (* Jean-François Alcover, Aug 06 2024 *)
CROSSREFS
KEYWORD
nonn,tabf
AUTHOR
Emeric Deutsch, May 15 2006
STATUS
approved