OFFSET
1,1
COMMENTS
The last term of row n is n+1.
LINKS
Michel Marcus, Rows n=1..4000 of triangle, flattened
EXAMPLE
Triangle begins:
[2]
[3]
[4]
[4, 5]
[6]
[5, 7]
[8]
[6, 9]
[6, 10]
[7, 11]
...
MATHEMATICA
Table[Map[# + n/# &, #[[-Ceiling[Length[#]/2] ;; -1 ]] ] &@ Divisors[n], {n, 36}] // Flatten (* Michael De Vlieger, Jan 27 2021 *)
PROG
(PARI) row(n) = my(d=divisors(n)); Set(vector(#d, k, d[k]+n/d[k]));
CROSSREFS
KEYWORD
nonn,tabf
AUTHOR
Michel Marcus, Jan 26 2021
STATUS
approved